/* Generated code for Python source for module 'bs4.element' * 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_bs4$element 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_bs4$element; PyDictObject *moduledict_bs4$element; /* The module constants used, if any. */ static PyObject *const_str_digest_ff0cd2db1cfca44e00d548b4cede0d4c; static PyObject *const_str_plain_findNextSibling; static PyObject *const_tuple_str_plain_cls_str_plain_ns_tuple; static PyObject *const_str_plain_indent_contents; static PyObject *const_str_digest_a635dc2cd109c09bc1bdcdd8ac24874a; extern PyObject *const_str_plain_insert_after; extern PyObject *const_str_plain___name__; extern PyObject *const_str_plain_EntitySubstitution; static PyObject *const_tuple_str_digest_688f06597223eaae9df5adffcac1b5da_tuple; extern PyObject *const_tuple_str_plain_self_str_plain_key_tuple; extern PyObject *const_str_plain_dict; static PyObject *const_str_plain_prettify; extern PyObject *const_str_plain_sorted; extern PyObject *const_str_plain_markup; static PyObject *const_str_digest_38efcf08c20f0c20be944bef6fbd77d1; static PyObject *const_str_digest_cdfee3c0096f8be39a68dcf4e68f3fc2; static PyObject *const_tuple_str_plain_minimal_tuple; static PyObject *const_str_digest_6e63a7173cd4f4b861f87b1f68f24083; static PyObject *const_str_plain_findAll; static PyObject *const_str_plain_descendant; extern PyObject *const_str_plain_i; extern PyObject *const_str_plain_object; static PyObject *const_str_digest_d1ef6bd6894bac52c44d6c442c9cf379; extern PyObject *const_str_plain_bool; extern PyObject *const_str_plain_encode; extern PyObject *const_str_plain__last_descendant; extern PyObject *const_str_plain_default; static PyObject *const_str_digest_7b88dc5ab83916f8d7010fa0bb999fa3; static PyObject *const_tuple_str_plain_self_str_plain_formatter_str_plain_output_tuple; extern PyObject *const_str_plain_CData; static PyObject *const_str_digest_0be551417e1b01ee588499dfe2e511fa; static PyObject *const_str_digest_6b252bdc7760b336768b62f7cc67ad11; static PyObject *const_str_plain_previous_elements; extern PyObject *const_str_plain_Declaration; extern PyObject *const_str_chr_42; static PyObject *const_str_digest_4be8d1f49fd3ae11b2788365ce790598; static PyObject *const_str_plain_descendants; static PyObject *const_str_plain_nth_child_of_type; static PyObject *const_str_digest_900727e0560906c5ac4df82dba814f02; static PyObject *const_str_plain_substitute; extern PyObject *const_str_plain_ns; static PyObject *const_tuple_str_plain_self_str_plain_encoding_str_plain_formatter_tuple; extern PyObject *const_str_plain_None; static PyObject *const_str_digest_fa9ac21a1aecbae9bb5a3c4a16e70ffe; static PyObject *const_str_digest_69df334990d19552a3d7e4a15ffc5ba7; extern PyObject *const_str_plain_callable; static PyObject *const_str_digest_ef195fb3ec97462ded9bfdce00c128db; extern PyObject *const_str_plain_next; static PyObject *const_str_plain_select_one; static PyObject *const_str_plain__formatter_for_name; static PyObject *const_str_digest_d883bd39058262c7b6cc6d59406ebe52; static PyObject *const_set_6e0044aee998208018007aabc247d790; static PyObject *const_tuple_str_plain_tag_str_plain_tag_name_str_plain_function_tuple; static PyObject *const_str_plain_stopNode; static PyObject *const_str_digest_28f2d46bf240bc75f671359bf185105d; static PyObject *const_str_plain_match_against; static PyObject *const_str_plain___getnewargs__; static PyObject *const_str_plain_me; extern PyObject *const_str_plain___debug__; static PyObject *const_str_digest_a461fa1ccb5527a9418bc67c35ef7e92; static PyObject *const_tuple_str_plain_self_str_plain_indent_level_tuple; static PyObject *const_str_digest_8e07098f031b423e4c1f067583d036e2; extern PyObject *const_tuple_tuple_empty_tuple; static PyObject *const_tuple_str_plain_id_none_tuple; static PyObject *const_str_digest_530dbdb9b402b3f07d411a938927f2b3; static PyObject *const_str_digest_b0c38f7df4c7a5de79b4700d224aa3b6; extern PyObject *const_str_plain_ProcessingInstruction; static PyObject *const_str_digest_d93d00c4da1f218cf8d846dbb52a8d50; extern PyObject *const_str_angle_genexpr; extern PyObject *const_str_plain___ne__; extern PyObject *const_str_plain_str; static PyObject *const_tuple_str_plain_tag_str_plain_child_str_plain_tag_name_tuple; extern PyObject *const_str_plain_clone; static PyObject *const_str_plain_old_parent; static PyObject *const_str_digest_ce081481423abca80d01dc6b2ce9e9ea; static PyObject *const_str_plain_PY3K; extern PyObject *const_str_plain_min; static PyObject *const_str_plain_default_candidate_generator; extern PyObject *const_str_plain___bool__; static PyObject *const_str_digest_fd3697fca90f8714408b4dfe42e76cb5; static PyObject *const_tuple_str_plain_self_str_plain_x_tuple; extern PyObject *const_str_chr_45; static PyObject *const_str_digest_7ca269eaf27c786d6da48f4f230a2159; static PyObject *const_str_digest_b42292186816115aadac41c6428c2b70; extern PyObject *const_str_plain_PageElement; static PyObject *const_str_digest_0932351717e05cd73680d12a5f83383f; static PyObject *const_str_digest_9a607885277141d349d6d92be27c1d04; extern PyObject *const_str_plain_indent_level; extern PyObject *const_tuple_str_dot_tuple; extern PyObject *const_str_plain__replace_cdata_list_attribute_values; static PyObject *const_str_digest_27ec0cbd5301fe29c1fec192dcf5c57c; static PyObject *const_str_plain_decode_contents; static PyObject *const_str_digest_6e295b76c4b27f5a846f1bb005613354; static PyObject *const_dict_f22dd43ccca7e02b2f29370abbf82a84; extern PyObject *const_str_plain_nextSibling; static PyObject *const_str_digest_0ffd0fc42335dceae8efe9c6f5089d15; extern PyObject *const_str_plain_attribute; extern PyObject *const_str_plain_reversed; extern PyObject *const_str_plain_name; static PyObject *const_str_plain_HTMLXMLFormatter; static PyObject *const_tuple_str_plain_EntitySubstitution_tuple; extern PyObject *const_str_plain_endswith; static PyObject *const_str_plain_has_key; static PyObject *const_str_digest_a3dd9b90bf6e1958ae8850da3b9ccebf; static PyObject *const_str_digest_7f562f51a7dcf86c55c1dc37557d0f96; extern PyObject *const_str_plain_False; static PyObject *const_str_digest_683058e4e72e5e683458d44dcd762604; static PyObject *const_str_plain_id_matches; extern PyObject *const_str_plain___contains__; static PyObject *const_tuple_3da16538fbd197083cd091a6f193427d_tuple; static PyObject *const_str_plain_markup_attrs; static PyObject *const_tuple_eee4bda2a1ff56b33f0ca94cb124c1fc_tuple; extern PyObject *const_str_plain_found; extern PyObject *const_str_plain_HTMLAwareEntitySubstitution; static PyObject *const_str_digest_b252984ab6611eb752b6c860a2d7a367; static PyObject *const_str_plain_recursive_select; extern PyObject *const_str_digest_c075052d723d6707083e869a0e3659bb; extern PyObject *const_str_plain___new__; static PyObject *const_str_plain_previous_siblings; static PyObject *const_str_plain_predecessor; static PyObject *const_str_plain_previous_child; static PyObject *const_str_plain_next_child; extern PyObject *const_str_plain_pop; static PyObject *const_tuple_str_plain_parser_class_tuple; static PyObject *const_str_plain_parserClass; extern PyObject *const_int_0; static PyObject *const_str_digest_1b67e808b5e37f97cd1f62ae812a0b7c; static PyObject *const_str_digest_cc2fb2ce9bec8503eb0919aef5b692c6; static PyObject *const_str_digest_e284352cda9140f58b06ed689c06ac6a; static PyObject *const_str_plain__selector_combinators; extern PyObject *const_str_digest_e2405d39d6d616d1c5a0beb6aaa8ef8f; static PyObject *const_str_plain_findPreviousSibling; static PyObject *const_str_digest_150a3ddd6f980f74b974d699bb653243; static PyObject *const_str_digest_c22e06bf4332de7dcedf0005568aa713; static PyObject *const_tuple_str_plain_match_str_plain_encoding_tuple; static PyObject *const_str_digest_5dde75ea46d316ab5ab5d75080f755c4; static PyObject *const_str_digest_3ca995a2b5218b365983dfd77141cbaa; static PyObject *const_str_digest_de65d084d97cebdd56daaf35cf257c00; static PyObject *const_str_digest_bdc18e346a4949f889a922a59c59687c; static PyObject *const_str_digest_370faefc9078402240140323291b72d9; extern PyObject *const_str_plain_type; static PyObject *const_str_digest_b2c3019ddb9f1e6b0934bca72ffa143d; extern PyObject *const_tuple_2e13f6f79f96adf3ed42b174b19b3d28_tuple; static PyObject *const_str_plain_findParents; extern PyObject *const_int_neg_3; extern PyObject *const_str_plain_class; extern PyObject *const_str_plain_namespace; static PyObject *const_str_digest_fb2a771a9c1c9339fad2ef3c863c3219; static PyObject *const_tuple_9ceaef96d0ae32058b80314695df626f_tuple; static PyObject *const_tuple_str_plain_self_str_plain_child_tuple; extern PyObject *const_str_plain___cached__; extern PyObject *const_str_plain_contents; static PyObject *const_str_digest_a8642630e4859aa7595db413203bd4d1; extern PyObject *const_str_chr_124; extern PyObject *const_tuple_none_tuple; extern PyObject *const_str_plain_DEFAULT_OUTPUT_ENCODING; extern PyObject *const_str_plain___hash__; static PyObject *const_str_plain_nextGenerator; static PyObject *const_tuple_str_plain_self_str_plain_formatter_tuple; static PyObject *const_str_digest_98146359f95edd1065618becd2b5a359; extern PyObject *const_str_plain_whitespace_re; extern PyObject *const_tuple_str_plain_self_str_plain_i_tuple; static PyObject *const_str_digest_a5f41bd7ea9cf5f76bc2a8024c4253a9; static PyObject *const_str_digest_5972be3d2e0ae5cffa0313f94447abdb; extern PyObject *const_int_pos_1; static PyObject *const_str_digest_04bfdb1839faf96b56a52e9f70c436a3; static PyObject *const_str_plain_substitute_entities; static PyObject *const_tuple_e78b94ed7a6cf112858126b31788598d_tuple; static PyObject *const_tuple_str_digest_2717a74e8094c62311bf53472f4de0ca_tuple; static PyObject *const_str_digest_03ac11e86d25bad18a4ea3518818395f; static PyObject *const_str_plain__includes_value; static PyObject *const_str_digest_abcaa5f84df1a2bc526d49ac2dda20c4; static PyObject *const_tuple_272dbd16728ffeefb84651713f277746_tuple; extern PyObject *const_str_plain_alias; static PyObject *const_tuple_str_plain_cls_str_plain_ns_str_plain_f_tuple; static PyObject *const_tuple_str_plain_tag_str_plain_tag_id_tuple; static PyObject *const_str_digest_5b172c0b3f4a4b2fa095be9f536d19f3; extern PyObject *const_str_plain_other; static PyObject *const_tuple_d8a008f3c3dc8f3ba3ff33df84389ed3_tuple; extern PyObject *const_str_plain___prepare__; static PyObject *const_list_str_plain_script_str_plain_style_list; static PyObject *const_str_digest_25d1348e5f90c099302af2b2e7b53e07; static PyObject *const_str_plain_find_previous_siblings; extern PyObject *const_str_digest_6e71b18f4f00a0af73d97ee880b369b1; extern PyObject *const_str_plain_groups; extern PyObject *const_str_plain_child; extern PyObject *const_tuple_str_chr_58_int_pos_1_tuple; static PyObject *const_str_digest_f217e48ed4c26f47ac3e1db2e35e3868; extern PyObject *const_str_plain___repr__; static PyObject *const_tuple_str_plain_self_str_plain_attr_tuple; static PyObject *const_str_digest_590cc70efffa0fc24bc200183bdfec83; static PyObject *const_str_plain_find_previous; static PyObject *const_str_digest_c42ac5a4d6fe5208c6039fd3f7e8b4d1; static PyObject *const_tuple_str_plain____tuple; extern PyObject *const_str_plain_kwargs; static PyObject *const_str_digest_42aaa86f3155a0ac9064d3ba1116a0c9; static PyObject *const_set_dfe38449ad9ee46affeecfe69855e46c; static PyObject *const_str_digest_66fede51f6d2599d31cae6b2824d49fe; static PyObject *const_str_digest_726de91e6007dda8de03e4cdd816c952; static PyObject *const_tuple_str_digest_8aa5a0d5f0fc8b5f6a0315fafb94db3e_tuple; static PyObject *const_str_plain_recursive_candidate_generator; extern PyObject *const_str_plain_new_child; extern PyObject *const_str_plain_property; static PyObject *const_tuple_7823708c4f4fc354ec913f02c98a1bd9_tuple; extern PyObject *const_str_plain_startswith; static PyObject *const_tuple_str_plain_Tag_tuple; extern PyObject *const_str_plain_find; static PyObject *const_str_digest_c285b35f2c69702515d7fc31396c1836; static PyObject *const_str_plain__is_or_starts_with_dash; static PyObject *const_str_digest_d73614277c6d61645b151d81f183d780; static PyObject *const_str_plain_previousGenerator; static PyObject *const_str_digest_6fd0b05522159f98d6181ab8bfabc7f6; static PyObject *const_str_digest_7a7b71aaf4e5993a57b0b451a24861bc; static PyObject *const_str_digest_5019a3250d7d4e2e305907c7346453e1; extern PyObject *const_str_plain_set; static PyObject *const_str_digest_f9e139f46dd50f44cc7fd067b77cd3a6; extern PyObject *const_str_plain_index; static PyObject *const_tuple_str_plain_self_str_plain_last_child_str_plain_next_element_tuple; static PyObject *const_tuple_58568bf8b42125104a536219253716ea_tuple; static PyObject *const_str_digest_52dbc62b42a8ca77d540a383ab09ed56; static PyObject *const_str_digest_fa55152cf5768e33779c6aadc67f2074; extern PyObject *const_str_plain_position; static PyObject *const_tuple_f1cb559edbeb854c29bced8fa834c328_tuple; static PyObject *const_str_plain_format_string; extern PyObject *const_str_digest_dc6974bae1533a27ce9599cdf14ca60e; static PyObject *const_str_digest_688f06597223eaae9df5adffcac1b5da; extern PyObject *const_str_chr_43; extern PyObject *const_str_plain_string; extern PyObject *const_str_plain_setter; static PyObject *const_str_digest_c70d03641ebe37e44be59f47eeff292c; extern PyObject *const_str_plain___file__; static PyObject *const_tuple_str_plain_el_str_plain_attribute_str_plain_value_tuple; static PyObject *const_str_plain_CHARSET_RE; static PyObject *const_str_digest_3a6a8193326a0cc096673b1c1e043757; static PyObject *const_str_digest_dd28c379f1a5b1272a307a0641ac6175; static PyObject *const_tuple_d0434168675df957da575746d9fec873_tuple; extern PyObject *const_str_plain_unwrap; extern PyObject *const_str_plain_Formatter; extern PyObject *const_tuple_str_plain_self_str_plain_tag_tuple; static PyObject *const_str_digest_74feb09b4e7b5c98ea28f927cc7ad7ec; static PyObject *const_str_plain_original_value; extern PyObject *const_str_plain_system_id; static PyObject *const_str_digest_b36e4823c492e96c379e71da4d82635b; static PyObject *const_str_plain_strainer; extern PyObject *const_tuple_str_chr_44_tuple; extern PyObject *const_str_plain___license__; static PyObject *const_str_digest_e273606d4c097599be39501a7a73668e; extern PyObject *const_str_chr_61; static PyObject *const_str_digest_a803aeaeff5d56a2f9b888d2c7f7783c; static PyObject *const_str_plain_AttributeValueWithCharsetSubstitution; extern PyObject *const_str_plain_strip; extern PyObject *const_tuple_str_plain_utf8_tuple; static PyObject *const_str_plain__match; static PyObject *const_tuple_str_plain_next_sibling_tuple; static PyObject *const_tuple_244569d53ff96acad91f6c9be82452fb_tuple; extern PyObject *const_str_plain_builder; static PyObject *const_str_digest_a9c30e8b7efc851a52b36f9f117da2a2; extern PyObject *const_tuple_int_pos_1_tuple; extern PyObject *const_str_plain_children; extern PyObject *const_str_plain_issubset; static PyObject *const_str_plain_findNextSiblings; extern PyObject *const_str_plain_ResultSet; extern PyObject *const_str_plain___orig_bases__; extern PyObject *const_str_chr_62; static PyObject *const_str_digest_0d59bfaa9218188300188b5f9e973e25; static PyObject *const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple; static PyObject *const_str_plain_next_elements; static PyObject *const_str_plain_last_child; static PyObject *const_str_plain__is_xml; extern PyObject *const_str_plain_close; static PyObject *const_str_digest_bc241a3f1ceee87df66a7de9c300b6ec; static PyObject *const_str_plain_indent_space; static PyObject *const_str_digest_342f2f3fc04416211c7651548dd73a63; static PyObject *const_str_digest_bc014c333a535597b5d961b6c3c85d62; static PyObject *const_str_digest_c39d3790c96cd19498c4533c82e40342; extern PyObject *const_str_plain_hidden; static PyObject *const_str_digest_39e86dc800163cd6b97aed7a43db29b4; static PyObject *const_str_plain_cdata_containing_tags; extern PyObject *const_str_plain___qualname__; static PyObject *const_str_plain_pub_id; static PyObject *const_str_plain_previousSibling; static PyObject *const_str_plain__substitute_if_appropriate; static PyObject *const_str_digest_2c354f1221e3e09909d06a3dc3c259cb; static PyObject *const_str_digest_1017197213f46afeb9536ec49b2f35a5; static PyObject *const_str_digest_ad84e4242d5a8caad6a338868df5badc; static PyObject *const_str_digest_6bc063f0f9ce8ab6d1903b89e48ee482; static PyObject *const_str_plain_replaceWithChildren; static PyObject *const_str_plain_find_previous_sibling; extern PyObject *const_str_plain_value; static PyObject *const_str_digest_dba4300913f590ab70dd3a55a3c580d8; static PyObject *const_str_plain_call_function_with_tag_data; extern PyObject *const_str_plain_insert; extern PyObject *const_str_plain_collections; static PyObject *const_str_plain_tag_name_re; static PyObject *const_str_digest_353144c0bf943192926f85ed707a6e16; extern PyObject *const_str_plain_SoupStrainer; extern PyObject *const_str_plain_e; extern PyObject *const_str_plain_Doctype; static PyObject *const_str_plain__normalize_search_value; static PyObject *const_str_digest_5736cb45d19b2ad30baee1ce9c2a9a91; extern PyObject *const_str_plain_script; extern PyObject *const_str_plain_textarea; static PyObject *const_str_plain__tag_name_matches_and; static PyObject *const_str_digest_c58e033f1c5c7944b6670af092f11d09; extern PyObject *const_str_plain_find_all; extern PyObject *const_str_plain_bs4; extern PyObject *const_str_plain_l; extern PyObject *const_str_plain_can_be_empty_element; extern PyObject *const_tuple_str_newline_tuple; static PyObject *const_str_plain_normalized_attrs; extern PyObject *const_tuple_str_chr_35_int_pos_1_tuple; static PyObject *const_tuple_33e3fd31c9cfc9ad09c0a6afb50d182d_tuple; extern PyObject *const_str_plain_enumerate; extern PyObject *const_str_plain_generator; static PyObject *const_str_digest_ccbb947840a4fb4e5eae42a4041b85b1; static PyObject *const_tuple_da1cf66926fb1d3089c3d751c6a7518e_tuple; static PyObject *const_str_digest_793475b6ff905c6e5e6e3cfc6a042716; static PyObject *const_tuple_3b64fb04a63013587f4e717b6d88d2c3_tuple; static PyObject *const_tuple_b29bc8769f649e9077cd3d87ace09019_tuple; static PyObject *const_str_plain_accept_self; extern PyObject *const_str_plain_errors; static PyObject *const_str_digest_1497234d40830769b81fa10a7cfd9b92; static PyObject *const_str_digest_7c6d7180e60db13c76eddb566f38b2ce; static PyObject *const_tuple_str_plain_candidate_str_plain_classes_tuple; static PyObject *const_str_digest_e33e8d49cbf0fc17428af0f49bdd18ae; static PyObject *const_str_digest_a6aafb5565cda3049a1405989036800d; static PyObject *const_str_plain_my_child; extern PyObject *const_str_plain_decode; static PyObject *const_str_plain_findNext; static PyObject *const_str_plain_findPreviousSiblings; extern PyObject *const_tuple_str_empty_tuple; extern PyObject *const_str_plain___getitem__; static PyObject *const_str_digest_0335416823e683d1ebbe424bdd45a2ca; extern PyObject *const_str_plain_k; static PyObject *const_tuple_39e3efcbfd23153e69bf0c00213825ef_tuple; extern PyObject *const_str_plain_f; extern PyObject *const_str_plain_ContentMetaAttributeValue; static PyObject *const_str_digest_8aa5a0d5f0fc8b5f6a0315fafb94db3e; static PyObject *const_tuple_str_plain_self_str_plain_i_str_plain_next_tuple; extern PyObject *const_str_plain_space; static PyObject *const_str_digest_1d547f36cb81cf900ecd54bb5fde1579; static PyObject *const_tuple_str_plain_self_str_plain_stopNode_str_plain_current_tuple; static PyObject *const_tuple_str_plain_can_be_empty_element_str_plain_hidden_tuple; static PyObject *const_str_digest_7bc7e85dacc6dfb10a05cd09e76bb0df; static PyObject *const_str_digest_7367bb348cc3e8e5398ecf366526fd9f; extern PyObject *const_str_plain_XMLProcessingInstruction; static PyObject *const_str_digest_58f29b9091b9295fe6b362b2a5c1cffc; static PyObject *const_tuple_str_digest_1f70ae3166f8abcc5a59720728b1b0a3_tuple; static PyObject *const_tuple_str_plain_self_str_plain_element_str_plain_i_str_plain_child_tuple; extern PyObject *const_str_plain_selector; static PyObject *const_str_digest_9a4c4553ae799a3f01a78102c1ac7530; extern PyObject *const_str_plain_text; extern PyObject *const_tuple_str_plain_self_str_plain_name_tuple; static PyObject *const_str_plain_attribute_value; static PyObject *const_str_digest_0b1fa04141a60b90f788201bec2f64cd; extern PyObject *const_tuple_none_none_none_none_none_none_none_none_none_tuple; extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295; static PyObject *const_str_digest_51f97402dd7101c57c82d9e47530321c; extern PyObject *const_str_plain_Tag; static PyObject *const_str_plain__alias; static PyObject *const_str_digest_0b148e8f8ec38f9da52f3c3b1086382f; static PyObject *const_str_digest_edf143d4f0a652982e578c671c8f527f; static PyObject *const_str_digest_3d2031d7b7fffec3dc4c339570a1b588; static PyObject *const_str_plain_XMLFormatter; static PyObject *const_str_plain_xmlcharrefreplace; extern PyObject *const_str_plain_select; static PyObject *const_str_digest_7bb51df0560e5842f708add19ad1bfac; static PyObject *const_str_plain__all_strings; static PyObject *const_str_digest_e93e15e7b09df658abd740e92ef2ec2a; static PyObject *const_str_digest_7b5d772369e2304853f18cab6c504630; static PyObject *const_str_digest_43f42e221dbc99e7846a13559b986b53; static PyObject *const_str_digest_46d5a7b0c14a8b53d5f8055cd3b777a5; extern PyObject *const_str_plain_v; static PyObject *const_str_digest_2c5d2687546dd016d865134c82fb2945; static PyObject *const_str_digest_d72d114df8db0ba64be9f314fb3d10ea; static PyObject *const_str_digest_c658d19634e753d4f72ac98fd801f3f1; static PyObject *const_tuple_dcfb5743efa6a82734207c30c058dd65_tuple; static PyObject *const_str_digest_2fb35f5b371e4357763cfefa063b5165; extern PyObject *const_str_chr_47; static PyObject *const_str_plain_void_element_close_prefix; extern PyObject *const_str_plain_sys; extern PyObject *const_str_plain_get_text; static PyObject *const_tuple_65604e2dc480b192d22d38f58a38ee21_tuple; static PyObject *const_str_digest_0f241caea804b8a525f1d22aef15691e; static PyObject *const_str_plain__attribute_checker; static PyObject *const_str_digest_d88264c5f20958d108ae7501f2b0acfa; static PyObject *const_str_digest_90caf7c40b767f058b1c9bd194f972d8; static PyObject *const_str_digest_a5e29131f13d71b6ec2d6ad90d15151c; static PyObject *const_str_digest_a6d3c5dc186607b5d9991e1833ca2d3a; extern PyObject *const_str_plain_html5; extern PyObject *const_str_plain_tuple; extern PyObject *const_str_plain_copy; extern PyObject *const_str_plain_M; static PyObject *const_str_digest_b22616d8b6beb62acee58774ffcab55e; extern PyObject *const_str_plain___copy__; extern PyObject *const_str_plain_key; static PyObject *const_str_plain_prettyPrint; extern PyObject *const_str_plain___init__; static PyObject *const_str_plain_next_tag_sibling; extern PyObject *const_str_plain_types; static PyObject *const_tuple_2db4dbe516092df2db3de6cea5c71cab_tuple; static PyObject *const_tuple_320cbb4df0ff07646e62c91f2eed2f25_tuple; static PyObject *const_str_plain_previousSiblingGenerator; static PyObject *const_tuple_str_plain_self_str_plain_wrap_inside_str_plain_me_tuple; static PyObject *const_str_plain_find_all_next; static PyObject *const_str_plain_childGenerator; extern PyObject *const_str_plain_method; static PyObject *const_tuple_str_plain_self_str_plain_selector_str_plain_value_tuple; static PyObject *const_str_plain_decompose; static PyObject *const_str_plain_my_index; static PyObject *const_str_digest_f71329a7fdb204c7f3cb9c7636f075d9; static PyObject *const_str_plain_findChild; static PyObject *const_str_plain_indentLevel; static PyObject *const_str_digest_d90d6bf72562890a5796691663e1c81f; static PyObject *const_str_digest_0685591b46f1ff1022b2fd24b4aac922; static PyObject *const_str_digest_9bb37a6fbeda9fc48836f2598f9a11c1; static PyObject *const_tuple_str_plain_self_str_plain_tag_str_plain_tag_name_tuple; static PyObject *const_tuple_str_plain_el_str_plain_value_str_plain_attribute_tuple; static PyObject *const_str_digest_5806791943ce856d9cfa3df6f3256880; extern PyObject *const_str_plain_BeautifulSoup; extern PyObject *const_str_empty; static PyObject *const_str_digest_08c55f7436746dfbed837b418ea65a70; static PyObject *const_tuple_3a1a822c776686c398d8079a14774929_tuple; extern PyObject *const_tuple_none_none_tuple; static PyObject *const_tuple_ffd90e373011fadf040497abe3c9ca62_tuple; static PyObject *const_str_digest_d94dd02ff29f58ae25b53cad8c58cd04; static PyObject *const_str_digest_ca50f55a33cc9fd5d939b7cdc4d773d8; static PyObject *const_tuple_str_plain_self_str_plain_value_str_plain_default_tuple; extern PyObject *const_str_plain_result; static PyObject *const_str_digest_e107fb2a715fd343678f69439be13d8c; static PyObject *const_str_digest_1c3b497b8a4a3c183134674c43de9ce2; static PyObject *const_str_plain_PREFIX; static PyObject *const_str_plain_subchild; extern PyObject *const_str_plain_group; static PyObject *const_str_plain_recursive; extern PyObject *const_str_plain_bytes; static PyObject *const_str_digest_ae912026c5c8efb2a6b04b82119a5853; extern PyObject *const_str_plain_prefix; extern PyObject *const_str_plain_parents; static PyObject *const_str_digest_2723f6e7179adb3f95d6ef44f1805134; extern PyObject *const_str_plain_MIT; static PyObject *const_str_digest_14353753bf040a2143c41e1a6b5a528c; extern PyObject *const_int_neg_1; static PyObject *const_str_digest_5d847db57d0c6475e433c934afe0ea5d; static PyObject *const_str_digest_c6ce98eeee9de07963cbfdcd2b83f2c1; extern PyObject *const_str_plain_id; static PyObject *const_str_digest_d39d95c610172b34eb52fa6d59d5835e; extern PyObject *const_str_chr_36; static PyObject *const_str_plain__attr_value_as_string; static PyObject *const_str_plain_classes; extern PyObject *const_str_plain_classmethod; static PyObject *const_str_digest_dfdbff9e44ccf3b0d72c62f2eb1feb85; extern PyObject *const_tuple_str_plain_BeautifulSoup_tuple; static PyObject *const_str_digest_9a553da68e37fc2c9e871cef1f9a938f; static PyObject *const_str_digest_5e8296b08c7275b6e9b059066a53a1cb; extern PyObject *const_str_plain_replace_with; static PyObject *const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple; extern PyObject *const_str_plain_next_element; extern PyObject *const_tuple_true_tuple; extern PyObject *const_str_plain_re; extern PyObject *const_str_plain_setup; extern PyObject *const_str_plain___doc__; static PyObject *const_str_digest_750906c63df60c8f9857f2595e15aebc; static PyObject *const_str_plain_is_initialized; extern PyObject *const_str_plain_candidate; extern PyObject *const_str_plain_attrs; extern PyObject *const_str_plain_NamespacedAttribute; static PyObject *const_tuple_5d973f0bbc887f462db71b319acd6172_tuple; extern PyObject *const_str_plain_s; extern PyObject *const_str_plain___len__; extern PyObject *const_str_plain_add; extern PyObject *const_str_plain_warnings; static PyObject *const_str_plain_output_ready; static PyObject *const_str_digest_d8274aeb344d2374500ebe6784747ede; static PyObject *const_tuple_str_dot_int_pos_1_tuple; static PyObject *const_str_digest_32f02ba0d5979253c3fb9ee1fc478e93; static PyObject *const_str_digest_757a2fce8a21ac849f1f3934767a43c0; static PyObject *const_str_plain_find_all_previous; extern PyObject *const_str_plain_CharsetMetaAttributeValue; extern PyObject *const_str_digest_b9c4baf879ebd882d40843df3a4dead7; static PyObject *const_str_digest_0b066cfc867e6f548b17d4d546783ac1; static PyObject *const_str_digest_302b0c9d5be44f512531ebaa066b21e4; static PyObject *const_str_digest_9e0202f20825ee6726af59eda1c982e0; static PyObject *const_str_plain_classes_match; extern PyObject *const_str_plain_item; static PyObject *const_str_digest_10b0cc8d52dbda6d37909d215669cae2; extern PyObject *const_tuple_str_plain_self_tuple; extern PyObject *const_str_plain_style; extern PyObject *const_str_chr_35; extern PyObject *const_str_plain_parent; static PyObject *const_str_plain_attribute_string; extern PyObject *const_tuple_empty; extern PyObject *const_str_plain___getattr__; extern PyObject *const_str_space; extern PyObject *const_str_plain_append; static PyObject *const_str_plain_closeTag; static PyObject *const_tuple_str_digest_6bc063f0f9ce8ab6d1903b89e48ee482_tuple; static PyObject *const_str_digest_4daed9bc7b28a37d66e00e344fb7f673; static PyObject *const_tuple_52f6ccea4450b0adf27589851d88d852_tuple; static PyObject *const_str_digest_db901e7460e5ae6f33b17694393c4f4b; static PyObject *const_tuple_75b9ad61a0b4f855687004ff1ae0ed59_tuple; static PyObject *const_tuple_str_plain_self_str_plain_decompose_str_plain_element_tuple; extern PyObject *const_str_plain_parser; extern PyObject *const_str_plain_compile; static PyObject *const_str_digest_31f659cb35ffa5ba70625102f9962bb1; static PyObject *const_str_digest_9ebbf84d19dd70830626a66e23b2df81; extern PyObject *const_str_plain_split; extern PyObject *const_str_plain_pre; extern PyObject *const_str_plain_preserve_whitespace_tags; static PyObject *const_str_digest_d30c1fec201318981ba659c44f450ce9; static PyObject *const_str_digest_6fafb2efdc26996459dc0ccdbcddbdf7; static PyObject *const_str_plain_find_next_sibling; extern PyObject *const_str_plain_insert_before; static PyObject *const_str_digest_ca069ce98f9901f907e2ed07f10c23b4; extern PyObject *const_tuple_type_list_tuple; static PyObject *const_str_digest_3001d417e4f50c846776bdf1db22299b; extern PyObject *const_str_plain_list; static PyObject *const_str_digest_b246a21da0bf0d1ecd21a222430c1e19; static PyObject *const_str_digest_979b3c48ae5244d26d6c51e2422468ee; static PyObject *const_str_plain__lastRecursiveChild; static PyObject *const_str_plain_replaceWith; static PyObject *const_str_plain_rewrite; extern PyObject *const_str_plain_successor; static PyObject *const_str_plain_my_parent; extern PyObject *const_slice_none_int_neg_3_none; static PyObject *const_tuple_none_str_plain_minimal_tuple; static PyObject *const_str_plain_find_parent; static PyObject *const_str_digest_687f64809c4be828c127c356e1b6ed7c; extern PyObject *const_str_plain_cdata_list_attributes; extern PyObject *const_str_plain_previous; extern PyObject *const_str_plain_val; extern PyObject *const_str_plain_for_name_and_ids; static PyObject *const_str_plain_markup_name; static PyObject *const_str_plain_find_next_siblings; static PyObject *const_str_plain_current; static PyObject *const_str_plain_findAllNext; static PyObject *const_str_plain_replace_with_children; extern PyObject *const_str_plain_search_tag; static PyObject *const_str_digest_b100e6bf26c04ecf01191e4e854ec0a3; static PyObject *const_str_digest_4838be2bd5e0c58ff3aeb85b29623734; extern PyObject *const_str_plain_html; static PyObject *const_str_digest_12b7bc2a8ff34d78cbeb5f117447fd2b; static PyObject *const_str_plain_preformatted_tags; static PyObject *const_tuple_cf4564a8c9848f3e5b0f806c45e7af4c_tuple; extern PyObject *const_str_plain_x; extern PyObject *const_str_plain_c; static PyObject *const_str_digest_20b271ddb7bffe4a58ca712908ed043e; static PyObject *const_str_plain_findParent; static PyObject *const_str_digest_42d546f685733418ff29403a75796a66; static PyObject *const_str_plain_local_name; static PyObject *const_tuple_10d2142d95e2a4c8e5148840f9fc6abb_tuple; static PyObject *const_str_plain_next_token; static PyObject *const_str_plain_markup_attr_map; static PyObject *const_str_digest_b2c0224df028fa10706089366f6f0054; extern PyObject *const_str_plain_Counter; extern PyObject *const_str_plain___class__; static PyObject *const_str_digest_3efbf8635fb02c14f734f6fa1f903d94; static PyObject *const_str_digest_6c6b5a57155bef64d81c4e3930a40571; static PyObject *const_tuple_721484cb6f1b0ca5b3afd482f542f05e_tuple; static PyObject *const_str_digest_41f4d180eae82f75e58ceb4fd30e808c; static PyObject *const_str_digest_2301ed3ad80a75315314e7e55d580eb4; static PyObject *const_str_digest_40d1280f0aef3f3bf11313c57370733c; extern PyObject *const_str_plain___module__; extern PyObject *const_str_plain_source; static PyObject *const_str_digest_6365820bb021743edcf367e2c1bcd825; extern PyObject *const_str_plain___str__; extern PyObject *const_str_plain_decoded; extern PyObject *const_str_plain_utf8; static PyObject *const_str_plain_original_markup; static PyObject *const_str_plain_get_attribute_list; extern PyObject *const_str_plain_update; static PyObject *const_str_digest_f6bcba6ba3fa9e79445ecc6dd89d522b; static PyObject *const_str_digest_3093015a22e9464a97451b699cade8d2; extern PyObject *const_str_plain_formatter; static PyObject *const_str_digest_12efe66a592585182310e41465bc3228; extern PyObject *const_str_plain_print; static PyObject *const_str_digest_698039bfb83a176fe6c94146001e9b62; extern PyObject *const_str_plain_shlex; static PyObject *const_str_digest_665bfb855d6eb80c3fc8f3d0735c5f04; static PyObject *const_str_digest_e031a97a206695681b6eb46f0a111132; static PyObject *const_str_plain_findChildren; extern PyObject *const_str_plain_function; extern PyObject *const_str_plain_version_info; static PyObject *const_str_plain_HTML_FORMATTERS; static PyObject *const_str_digest_769b1a8bf656b41ab6946e538c79a879; extern PyObject *const_str_plain___call__; static PyObject *const_str_digest_7db7fe37da3c09f0b3a2e370ca362f20; static PyObject *const_str_digest_427ece6c74a8f7bed9c0a0f9f58768bf; extern PyObject *const_str_plain_u; extern PyObject *const_str_plain_get; static PyObject *const_str_plain_recursiveChildGenerator; extern PyObject *const_str_plain_substitute_xml; static PyObject *const_str_plain_renderContents; static PyObject *const_str_plain_new_childs_last_element; static PyObject *const_str_digest_ac8da5c89507c2ed0afc7b93abb08579; extern PyObject *const_str_plain___iter__; extern PyObject *const_str_plain___delitem__; extern PyObject *const_tuple_type_str_tuple; static PyObject *const_str_digest_94f02dadd11dd6cb5137530dc3a1fc1a; static PyObject *const_tuple_str_plain_el_str_plain_attribute_tuple; static PyObject *const_str_plain_destination; extern PyObject *const_tuple_str_plain_self_str_plain_key_str_plain_default_tuple; extern PyObject *const_str_plain_quoted_attribute_value; extern PyObject *const_str_plain_warn; extern PyObject *const_str_plain_tag; static PyObject *const_str_digest_38aa4d1e4b90e4783d9d90e8dfcb74d9; extern PyObject *const_str_plain_metaclass; static PyObject *const_tuple_str_plain_attr_str_plain_alias_tuple; static PyObject *const_str_digest_4a104383ff48e621ad8c417548c98ea1; extern PyObject *const_str_plain_is_empty_element; static PyObject *const_str_digest_01799122f84a03619fa27e337f4bf7c3; static PyObject *const_str_digest_f9266cedfd5a068f212dadb70cf35a55; extern PyObject *const_tuple_str_plain___class___tuple; extern PyObject *const_tuple_false_tuple; extern PyObject *const_str_angle_metaclass; static PyObject *const_tuple_str_plain_self_str_plain_destination_tuple; static PyObject *const_tuple_str_plain_cls_str_plain_original_value_str_plain_obj_tuple; extern PyObject *const_str_plain_results; static PyObject *const_str_digest_f0264e6a8bd9c2f2f263e27b855963b9; static PyObject *const_str_digest_ce9ae618af4165298dca7d007143504c; static PyObject *const_tuple_aed9ac759c336135a23d4212a3ac74e8_tuple; static PyObject *const_str_digest_9209bcee9de337095ce6b668e33e31ce; extern PyObject *const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_tuple; extern PyObject *const_str_plain_args; static PyObject *const_str_digest_7f21154356114069eea0623d81bf7f58; static PyObject *const_tuple_c8ced635d07e13a82f7bd15383636794_tuple; static PyObject *const_str_digest_966b532e2f3ba00ecd4d1fb36c023539; extern PyObject *const_str_plain_items; extern PyObject *const_str_plain_Callable; static PyObject *const_str_plain_PreformattedString; static PyObject *const_str_digest_e1e9a7d7419bad7afb9206c02e4c795d; extern PyObject *const_tuple_str_plain_s_tuple; static PyObject *const_str_digest_cb7f043884ff2a2610043d53506bac64; static PyObject *const_str_digest_9e3fe7ba8804c2b496a30c099deb767f; static PyObject *const_str_digest_9e7a277d9917e2e9d98ff2c93253b608; extern PyObject *const_str_plain_NavigableString; extern PyObject *const_str_plain_substitute_html; static PyObject *const_str_digest_69bc11e34450b76869d049492a13a5e3; extern PyObject *const_str_plain_known_xml; extern PyObject *const_str_plain_sub; extern PyObject *const_str_digest_a694a1497725bd5d49805e1c282892b9; extern PyObject *const_str_plain_next_sibling; extern PyObject *const_str_plain_wrap; extern PyObject *const_list_str_plain_pre_str_plain_textarea_list; extern PyObject *const_tuple_str_chr_58_tuple; extern PyObject *const_str_plain_cls; static PyObject *const_str_digest_80d80d533bf8affc33d72b1a18abcd58; static PyObject *const_tuple_68ba083e7690a6c98536143a6c5f5721_tuple; extern PyObject *const_str_plain_join; static PyObject *const_str_digest_c29393614e018784fb5976f9e5ecdbae; static PyObject *const_str_digest_ad602af37291ee123ca579a4adb6638e; static PyObject *const_str_digest_a3d9d833894395d6536a0b717d3a6231; static PyObject *const_str_digest_b1b132473b960d5da44634355a1ebcd0; static PyObject *const_str_digest_3bd11431c85d0f814c3f9fee8048a221; static PyObject *const_str_plain_fetchPreviousSiblings; static PyObject *const_str_plain__should_pretty_print; static PyObject *const_str_plain_findAllPrevious; static PyObject *const_str_digest_12810800dee73c8a2bb79c28a407294a; extern PyObject *const_str_dot; static PyObject *const_str_digest_b7f7f70d63a1284082c5550ade03c53a; static PyObject *const_tuple_397136b07af053fd16bd0f56ecbdb382_tuple; static PyObject *const_str_digest_4ea40ba033afd2cd1470c389c6eb1f6d; static PyObject *const_str_digest_a0f6e9f5acfe56723fdae36afe1e77fb; static PyObject *const_str_plain__find_one; static PyObject *const_str_plain_XML_FORMATTERS; extern PyObject *const_str_plain_extract; static PyObject *const_str_digest_a5a0199db78f88ebe232c50669b74e60; static PyObject *const_tuple_str_digest_3ca995a2b5218b365983dfd77141cbaa_tuple; extern PyObject *const_str_plain_previous_sibling; extern PyObject *const_str_chr_44; static PyObject *const_str_plain__find_all; static PyObject *const_str_plain__matches; static PyObject *const_str_digest_91a4593114737d6b7d9b775dc212ec2f; extern PyObject *const_tuple_str_plain_self_str_plain_other_tuple; static PyObject *const_str_digest_73fbe63b7f0aff56f40668af7f1667a6; static PyObject *const_tuple_46b86a7582592112004d3e48fcc1ce1f_tuple; static PyObject *const_str_digest_b92fc20017a3f2603eba39a9112ce15d; extern PyObject *const_tuple_str_plain_self_str_plain_key_str_plain_value_tuple; static PyObject *const_str_digest_4a94f24ad202330cdb824190a8470f7b; extern PyObject *const_str_plain_limit; static PyObject *const_str_digest_20d97f481b03cfb8c932093ed03991fa; static PyObject *const_str_plain_HTML5Formatter; static PyObject *const_str_plain_parentGenerator; static PyObject *const_str_plain_find_next; extern PyObject *const_str_plain_previous_element; static PyObject *const_str_digest_996dd8adec957dee57886c3b180eb10e; static PyObject *const_tuple_228af158dcd68f83b463bc2269dd782f_tuple; static PyObject *const_str_digest_2eb78fd35de0c552fcd9f4234a3e2fee; static PyObject *const_tuple_str_digest_7c6d7180e60db13c76eddb566f38b2ce_tuple; static PyObject *const_str_digest_bfbd2728b25d3175c0fc394f17be3e8e; static PyObject *const_str_plain_stripped_strings; static PyObject *const_str_digest_c9d2da40f15d12241238636e3ea4b960; static PyObject *const_tuple_643d9c4661fe2aa00355fe8b8362b99c_tuple; static PyObject *const_str_plain_wrap_inside; static PyObject *const_str_digest_e457b16160571c2a0063096a0b61fed9; extern PyObject *const_str_plain_separator; static PyObject *const_str_digest_e5b25601234fe8b476231124b65d95b6; static PyObject *const_str_digest_46bb1036547373667fa3a1d24bead131; static PyObject *const_str_digest_28fcfa6b905769882ab971e07fe72510; static PyObject *const_str_digest_4dbb73066058ff26f1e7993b2b01c5eb; static PyObject *const_tuple_str_plain_tag_tuple; extern PyObject *const_str_plain_r; extern PyObject *const_str_digest_2717a74e8094c62311bf53472f4de0ca; static PyObject *const_str_digest_345cf92f17033766f082736e15d759aa; static PyObject *const_str_digest_86f0379e8abcfc023eb43b62b1ec5136; extern PyObject *const_str_plain_attr; extern PyObject *const_tuple_str_plain_x_tuple; static PyObject *const_str_plain_parser_class; static PyObject *const_str_digest_ca5f0853bbd74b548855332453de257d; static PyObject *const_str_plain__select_debug; extern PyObject *const_str_plain_element; static PyObject *const_str_digest_d630873aaea86ca64fde902aa85bbf75; static PyObject *const_tuple_str_plain_self_str_plain_encoding_str_plain_rewrite_tuple; extern PyObject *const_str_plain_match; static PyObject *const_str_digest_69e34bd00690a4b895c70e86e4d4da9d; static PyObject *const_str_plain_SUFFIX; static PyObject *const_str_digest_a808f721500ff0677501bf21de1894f0; extern PyObject *const_str_plain_output; static PyObject *const_str_digest_16edbedf290760e205b7c3d404645ec6; static PyObject *const_str_digest_1f70ae3166f8abcc5a59720728b1b0a3; extern PyObject *const_str_plain_is_xml; static PyObject *const_str_digest_b020e6b1418851439328ddb17fd1f136; static PyObject *const_str_plain_MinimalHTMLFormatter; static PyObject *const_str_plain_fetchNextSiblings; static PyObject *const_tuple_str_plain_cls_str_plain_value_str_plain_u_tuple; extern PyObject *const_tuple_none_none_none_none_none_tuple; extern PyObject *const_str_plain_encoding; static PyObject *const_str_digest_7809e3011797b1786165665d270db737; static PyObject *const_tuple_eb5d71df1d7c0f24b173ea5799beddf8_tuple; extern PyObject *const_str_plain_count; extern PyObject *const_str_plain___eq__; static PyObject *const_str_plain___; static PyObject *const_str_digest_9b63c157b7e3ba6508b232051f499a07; static PyObject *const_str_digest_682478939f08574fa28e02985fbb79ca; static PyObject *const_str_digest_b63f4abf4c20ed95c5280f099ca7f649; static PyObject *const_str_digest_b08f55921cd8c7f8cc8a2534d60adbcd; static PyObject *const_str_digest_ce8ab1d28eb892eeb1db86f8a1e40c7e; static PyObject *const_str_digest_e730488675b206f14212fd2d3f90da7a; static PyObject *const_str_plain_encode_contents; static PyObject *const_str_plain_fetchPrevious; extern PyObject *const_str_plain_search; extern PyObject *const_str_chr_58; static PyObject *const_str_plain_current_index; extern PyObject *const_str_plain_pretty_print; static PyObject *const_str_digest_bc3a1bdfcd007e6e3cd02fbd436a94c4; extern PyObject *const_str_plain_minimal; static PyObject *const_str_digest_cf38122a46c1d7b3523fcb29076cdaf6; extern PyObject *const_str_angle_listcomp; static PyObject *const_str_plain_nextSiblingGenerator; static PyObject *const_str_digest_cb5aeacd6eaa9e461bfdc89a441d9582; static PyObject *const_str_plain_has_attr; static PyObject *const_str_plain_next_siblings; static PyObject *const_str_digest_d9f736ab7dd0b8ba8e324821a81dae5b; static PyObject *const_str_digest_ca7f1c3e5d90e78a07e9f85863c06c8e; static PyObject *const_str_digest_44e4e17c20a6befd3195005c4c8c2129; static PyObject *const_str_digest_dc7919f5f97ce613232f3cbd32e183ff; extern PyObject *const_str_plain_Comment; static PyObject *const_str_digest_bfd9123bdabe162ff4c454611798d0c9; extern PyObject *const_str_plain_eventual_encoding; extern PyObject *const_str_angle_lambda; static PyObject *const_str_plain_findPrevious; extern PyObject *const_str_plain___unicode__; static PyObject *const_str_digest_caa1311fbee6a780f68a9bf663ab8344; static PyObject *const_str_digest_73e3f65a5e6a0e231abfd780063ee2b0; extern PyObject *const_str_plain_class_; static PyObject *const_set_0d1c20bbcf73c732dbad4737caa163fe; static PyObject *const_str_plain_fetchParents; static PyObject *const_str_plain_quoted_colon; static PyObject *const_str_plain_parents_next_sibling; static PyObject *const_str_chr_126; extern PyObject *const_tuple_type_object_tuple; static PyObject *const_str_plain_el; extern PyObject *const_str_plain_tag_name; static PyObject *const_str_digest_a1252b58837909ad9dc1fcca1e9295d3; static PyObject *const_str_digest_bd303cf0a7f71dde6710e8ac4370b212; static PyObject *const_str_plain_strings; static PyObject *const_str_plain_find_parents; static PyObject *const_str_digest_5cf04d0736f9ec7a90ae576f86fe47fd; static PyObject *const_str_digest_8ca5f0d3f3d0b766a3f4cdd946dfac3b; static PyObject *const_str_digest_29649a9de50f1b949dd54bb0ed0bf2bf; static PyObject *const_str_plain_tag_id; extern PyObject *const_str_newline; static PyObject *const_tuple_str_digest_e273606d4c097599be39501a7a73668e_tuple; extern PyObject *const_tuple_true_true_tuple; extern PyObject *const_int_pos_3; static PyObject *const_str_digest_789a2a1ab5c730365a2961867d62159f; static PyObject *const_str_plain_attribselect_re; static PyObject *const_str_plain_isSelfClosing; static PyObject *const_str_plain_getText; extern PyObject *const_str_plain___setitem__; static PyObject *const_str_digest_1f83e5e2bdffee57e1283bdded1a32f6; static PyObject *const_list_str_plain_pre_list; static PyObject *const_tuple_f5b82b9541ca43f4cb37e5415f1808d7_tuple; static PyObject *const_str_plain_searchTag; extern PyObject *const_tuple_str_plain_self_str_plain_string_tuple; extern PyObject *const_str_plain_clear; extern PyObject *const_str_plain_self; extern PyObject *const_slice_none_none_none; extern PyObject *const_str_chr_94; static PyObject *const_str_plain_already_tried; extern PyObject *const_str_plain_operator; extern PyObject *const_int_pos_2; static PyObject *const_tuple_c0ce3b782b25edd0417c8e92b23a545f_tuple; static PyObject *const_list_str_chr_62_str_chr_43_str_chr_126_list; static PyObject *const_str_digest_8c7f474933b64c7ef71c1feae0c0ad08; extern PyObject *const_str_plain_obj; extern PyObject *const_str_plain_set_up_substitutions; static PyObject *const_tuple_str_plain_previous_sibling_tuple; static PyObject *const_str_plain_HTMLFormatter; static PyObject *const_str_digest_ffbf7dc82d9a4b9db7ccc636ccdba881; static PyObject *const_str_digest_375dabe50f2b18b35df9eaaf8dd45fef; extern PyObject *const_tuple_str_plain_Callable_tuple; static PyObject *const_tuple_3489c43e348aa7277a9d676e1d56ff9e_tuple; static PyObject *const_tuple_330a583f6243cc8fafe94e5859d46cbc_tuple; extern PyObject *const_str_plain_new_value; extern PyObject *const_str_plain_attr_value; extern PyObject *const_tuple_str_plain_self_str_plain_encoding_tuple; static PyObject *const_str_digest_c5639168a5cbc5c4d0956b93b3eb2792; static PyObject *const_str_digest_4b06066e3aa553670a91521b3c0c7ec8; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_str_digest_ff0cd2db1cfca44e00d548b4cede0d4c = UNSTREAM_STRING( &constant_bin[ 122983 ], 24, 0 ); const_str_plain_findNextSibling = UNSTREAM_STRING( &constant_bin[ 123007 ], 15, 1 ); const_tuple_str_plain_cls_str_plain_ns_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_ns_tuple, 0, const_str_plain_cls ); Py_INCREF( const_str_plain_cls ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_ns_tuple, 1, const_str_plain_ns ); Py_INCREF( const_str_plain_ns ); const_str_plain_indent_contents = UNSTREAM_STRING( &constant_bin[ 123022 ], 15, 1 ); const_str_digest_a635dc2cd109c09bc1bdcdd8ac24874a = UNSTREAM_STRING( &constant_bin[ 123037 ], 38, 0 ); const_tuple_str_digest_688f06597223eaae9df5adffcac1b5da_tuple = PyTuple_New( 1 ); const_str_digest_688f06597223eaae9df5adffcac1b5da = UNSTREAM_STRING( &constant_bin[ 123075 ], 14, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_688f06597223eaae9df5adffcac1b5da_tuple, 0, const_str_digest_688f06597223eaae9df5adffcac1b5da ); Py_INCREF( const_str_digest_688f06597223eaae9df5adffcac1b5da ); const_str_plain_prettify = UNSTREAM_STRING( &constant_bin[ 123089 ], 8, 1 ); const_str_digest_38efcf08c20f0c20be944bef6fbd77d1 = UNSTREAM_STRING( &constant_bin[ 123097 ], 18, 0 ); const_str_digest_cdfee3c0096f8be39a68dcf4e68f3fc2 = UNSTREAM_STRING( &constant_bin[ 123115 ], 45, 0 ); const_tuple_str_plain_minimal_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_minimal_tuple, 0, const_str_plain_minimal ); Py_INCREF( const_str_plain_minimal ); const_str_digest_6e63a7173cd4f4b861f87b1f68f24083 = UNSTREAM_STRING( &constant_bin[ 123160 ], 154, 0 ); const_str_plain_findAll = UNSTREAM_STRING( &constant_bin[ 123314 ], 7, 1 ); const_str_plain_descendant = UNSTREAM_STRING( &constant_bin[ 107803 ], 10, 1 ); const_str_digest_d1ef6bd6894bac52c44d6c442c9cf379 = UNSTREAM_STRING( &constant_bin[ 123321 ], 83, 0 ); const_str_digest_7b88dc5ab83916f8d7010fa0bb999fa3 = UNSTREAM_STRING( &constant_bin[ 123404 ], 567, 0 ); const_tuple_str_plain_self_str_plain_formatter_str_plain_output_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_formatter_str_plain_output_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_formatter_str_plain_output_tuple, 1, const_str_plain_formatter ); Py_INCREF( const_str_plain_formatter ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_formatter_str_plain_output_tuple, 2, const_str_plain_output ); Py_INCREF( const_str_plain_output ); const_str_digest_0be551417e1b01ee588499dfe2e511fa = UNSTREAM_STRING( &constant_bin[ 123971 ], 36, 0 ); const_str_digest_6b252bdc7760b336768b62f7cc67ad11 = UNSTREAM_STRING( &constant_bin[ 124007 ], 28, 0 ); const_str_plain_previous_elements = UNSTREAM_STRING( &constant_bin[ 124035 ], 17, 1 ); const_str_digest_4be8d1f49fd3ae11b2788365ce790598 = UNSTREAM_STRING( &constant_bin[ 124052 ], 11, 0 ); const_str_plain_descendants = UNSTREAM_STRING( &constant_bin[ 124063 ], 11, 1 ); const_str_plain_nth_child_of_type = UNSTREAM_STRING( &constant_bin[ 123143 ], 17, 1 ); const_str_digest_900727e0560906c5ac4df82dba814f02 = UNSTREAM_STRING( &constant_bin[ 124074 ], 47, 0 ); const_str_plain_substitute = UNSTREAM_STRING( &constant_bin[ 115675 ], 10, 1 ); const_tuple_str_plain_self_str_plain_encoding_str_plain_formatter_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_encoding_str_plain_formatter_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_encoding_str_plain_formatter_tuple, 1, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_encoding_str_plain_formatter_tuple, 2, const_str_plain_formatter ); Py_INCREF( const_str_plain_formatter ); const_str_digest_fa9ac21a1aecbae9bb5a3c4a16e70ffe = UNSTREAM_STRING( &constant_bin[ 124121 ], 330, 0 ); const_str_digest_69df334990d19552a3d7e4a15ffc5ba7 = UNSTREAM_STRING( &constant_bin[ 124451 ], 28, 0 ); const_str_digest_ef195fb3ec97462ded9bfdce00c128db = UNSTREAM_STRING( &constant_bin[ 124479 ], 34, 0 ); const_str_plain_select_one = UNSTREAM_STRING( &constant_bin[ 124513 ], 10, 1 ); const_str_plain__formatter_for_name = UNSTREAM_STRING( &constant_bin[ 124523 ], 19, 1 ); const_str_digest_d883bd39058262c7b6cc6d59406ebe52 = UNSTREAM_STRING( &constant_bin[ 124542 ], 27, 0 ); const_set_6e0044aee998208018007aabc247d790 = PySet_New( NULL ); PySet_Add( const_set_6e0044aee998208018007aabc247d790, const_str_plain_script ); PySet_Add( const_set_6e0044aee998208018007aabc247d790, const_str_plain_style ); assert( PySet_Size( const_set_6e0044aee998208018007aabc247d790 ) == 2 ); const_tuple_str_plain_tag_str_plain_tag_name_str_plain_function_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_tag_str_plain_tag_name_str_plain_function_tuple, 0, const_str_plain_tag ); Py_INCREF( const_str_plain_tag ); PyTuple_SET_ITEM( const_tuple_str_plain_tag_str_plain_tag_name_str_plain_function_tuple, 1, const_str_plain_tag_name ); Py_INCREF( const_str_plain_tag_name ); PyTuple_SET_ITEM( const_tuple_str_plain_tag_str_plain_tag_name_str_plain_function_tuple, 2, const_str_plain_function ); Py_INCREF( const_str_plain_function ); const_str_plain_stopNode = UNSTREAM_STRING( &constant_bin[ 124569 ], 8, 1 ); const_str_digest_28f2d46bf240bc75f671359bf185105d = UNSTREAM_STRING( &constant_bin[ 103515 ], 2, 0 ); const_str_plain_match_against = UNSTREAM_STRING( &constant_bin[ 124577 ], 13, 1 ); const_str_plain___getnewargs__ = UNSTREAM_STRING( &constant_bin[ 124590 ], 14, 1 ); const_str_plain_me = UNSTREAM_STRING( &constant_bin[ 60 ], 2, 1 ); const_str_digest_a461fa1ccb5527a9418bc67c35ef7e92 = UNSTREAM_STRING( &constant_bin[ 124604 ], 23, 0 ); const_tuple_str_plain_self_str_plain_indent_level_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_indent_level_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_indent_level_tuple, 1, const_str_plain_indent_level ); Py_INCREF( const_str_plain_indent_level ); const_str_digest_8e07098f031b423e4c1f067583d036e2 = UNSTREAM_STRING( &constant_bin[ 124627 ], 43, 0 ); const_tuple_str_plain_id_none_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_id_none_tuple, 0, const_str_plain_id ); Py_INCREF( const_str_plain_id ); PyTuple_SET_ITEM( const_tuple_str_plain_id_none_tuple, 1, Py_None ); Py_INCREF( Py_None ); const_str_digest_530dbdb9b402b3f07d411a938927f2b3 = UNSTREAM_STRING( &constant_bin[ 124670 ], 137, 0 ); const_str_digest_b0c38f7df4c7a5de79b4700d224aa3b6 = UNSTREAM_STRING( &constant_bin[ 124807 ], 10, 0 ); const_str_digest_d93d00c4da1f218cf8d846dbb52a8d50 = UNSTREAM_STRING( &constant_bin[ 124817 ], 27, 0 ); const_tuple_str_plain_tag_str_plain_child_str_plain_tag_name_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_tag_str_plain_child_str_plain_tag_name_tuple, 0, const_str_plain_tag ); Py_INCREF( const_str_plain_tag ); PyTuple_SET_ITEM( const_tuple_str_plain_tag_str_plain_child_str_plain_tag_name_tuple, 1, const_str_plain_child ); Py_INCREF( const_str_plain_child ); PyTuple_SET_ITEM( const_tuple_str_plain_tag_str_plain_child_str_plain_tag_name_tuple, 2, const_str_plain_tag_name ); Py_INCREF( const_str_plain_tag_name ); const_str_plain_old_parent = UNSTREAM_STRING( &constant_bin[ 124844 ], 10, 1 ); const_str_digest_ce081481423abca80d01dc6b2ce9e9ea = UNSTREAM_STRING( &constant_bin[ 103494 ], 2, 0 ); const_str_plain_PY3K = UNSTREAM_STRING( &constant_bin[ 124854 ], 4, 1 ); const_str_plain_default_candidate_generator = UNSTREAM_STRING( &constant_bin[ 124858 ], 27, 1 ); const_str_digest_fd3697fca90f8714408b4dfe42e76cb5 = UNSTREAM_STRING( &constant_bin[ 124885 ], 79, 0 ); const_tuple_str_plain_self_str_plain_x_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_x_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_x_tuple, 1, const_str_plain_x ); Py_INCREF( const_str_plain_x ); const_str_digest_7ca269eaf27c786d6da48f4f230a2159 = UNSTREAM_STRING( &constant_bin[ 123115 ], 27, 0 ); const_str_digest_b42292186816115aadac41c6428c2b70 = UNSTREAM_STRING( &constant_bin[ 124964 ], 160, 0 ); const_str_digest_0932351717e05cd73680d12a5f83383f = UNSTREAM_STRING( &constant_bin[ 125124 ], 12, 0 ); const_str_digest_9a607885277141d349d6d92be27c1d04 = UNSTREAM_STRING( &constant_bin[ 125136 ], 159, 0 ); const_str_digest_27ec0cbd5301fe29c1fec192dcf5c57c = UNSTREAM_STRING( &constant_bin[ 125295 ], 19, 0 ); const_str_plain_decode_contents = UNSTREAM_STRING( &constant_bin[ 125314 ], 15, 1 ); const_str_digest_6e295b76c4b27f5a846f1bb005613354 = UNSTREAM_STRING( &constant_bin[ 125329 ], 418, 0 ); const_dict_f22dd43ccca7e02b2f29370abbf82a84 = _PyDict_NewPresized( 1 ); PyDict_SetItem( const_dict_f22dd43ccca7e02b2f29370abbf82a84, const_str_plain_limit, const_int_pos_1 ); assert( PyDict_Size( const_dict_f22dd43ccca7e02b2f29370abbf82a84 ) == 1 ); const_str_digest_0ffd0fc42335dceae8efe9c6f5089d15 = UNSTREAM_STRING( &constant_bin[ 125747 ], 30, 0 ); const_str_plain_HTMLXMLFormatter = UNSTREAM_STRING( &constant_bin[ 125777 ], 16, 1 ); const_tuple_str_plain_EntitySubstitution_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_EntitySubstitution_tuple, 0, const_str_plain_EntitySubstitution ); Py_INCREF( const_str_plain_EntitySubstitution ); const_str_plain_has_key = UNSTREAM_STRING( &constant_bin[ 124056 ], 7, 1 ); const_str_digest_a3dd9b90bf6e1958ae8850da3b9ccebf = UNSTREAM_STRING( &constant_bin[ 125793 ], 17, 0 ); const_str_digest_7f562f51a7dcf86c55c1dc37557d0f96 = UNSTREAM_STRING( &constant_bin[ 125810 ], 33, 0 ); const_str_digest_683058e4e72e5e683458d44dcd762604 = UNSTREAM_STRING( &constant_bin[ 125843 ], 27, 0 ); const_str_plain_id_matches = UNSTREAM_STRING( &constant_bin[ 125870 ], 10, 1 ); const_tuple_3da16538fbd197083cd091a6f193427d_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_3da16538fbd197083cd091a6f193427d_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_3da16538fbd197083cd091a6f193427d_tuple, 1, const_str_plain_strip ); Py_INCREF( const_str_plain_strip ); PyTuple_SET_ITEM( const_tuple_3da16538fbd197083cd091a6f193427d_tuple, 2, const_str_plain_types ); Py_INCREF( const_str_plain_types ); PyTuple_SET_ITEM( const_tuple_3da16538fbd197083cd091a6f193427d_tuple, 3, const_str_plain_descendant ); Py_INCREF( const_str_plain_descendant ); const_str_plain_markup_attrs = UNSTREAM_STRING( &constant_bin[ 125880 ], 12, 1 ); const_tuple_eee4bda2a1ff56b33f0ca94cb124c1fc_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_eee4bda2a1ff56b33f0ca94cb124c1fc_tuple, 0, const_str_plain_cls ); Py_INCREF( const_str_plain_cls ); PyTuple_SET_ITEM( const_tuple_eee4bda2a1ff56b33f0ca94cb124c1fc_tuple, 1, const_str_plain_prefix ); Py_INCREF( const_str_plain_prefix ); PyTuple_SET_ITEM( const_tuple_eee4bda2a1ff56b33f0ca94cb124c1fc_tuple, 2, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_eee4bda2a1ff56b33f0ca94cb124c1fc_tuple, 3, const_str_plain_namespace ); Py_INCREF( const_str_plain_namespace ); PyTuple_SET_ITEM( const_tuple_eee4bda2a1ff56b33f0ca94cb124c1fc_tuple, 4, const_str_plain_obj ); Py_INCREF( const_str_plain_obj ); const_str_digest_b252984ab6611eb752b6c860a2d7a367 = UNSTREAM_STRING( &constant_bin[ 125892 ], 28, 0 ); const_str_plain_recursive_select = UNSTREAM_STRING( &constant_bin[ 125920 ], 16, 1 ); const_str_plain_previous_siblings = UNSTREAM_STRING( &constant_bin[ 125936 ], 17, 1 ); const_str_plain_predecessor = UNSTREAM_STRING( &constant_bin[ 125953 ], 11, 1 ); const_str_plain_previous_child = UNSTREAM_STRING( &constant_bin[ 125964 ], 14, 1 ); const_str_plain_next_child = UNSTREAM_STRING( &constant_bin[ 125978 ], 10, 1 ); const_tuple_str_plain_parser_class_tuple = PyTuple_New( 1 ); const_str_plain_parser_class = UNSTREAM_STRING( &constant_bin[ 125988 ], 12, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_parser_class_tuple, 0, const_str_plain_parser_class ); Py_INCREF( const_str_plain_parser_class ); const_str_plain_parserClass = UNSTREAM_STRING( &constant_bin[ 126000 ], 11, 1 ); const_str_digest_1b67e808b5e37f97cd1f62ae812a0b7c = UNSTREAM_STRING( &constant_bin[ 126011 ], 15, 0 ); const_str_digest_cc2fb2ce9bec8503eb0919aef5b692c6 = UNSTREAM_STRING( &constant_bin[ 126026 ], 45, 0 ); const_str_digest_e284352cda9140f58b06ed689c06ac6a = UNSTREAM_STRING( &constant_bin[ 126071 ], 50, 0 ); const_str_plain__selector_combinators = UNSTREAM_STRING( &constant_bin[ 126121 ], 21, 1 ); const_str_plain_findPreviousSibling = UNSTREAM_STRING( &constant_bin[ 126142 ], 19, 1 ); const_str_digest_150a3ddd6f980f74b974d699bb653243 = UNSTREAM_STRING( &constant_bin[ 126161 ], 128, 0 ); const_str_digest_c22e06bf4332de7dcedf0005568aa713 = UNSTREAM_STRING( &constant_bin[ 126289 ], 30, 0 ); const_tuple_str_plain_match_str_plain_encoding_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_match_str_plain_encoding_tuple, 0, const_str_plain_match ); Py_INCREF( const_str_plain_match ); PyTuple_SET_ITEM( const_tuple_str_plain_match_str_plain_encoding_tuple, 1, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding ); const_str_digest_5dde75ea46d316ab5ab5d75080f755c4 = UNSTREAM_STRING( &constant_bin[ 126319 ], 193, 0 ); const_str_digest_3ca995a2b5218b365983dfd77141cbaa = UNSTREAM_STRING( &constant_bin[ 126512 ], 13, 0 ); const_str_digest_de65d084d97cebdd56daaf35cf257c00 = UNSTREAM_STRING( &constant_bin[ 126525 ], 49, 0 ); const_str_digest_bdc18e346a4949f889a922a59c59687c = UNSTREAM_STRING( &constant_bin[ 126574 ], 3, 0 ); const_str_digest_370faefc9078402240140323291b72d9 = UNSTREAM_STRING( &constant_bin[ 126577 ], 10, 0 ); const_str_digest_b2c3019ddb9f1e6b0934bca72ffa143d = UNSTREAM_STRING( &constant_bin[ 126587 ], 21, 0 ); const_str_plain_findParents = UNSTREAM_STRING( &constant_bin[ 126608 ], 11, 1 ); const_str_digest_fb2a771a9c1c9339fad2ef3c863c3219 = UNSTREAM_STRING( &constant_bin[ 126619 ], 301, 0 ); const_tuple_9ceaef96d0ae32058b80314695df626f_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_9ceaef96d0ae32058b80314695df626f_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_9ceaef96d0ae32058b80314695df626f_tuple, 1, const_str_plain_successor ); Py_INCREF( const_str_plain_successor ); PyTuple_SET_ITEM( const_tuple_9ceaef96d0ae32058b80314695df626f_tuple, 2, const_str_plain_parent ); Py_INCREF( const_str_plain_parent ); PyTuple_SET_ITEM( const_tuple_9ceaef96d0ae32058b80314695df626f_tuple, 3, const_str_plain_index ); Py_INCREF( const_str_plain_index ); const_tuple_str_plain_self_str_plain_child_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_child_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_child_tuple, 1, const_str_plain_child ); Py_INCREF( const_str_plain_child ); const_str_digest_a8642630e4859aa7595db413203bd4d1 = UNSTREAM_STRING( &constant_bin[ 126920 ], 127, 0 ); const_str_plain_nextGenerator = UNSTREAM_STRING( &constant_bin[ 127047 ], 13, 1 ); const_tuple_str_plain_self_str_plain_formatter_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_formatter_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_formatter_tuple, 1, const_str_plain_formatter ); Py_INCREF( const_str_plain_formatter ); const_str_digest_98146359f95edd1065618becd2b5a359 = UNSTREAM_STRING( &constant_bin[ 127060 ], 12, 0 ); const_str_digest_a5f41bd7ea9cf5f76bc2a8024c4253a9 = UNSTREAM_STRING( &constant_bin[ 127072 ], 41, 0 ); const_str_digest_5972be3d2e0ae5cffa0313f94447abdb = UNSTREAM_STRING( &constant_bin[ 127113 ], 155, 0 ); const_str_digest_04bfdb1839faf96b56a52e9f70c436a3 = UNSTREAM_STRING( &constant_bin[ 127268 ], 36, 0 ); const_str_plain_substitute_entities = UNSTREAM_STRING( &constant_bin[ 127304 ], 19, 1 ); const_tuple_e78b94ed7a6cf112858126b31788598d_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_e78b94ed7a6cf112858126b31788598d_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_e78b94ed7a6cf112858126b31788598d_tuple, 1, const_str_plain_value ); Py_INCREF( const_str_plain_value ); PyTuple_SET_ITEM( const_tuple_e78b94ed7a6cf112858126b31788598d_tuple, 2, const_str_plain_new_value ); Py_INCREF( const_str_plain_new_value ); PyTuple_SET_ITEM( const_tuple_e78b94ed7a6cf112858126b31788598d_tuple, 3, const_str_plain_v ); Py_INCREF( const_str_plain_v ); const_tuple_str_digest_2717a74e8094c62311bf53472f4de0ca_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_2717a74e8094c62311bf53472f4de0ca_tuple, 0, const_str_digest_2717a74e8094c62311bf53472f4de0ca ); Py_INCREF( const_str_digest_2717a74e8094c62311bf53472f4de0ca ); const_str_digest_03ac11e86d25bad18a4ea3518818395f = UNSTREAM_STRING( &constant_bin[ 127323 ], 31, 0 ); const_str_plain__includes_value = UNSTREAM_STRING( &constant_bin[ 127354 ], 15, 1 ); const_str_digest_abcaa5f84df1a2bc526d49ac2dda20c4 = UNSTREAM_STRING( &constant_bin[ 127369 ], 30, 0 ); const_tuple_272dbd16728ffeefb84651713f277746_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_272dbd16728ffeefb84651713f277746_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_272dbd16728ffeefb84651713f277746_tuple, 1, const_str_plain_s ); Py_INCREF( const_str_plain_s ); PyTuple_SET_ITEM( const_tuple_272dbd16728ffeefb84651713f277746_tuple, 2, const_str_plain_formatter ); Py_INCREF( const_str_plain_formatter ); PyTuple_SET_ITEM( const_tuple_272dbd16728ffeefb84651713f277746_tuple, 3, const_str_plain_output ); Py_INCREF( const_str_plain_output ); const_tuple_str_plain_cls_str_plain_ns_str_plain_f_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_ns_str_plain_f_tuple, 0, const_str_plain_cls ); Py_INCREF( const_str_plain_cls ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_ns_str_plain_f_tuple, 1, const_str_plain_ns ); Py_INCREF( const_str_plain_ns ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_ns_str_plain_f_tuple, 2, const_str_plain_f ); Py_INCREF( const_str_plain_f ); const_tuple_str_plain_tag_str_plain_tag_id_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_tag_str_plain_tag_id_tuple, 0, const_str_plain_tag ); Py_INCREF( const_str_plain_tag ); const_str_plain_tag_id = UNSTREAM_STRING( &constant_bin[ 127399 ], 6, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_tag_str_plain_tag_id_tuple, 1, const_str_plain_tag_id ); Py_INCREF( const_str_plain_tag_id ); const_str_digest_5b172c0b3f4a4b2fa095be9f536d19f3 = UNSTREAM_STRING( &constant_bin[ 127405 ], 37, 0 ); const_tuple_d8a008f3c3dc8f3ba3ff33df84389ed3_tuple = PyTuple_New( 8 ); PyTuple_SET_ITEM( const_tuple_d8a008f3c3dc8f3ba3ff33df84389ed3_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_d8a008f3c3dc8f3ba3ff33df84389ed3_tuple, 1, const_str_plain_indent_level ); Py_INCREF( const_str_plain_indent_level ); PyTuple_SET_ITEM( const_tuple_d8a008f3c3dc8f3ba3ff33df84389ed3_tuple, 2, const_str_plain_eventual_encoding ); Py_INCREF( const_str_plain_eventual_encoding ); PyTuple_SET_ITEM( const_tuple_d8a008f3c3dc8f3ba3ff33df84389ed3_tuple, 3, const_str_plain_formatter ); Py_INCREF( const_str_plain_formatter ); PyTuple_SET_ITEM( const_tuple_d8a008f3c3dc8f3ba3ff33df84389ed3_tuple, 4, const_str_plain_pretty_print ); Py_INCREF( const_str_plain_pretty_print ); PyTuple_SET_ITEM( const_tuple_d8a008f3c3dc8f3ba3ff33df84389ed3_tuple, 5, const_str_plain_s ); Py_INCREF( const_str_plain_s ); PyTuple_SET_ITEM( const_tuple_d8a008f3c3dc8f3ba3ff33df84389ed3_tuple, 6, const_str_plain_c ); Py_INCREF( const_str_plain_c ); PyTuple_SET_ITEM( const_tuple_d8a008f3c3dc8f3ba3ff33df84389ed3_tuple, 7, const_str_plain_text ); Py_INCREF( const_str_plain_text ); const_list_str_plain_script_str_plain_style_list = PyList_New( 2 ); PyList_SET_ITEM( const_list_str_plain_script_str_plain_style_list, 0, const_str_plain_script ); Py_INCREF( const_str_plain_script ); PyList_SET_ITEM( const_list_str_plain_script_str_plain_style_list, 1, const_str_plain_style ); Py_INCREF( const_str_plain_style ); const_str_digest_25d1348e5f90c099302af2b2e7b53e07 = UNSTREAM_STRING( &constant_bin[ 127442 ], 36, 0 ); const_str_plain_find_previous_siblings = UNSTREAM_STRING( &constant_bin[ 127478 ], 22, 1 ); const_str_digest_f217e48ed4c26f47ac3e1db2e35e3868 = UNSTREAM_STRING( &constant_bin[ 127500 ], 80, 0 ); const_tuple_str_plain_self_str_plain_attr_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_attr_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_attr_tuple, 1, const_str_plain_attr ); Py_INCREF( const_str_plain_attr ); const_str_digest_590cc70efffa0fc24bc200183bdfec83 = UNSTREAM_STRING( &constant_bin[ 127580 ], 49, 0 ); const_str_plain_find_previous = UNSTREAM_STRING( &constant_bin[ 127478 ], 13, 1 ); const_str_digest_c42ac5a4d6fe5208c6039fd3f7e8b4d1 = UNSTREAM_STRING( &constant_bin[ 127629 ], 107, 0 ); const_tuple_str_plain____tuple = PyTuple_New( 1 ); const_str_plain___ = UNSTREAM_STRING( &constant_bin[ 1399 ], 2, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain____tuple, 0, const_str_plain___ ); Py_INCREF( const_str_plain___ ); const_str_digest_42aaa86f3155a0ac9064d3ba1116a0c9 = UNSTREAM_STRING( &constant_bin[ 6112 ], 2, 0 ); const_set_dfe38449ad9ee46affeecfe69855e46c = PySet_New( NULL ); PySet_Add( const_set_dfe38449ad9ee46affeecfe69855e46c, const_str_plain_pre ); assert( PySet_Size( const_set_dfe38449ad9ee46affeecfe69855e46c ) == 1 ); const_str_digest_66fede51f6d2599d31cae6b2824d49fe = UNSTREAM_STRING( &constant_bin[ 127736 ], 25, 0 ); const_str_digest_726de91e6007dda8de03e4cdd816c952 = UNSTREAM_STRING( &constant_bin[ 127761 ], 12, 0 ); const_tuple_str_digest_8aa5a0d5f0fc8b5f6a0315fafb94db3e_tuple = PyTuple_New( 1 ); const_str_digest_8aa5a0d5f0fc8b5f6a0315fafb94db3e = UNSTREAM_STRING( &constant_bin[ 127773 ], 115, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_8aa5a0d5f0fc8b5f6a0315fafb94db3e_tuple, 0, const_str_digest_8aa5a0d5f0fc8b5f6a0315fafb94db3e ); Py_INCREF( const_str_digest_8aa5a0d5f0fc8b5f6a0315fafb94db3e ); const_str_plain_recursive_candidate_generator = UNSTREAM_STRING( &constant_bin[ 127888 ], 29, 1 ); const_tuple_7823708c4f4fc354ec913f02c98a1bd9_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_7823708c4f4fc354ec913f02c98a1bd9_tuple, 0, const_str_plain_element ); Py_INCREF( const_str_plain_element ); const_str_plain_attribute_value = UNSTREAM_STRING( &constant_bin[ 106057 ], 15, 1 ); PyTuple_SET_ITEM( const_tuple_7823708c4f4fc354ec913f02c98a1bd9_tuple, 1, const_str_plain_attribute_value ); Py_INCREF( const_str_plain_attribute_value ); PyTuple_SET_ITEM( const_tuple_7823708c4f4fc354ec913f02c98a1bd9_tuple, 2, const_str_plain_attribute ); Py_INCREF( const_str_plain_attribute ); PyTuple_SET_ITEM( const_tuple_7823708c4f4fc354ec913f02c98a1bd9_tuple, 3, const_str_plain_value ); Py_INCREF( const_str_plain_value ); const_tuple_str_plain_Tag_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_Tag_tuple, 0, const_str_plain_Tag ); Py_INCREF( const_str_plain_Tag ); const_str_digest_c285b35f2c69702515d7fc31396c1836 = UNSTREAM_STRING( &constant_bin[ 127917 ], 44, 0 ); const_str_plain__is_or_starts_with_dash = UNSTREAM_STRING( &constant_bin[ 127961 ], 23, 1 ); const_str_digest_d73614277c6d61645b151d81f183d780 = UNSTREAM_STRING( &constant_bin[ 127984 ], 101, 0 ); const_str_plain_previousGenerator = UNSTREAM_STRING( &constant_bin[ 128085 ], 17, 1 ); const_str_digest_6fd0b05522159f98d6181ab8bfabc7f6 = UNSTREAM_STRING( &constant_bin[ 128102 ], 9, 0 ); const_str_digest_7a7b71aaf4e5993a57b0b451a24861bc = UNSTREAM_STRING( &constant_bin[ 128111 ], 11, 0 ); const_str_digest_5019a3250d7d4e2e305907c7346453e1 = UNSTREAM_STRING( &constant_bin[ 128122 ], 48, 0 ); const_str_digest_f9e139f46dd50f44cc7fd067b77cd3a6 = UNSTREAM_STRING( &constant_bin[ 128170 ], 32, 0 ); const_tuple_str_plain_self_str_plain_last_child_str_plain_next_element_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_last_child_str_plain_next_element_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); const_str_plain_last_child = UNSTREAM_STRING( &constant_bin[ 107786 ], 10, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_last_child_str_plain_next_element_tuple, 1, const_str_plain_last_child ); Py_INCREF( const_str_plain_last_child ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_last_child_str_plain_next_element_tuple, 2, const_str_plain_next_element ); Py_INCREF( const_str_plain_next_element ); const_tuple_58568bf8b42125104a536219253716ea_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_58568bf8b42125104a536219253716ea_tuple, 0, const_str_plain_cls ); Py_INCREF( const_str_plain_cls ); PyTuple_SET_ITEM( const_tuple_58568bf8b42125104a536219253716ea_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name ); const_str_plain_pub_id = UNSTREAM_STRING( &constant_bin[ 128202 ], 6, 1 ); PyTuple_SET_ITEM( const_tuple_58568bf8b42125104a536219253716ea_tuple, 2, const_str_plain_pub_id ); Py_INCREF( const_str_plain_pub_id ); PyTuple_SET_ITEM( const_tuple_58568bf8b42125104a536219253716ea_tuple, 3, const_str_plain_system_id ); Py_INCREF( const_str_plain_system_id ); PyTuple_SET_ITEM( const_tuple_58568bf8b42125104a536219253716ea_tuple, 4, const_str_plain_value ); Py_INCREF( const_str_plain_value ); const_str_digest_52dbc62b42a8ca77d540a383ab09ed56 = UNSTREAM_STRING( &constant_bin[ 128208 ], 25, 0 ); const_str_digest_fa55152cf5768e33779c6aadc67f2074 = UNSTREAM_STRING( &constant_bin[ 128233 ], 29, 0 ); const_tuple_f1cb559edbeb854c29bced8fa834c328_tuple = PyMarshal_ReadObjectFromString( (char *)&constant_bin[ 128262 ], 560 ); const_str_plain_format_string = UNSTREAM_STRING( &constant_bin[ 128822 ], 13, 1 ); const_str_digest_c70d03641ebe37e44be59f47eeff292c = UNSTREAM_STRING( &constant_bin[ 128835 ], 18, 0 ); const_tuple_str_plain_el_str_plain_attribute_str_plain_value_tuple = PyTuple_New( 3 ); const_str_plain_el = UNSTREAM_STRING( &constant_bin[ 357 ], 2, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_el_str_plain_attribute_str_plain_value_tuple, 0, const_str_plain_el ); Py_INCREF( const_str_plain_el ); PyTuple_SET_ITEM( const_tuple_str_plain_el_str_plain_attribute_str_plain_value_tuple, 1, const_str_plain_attribute ); Py_INCREF( const_str_plain_attribute ); PyTuple_SET_ITEM( const_tuple_str_plain_el_str_plain_attribute_str_plain_value_tuple, 2, const_str_plain_value ); Py_INCREF( const_str_plain_value ); const_str_plain_CHARSET_RE = UNSTREAM_STRING( &constant_bin[ 128853 ], 10, 1 ); const_str_digest_3a6a8193326a0cc096673b1c1e043757 = UNSTREAM_STRING( &constant_bin[ 128863 ], 37, 0 ); const_str_digest_dd28c379f1a5b1272a307a0641ac6175 = UNSTREAM_STRING( &constant_bin[ 128900 ], 23, 0 ); const_tuple_d0434168675df957da575746d9fec873_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_d0434168675df957da575746d9fec873_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_d0434168675df957da575746d9fec873_tuple, 1, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding ); const_str_plain_prettyPrint = UNSTREAM_STRING( &constant_bin[ 128923 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_d0434168675df957da575746d9fec873_tuple, 2, const_str_plain_prettyPrint ); Py_INCREF( const_str_plain_prettyPrint ); const_str_plain_indentLevel = UNSTREAM_STRING( &constant_bin[ 128934 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_d0434168675df957da575746d9fec873_tuple, 3, const_str_plain_indentLevel ); Py_INCREF( const_str_plain_indentLevel ); const_str_digest_74feb09b4e7b5c98ea28f927cc7ad7ec = UNSTREAM_STRING( &constant_bin[ 128945 ], 355, 0 ); const_str_plain_original_value = UNSTREAM_STRING( &constant_bin[ 53962 ], 14, 1 ); const_str_digest_b36e4823c492e96c379e71da4d82635b = UNSTREAM_STRING( &constant_bin[ 129300 ], 21, 0 ); const_str_plain_strainer = UNSTREAM_STRING( &constant_bin[ 129321 ], 8, 1 ); const_str_digest_e273606d4c097599be39501a7a73668e = UNSTREAM_STRING( &constant_bin[ 129329 ], 14, 0 ); const_str_digest_a803aeaeff5d56a2f9b888d2c7f7783c = UNSTREAM_STRING( &constant_bin[ 129343 ], 25, 0 ); const_str_plain_AttributeValueWithCharsetSubstitution = UNSTREAM_STRING( &constant_bin[ 129368 ], 37, 1 ); const_str_plain__match = UNSTREAM_STRING( &constant_bin[ 11221 ], 6, 1 ); const_tuple_str_plain_next_sibling_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_next_sibling_tuple, 0, const_str_plain_next_sibling ); Py_INCREF( const_str_plain_next_sibling ); const_tuple_244569d53ff96acad91f6c9be82452fb_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_244569d53ff96acad91f6c9be82452fb_tuple, 0, const_str_plain_tag ); Py_INCREF( const_str_plain_tag ); PyTuple_SET_ITEM( const_tuple_244569d53ff96acad91f6c9be82452fb_tuple, 1, const_str_plain_i ); Py_INCREF( const_str_plain_i ); PyTuple_SET_ITEM( const_tuple_244569d53ff96acad91f6c9be82452fb_tuple, 2, const_str_plain_self ); Py_INCREF( const_str_plain_self ); const_str_plain_next_token = UNSTREAM_STRING( &constant_bin[ 128709 ], 10, 1 ); PyTuple_SET_ITEM( const_tuple_244569d53ff96acad91f6c9be82452fb_tuple, 3, const_str_plain_next_token ); Py_INCREF( const_str_plain_next_token ); PyTuple_SET_ITEM( const_tuple_244569d53ff96acad91f6c9be82452fb_tuple, 4, const_str_plain_recursive_candidate_generator ); Py_INCREF( const_str_plain_recursive_candidate_generator ); const_str_digest_a9c30e8b7efc851a52b36f9f117da2a2 = UNSTREAM_STRING( &constant_bin[ 129405 ], 12, 0 ); const_str_plain_findNextSiblings = UNSTREAM_STRING( &constant_bin[ 129417 ], 16, 1 ); const_str_digest_0d59bfaa9218188300188b5f9e973e25 = UNSTREAM_STRING( &constant_bin[ 129433 ], 13, 0 ); const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple = PyTuple_New( 13 ); PyTuple_SET_ITEM( const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); const_str_plain_markup_name = UNSTREAM_STRING( &constant_bin[ 129446 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple, 1, const_str_plain_markup_name ); Py_INCREF( const_str_plain_markup_name ); PyTuple_SET_ITEM( const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple, 2, const_str_plain_markup_attrs ); Py_INCREF( const_str_plain_markup_attrs ); PyTuple_SET_ITEM( const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple, 3, const_str_plain_found ); Py_INCREF( const_str_plain_found ); PyTuple_SET_ITEM( const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple, 4, const_str_plain_markup ); Py_INCREF( const_str_plain_markup ); const_str_plain_call_function_with_tag_data = UNSTREAM_STRING( &constant_bin[ 129457 ], 27, 1 ); PyTuple_SET_ITEM( const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple, 5, const_str_plain_call_function_with_tag_data ); Py_INCREF( const_str_plain_call_function_with_tag_data ); PyTuple_SET_ITEM( const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple, 6, const_str_plain_match ); Py_INCREF( const_str_plain_match ); const_str_plain_markup_attr_map = UNSTREAM_STRING( &constant_bin[ 129484 ], 15, 1 ); PyTuple_SET_ITEM( const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple, 7, const_str_plain_markup_attr_map ); Py_INCREF( const_str_plain_markup_attr_map ); PyTuple_SET_ITEM( const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple, 8, const_str_plain_attr ); Py_INCREF( const_str_plain_attr ); PyTuple_SET_ITEM( const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple, 9, const_str_plain_match_against ); Py_INCREF( const_str_plain_match_against ); PyTuple_SET_ITEM( const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple, 10, const_str_plain_k ); Py_INCREF( const_str_plain_k ); PyTuple_SET_ITEM( const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple, 11, const_str_plain_v ); Py_INCREF( const_str_plain_v ); PyTuple_SET_ITEM( const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple, 12, const_str_plain_attr_value ); Py_INCREF( const_str_plain_attr_value ); const_str_plain_next_elements = UNSTREAM_STRING( &constant_bin[ 129499 ], 13, 1 ); const_str_plain__is_xml = UNSTREAM_STRING( &constant_bin[ 129512 ], 7, 1 ); const_str_digest_bc241a3f1ceee87df66a7de9c300b6ec = UNSTREAM_STRING( &constant_bin[ 129519 ], 11, 0 ); const_str_plain_indent_space = UNSTREAM_STRING( &constant_bin[ 129530 ], 12, 1 ); const_str_digest_342f2f3fc04416211c7651548dd73a63 = UNSTREAM_STRING( &constant_bin[ 129542 ], 15, 0 ); const_str_digest_bc014c333a535597b5d961b6c3c85d62 = UNSTREAM_STRING( &constant_bin[ 129557 ], 21, 0 ); const_str_digest_c39d3790c96cd19498c4533c82e40342 = UNSTREAM_STRING( &constant_bin[ 129578 ], 25, 0 ); const_str_digest_39e86dc800163cd6b97aed7a43db29b4 = UNSTREAM_STRING( &constant_bin[ 129603 ], 16, 0 ); const_str_plain_cdata_containing_tags = UNSTREAM_STRING( &constant_bin[ 129619 ], 21, 1 ); const_str_plain_previousSibling = UNSTREAM_STRING( &constant_bin[ 123983 ], 15, 1 ); const_str_plain__substitute_if_appropriate = UNSTREAM_STRING( &constant_bin[ 129640 ], 26, 1 ); const_str_digest_2c354f1221e3e09909d06a3dc3c259cb = UNSTREAM_STRING( &constant_bin[ 129666 ], 369, 0 ); const_str_digest_1017197213f46afeb9536ec49b2f35a5 = UNSTREAM_STRING( &constant_bin[ 130035 ], 293, 0 ); const_str_digest_ad84e4242d5a8caad6a338868df5badc = UNSTREAM_STRING( &constant_bin[ 130328 ], 29, 0 ); const_str_digest_6bc063f0f9ce8ab6d1903b89e48ee482 = UNSTREAM_STRING( &constant_bin[ 130357 ], 48, 0 ); const_str_plain_replaceWithChildren = UNSTREAM_STRING( &constant_bin[ 130405 ], 19, 1 ); const_str_plain_find_previous_sibling = UNSTREAM_STRING( &constant_bin[ 127478 ], 21, 1 ); const_str_digest_dba4300913f590ab70dd3a55a3c580d8 = UNSTREAM_STRING( &constant_bin[ 130424 ], 56, 0 ); const_str_plain_tag_name_re = UNSTREAM_STRING( &constant_bin[ 130480 ], 11, 1 ); const_str_digest_353144c0bf943192926f85ed707a6e16 = UNSTREAM_STRING( &constant_bin[ 130491 ], 25, 0 ); const_str_plain__normalize_search_value = UNSTREAM_STRING( &constant_bin[ 127281 ], 23, 1 ); const_str_digest_5736cb45d19b2ad30baee1ce9c2a9a91 = UNSTREAM_STRING( &constant_bin[ 33786 ], 6, 0 ); const_str_plain__tag_name_matches_and = UNSTREAM_STRING( &constant_bin[ 127592 ], 21, 1 ); const_str_digest_c58e033f1c5c7944b6670af092f11d09 = UNSTREAM_STRING( &constant_bin[ 130516 ], 10, 0 ); const_str_plain_normalized_attrs = UNSTREAM_STRING( &constant_bin[ 130526 ], 16, 1 ); const_tuple_33e3fd31c9cfc9ad09c0a6afb50d182d_tuple = PyTuple_New( 8 ); PyTuple_SET_ITEM( const_tuple_33e3fd31c9cfc9ad09c0a6afb50d182d_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_33e3fd31c9cfc9ad09c0a6afb50d182d_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_33e3fd31c9cfc9ad09c0a6afb50d182d_tuple, 2, const_str_plain_attrs ); Py_INCREF( const_str_plain_attrs ); PyTuple_SET_ITEM( const_tuple_33e3fd31c9cfc9ad09c0a6afb50d182d_tuple, 3, const_str_plain_text ); Py_INCREF( const_str_plain_text ); PyTuple_SET_ITEM( const_tuple_33e3fd31c9cfc9ad09c0a6afb50d182d_tuple, 4, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); PyTuple_SET_ITEM( const_tuple_33e3fd31c9cfc9ad09c0a6afb50d182d_tuple, 5, const_str_plain_normalized_attrs ); Py_INCREF( const_str_plain_normalized_attrs ); PyTuple_SET_ITEM( const_tuple_33e3fd31c9cfc9ad09c0a6afb50d182d_tuple, 6, const_str_plain_key ); Py_INCREF( const_str_plain_key ); PyTuple_SET_ITEM( const_tuple_33e3fd31c9cfc9ad09c0a6afb50d182d_tuple, 7, const_str_plain_value ); Py_INCREF( const_str_plain_value ); const_str_digest_ccbb947840a4fb4e5eae42a4041b85b1 = UNSTREAM_STRING( &constant_bin[ 130542 ], 45, 0 ); const_tuple_da1cf66926fb1d3089c3d751c6a7518e_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_da1cf66926fb1d3089c3d751c6a7518e_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_da1cf66926fb1d3089c3d751c6a7518e_tuple, 1, const_str_plain_predecessor ); Py_INCREF( const_str_plain_predecessor ); PyTuple_SET_ITEM( const_tuple_da1cf66926fb1d3089c3d751c6a7518e_tuple, 2, const_str_plain_parent ); Py_INCREF( const_str_plain_parent ); PyTuple_SET_ITEM( const_tuple_da1cf66926fb1d3089c3d751c6a7518e_tuple, 3, const_str_plain_index ); Py_INCREF( const_str_plain_index ); const_str_digest_793475b6ff905c6e5e6e3cfc6a042716 = UNSTREAM_STRING( &constant_bin[ 130587 ], 12, 0 ); const_tuple_3b64fb04a63013587f4e717b6d88d2c3_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_3b64fb04a63013587f4e717b6d88d2c3_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); const_str_plain_is_initialized = UNSTREAM_STRING( &constant_bin[ 130599 ], 14, 1 ); PyTuple_SET_ITEM( const_tuple_3b64fb04a63013587f4e717b6d88d2c3_tuple, 1, const_str_plain_is_initialized ); Py_INCREF( const_str_plain_is_initialized ); const_str_plain_accept_self = UNSTREAM_STRING( &constant_bin[ 130613 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_3b64fb04a63013587f4e717b6d88d2c3_tuple, 2, const_str_plain_accept_self ); Py_INCREF( const_str_plain_accept_self ); PyTuple_SET_ITEM( const_tuple_3b64fb04a63013587f4e717b6d88d2c3_tuple, 3, const_str_plain_last_child ); Py_INCREF( const_str_plain_last_child ); const_tuple_b29bc8769f649e9077cd3d87ace09019_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_b29bc8769f649e9077cd3d87ace09019_tuple, 0, const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); Py_INCREF( const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); PyTuple_SET_ITEM( const_tuple_b29bc8769f649e9077cd3d87ace09019_tuple, 1, const_str_plain_element ); Py_INCREF( const_str_plain_element ); PyTuple_SET_ITEM( const_tuple_b29bc8769f649e9077cd3d87ace09019_tuple, 2, const_str_plain_name ); Py_INCREF( const_str_plain_name ); const_str_plain_local_name = UNSTREAM_STRING( &constant_bin[ 130624 ], 10, 1 ); PyTuple_SET_ITEM( const_tuple_b29bc8769f649e9077cd3d87ace09019_tuple, 3, const_str_plain_local_name ); Py_INCREF( const_str_plain_local_name ); PyTuple_SET_ITEM( const_tuple_b29bc8769f649e9077cd3d87ace09019_tuple, 4, const_str_plain_prefix ); Py_INCREF( const_str_plain_prefix ); const_str_digest_1497234d40830769b81fa10a7cfd9b92 = UNSTREAM_STRING( &constant_bin[ 130634 ], 15, 0 ); const_str_digest_7c6d7180e60db13c76eddb566f38b2ce = UNSTREAM_STRING( &constant_bin[ 130649 ], 29, 0 ); const_tuple_str_plain_candidate_str_plain_classes_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_candidate_str_plain_classes_tuple, 0, const_str_plain_candidate ); Py_INCREF( const_str_plain_candidate ); const_str_plain_classes = UNSTREAM_STRING( &constant_bin[ 16321 ], 7, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_candidate_str_plain_classes_tuple, 1, const_str_plain_classes ); Py_INCREF( const_str_plain_classes ); const_str_digest_e33e8d49cbf0fc17428af0f49bdd18ae = UNSTREAM_STRING( &constant_bin[ 130678 ], 12, 0 ); const_str_digest_a6aafb5565cda3049a1405989036800d = UNSTREAM_STRING( &constant_bin[ 130690 ], 57, 0 ); const_str_plain_my_child = UNSTREAM_STRING( &constant_bin[ 130747 ], 8, 1 ); const_str_plain_findNext = UNSTREAM_STRING( &constant_bin[ 123007 ], 8, 1 ); const_str_plain_findPreviousSiblings = UNSTREAM_STRING( &constant_bin[ 130755 ], 20, 1 ); const_str_digest_0335416823e683d1ebbe424bdd45a2ca = UNSTREAM_STRING( &constant_bin[ 130775 ], 85, 0 ); const_tuple_39e3efcbfd23153e69bf0c00213825ef_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_39e3efcbfd23153e69bf0c00213825ef_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_39e3efcbfd23153e69bf0c00213825ef_tuple, 1, const_str_plain_operator ); Py_INCREF( const_str_plain_operator ); PyTuple_SET_ITEM( const_tuple_39e3efcbfd23153e69bf0c00213825ef_tuple, 2, const_str_plain_attribute ); Py_INCREF( const_str_plain_attribute ); PyTuple_SET_ITEM( const_tuple_39e3efcbfd23153e69bf0c00213825ef_tuple, 3, const_str_plain_value ); Py_INCREF( const_str_plain_value ); PyTuple_SET_ITEM( const_tuple_39e3efcbfd23153e69bf0c00213825ef_tuple, 4, const_str_plain__includes_value ); Py_INCREF( const_str_plain__includes_value ); PyTuple_SET_ITEM( const_tuple_39e3efcbfd23153e69bf0c00213825ef_tuple, 5, const_str_plain__is_or_starts_with_dash ); Py_INCREF( const_str_plain__is_or_starts_with_dash ); const_tuple_str_plain_self_str_plain_i_str_plain_next_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_i_str_plain_next_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_i_str_plain_next_tuple, 1, const_str_plain_i ); Py_INCREF( const_str_plain_i ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_i_str_plain_next_tuple, 2, const_str_plain_next ); Py_INCREF( const_str_plain_next ); const_str_digest_1d547f36cb81cf900ecd54bb5fde1579 = UNSTREAM_STRING( &constant_bin[ 130860 ], 63, 0 ); const_tuple_str_plain_self_str_plain_stopNode_str_plain_current_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_stopNode_str_plain_current_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_stopNode_str_plain_current_tuple, 1, const_str_plain_stopNode ); Py_INCREF( const_str_plain_stopNode ); const_str_plain_current = UNSTREAM_STRING( &constant_bin[ 30563 ], 7, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_stopNode_str_plain_current_tuple, 2, const_str_plain_current ); Py_INCREF( const_str_plain_current ); const_tuple_str_plain_can_be_empty_element_str_plain_hidden_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_can_be_empty_element_str_plain_hidden_tuple, 0, const_str_plain_can_be_empty_element ); Py_INCREF( const_str_plain_can_be_empty_element ); PyTuple_SET_ITEM( const_tuple_str_plain_can_be_empty_element_str_plain_hidden_tuple, 1, const_str_plain_hidden ); Py_INCREF( const_str_plain_hidden ); const_str_digest_7bc7e85dacc6dfb10a05cd09e76bb0df = UNSTREAM_STRING( &constant_bin[ 130923 ], 24, 0 ); const_str_digest_7367bb348cc3e8e5398ecf366526fd9f = UNSTREAM_STRING( &constant_bin[ 130947 ], 61, 0 ); const_str_digest_58f29b9091b9295fe6b362b2a5c1cffc = UNSTREAM_STRING( &constant_bin[ 131008 ], 23, 0 ); const_tuple_str_digest_1f70ae3166f8abcc5a59720728b1b0a3_tuple = PyTuple_New( 1 ); const_str_digest_1f70ae3166f8abcc5a59720728b1b0a3 = UNSTREAM_STRING( &constant_bin[ 131031 ], 40, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_1f70ae3166f8abcc5a59720728b1b0a3_tuple, 0, const_str_digest_1f70ae3166f8abcc5a59720728b1b0a3 ); Py_INCREF( const_str_digest_1f70ae3166f8abcc5a59720728b1b0a3 ); const_tuple_str_plain_self_str_plain_element_str_plain_i_str_plain_child_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_element_str_plain_i_str_plain_child_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_element_str_plain_i_str_plain_child_tuple, 1, const_str_plain_element ); Py_INCREF( const_str_plain_element ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_element_str_plain_i_str_plain_child_tuple, 2, const_str_plain_i ); Py_INCREF( const_str_plain_i ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_element_str_plain_i_str_plain_child_tuple, 3, const_str_plain_child ); Py_INCREF( const_str_plain_child ); const_str_digest_9a4c4553ae799a3f01a78102c1ac7530 = UNSTREAM_STRING( &constant_bin[ 131071 ], 9, 0 ); const_str_digest_0b1fa04141a60b90f788201bec2f64cd = UNSTREAM_STRING( &constant_bin[ 131080 ], 19, 0 ); const_str_digest_51f97402dd7101c57c82d9e47530321c = UNSTREAM_STRING( &constant_bin[ 131099 ], 90, 0 ); const_str_plain__alias = UNSTREAM_STRING( &constant_bin[ 129557 ], 6, 1 ); const_str_digest_0b148e8f8ec38f9da52f3c3b1086382f = UNSTREAM_STRING( &constant_bin[ 131189 ], 19, 0 ); const_str_digest_edf143d4f0a652982e578c671c8f527f = UNSTREAM_STRING( &constant_bin[ 131208 ], 123, 0 ); const_str_digest_3d2031d7b7fffec3dc4c339570a1b588 = UNSTREAM_STRING( &constant_bin[ 131331 ], 29, 0 ); const_str_plain_XMLFormatter = UNSTREAM_STRING( &constant_bin[ 125781 ], 12, 1 ); const_str_plain_xmlcharrefreplace = UNSTREAM_STRING( &constant_bin[ 118587 ], 17, 1 ); const_str_digest_7bb51df0560e5842f708add19ad1bfac = UNSTREAM_STRING( &constant_bin[ 131360 ], 27, 0 ); const_str_plain__all_strings = UNSTREAM_STRING( &constant_bin[ 129607 ], 12, 1 ); const_str_digest_e93e15e7b09df658abd740e92ef2ec2a = UNSTREAM_STRING( &constant_bin[ 127330 ], 24, 0 ); const_str_digest_7b5d772369e2304853f18cab6c504630 = UNSTREAM_STRING( &constant_bin[ 131387 ], 25, 0 ); const_str_digest_43f42e221dbc99e7846a13559b986b53 = UNSTREAM_STRING( &constant_bin[ 131412 ], 630, 0 ); const_str_digest_46d5a7b0c14a8b53d5f8055cd3b777a5 = UNSTREAM_STRING( &constant_bin[ 132042 ], 20, 0 ); const_str_digest_2c5d2687546dd016d865134c82fb2945 = UNSTREAM_STRING( &constant_bin[ 132062 ], 33, 0 ); const_str_digest_d72d114df8db0ba64be9f314fb3d10ea = UNSTREAM_STRING( &constant_bin[ 132095 ], 113, 0 ); const_str_digest_c658d19634e753d4f72ac98fd801f3f1 = UNSTREAM_STRING( &constant_bin[ 132208 ], 28, 0 ); const_tuple_dcfb5743efa6a82734207c30c058dd65_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_dcfb5743efa6a82734207c30c058dd65_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_dcfb5743efa6a82734207c30c058dd65_tuple, 1, const_str_plain_source ); Py_INCREF( const_str_plain_source ); PyTuple_SET_ITEM( const_tuple_dcfb5743efa6a82734207c30c058dd65_tuple, 2, const_str_plain_result ); Py_INCREF( const_str_plain_result ); PyTuple_SET_ITEM( const_tuple_dcfb5743efa6a82734207c30c058dd65_tuple, 3, const_str_plain___class__ ); Py_INCREF( const_str_plain___class__ ); const_str_digest_2fb35f5b371e4357763cfefa063b5165 = UNSTREAM_STRING( &constant_bin[ 132236 ], 5, 0 ); const_str_plain_void_element_close_prefix = UNSTREAM_STRING( &constant_bin[ 132241 ], 25, 1 ); const_tuple_65604e2dc480b192d22d38f58a38ee21_tuple = PyTuple_New( 8 ); PyTuple_SET_ITEM( const_tuple_65604e2dc480b192d22d38f58a38ee21_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_65604e2dc480b192d22d38f58a38ee21_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_65604e2dc480b192d22d38f58a38ee21_tuple, 2, const_str_plain_attrs ); Py_INCREF( const_str_plain_attrs ); const_str_plain_recursive = UNSTREAM_STRING( &constant_bin[ 29056 ], 9, 1 ); PyTuple_SET_ITEM( const_tuple_65604e2dc480b192d22d38f58a38ee21_tuple, 3, const_str_plain_recursive ); Py_INCREF( const_str_plain_recursive ); PyTuple_SET_ITEM( const_tuple_65604e2dc480b192d22d38f58a38ee21_tuple, 4, const_str_plain_text ); Py_INCREF( const_str_plain_text ); PyTuple_SET_ITEM( const_tuple_65604e2dc480b192d22d38f58a38ee21_tuple, 5, const_str_plain_limit ); Py_INCREF( const_str_plain_limit ); PyTuple_SET_ITEM( const_tuple_65604e2dc480b192d22d38f58a38ee21_tuple, 6, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); PyTuple_SET_ITEM( const_tuple_65604e2dc480b192d22d38f58a38ee21_tuple, 7, const_str_plain_generator ); Py_INCREF( const_str_plain_generator ); const_str_digest_0f241caea804b8a525f1d22aef15691e = UNSTREAM_STRING( &constant_bin[ 132266 ], 12, 0 ); const_str_plain__attribute_checker = UNSTREAM_STRING( &constant_bin[ 130872 ], 18, 1 ); const_str_digest_d88264c5f20958d108ae7501f2b0acfa = UNSTREAM_STRING( &constant_bin[ 132278 ], 12, 0 ); const_str_digest_90caf7c40b767f058b1c9bd194f972d8 = UNSTREAM_STRING( &constant_bin[ 132290 ], 188, 0 ); const_str_digest_a5e29131f13d71b6ec2d6ad90d15151c = UNSTREAM_STRING( &constant_bin[ 132478 ], 56, 0 ); const_str_digest_a6d3c5dc186607b5d9991e1833ca2d3a = UNSTREAM_STRING( &constant_bin[ 132534 ], 113, 0 ); const_str_digest_b22616d8b6beb62acee58774ffcab55e = UNSTREAM_STRING( &constant_bin[ 129578 ], 16, 0 ); const_str_plain_next_tag_sibling = UNSTREAM_STRING( &constant_bin[ 128691 ], 16, 1 ); const_tuple_2db4dbe516092df2db3de6cea5c71cab_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_2db4dbe516092df2db3de6cea5c71cab_tuple, 0, const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); Py_INCREF( const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); PyTuple_SET_ITEM( const_tuple_2db4dbe516092df2db3de6cea5c71cab_tuple, 1, const_str_plain_element ); Py_INCREF( const_str_plain_element ); const_tuple_320cbb4df0ff07646e62c91f2eed2f25_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_320cbb4df0ff07646e62c91f2eed2f25_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_320cbb4df0ff07646e62c91f2eed2f25_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_320cbb4df0ff07646e62c91f2eed2f25_tuple, 2, const_str_plain_attrs ); Py_INCREF( const_str_plain_attrs ); PyTuple_SET_ITEM( const_tuple_320cbb4df0ff07646e62c91f2eed2f25_tuple, 3, const_str_plain_limit ); Py_INCREF( const_str_plain_limit ); PyTuple_SET_ITEM( const_tuple_320cbb4df0ff07646e62c91f2eed2f25_tuple, 4, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); const_str_plain_previousSiblingGenerator = UNSTREAM_STRING( &constant_bin[ 123983 ], 24, 1 ); const_tuple_str_plain_self_str_plain_wrap_inside_str_plain_me_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_wrap_inside_str_plain_me_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); const_str_plain_wrap_inside = UNSTREAM_STRING( &constant_bin[ 132647 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_wrap_inside_str_plain_me_tuple, 1, const_str_plain_wrap_inside ); Py_INCREF( const_str_plain_wrap_inside ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_wrap_inside_str_plain_me_tuple, 2, const_str_plain_me ); Py_INCREF( const_str_plain_me ); const_str_plain_find_all_next = UNSTREAM_STRING( &constant_bin[ 128220 ], 13, 1 ); const_str_plain_childGenerator = UNSTREAM_STRING( &constant_bin[ 123101 ], 14, 1 ); const_tuple_str_plain_self_str_plain_selector_str_plain_value_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_selector_str_plain_value_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_selector_str_plain_value_tuple, 1, const_str_plain_selector ); Py_INCREF( const_str_plain_selector ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_selector_str_plain_value_tuple, 2, const_str_plain_value ); Py_INCREF( const_str_plain_value ); const_str_plain_decompose = UNSTREAM_STRING( &constant_bin[ 129437 ], 9, 1 ); const_str_plain_my_index = UNSTREAM_STRING( &constant_bin[ 132658 ], 8, 1 ); const_str_digest_f71329a7fdb204c7f3cb9c7636f075d9 = UNSTREAM_STRING( &constant_bin[ 132666 ], 140, 0 ); const_str_plain_findChild = UNSTREAM_STRING( &constant_bin[ 132806 ], 9, 1 ); const_str_digest_d90d6bf72562890a5796691663e1c81f = UNSTREAM_STRING( &constant_bin[ 132815 ], 42, 0 ); const_str_digest_0685591b46f1ff1022b2fd24b4aac922 = UNSTREAM_STRING( &constant_bin[ 132857 ], 25, 0 ); const_str_digest_9bb37a6fbeda9fc48836f2598f9a11c1 = UNSTREAM_STRING( &constant_bin[ 125295 ], 10, 0 ); const_tuple_str_plain_self_str_plain_tag_str_plain_tag_name_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_tag_str_plain_tag_name_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_tag_str_plain_tag_name_tuple, 1, const_str_plain_tag ); Py_INCREF( const_str_plain_tag ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_tag_str_plain_tag_name_tuple, 2, const_str_plain_tag_name ); Py_INCREF( const_str_plain_tag_name ); const_tuple_str_plain_el_str_plain_value_str_plain_attribute_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_el_str_plain_value_str_plain_attribute_tuple, 0, const_str_plain_el ); Py_INCREF( const_str_plain_el ); PyTuple_SET_ITEM( const_tuple_str_plain_el_str_plain_value_str_plain_attribute_tuple, 1, const_str_plain_value ); Py_INCREF( const_str_plain_value ); PyTuple_SET_ITEM( const_tuple_str_plain_el_str_plain_value_str_plain_attribute_tuple, 2, const_str_plain_attribute ); Py_INCREF( const_str_plain_attribute ); const_str_digest_5806791943ce856d9cfa3df6f3256880 = UNSTREAM_STRING( &constant_bin[ 132882 ], 170, 0 ); const_str_digest_08c55f7436746dfbed837b418ea65a70 = UNSTREAM_STRING( &constant_bin[ 133052 ], 3, 0 ); const_tuple_3a1a822c776686c398d8079a14774929_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_3a1a822c776686c398d8079a14774929_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_3a1a822c776686c398d8079a14774929_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_3a1a822c776686c398d8079a14774929_tuple, 2, const_str_plain_attrs ); Py_INCREF( const_str_plain_attrs ); PyTuple_SET_ITEM( const_tuple_3a1a822c776686c398d8079a14774929_tuple, 3, const_str_plain_text ); Py_INCREF( const_str_plain_text ); PyTuple_SET_ITEM( const_tuple_3a1a822c776686c398d8079a14774929_tuple, 4, const_str_plain_limit ); Py_INCREF( const_str_plain_limit ); PyTuple_SET_ITEM( const_tuple_3a1a822c776686c398d8079a14774929_tuple, 5, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); const_tuple_ffd90e373011fadf040497abe3c9ca62_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_ffd90e373011fadf040497abe3c9ca62_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_ffd90e373011fadf040497abe3c9ca62_tuple, 1, const_str_plain_markup ); Py_INCREF( const_str_plain_markup ); PyTuple_SET_ITEM( const_tuple_ffd90e373011fadf040497abe3c9ca62_tuple, 2, const_str_plain_found ); Py_INCREF( const_str_plain_found ); PyTuple_SET_ITEM( const_tuple_ffd90e373011fadf040497abe3c9ca62_tuple, 3, const_str_plain_element ); Py_INCREF( const_str_plain_element ); const_str_digest_d94dd02ff29f58ae25b53cad8c58cd04 = UNSTREAM_STRING( &constant_bin[ 133055 ], 47, 0 ); const_str_digest_ca50f55a33cc9fd5d939b7cdc4d773d8 = UNSTREAM_STRING( &constant_bin[ 133102 ], 49, 0 ); const_tuple_str_plain_self_str_plain_value_str_plain_default_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_value_str_plain_default_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_value_str_plain_default_tuple, 1, const_str_plain_value ); Py_INCREF( const_str_plain_value ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_value_str_plain_default_tuple, 2, const_str_plain_default ); Py_INCREF( const_str_plain_default ); const_str_digest_e107fb2a715fd343678f69439be13d8c = UNSTREAM_STRING( &constant_bin[ 123971 ], 20, 0 ); const_str_digest_1c3b497b8a4a3c183134674c43de9ce2 = UNSTREAM_STRING( &constant_bin[ 133151 ], 49, 0 ); const_str_plain_PREFIX = UNSTREAM_STRING( &constant_bin[ 133200 ], 6, 1 ); const_str_plain_subchild = UNSTREAM_STRING( &constant_bin[ 133206 ], 8, 1 ); const_str_digest_ae912026c5c8efb2a6b04b82119a5853 = UNSTREAM_STRING( &constant_bin[ 133214 ], 18, 0 ); const_str_digest_2723f6e7179adb3f95d6ef44f1805134 = UNSTREAM_STRING( &constant_bin[ 133232 ], 50, 0 ); const_str_digest_14353753bf040a2143c41e1a6b5a528c = UNSTREAM_STRING( &constant_bin[ 133282 ], 16, 0 ); const_str_digest_5d847db57d0c6475e433c934afe0ea5d = UNSTREAM_STRING( &constant_bin[ 133298 ], 55, 0 ); const_str_digest_c6ce98eeee9de07963cbfdcd2b83f2c1 = UNSTREAM_STRING( &constant_bin[ 133353 ], 223, 0 ); const_str_digest_d39d95c610172b34eb52fa6d59d5835e = UNSTREAM_STRING( &constant_bin[ 133576 ], 70, 0 ); const_str_plain__attr_value_as_string = UNSTREAM_STRING( &constant_bin[ 132074 ], 21, 1 ); const_str_digest_dfdbff9e44ccf3b0d72c62f2eb1feb85 = UNSTREAM_STRING( &constant_bin[ 133646 ], 18, 0 ); const_str_digest_9a553da68e37fc2c9e871cef1f9a938f = UNSTREAM_STRING( &constant_bin[ 133664 ], 124, 0 ); const_str_digest_5e8296b08c7275b6e9b059066a53a1cb = UNSTREAM_STRING( &constant_bin[ 133788 ], 114, 0 ); const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple = PyTuple_New( 19 ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 1, const_str_plain_indent_level ); Py_INCREF( const_str_plain_indent_level ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 2, const_str_plain_eventual_encoding ); Py_INCREF( const_str_plain_eventual_encoding ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 3, const_str_plain_formatter ); Py_INCREF( const_str_plain_formatter ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 4, const_str_plain_attrs ); Py_INCREF( const_str_plain_attrs ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 5, const_str_plain_key ); Py_INCREF( const_str_plain_key ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 6, const_str_plain_val ); Py_INCREF( const_str_plain_val ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 7, const_str_plain_decoded ); Py_INCREF( const_str_plain_decoded ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 8, const_str_plain_text ); Py_INCREF( const_str_plain_text ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 9, const_str_plain_close ); Py_INCREF( const_str_plain_close ); const_str_plain_closeTag = UNSTREAM_STRING( &constant_bin[ 133902 ], 8, 1 ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 10, const_str_plain_closeTag ); Py_INCREF( const_str_plain_closeTag ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 11, const_str_plain_prefix ); Py_INCREF( const_str_plain_prefix ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 12, const_str_plain_pretty_print ); Py_INCREF( const_str_plain_pretty_print ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 13, const_str_plain_space ); Py_INCREF( const_str_plain_space ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 14, const_str_plain_indent_space ); Py_INCREF( const_str_plain_indent_space ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 15, const_str_plain_indent_contents ); Py_INCREF( const_str_plain_indent_contents ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 16, const_str_plain_contents ); Py_INCREF( const_str_plain_contents ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 17, const_str_plain_s ); Py_INCREF( const_str_plain_s ); const_str_plain_attribute_string = UNSTREAM_STRING( &constant_bin[ 133910 ], 16, 1 ); PyTuple_SET_ITEM( const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 18, const_str_plain_attribute_string ); Py_INCREF( const_str_plain_attribute_string ); const_str_digest_750906c63df60c8f9857f2595e15aebc = UNSTREAM_STRING( &constant_bin[ 133926 ], 50, 0 ); const_tuple_5d973f0bbc887f462db71b319acd6172_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_5d973f0bbc887f462db71b319acd6172_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_5d973f0bbc887f462db71b319acd6172_tuple, 1, const_str_plain_other ); Py_INCREF( const_str_plain_other ); PyTuple_SET_ITEM( const_tuple_5d973f0bbc887f462db71b319acd6172_tuple, 2, const_str_plain_i ); Py_INCREF( const_str_plain_i ); PyTuple_SET_ITEM( const_tuple_5d973f0bbc887f462db71b319acd6172_tuple, 3, const_str_plain_my_child ); Py_INCREF( const_str_plain_my_child ); const_str_plain_output_ready = UNSTREAM_STRING( &constant_bin[ 124023 ], 12, 1 ); const_str_digest_d8274aeb344d2374500ebe6784747ede = UNSTREAM_STRING( &constant_bin[ 133976 ], 18, 0 ); const_tuple_str_dot_int_pos_1_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_dot_int_pos_1_tuple, 0, const_str_dot ); Py_INCREF( const_str_dot ); PyTuple_SET_ITEM( const_tuple_str_dot_int_pos_1_tuple, 1, const_int_pos_1 ); Py_INCREF( const_int_pos_1 ); const_str_digest_32f02ba0d5979253c3fb9ee1fc478e93 = UNSTREAM_STRING( &constant_bin[ 133994 ], 33, 0 ); const_str_digest_757a2fce8a21ac849f1f3934767a43c0 = UNSTREAM_STRING( &constant_bin[ 134027 ], 19, 0 ); const_str_plain_find_all_previous = UNSTREAM_STRING( &constant_bin[ 128245 ], 17, 1 ); const_str_digest_0b066cfc867e6f548b17d4d546783ac1 = UNSTREAM_STRING( &constant_bin[ 134046 ], 19, 0 ); const_str_digest_302b0c9d5be44f512531ebaa066b21e4 = UNSTREAM_STRING( &constant_bin[ 134065 ], 191, 0 ); const_str_digest_9e0202f20825ee6726af59eda1c982e0 = UNSTREAM_STRING( &constant_bin[ 134256 ], 32, 0 ); const_str_plain_classes_match = UNSTREAM_STRING( &constant_bin[ 128606 ], 13, 1 ); const_str_digest_10b0cc8d52dbda6d37909d215669cae2 = UNSTREAM_STRING( &constant_bin[ 134288 ], 4, 0 ); const_tuple_str_digest_6bc063f0f9ce8ab6d1903b89e48ee482_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_6bc063f0f9ce8ab6d1903b89e48ee482_tuple, 0, const_str_digest_6bc063f0f9ce8ab6d1903b89e48ee482 ); Py_INCREF( const_str_digest_6bc063f0f9ce8ab6d1903b89e48ee482 ); const_str_digest_4daed9bc7b28a37d66e00e344fb7f673 = UNSTREAM_STRING( &constant_bin[ 134292 ], 14, 0 ); const_tuple_52f6ccea4450b0adf27589851d88d852_tuple = PyTuple_New( 14 ); PyTuple_SET_ITEM( const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 2, const_str_plain_attrs ); Py_INCREF( const_str_plain_attrs ); PyTuple_SET_ITEM( const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 3, const_str_plain_text ); Py_INCREF( const_str_plain_text ); PyTuple_SET_ITEM( const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 4, const_str_plain_limit ); Py_INCREF( const_str_plain_limit ); PyTuple_SET_ITEM( const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 5, const_str_plain_generator ); Py_INCREF( const_str_plain_generator ); PyTuple_SET_ITEM( const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 6, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); PyTuple_SET_ITEM( const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 7, const_str_plain_strainer ); Py_INCREF( const_str_plain_strainer ); PyTuple_SET_ITEM( const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 8, const_str_plain_result ); Py_INCREF( const_str_plain_result ); PyTuple_SET_ITEM( const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 9, const_str_plain_prefix ); Py_INCREF( const_str_plain_prefix ); PyTuple_SET_ITEM( const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 10, const_str_plain_local_name ); Py_INCREF( const_str_plain_local_name ); PyTuple_SET_ITEM( const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 11, const_str_plain_results ); Py_INCREF( const_str_plain_results ); PyTuple_SET_ITEM( const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 12, const_str_plain_i ); Py_INCREF( const_str_plain_i ); PyTuple_SET_ITEM( const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 13, const_str_plain_found ); Py_INCREF( const_str_plain_found ); const_str_digest_db901e7460e5ae6f33b17694393c4f4b = UNSTREAM_STRING( &constant_bin[ 127060 ], 7, 0 ); const_tuple_75b9ad61a0b4f855687004ff1ae0ed59_tuple = PyTuple_New( 8 ); PyTuple_SET_ITEM( const_tuple_75b9ad61a0b4f855687004ff1ae0ed59_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_75b9ad61a0b4f855687004ff1ae0ed59_tuple, 1, const_str_plain_method ); Py_INCREF( const_str_plain_method ); PyTuple_SET_ITEM( const_tuple_75b9ad61a0b4f855687004ff1ae0ed59_tuple, 2, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_75b9ad61a0b4f855687004ff1ae0ed59_tuple, 3, const_str_plain_attrs ); Py_INCREF( const_str_plain_attrs ); PyTuple_SET_ITEM( const_tuple_75b9ad61a0b4f855687004ff1ae0ed59_tuple, 4, const_str_plain_text ); Py_INCREF( const_str_plain_text ); PyTuple_SET_ITEM( const_tuple_75b9ad61a0b4f855687004ff1ae0ed59_tuple, 5, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); PyTuple_SET_ITEM( const_tuple_75b9ad61a0b4f855687004ff1ae0ed59_tuple, 6, const_str_plain_r ); Py_INCREF( const_str_plain_r ); PyTuple_SET_ITEM( const_tuple_75b9ad61a0b4f855687004ff1ae0ed59_tuple, 7, const_str_plain_l ); Py_INCREF( const_str_plain_l ); const_tuple_str_plain_self_str_plain_decompose_str_plain_element_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_decompose_str_plain_element_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_decompose_str_plain_element_tuple, 1, const_str_plain_decompose ); Py_INCREF( const_str_plain_decompose ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_decompose_str_plain_element_tuple, 2, const_str_plain_element ); Py_INCREF( const_str_plain_element ); const_str_digest_31f659cb35ffa5ba70625102f9962bb1 = UNSTREAM_STRING( &constant_bin[ 134306 ], 12, 0 ); const_str_digest_9ebbf84d19dd70830626a66e23b2df81 = UNSTREAM_STRING( &constant_bin[ 134318 ], 5, 0 ); const_str_digest_d30c1fec201318981ba659c44f450ce9 = UNSTREAM_STRING( &constant_bin[ 134323 ], 78, 0 ); const_str_digest_6fafb2efdc26996459dc0ccdbcddbdf7 = UNSTREAM_STRING( &constant_bin[ 134401 ], 43, 0 ); const_str_plain_find_next_sibling = UNSTREAM_STRING( &constant_bin[ 127381 ], 17, 1 ); const_str_digest_ca069ce98f9901f907e2ed07f10c23b4 = UNSTREAM_STRING( &constant_bin[ 134444 ], 18, 0 ); const_str_digest_3001d417e4f50c846776bdf1db22299b = UNSTREAM_STRING( &constant_bin[ 134462 ], 262, 0 ); const_str_digest_b246a21da0bf0d1ecd21a222430c1e19 = UNSTREAM_STRING( &constant_bin[ 134724 ], 25, 0 ); const_str_digest_979b3c48ae5244d26d6c51e2422468ee = UNSTREAM_STRING( &constant_bin[ 134749 ], 80, 0 ); const_str_plain__lastRecursiveChild = UNSTREAM_STRING( &constant_bin[ 134829 ], 19, 1 ); const_str_plain_replaceWith = UNSTREAM_STRING( &constant_bin[ 130405 ], 11, 1 ); const_str_plain_rewrite = UNSTREAM_STRING( &constant_bin[ 119273 ], 7, 1 ); const_str_plain_my_parent = UNSTREAM_STRING( &constant_bin[ 134848 ], 9, 1 ); const_tuple_none_str_plain_minimal_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_none_str_plain_minimal_tuple, 0, Py_None ); Py_INCREF( Py_None ); PyTuple_SET_ITEM( const_tuple_none_str_plain_minimal_tuple, 1, const_str_plain_minimal ); Py_INCREF( const_str_plain_minimal ); const_str_plain_find_parent = UNSTREAM_STRING( &constant_bin[ 131020 ], 11, 1 ); const_str_digest_687f64809c4be828c127c356e1b6ed7c = UNSTREAM_STRING( &constant_bin[ 134857 ], 99, 0 ); const_str_plain_find_next_siblings = UNSTREAM_STRING( &constant_bin[ 127381 ], 18, 1 ); const_str_plain_findAllNext = UNSTREAM_STRING( &constant_bin[ 134956 ], 11, 1 ); const_str_plain_replace_with_children = UNSTREAM_STRING( &constant_bin[ 134967 ], 21, 1 ); const_str_digest_b100e6bf26c04ecf01191e4e854ec0a3 = UNSTREAM_STRING( &constant_bin[ 134988 ], 40, 0 ); const_str_digest_4838be2bd5e0c58ff3aeb85b29623734 = UNSTREAM_STRING( &constant_bin[ 135028 ], 33, 0 ); const_str_digest_12b7bc2a8ff34d78cbeb5f117447fd2b = UNSTREAM_STRING( &constant_bin[ 135061 ], 48, 0 ); const_str_plain_preformatted_tags = UNSTREAM_STRING( &constant_bin[ 135109 ], 17, 1 ); const_tuple_cf4564a8c9848f3e5b0f806c45e7af4c_tuple = PyTuple_New( 11 ); PyTuple_SET_ITEM( const_tuple_cf4564a8c9848f3e5b0f806c45e7af4c_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_cf4564a8c9848f3e5b0f806c45e7af4c_tuple, 1, const_str_plain_position ); Py_INCREF( const_str_plain_position ); PyTuple_SET_ITEM( const_tuple_cf4564a8c9848f3e5b0f806c45e7af4c_tuple, 2, const_str_plain_new_child ); Py_INCREF( const_str_plain_new_child ); PyTuple_SET_ITEM( const_tuple_cf4564a8c9848f3e5b0f806c45e7af4c_tuple, 3, const_str_plain_BeautifulSoup ); Py_INCREF( const_str_plain_BeautifulSoup ); PyTuple_SET_ITEM( const_tuple_cf4564a8c9848f3e5b0f806c45e7af4c_tuple, 4, const_str_plain_subchild ); Py_INCREF( const_str_plain_subchild ); const_str_plain_current_index = UNSTREAM_STRING( &constant_bin[ 135126 ], 13, 1 ); PyTuple_SET_ITEM( const_tuple_cf4564a8c9848f3e5b0f806c45e7af4c_tuple, 5, const_str_plain_current_index ); Py_INCREF( const_str_plain_current_index ); PyTuple_SET_ITEM( const_tuple_cf4564a8c9848f3e5b0f806c45e7af4c_tuple, 6, const_str_plain_previous_child ); Py_INCREF( const_str_plain_previous_child ); const_str_plain_new_childs_last_element = UNSTREAM_STRING( &constant_bin[ 135139 ], 23, 1 ); PyTuple_SET_ITEM( const_tuple_cf4564a8c9848f3e5b0f806c45e7af4c_tuple, 7, const_str_plain_new_childs_last_element ); Py_INCREF( const_str_plain_new_childs_last_element ); PyTuple_SET_ITEM( const_tuple_cf4564a8c9848f3e5b0f806c45e7af4c_tuple, 8, const_str_plain_parent ); Py_INCREF( const_str_plain_parent ); const_str_plain_parents_next_sibling = UNSTREAM_STRING( &constant_bin[ 135162 ], 20, 1 ); PyTuple_SET_ITEM( const_tuple_cf4564a8c9848f3e5b0f806c45e7af4c_tuple, 9, const_str_plain_parents_next_sibling ); Py_INCREF( const_str_plain_parents_next_sibling ); PyTuple_SET_ITEM( const_tuple_cf4564a8c9848f3e5b0f806c45e7af4c_tuple, 10, const_str_plain_next_child ); Py_INCREF( const_str_plain_next_child ); const_str_digest_20b271ddb7bffe4a58ca712908ed043e = UNSTREAM_STRING( &constant_bin[ 135182 ], 48, 0 ); const_str_plain_findParent = UNSTREAM_STRING( &constant_bin[ 126608 ], 10, 1 ); const_str_digest_42d546f685733418ff29403a75796a66 = UNSTREAM_STRING( &constant_bin[ 135230 ], 23, 0 ); const_tuple_10d2142d95e2a4c8e5148840f9fc6abb_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_10d2142d95e2a4c8e5148840f9fc6abb_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_10d2142d95e2a4c8e5148840f9fc6abb_tuple, 1, const_str_plain_indent_level ); Py_INCREF( const_str_plain_indent_level ); PyTuple_SET_ITEM( const_tuple_10d2142d95e2a4c8e5148840f9fc6abb_tuple, 2, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding ); PyTuple_SET_ITEM( const_tuple_10d2142d95e2a4c8e5148840f9fc6abb_tuple, 3, const_str_plain_formatter ); Py_INCREF( const_str_plain_formatter ); PyTuple_SET_ITEM( const_tuple_10d2142d95e2a4c8e5148840f9fc6abb_tuple, 4, const_str_plain_contents ); Py_INCREF( const_str_plain_contents ); const_str_digest_b2c0224df028fa10706089366f6f0054 = UNSTREAM_STRING( &constant_bin[ 135253 ], 50, 0 ); const_str_digest_3efbf8635fb02c14f734f6fa1f903d94 = UNSTREAM_STRING( &constant_bin[ 135303 ], 58, 0 ); const_str_digest_6c6b5a57155bef64d81c4e3930a40571 = UNSTREAM_STRING( &constant_bin[ 135361 ], 38, 0 ); const_tuple_721484cb6f1b0ca5b3afd482f542f05e_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_721484cb6f1b0ca5b3afd482f542f05e_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_721484cb6f1b0ca5b3afd482f542f05e_tuple, 1, const_str_plain_function ); Py_INCREF( const_str_plain_function ); PyTuple_SET_ITEM( const_tuple_721484cb6f1b0ca5b3afd482f542f05e_tuple, 2, const_str_plain_tag_name ); Py_INCREF( const_str_plain_tag_name ); PyTuple_SET_ITEM( const_tuple_721484cb6f1b0ca5b3afd482f542f05e_tuple, 3, const_str_plain__match ); Py_INCREF( const_str_plain__match ); const_str_digest_41f4d180eae82f75e58ceb4fd30e808c = UNSTREAM_STRING( &constant_bin[ 135399 ], 33, 0 ); const_str_digest_2301ed3ad80a75315314e7e55d580eb4 = UNSTREAM_STRING( &constant_bin[ 135432 ], 45, 0 ); const_str_digest_40d1280f0aef3f3bf11313c57370733c = UNSTREAM_STRING( &constant_bin[ 135477 ], 62, 0 ); const_str_digest_6365820bb021743edcf367e2c1bcd825 = UNSTREAM_STRING( &constant_bin[ 135539 ], 18, 0 ); const_str_plain_original_markup = UNSTREAM_STRING( &constant_bin[ 135557 ], 15, 1 ); const_str_plain_get_attribute_list = UNSTREAM_STRING( &constant_bin[ 135572 ], 18, 1 ); const_str_digest_f6bcba6ba3fa9e79445ecc6dd89d522b = UNSTREAM_STRING( &constant_bin[ 135590 ], 53, 0 ); const_str_digest_3093015a22e9464a97451b699cade8d2 = UNSTREAM_STRING( &constant_bin[ 123115 ], 10, 0 ); const_str_digest_12efe66a592585182310e41465bc3228 = UNSTREAM_STRING( &constant_bin[ 135643 ], 45, 0 ); const_str_digest_698039bfb83a176fe6c94146001e9b62 = UNSTREAM_STRING( &constant_bin[ 135688 ], 21, 0 ); const_str_digest_665bfb855d6eb80c3fc8f3d0735c5f04 = UNSTREAM_STRING( &constant_bin[ 135709 ], 10, 0 ); const_str_digest_e031a97a206695681b6eb46f0a111132 = UNSTREAM_STRING( &constant_bin[ 135719 ], 24, 0 ); const_str_plain_findChildren = UNSTREAM_STRING( &constant_bin[ 135743 ], 12, 1 ); const_str_plain_HTML_FORMATTERS = UNSTREAM_STRING( &constant_bin[ 135755 ], 15, 1 ); const_str_digest_769b1a8bf656b41ab6946e538c79a879 = UNSTREAM_STRING( &constant_bin[ 135770 ], 23, 0 ); const_str_digest_7db7fe37da3c09f0b3a2e370ca362f20 = UNSTREAM_STRING( &constant_bin[ 135793 ], 98, 0 ); const_str_digest_427ece6c74a8f7bed9c0a0f9f58768bf = UNSTREAM_STRING( &constant_bin[ 135891 ], 41, 0 ); const_str_plain_recursiveChildGenerator = UNSTREAM_STRING( &constant_bin[ 135932 ], 23, 1 ); const_str_plain_renderContents = UNSTREAM_STRING( &constant_bin[ 134448 ], 14, 1 ); const_str_digest_ac8da5c89507c2ed0afc7b93abb08579 = UNSTREAM_STRING( &constant_bin[ 135955 ], 36, 0 ); const_str_digest_94f02dadd11dd6cb5137530dc3a1fc1a = UNSTREAM_STRING( &constant_bin[ 135991 ], 27, 0 ); const_tuple_str_plain_el_str_plain_attribute_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_el_str_plain_attribute_tuple, 0, const_str_plain_el ); Py_INCREF( const_str_plain_el ); PyTuple_SET_ITEM( const_tuple_str_plain_el_str_plain_attribute_tuple, 1, const_str_plain_attribute ); Py_INCREF( const_str_plain_attribute ); const_str_plain_destination = UNSTREAM_STRING( &constant_bin[ 136018 ], 11, 1 ); const_str_digest_38aa4d1e4b90e4783d9d90e8dfcb74d9 = UNSTREAM_STRING( &constant_bin[ 136029 ], 20, 0 ); const_tuple_str_plain_attr_str_plain_alias_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_attr_str_plain_alias_tuple, 0, const_str_plain_attr ); Py_INCREF( const_str_plain_attr ); PyTuple_SET_ITEM( const_tuple_str_plain_attr_str_plain_alias_tuple, 1, const_str_plain_alias ); Py_INCREF( const_str_plain_alias ); const_str_digest_4a104383ff48e621ad8c417548c98ea1 = UNSTREAM_STRING( &constant_bin[ 136049 ], 50, 0 ); const_str_digest_01799122f84a03619fa27e337f4bf7c3 = UNSTREAM_STRING( &constant_bin[ 136099 ], 15, 0 ); const_str_digest_f9266cedfd5a068f212dadb70cf35a55 = UNSTREAM_STRING( &constant_bin[ 136114 ], 21, 0 ); const_tuple_str_plain_self_str_plain_destination_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_destination_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_destination_tuple, 1, const_str_plain_destination ); Py_INCREF( const_str_plain_destination ); const_tuple_str_plain_cls_str_plain_original_value_str_plain_obj_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_original_value_str_plain_obj_tuple, 0, const_str_plain_cls ); Py_INCREF( const_str_plain_cls ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_original_value_str_plain_obj_tuple, 1, const_str_plain_original_value ); Py_INCREF( const_str_plain_original_value ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_original_value_str_plain_obj_tuple, 2, const_str_plain_obj ); Py_INCREF( const_str_plain_obj ); const_str_digest_f0264e6a8bd9c2f2f263e27b855963b9 = UNSTREAM_STRING( &constant_bin[ 127369 ], 21, 0 ); const_str_digest_ce9ae618af4165298dca7d007143504c = UNSTREAM_STRING( &constant_bin[ 134988 ], 21, 0 ); const_tuple_aed9ac759c336135a23d4212a3ac74e8_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_aed9ac759c336135a23d4212a3ac74e8_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_aed9ac759c336135a23d4212a3ac74e8_tuple, 1, const_str_plain_my_parent ); Py_INCREF( const_str_plain_my_parent ); PyTuple_SET_ITEM( const_tuple_aed9ac759c336135a23d4212a3ac74e8_tuple, 2, const_str_plain_my_index ); Py_INCREF( const_str_plain_my_index ); PyTuple_SET_ITEM( const_tuple_aed9ac759c336135a23d4212a3ac74e8_tuple, 3, const_str_plain_child ); Py_INCREF( const_str_plain_child ); const_str_digest_9209bcee9de337095ce6b668e33e31ce = UNSTREAM_STRING( &constant_bin[ 136135 ], 29, 0 ); const_str_digest_7f21154356114069eea0623d81bf7f58 = UNSTREAM_STRING( &constant_bin[ 136164 ], 77, 0 ); const_tuple_c8ced635d07e13a82f7bd15383636794_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_c8ced635d07e13a82f7bd15383636794_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_c8ced635d07e13a82f7bd15383636794_tuple, 1, const_str_plain_replace_with ); Py_INCREF( const_str_plain_replace_with ); PyTuple_SET_ITEM( const_tuple_c8ced635d07e13a82f7bd15383636794_tuple, 2, const_str_plain_old_parent ); Py_INCREF( const_str_plain_old_parent ); PyTuple_SET_ITEM( const_tuple_c8ced635d07e13a82f7bd15383636794_tuple, 3, const_str_plain_my_index ); Py_INCREF( const_str_plain_my_index ); const_str_digest_966b532e2f3ba00ecd4d1fb36c023539 = UNSTREAM_STRING( &constant_bin[ 136241 ], 93, 0 ); const_str_plain_PreformattedString = UNSTREAM_STRING( &constant_bin[ 136334 ], 18, 1 ); const_str_digest_e1e9a7d7419bad7afb9206c02e4c795d = UNSTREAM_STRING( &constant_bin[ 136352 ], 30, 0 ); const_str_digest_cb7f043884ff2a2610043d53506bac64 = UNSTREAM_STRING( &constant_bin[ 136382 ], 34, 0 ); const_str_digest_9e3fe7ba8804c2b496a30c099deb767f = UNSTREAM_STRING( &constant_bin[ 136416 ], 35, 0 ); const_str_digest_9e7a277d9917e2e9d98ff2c93253b608 = UNSTREAM_STRING( &constant_bin[ 136451 ], 36, 0 ); const_str_digest_69bc11e34450b76869d049492a13a5e3 = UNSTREAM_STRING( &constant_bin[ 136487 ], 30, 0 ); const_str_digest_80d80d533bf8affc33d72b1a18abcd58 = UNSTREAM_STRING( &constant_bin[ 136517 ], 12, 0 ); const_tuple_68ba083e7690a6c98536143a6c5f5721_tuple = PyTuple_New( 9 ); PyTuple_SET_ITEM( const_tuple_68ba083e7690a6c98536143a6c5f5721_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_68ba083e7690a6c98536143a6c5f5721_tuple, 1, const_str_plain_markup ); Py_INCREF( const_str_plain_markup ); PyTuple_SET_ITEM( const_tuple_68ba083e7690a6c98536143a6c5f5721_tuple, 2, const_str_plain_match_against ); Py_INCREF( const_str_plain_match_against ); const_str_plain_already_tried = UNSTREAM_STRING( &constant_bin[ 136529 ], 13, 1 ); PyTuple_SET_ITEM( const_tuple_68ba083e7690a6c98536143a6c5f5721_tuple, 3, const_str_plain_already_tried ); Py_INCREF( const_str_plain_already_tried ); PyTuple_SET_ITEM( const_tuple_68ba083e7690a6c98536143a6c5f5721_tuple, 4, const_str_plain_result ); Py_INCREF( const_str_plain_result ); PyTuple_SET_ITEM( const_tuple_68ba083e7690a6c98536143a6c5f5721_tuple, 5, const_str_plain_item ); Py_INCREF( const_str_plain_item ); PyTuple_SET_ITEM( const_tuple_68ba083e7690a6c98536143a6c5f5721_tuple, 6, const_str_plain_original_markup ); Py_INCREF( const_str_plain_original_markup ); PyTuple_SET_ITEM( const_tuple_68ba083e7690a6c98536143a6c5f5721_tuple, 7, const_str_plain_key ); Py_INCREF( const_str_plain_key ); PyTuple_SET_ITEM( const_tuple_68ba083e7690a6c98536143a6c5f5721_tuple, 8, const_str_plain_match ); Py_INCREF( const_str_plain_match ); const_str_digest_c29393614e018784fb5976f9e5ecdbae = UNSTREAM_STRING( &constant_bin[ 136542 ], 18, 0 ); const_str_digest_ad602af37291ee123ca579a4adb6638e = UNSTREAM_STRING( &constant_bin[ 136560 ], 24, 0 ); const_str_digest_a3d9d833894395d6536a0b717d3a6231 = UNSTREAM_STRING( &constant_bin[ 136584 ], 84, 0 ); const_str_digest_b1b132473b960d5da44634355a1ebcd0 = UNSTREAM_STRING( &constant_bin[ 130860 ], 30, 0 ); const_str_digest_3bd11431c85d0f814c3f9fee8048a221 = UNSTREAM_STRING( &constant_bin[ 136668 ], 22, 0 ); const_str_plain_fetchPreviousSiblings = UNSTREAM_STRING( &constant_bin[ 136690 ], 21, 1 ); const_str_plain__should_pretty_print = UNSTREAM_STRING( &constant_bin[ 130927 ], 20, 1 ); const_str_plain_findAllPrevious = UNSTREAM_STRING( &constant_bin[ 136711 ], 15, 1 ); const_str_digest_12810800dee73c8a2bb79c28a407294a = UNSTREAM_STRING( &constant_bin[ 136726 ], 10, 0 ); const_str_digest_b7f7f70d63a1284082c5550ade03c53a = UNSTREAM_STRING( &constant_bin[ 127580 ], 33, 0 ); const_tuple_397136b07af053fd16bd0f56ecbdb382_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_397136b07af053fd16bd0f56ecbdb382_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_397136b07af053fd16bd0f56ecbdb382_tuple, 1, const_str_plain_separator ); Py_INCREF( const_str_plain_separator ); PyTuple_SET_ITEM( const_tuple_397136b07af053fd16bd0f56ecbdb382_tuple, 2, const_str_plain_strip ); Py_INCREF( const_str_plain_strip ); PyTuple_SET_ITEM( const_tuple_397136b07af053fd16bd0f56ecbdb382_tuple, 3, const_str_plain_types ); Py_INCREF( const_str_plain_types ); const_str_digest_4ea40ba033afd2cd1470c389c6eb1f6d = UNSTREAM_STRING( &constant_bin[ 136736 ], 25, 0 ); const_str_digest_a0f6e9f5acfe56723fdae36afe1e77fb = UNSTREAM_STRING( &constant_bin[ 136761 ], 76, 0 ); const_str_plain__find_one = UNSTREAM_STRING( &constant_bin[ 126599 ], 9, 1 ); const_str_plain_XML_FORMATTERS = UNSTREAM_STRING( &constant_bin[ 136837 ], 14, 1 ); const_str_digest_a5a0199db78f88ebe232c50669b74e60 = UNSTREAM_STRING( &constant_bin[ 136851 ], 19, 0 ); const_tuple_str_digest_3ca995a2b5218b365983dfd77141cbaa_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_3ca995a2b5218b365983dfd77141cbaa_tuple, 0, const_str_digest_3ca995a2b5218b365983dfd77141cbaa ); Py_INCREF( const_str_digest_3ca995a2b5218b365983dfd77141cbaa ); const_str_plain__find_all = UNSTREAM_STRING( &constant_bin[ 135000 ], 9, 1 ); const_str_plain__matches = UNSTREAM_STRING( &constant_bin[ 125872 ], 8, 1 ); const_str_digest_91a4593114737d6b7d9b775dc212ec2f = UNSTREAM_STRING( &constant_bin[ 136870 ], 37, 0 ); const_str_digest_73fbe63b7f0aff56f40668af7f1667a6 = UNSTREAM_STRING( &constant_bin[ 136907 ], 24, 0 ); const_tuple_46b86a7582592112004d3e48fcc1ce1f_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_46b86a7582592112004d3e48fcc1ce1f_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_46b86a7582592112004d3e48fcc1ce1f_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_46b86a7582592112004d3e48fcc1ce1f_tuple, 2, const_str_plain_attrs ); Py_INCREF( const_str_plain_attrs ); PyTuple_SET_ITEM( const_tuple_46b86a7582592112004d3e48fcc1ce1f_tuple, 3, const_str_plain_text ); Py_INCREF( const_str_plain_text ); PyTuple_SET_ITEM( const_tuple_46b86a7582592112004d3e48fcc1ce1f_tuple, 4, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); const_str_digest_b92fc20017a3f2603eba39a9112ce15d = UNSTREAM_STRING( &constant_bin[ 135028 ], 25, 0 ); const_str_digest_4a94f24ad202330cdb824190a8470f7b = UNSTREAM_STRING( &constant_bin[ 136931 ], 77, 0 ); const_str_digest_20d97f481b03cfb8c932093ed03991fa = UNSTREAM_STRING( &constant_bin[ 127369 ], 29, 0 ); const_str_plain_HTML5Formatter = UNSTREAM_STRING( &constant_bin[ 137008 ], 14, 1 ); const_str_plain_parentGenerator = UNSTREAM_STRING( &constant_bin[ 124829 ], 15, 1 ); const_str_plain_find_next = UNSTREAM_STRING( &constant_bin[ 127381 ], 9, 1 ); const_str_digest_996dd8adec957dee57886c3b180eb10e = UNSTREAM_STRING( &constant_bin[ 137022 ], 75, 0 ); const_tuple_228af158dcd68f83b463bc2269dd782f_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_228af158dcd68f83b463bc2269dd782f_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_228af158dcd68f83b463bc2269dd782f_tuple, 1, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding ); PyTuple_SET_ITEM( const_tuple_228af158dcd68f83b463bc2269dd782f_tuple, 2, const_str_plain_indent_level ); Py_INCREF( const_str_plain_indent_level ); PyTuple_SET_ITEM( const_tuple_228af158dcd68f83b463bc2269dd782f_tuple, 3, const_str_plain_formatter ); Py_INCREF( const_str_plain_formatter ); PyTuple_SET_ITEM( const_tuple_228af158dcd68f83b463bc2269dd782f_tuple, 4, const_str_plain_errors ); Py_INCREF( const_str_plain_errors ); PyTuple_SET_ITEM( const_tuple_228af158dcd68f83b463bc2269dd782f_tuple, 5, const_str_plain_u ); Py_INCREF( const_str_plain_u ); const_str_digest_2eb78fd35de0c552fcd9f4234a3e2fee = UNSTREAM_STRING( &constant_bin[ 137097 ], 29, 0 ); const_tuple_str_digest_7c6d7180e60db13c76eddb566f38b2ce_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_7c6d7180e60db13c76eddb566f38b2ce_tuple, 0, const_str_digest_7c6d7180e60db13c76eddb566f38b2ce ); Py_INCREF( const_str_digest_7c6d7180e60db13c76eddb566f38b2ce ); const_str_digest_bfbd2728b25d3175c0fc394f17be3e8e = UNSTREAM_STRING( &constant_bin[ 130678 ], 8, 0 ); const_str_plain_stripped_strings = UNSTREAM_STRING( &constant_bin[ 137126 ], 16, 1 ); const_str_digest_c9d2da40f15d12241238636e3ea4b960 = UNSTREAM_STRING( &constant_bin[ 137142 ], 136, 0 ); const_tuple_643d9c4661fe2aa00355fe8b8362b99c_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_643d9c4661fe2aa00355fe8b8362b99c_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_643d9c4661fe2aa00355fe8b8362b99c_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_643d9c4661fe2aa00355fe8b8362b99c_tuple, 2, const_str_plain_attrs ); Py_INCREF( const_str_plain_attrs ); PyTuple_SET_ITEM( const_tuple_643d9c4661fe2aa00355fe8b8362b99c_tuple, 3, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); PyTuple_SET_ITEM( const_tuple_643d9c4661fe2aa00355fe8b8362b99c_tuple, 4, const_str_plain_r ); Py_INCREF( const_str_plain_r ); PyTuple_SET_ITEM( const_tuple_643d9c4661fe2aa00355fe8b8362b99c_tuple, 5, const_str_plain_l ); Py_INCREF( const_str_plain_l ); const_str_digest_e457b16160571c2a0063096a0b61fed9 = UNSTREAM_STRING( &constant_bin[ 137278 ], 213, 0 ); const_str_digest_e5b25601234fe8b476231124b65d95b6 = UNSTREAM_STRING( &constant_bin[ 137491 ], 18, 0 ); const_str_digest_46bb1036547373667fa3a1d24bead131 = UNSTREAM_STRING( &constant_bin[ 137509 ], 24, 0 ); const_str_digest_28fcfa6b905769882ab971e07fe72510 = UNSTREAM_STRING( &constant_bin[ 137533 ], 151, 0 ); const_str_digest_4dbb73066058ff26f1e7993b2b01c5eb = UNSTREAM_STRING( &constant_bin[ 137097 ], 9, 0 ); const_tuple_str_plain_tag_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_tag_tuple, 0, const_str_plain_tag ); Py_INCREF( const_str_plain_tag ); const_str_digest_345cf92f17033766f082736e15d759aa = UNSTREAM_STRING( &constant_bin[ 137684 ], 469, 0 ); const_str_digest_86f0379e8abcfc023eb43b62b1ec5136 = UNSTREAM_STRING( &constant_bin[ 138153 ], 40, 0 ); const_str_digest_ca5f0853bbd74b548855332453de257d = UNSTREAM_STRING( &constant_bin[ 138193 ], 54, 0 ); const_str_plain__select_debug = UNSTREAM_STRING( &constant_bin[ 138247 ], 13, 1 ); const_str_digest_d630873aaea86ca64fde902aa85bbf75 = UNSTREAM_STRING( &constant_bin[ 138260 ], 32, 0 ); const_tuple_str_plain_self_str_plain_encoding_str_plain_rewrite_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_encoding_str_plain_rewrite_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_encoding_str_plain_rewrite_tuple, 1, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_encoding_str_plain_rewrite_tuple, 2, const_str_plain_rewrite ); Py_INCREF( const_str_plain_rewrite ); const_str_digest_69e34bd00690a4b895c70e86e4d4da9d = UNSTREAM_STRING( &constant_bin[ 138292 ], 20, 0 ); const_str_plain_SUFFIX = UNSTREAM_STRING( &constant_bin[ 138312 ], 6, 1 ); const_str_digest_a808f721500ff0677501bf21de1894f0 = UNSTREAM_STRING( &constant_bin[ 138318 ], 61, 0 ); const_str_digest_16edbedf290760e205b7c3d404645ec6 = UNSTREAM_STRING( &constant_bin[ 138379 ], 54, 0 ); const_str_digest_b020e6b1418851439328ddb17fd1f136 = UNSTREAM_STRING( &constant_bin[ 138433 ], 20, 0 ); const_str_plain_MinimalHTMLFormatter = UNSTREAM_STRING( &constant_bin[ 127323 ], 20, 1 ); const_str_plain_fetchNextSiblings = UNSTREAM_STRING( &constant_bin[ 138453 ], 17, 1 ); const_tuple_str_plain_cls_str_plain_value_str_plain_u_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_value_str_plain_u_tuple, 0, const_str_plain_cls ); Py_INCREF( const_str_plain_cls ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_value_str_plain_u_tuple, 1, const_str_plain_value ); Py_INCREF( const_str_plain_value ); PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_value_str_plain_u_tuple, 2, const_str_plain_u ); Py_INCREF( const_str_plain_u ); const_str_digest_7809e3011797b1786165665d270db737 = UNSTREAM_STRING( &constant_bin[ 138470 ], 11, 0 ); const_tuple_eb5d71df1d7c0f24b173ea5799beddf8_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_eb5d71df1d7c0f24b173ea5799beddf8_tuple, 0, const_str_plain_cls ); Py_INCREF( const_str_plain_cls ); PyTuple_SET_ITEM( const_tuple_eb5d71df1d7c0f24b173ea5799beddf8_tuple, 1, const_str_plain_original_value ); Py_INCREF( const_str_plain_original_value ); PyTuple_SET_ITEM( const_tuple_eb5d71df1d7c0f24b173ea5799beddf8_tuple, 2, const_str_plain_match ); Py_INCREF( const_str_plain_match ); PyTuple_SET_ITEM( const_tuple_eb5d71df1d7c0f24b173ea5799beddf8_tuple, 3, const_str_plain_obj ); Py_INCREF( const_str_plain_obj ); const_str_digest_9b63c157b7e3ba6508b232051f499a07 = UNSTREAM_STRING( &constant_bin[ 138481 ], 34, 0 ); const_str_digest_682478939f08574fa28e02985fbb79ca = UNSTREAM_STRING( &constant_bin[ 138515 ], 32, 0 ); const_str_digest_b63f4abf4c20ed95c5280f099ca7f649 = UNSTREAM_STRING( &constant_bin[ 138547 ], 7, 0 ); const_str_digest_b08f55921cd8c7f8cc8a2534d60adbcd = UNSTREAM_STRING( &constant_bin[ 15075 ], 5, 0 ); const_str_digest_ce8ab1d28eb892eeb1db86f8a1e40c7e = UNSTREAM_STRING( &constant_bin[ 138554 ], 12, 0 ); const_str_digest_e730488675b206f14212fd2d3f90da7a = UNSTREAM_STRING( &constant_bin[ 138566 ], 63, 0 ); const_str_plain_encode_contents = UNSTREAM_STRING( &constant_bin[ 125299 ], 15, 1 ); const_str_plain_fetchPrevious = UNSTREAM_STRING( &constant_bin[ 136690 ], 13, 1 ); const_str_digest_bc3a1bdfcd007e6e3cd02fbd436a94c4 = UNSTREAM_STRING( &constant_bin[ 138629 ], 45, 0 ); const_str_digest_cf38122a46c1d7b3523fcb29076cdaf6 = UNSTREAM_STRING( &constant_bin[ 138674 ], 16, 0 ); const_str_plain_nextSiblingGenerator = UNSTREAM_STRING( &constant_bin[ 138272 ], 20, 1 ); const_str_digest_cb5aeacd6eaa9e461bfdc89a441d9582 = UNSTREAM_STRING( &constant_bin[ 138690 ], 12, 0 ); const_str_plain_has_attr = UNSTREAM_STRING( &constant_bin[ 125128 ], 8, 1 ); const_str_plain_next_siblings = UNSTREAM_STRING( &constant_bin[ 127386 ], 13, 1 ); const_str_digest_d9f736ab7dd0b8ba8e324821a81dae5b = UNSTREAM_STRING( &constant_bin[ 138702 ], 27, 0 ); const_str_digest_ca7f1c3e5d90e78a07e9f85863c06c8e = UNSTREAM_STRING( &constant_bin[ 138729 ], 33, 0 ); const_str_digest_44e4e17c20a6befd3195005c4c8c2129 = UNSTREAM_STRING( &constant_bin[ 136851 ], 10, 0 ); const_str_digest_dc7919f5f97ce613232f3cbd32e183ff = UNSTREAM_STRING( &constant_bin[ 138762 ], 60, 0 ); const_str_digest_bfd9123bdabe162ff4c454611798d0c9 = UNSTREAM_STRING( &constant_bin[ 138822 ], 15, 0 ); const_str_plain_findPrevious = UNSTREAM_STRING( &constant_bin[ 126142 ], 12, 1 ); const_str_digest_caa1311fbee6a780f68a9bf663ab8344 = UNSTREAM_STRING( &constant_bin[ 138837 ], 30, 0 ); const_str_digest_73e3f65a5e6a0e231abfd780063ee2b0 = UNSTREAM_STRING( &constant_bin[ 138867 ], 59, 0 ); const_set_0d1c20bbcf73c732dbad4737caa163fe = PySet_New( NULL ); PySet_Add( const_set_0d1c20bbcf73c732dbad4737caa163fe, const_str_plain_pre ); PySet_Add( const_set_0d1c20bbcf73c732dbad4737caa163fe, const_str_plain_textarea ); assert( PySet_Size( const_set_0d1c20bbcf73c732dbad4737caa163fe ) == 2 ); const_str_plain_fetchParents = UNSTREAM_STRING( &constant_bin[ 138926 ], 12, 1 ); const_str_plain_quoted_colon = UNSTREAM_STRING( &constant_bin[ 138938 ], 12, 1 ); const_str_chr_126 = UNSTREAM_STRING( &constant_bin[ 1616 ], 1, 0 ); const_str_digest_a1252b58837909ad9dc1fcca1e9295d3 = UNSTREAM_STRING( &constant_bin[ 138950 ], 48, 0 ); const_str_digest_bd303cf0a7f71dde6710e8ac4370b212 = UNSTREAM_STRING( &constant_bin[ 138998 ], 31, 0 ); const_str_plain_strings = UNSTREAM_STRING( &constant_bin[ 31986 ], 7, 1 ); const_str_plain_find_parents = UNSTREAM_STRING( &constant_bin[ 136919 ], 12, 1 ); const_str_digest_5cf04d0736f9ec7a90ae576f86fe47fd = UNSTREAM_STRING( &constant_bin[ 139029 ], 29, 0 ); const_str_digest_8ca5f0d3f3d0b766a3f4cdd946dfac3b = UNSTREAM_STRING( &constant_bin[ 139058 ], 106, 0 ); const_str_digest_29649a9de50f1b949dd54bb0ed0bf2bf = UNSTREAM_STRING( &constant_bin[ 139164 ], 29, 0 ); const_tuple_str_digest_e273606d4c097599be39501a7a73668e_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_e273606d4c097599be39501a7a73668e_tuple, 0, const_str_digest_e273606d4c097599be39501a7a73668e ); Py_INCREF( const_str_digest_e273606d4c097599be39501a7a73668e ); const_str_digest_789a2a1ab5c730365a2961867d62159f = UNSTREAM_STRING( &constant_bin[ 139193 ], 185, 0 ); const_str_plain_attribselect_re = UNSTREAM_STRING( &constant_bin[ 139378 ], 15, 1 ); const_str_plain_isSelfClosing = UNSTREAM_STRING( &constant_bin[ 139393 ], 13, 1 ); const_str_plain_getText = UNSTREAM_STRING( &constant_bin[ 139406 ], 7, 1 ); const_str_digest_1f83e5e2bdffee57e1283bdded1a32f6 = UNSTREAM_STRING( &constant_bin[ 139413 ], 15, 0 ); const_list_str_plain_pre_list = PyList_New( 1 ); PyList_SET_ITEM( const_list_str_plain_pre_list, 0, const_str_plain_pre ); Py_INCREF( const_str_plain_pre ); const_tuple_f5b82b9541ca43f4cb37e5415f1808d7_tuple = PyTuple_New( 11 ); PyTuple_SET_ITEM( const_tuple_f5b82b9541ca43f4cb37e5415f1808d7_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_f5b82b9541ca43f4cb37e5415f1808d7_tuple, 1, const_str_plain_parser ); Py_INCREF( const_str_plain_parser ); PyTuple_SET_ITEM( const_tuple_f5b82b9541ca43f4cb37e5415f1808d7_tuple, 2, const_str_plain_builder ); Py_INCREF( const_str_plain_builder ); PyTuple_SET_ITEM( const_tuple_f5b82b9541ca43f4cb37e5415f1808d7_tuple, 3, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_f5b82b9541ca43f4cb37e5415f1808d7_tuple, 4, const_str_plain_namespace ); Py_INCREF( const_str_plain_namespace ); PyTuple_SET_ITEM( const_tuple_f5b82b9541ca43f4cb37e5415f1808d7_tuple, 5, const_str_plain_prefix ); Py_INCREF( const_str_plain_prefix ); PyTuple_SET_ITEM( const_tuple_f5b82b9541ca43f4cb37e5415f1808d7_tuple, 6, const_str_plain_attrs ); Py_INCREF( const_str_plain_attrs ); PyTuple_SET_ITEM( const_tuple_f5b82b9541ca43f4cb37e5415f1808d7_tuple, 7, const_str_plain_parent ); Py_INCREF( const_str_plain_parent ); PyTuple_SET_ITEM( const_tuple_f5b82b9541ca43f4cb37e5415f1808d7_tuple, 8, const_str_plain_previous ); Py_INCREF( const_str_plain_previous ); PyTuple_SET_ITEM( const_tuple_f5b82b9541ca43f4cb37e5415f1808d7_tuple, 9, const_str_plain_is_xml ); Py_INCREF( const_str_plain_is_xml ); PyTuple_SET_ITEM( const_tuple_f5b82b9541ca43f4cb37e5415f1808d7_tuple, 10, const_str_plain_preserve_whitespace_tags ); Py_INCREF( const_str_plain_preserve_whitespace_tags ); const_str_plain_searchTag = UNSTREAM_STRING( &constant_bin[ 139428 ], 9, 1 ); const_tuple_c0ce3b782b25edd0417c8e92b23a545f_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_c0ce3b782b25edd0417c8e92b23a545f_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_c0ce3b782b25edd0417c8e92b23a545f_tuple, 1, const_str_plain_parent ); Py_INCREF( const_str_plain_parent ); PyTuple_SET_ITEM( const_tuple_c0ce3b782b25edd0417c8e92b23a545f_tuple, 2, const_str_plain_previous_element ); Py_INCREF( const_str_plain_previous_element ); PyTuple_SET_ITEM( const_tuple_c0ce3b782b25edd0417c8e92b23a545f_tuple, 3, const_str_plain_next_element ); Py_INCREF( const_str_plain_next_element ); PyTuple_SET_ITEM( const_tuple_c0ce3b782b25edd0417c8e92b23a545f_tuple, 4, const_str_plain_previous_sibling ); Py_INCREF( const_str_plain_previous_sibling ); PyTuple_SET_ITEM( const_tuple_c0ce3b782b25edd0417c8e92b23a545f_tuple, 5, const_str_plain_next_sibling ); Py_INCREF( const_str_plain_next_sibling ); const_list_str_chr_62_str_chr_43_str_chr_126_list = PyList_New( 3 ); PyList_SET_ITEM( const_list_str_chr_62_str_chr_43_str_chr_126_list, 0, const_str_chr_62 ); Py_INCREF( const_str_chr_62 ); PyList_SET_ITEM( const_list_str_chr_62_str_chr_43_str_chr_126_list, 1, const_str_chr_43 ); Py_INCREF( const_str_chr_43 ); PyList_SET_ITEM( const_list_str_chr_62_str_chr_43_str_chr_126_list, 2, const_str_chr_126 ); Py_INCREF( const_str_chr_126 ); const_str_digest_8c7f474933b64c7ef71c1feae0c0ad08 = UNSTREAM_STRING( &constant_bin[ 139437 ], 31, 0 ); const_tuple_str_plain_previous_sibling_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_previous_sibling_tuple, 0, const_str_plain_previous_sibling ); Py_INCREF( const_str_plain_previous_sibling ); const_str_plain_HTMLFormatter = UNSTREAM_STRING( &constant_bin[ 127330 ], 13, 1 ); const_str_digest_ffbf7dc82d9a4b9db7ccc636ccdba881 = UNSTREAM_STRING( &constant_bin[ 139468 ], 31, 0 ); const_str_digest_375dabe50f2b18b35df9eaaf8dd45fef = UNSTREAM_STRING( &constant_bin[ 139499 ], 20, 0 ); const_tuple_3489c43e348aa7277a9d676e1d56ff9e_tuple = PyTuple_New( 8 ); PyTuple_SET_ITEM( const_tuple_3489c43e348aa7277a9d676e1d56ff9e_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_3489c43e348aa7277a9d676e1d56ff9e_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_3489c43e348aa7277a9d676e1d56ff9e_tuple, 2, const_str_plain_attrs ); Py_INCREF( const_str_plain_attrs ); PyTuple_SET_ITEM( const_tuple_3489c43e348aa7277a9d676e1d56ff9e_tuple, 3, const_str_plain_recursive ); Py_INCREF( const_str_plain_recursive ); PyTuple_SET_ITEM( const_tuple_3489c43e348aa7277a9d676e1d56ff9e_tuple, 4, const_str_plain_text ); Py_INCREF( const_str_plain_text ); PyTuple_SET_ITEM( const_tuple_3489c43e348aa7277a9d676e1d56ff9e_tuple, 5, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); PyTuple_SET_ITEM( const_tuple_3489c43e348aa7277a9d676e1d56ff9e_tuple, 6, const_str_plain_r ); Py_INCREF( const_str_plain_r ); PyTuple_SET_ITEM( const_tuple_3489c43e348aa7277a9d676e1d56ff9e_tuple, 7, const_str_plain_l ); Py_INCREF( const_str_plain_l ); const_tuple_330a583f6243cc8fafe94e5859d46cbc_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_330a583f6243cc8fafe94e5859d46cbc_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_330a583f6243cc8fafe94e5859d46cbc_tuple, 1, const_str_plain_clone ); Py_INCREF( const_str_plain_clone ); PyTuple_SET_ITEM( const_tuple_330a583f6243cc8fafe94e5859d46cbc_tuple, 2, const_str_plain_attr ); Py_INCREF( const_str_plain_attr ); PyTuple_SET_ITEM( const_tuple_330a583f6243cc8fafe94e5859d46cbc_tuple, 3, const_str_plain_child ); Py_INCREF( const_str_plain_child ); const_str_digest_c5639168a5cbc5c4d0956b93b3eb2792 = UNSTREAM_STRING( &constant_bin[ 139519 ], 47, 0 ); const_str_digest_4b06066e3aa553670a91521b3c0c7ec8 = UNSTREAM_STRING( &constant_bin[ 139566 ], 12, 0 ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_bs4$element( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_9bd4afcb62c3cb278abb258f9a48009d; static PyCodeObject *codeobj_bea9a6c20427f8d23b16ea6dff9eec28; static PyCodeObject *codeobj_95cae882095f59dd340378988e49c026; static PyCodeObject *codeobj_d71607011581f4dcf6ff97e649027795; static PyCodeObject *codeobj_d1724f132f3b5adc65e656c1c409cac8; static PyCodeObject *codeobj_7d26b56ff10cc3737beac52d1f3c2526; static PyCodeObject *codeobj_07768771a9dff1dca7fa5867d8d872f8; static PyCodeObject *codeobj_a7d3224942f07febe795b2b771317adc; static PyCodeObject *codeobj_95733d7b944085deb96e9de33b5bd2a3; static PyCodeObject *codeobj_17a4c764cda8ef8f96cd03d867b6d0b6; static PyCodeObject *codeobj_513b32b1e4368c7f307acf9c205ed152; static PyCodeObject *codeobj_7a85646ff5c11425b451e508eaae9d7e; static PyCodeObject *codeobj_4ce17d3a177d008653b00d10844e65d5; static PyCodeObject *codeobj_4b80cfe4536afc986acea12c2fb342bb; static PyCodeObject *codeobj_1c2b488d3b14d07e67914bc23de09cca; static PyCodeObject *codeobj_9e2bf96330a498442c1d54bae9cbca77; static PyCodeObject *codeobj_ece51f2689b7c94c8e975a33a383f61d; static PyCodeObject *codeobj_ac602065f1302351b6f57bdf666b669a; static PyCodeObject *codeobj_09f3cc442a3b09d0e80e4b62f05677fc; static PyCodeObject *codeobj_b488c24e2a6b7103518f0a1c1ec22379; static PyCodeObject *codeobj_3058fae0e33e90d98e79ba79dbc6f232; static PyCodeObject *codeobj_e0b138e081684a50578d5e63a10479ca; static PyCodeObject *codeobj_5772303f14ec630d1e3dd5c8abf7c00f; static PyCodeObject *codeobj_de882dc1284bb1549f115dfe8588bf4d; static PyCodeObject *codeobj_11f961c432121b37f146972cf93e555e; static PyCodeObject *codeobj_8f8d6a136bdadc5725438d2af52a5d0d; static PyCodeObject *codeobj_b39add1aa8348dd39b1965cb3dcdb282; static PyCodeObject *codeobj_e7bb2589135598a74075d2595b06b927; static PyCodeObject *codeobj_25c9e71c122c4abb0d99ddaf8a3447f3; static PyCodeObject *codeobj_c4609990f9a41ed0ccbde514662afb75; static PyCodeObject *codeobj_f25f0cfba0b00f017bfa1221e0c5d98f; static PyCodeObject *codeobj_69f0075a71dbac5ca10b4f11e5fbd568; static PyCodeObject *codeobj_fd5e8676821a0cc01a6283e697785aac; static PyCodeObject *codeobj_4609c90faa727a79fc7a65c6e8922c9d; static PyCodeObject *codeobj_e9a030faa6f76c21f38fa0eb6e3cd515; static PyCodeObject *codeobj_3c39fbf0eecc9d5427624a39fef2d444; static PyCodeObject *codeobj_b24e5070f5d1501421c431a52b06e4fb; static PyCodeObject *codeobj_5a02ca1b1d27478979a5d79f5d103e3e; static PyCodeObject *codeobj_503b3c26f5cc4215b2fe3dba2ab8e216; static PyCodeObject *codeobj_c812d84c1959f98fd2b2a0d5c40e608f; static PyCodeObject *codeobj_8fea45c635606c8d0d99f27036d7a563; static PyCodeObject *codeobj_2d5339110e04c27d2f691693f06a3a22; static PyCodeObject *codeobj_63c327127eed5eef054c31ea605470f7; static PyCodeObject *codeobj_76147bc7179527984aad63627e7e5168; static PyCodeObject *codeobj_b5b0f46b66d46165c4a1a536847c6512; static PyCodeObject *codeobj_ccefb7ad84122eaec3d5af97a7c83f34; static PyCodeObject *codeobj_bcaecc0504ca9574b24de4d86ecf1ccd; static PyCodeObject *codeobj_86e4c69eda9c3b00a842eb0470629ec9; static PyCodeObject *codeobj_83d18e28095f37e035a2456e1f8ef60b; static PyCodeObject *codeobj_4ad3726740db564e1e83367b3e345ec8; static PyCodeObject *codeobj_c88400ee2d1354041ab542dad659f415; static PyCodeObject *codeobj_e6904df3e4103be41c6cd1d7b304b88d; static PyCodeObject *codeobj_0119232f22e0ff77965805377e28ab4d; static PyCodeObject *codeobj_e3fc98e89cad974e720b39d388b64b8a; static PyCodeObject *codeobj_5115dfd1f9eebe023f2058b83d36d62a; static PyCodeObject *codeobj_3e3a64de5f110b1ed59f4d5f468a9103; static PyCodeObject *codeobj_a4c75e81063e4d0c50b7210704599a41; static PyCodeObject *codeobj_2139c8e38639112c68fcbdb532dd01ed; static PyCodeObject *codeobj_cd573e43528415ebdf1d513e182b54ae; static PyCodeObject *codeobj_0e6d26d3e5169a6c25ef9f44039001eb; static PyCodeObject *codeobj_cdb5c877fd5b674f8408702b48aa1c50; static PyCodeObject *codeobj_4d8569e449b8c3af75f10ae63d3003ef; static PyCodeObject *codeobj_b52816b7cb514b69f10f4cb5d9d34571; static PyCodeObject *codeobj_996f297d622d98bee25ea364822ad74c; static PyCodeObject *codeobj_abbe0d495003fe7ab799eab53ded9afc; static PyCodeObject *codeobj_63d4973b90134921abbbbb587db228fb; static PyCodeObject *codeobj_ce1c7d51d9278aac0c1e8f91e3e0e1a4; static PyCodeObject *codeobj_df315d0e98ee35d4dcc4c5f61ab6f49e; static PyCodeObject *codeobj_7967b765ab33c929276207289fe6f3a8; static PyCodeObject *codeobj_0ba3d6caf3b5c3d1ee77b277fa0a9336; static PyCodeObject *codeobj_df0dc7bcbf46a9bb4d49a127c6827889; static PyCodeObject *codeobj_84722cb5268b352f18eaf34c08590e22; static PyCodeObject *codeobj_949c748c7e97e79632fad1744dd022f3; static PyCodeObject *codeobj_36b758aca2688edbdd1b25564f4d5f72; static PyCodeObject *codeobj_f3814657fbcff8715502c0eb9cf589d8; static PyCodeObject *codeobj_e459943332e46df6e47d6b496d72a30c; static PyCodeObject *codeobj_70bee86bc35990e86dfc9fcfdd19ddba; static PyCodeObject *codeobj_d3f3c31464bc11609a7c046d5cf671b4; static PyCodeObject *codeobj_d5794d410a882311621ba3f7ca843e85; static PyCodeObject *codeobj_0782037b9cedf766d1574980c0290eec; static PyCodeObject *codeobj_324c95006a1075a2f7bba964c8d63dec; static PyCodeObject *codeobj_0687b50ff83bc0f7dbc1a51cd1b81fa8; static PyCodeObject *codeobj_ee2b2685545163715d3351509a457677; static PyCodeObject *codeobj_da5197353f9a497917278f97144e70c0; static PyCodeObject *codeobj_8ef91ea3df7ef7816e362ae137dd2a18; static PyCodeObject *codeobj_99bb15e6e5d12cf32ea888b190b58524; static PyCodeObject *codeobj_f6eaa2b092ce92d3ad80416704bf487b; static PyCodeObject *codeobj_a992b85df06a2cd3f7777638f7786b14; static PyCodeObject *codeobj_109154d3647759eb5904814de000cb71; static PyCodeObject *codeobj_e01f26a1f353c67f25e6717a1782a6d6; static PyCodeObject *codeobj_0d16f9a58b69d82452c3a719fcf3b9fc; static PyCodeObject *codeobj_9b533d4121851bce2a227bf21c0c0512; static PyCodeObject *codeobj_45dca3d3953d3822c56c4bd07062a506; static PyCodeObject *codeobj_55bc36eab384b2662fea682cb918f1c9; static PyCodeObject *codeobj_255466d76e1c1750de8607470362444a; static PyCodeObject *codeobj_38dbdeb6dc0225007c26f4882ae11e91; static PyCodeObject *codeobj_53472f2643baf702d9c5a4eff11d583c; static PyCodeObject *codeobj_5f2748739a640a9bddd6f77b0f6bc42a; static PyCodeObject *codeobj_80194037f97e3366fc4f5506f80d408e; static PyCodeObject *codeobj_7ce0a2b6ae53236f1fc4a93159b4453e; static PyCodeObject *codeobj_5d14bd9a01838689f7e8eecca8ec0825; static PyCodeObject *codeobj_ccd6f806668e27e878cd52ae621d697d; static PyCodeObject *codeobj_7203915b9d47169cf54bea9157e43233; static PyCodeObject *codeobj_156d9f1efa51f3dfa4650407e8270de4; static PyCodeObject *codeobj_3a0cff0ce013f133d5689b307a344b11; static PyCodeObject *codeobj_fe7f8d3c6a6934c2f4b678aa141b340a; static PyCodeObject *codeobj_9d85c104cdd7f0aa2d8cc561f43f6ec2; static PyCodeObject *codeobj_d8e1aa0631022667d6695d0244e02893; static PyCodeObject *codeobj_64539860be2c9afaf5283f5942d8f985; static PyCodeObject *codeobj_19197c8d617a094fdf2d21476a024be0; static PyCodeObject *codeobj_31f4fb2abefc19737b20e2914b4ed146; static PyCodeObject *codeobj_e315cb934b07b8a22111ee79d19a435f; static PyCodeObject *codeobj_97ba68284dfc5691fe6a0cceae719018; static PyCodeObject *codeobj_524a37c2c0d86ba0b41dc799b54fe11d; static PyCodeObject *codeobj_e8a20bb9b440b8537b53ed7f3364c2de; static PyCodeObject *codeobj_3f9c0ef2a8c74297e6a76e39dd113910; static PyCodeObject *codeobj_eaca347d17ccf91ff6a3f44f41afc9f8; static PyCodeObject *codeobj_893b39554e1d5e4b396856dd6b92db42; static PyCodeObject *codeobj_2ea4a8667de875c414651a744472e264; static PyCodeObject *codeobj_97710b69fd5c98269d39a473dacdc9ac; static PyCodeObject *codeobj_e495bbf5f921248a9a2648dbfb152f5d; static PyCodeObject *codeobj_e8bc482a81565a9c34555e4be729e066; static PyCodeObject *codeobj_0447cb3348c097b1cbf22f026aace830; static PyCodeObject *codeobj_3182b5e1e03d93d5a69947693f284b03; static PyCodeObject *codeobj_af581ae9b793a38f8fd5462a2c7df162; static PyCodeObject *codeobj_0068b70b6db3f65f3bc0951202835e76; static PyCodeObject *codeobj_6e6068c2930c44dc05beada272c651ed; static PyCodeObject *codeobj_89f9f74b499c88d48a6850bc75fc3b9c; static PyCodeObject *codeobj_db408799525830effe488f5864e93341; static PyCodeObject *codeobj_7789fa2403c86d096649a8ae985fb9a1; static PyCodeObject *codeobj_56c67731964b5279115e2f383d85829f; static PyCodeObject *codeobj_9cb785f0762896331987e722af13e325; static PyCodeObject *codeobj_508da5ad87b8cc5ebb0c038967267d94; static PyCodeObject *codeobj_bffd7e0921fb8dace4195b135a7b4fcc; static PyCodeObject *codeobj_1604d6b922955c9ba58e44d42531e843; static PyCodeObject *codeobj_73f01e65f6fa8762c77d98dcf29d3867; static PyCodeObject *codeobj_d3dca88da02486a0ab25d2a3e0bda0fa; static PyCodeObject *codeobj_205139df448ca539f73e4d954ee5d3e8; static PyCodeObject *codeobj_6facbb6a0b7797bff09bbeee0c2d64b1; static PyCodeObject *codeobj_258ae2b97b21bb3ab4a0be3666e78453; static PyCodeObject *codeobj_c60bd8b775ef9d752554f066c4250e6d; static PyCodeObject *codeobj_a473a4204daa78a59ebfe0b036aa8a56; static PyCodeObject *codeobj_97ce4717c41439075463fa0e7a213c1f; static PyCodeObject *codeobj_43fc6ac21ee1b10665b261d36fe69f50; static PyCodeObject *codeobj_72a42c0abddbd72027f45c1c062c6cb4; static PyCodeObject *codeobj_b173255cae1fb213f4b4b93a3866ef41; static PyCodeObject *codeobj_68198a743b2077f17ee6416293f47a2c; static PyCodeObject *codeobj_978b1826bf8f1afeb0862dfb5ffc4203; static PyCodeObject *codeobj_cb1042387482761e9c22fb676027a15c; static PyCodeObject *codeobj_0aaef0255efd000f361ae0891690de5e; static PyCodeObject *codeobj_73578e0996899a70851ff82dc61899a5; static PyCodeObject *codeobj_08df507017589681a3b32b6f88ec925b; static PyCodeObject *codeobj_c1bb9aa299d57ef72d613e6227ea67aa; static PyCodeObject *codeobj_664861b911bac5edfea27f3bc54f155a; static PyCodeObject *codeobj_5ab336b278ac6b260535d1bf41e304e8; static PyCodeObject *codeobj_44db1778b7dcf50bdc4185f2e27d3f9e; static PyCodeObject *codeobj_5c45d7df7f7665ba7cc22679967112bf; static PyCodeObject *codeobj_6a79a26f7e51735b6c67728179d549c0; static PyCodeObject *codeobj_441e6c94a379252059ac5a5617b050c2; static PyCodeObject *codeobj_30328e22e5f65f8a5122c3ffc563c6a8; static PyCodeObject *codeobj_8e0f1dd0be8123da3f75bdef7b5b3299; static PyCodeObject *codeobj_6eeb6fe017912b4805c0497b38281403; static PyCodeObject *codeobj_c586ec013c86a80af9dc6a67a37d539e; static PyCodeObject *codeobj_affcca277c5f9aa14119821922ee34dc; static PyCodeObject *codeobj_8af4efe251cbc84190fc020fbbf4094b; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_900727e0560906c5ac4df82dba814f02; codeobj_9bd4afcb62c3cb278abb258f9a48009d = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 586, const_tuple_2db4dbe516092df2db3de6cea5c71cab_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_bea9a6c20427f8d23b16ea6dff9eec28 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 599, const_tuple_b29bc8769f649e9077cd3d87ace09019_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_95cae882095f59dd340378988e49c026 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_lambda, 704, const_tuple_str_plain_el_str_plain_attribute_str_plain_value_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_d71607011581f4dcf6ff97e649027795 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_lambda, 716, const_tuple_str_plain_el_str_plain_attribute_str_plain_value_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_d1724f132f3b5adc65e656c1c409cac8 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_lambda, 720, const_tuple_str_plain_el_str_plain_attribute_str_plain_value_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_7d26b56ff10cc3737beac52d1f3c2526 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_lambda, 724, const_tuple_str_plain_el_str_plain_value_str_plain_attribute_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_07768771a9dff1dca7fa5867d8d872f8 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_lambda, 734, const_tuple_str_plain_el_str_plain_attribute_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_a7d3224942f07febe795b2b771317adc = MAKE_CODEOBJ( module_filename_obj, const_str_angle_lambda, 1536, const_tuple_str_plain_tag_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_95733d7b944085deb96e9de33b5bd2a3 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_lambda, 1540, const_tuple_str_plain_tag_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_17a4c764cda8ef8f96cd03d867b6d0b6 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_lambda, 1600, const_tuple_str_plain_tag_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_513b32b1e4368c7f307acf9c205ed152 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 1010, const_tuple_str_plain_s_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_7a85646ff5c11425b451e508eaae9d7e = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 1414, const_tuple_str_plain_x_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_4ce17d3a177d008653b00d10844e65d5 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_38aa4d1e4b90e4783d9d90e8dfcb74d9, 1, const_tuple_empty, 0, 0, CO_NOFREE ); codeobj_4b80cfe4536afc986acea12c2fb342bb = MAKE_CODEOBJ( module_filename_obj, const_str_plain_CData, 824, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_1c2b488d3b14d07e67914bc23de09cca = MAKE_CODEOBJ( module_filename_obj, const_str_plain_CharsetMetaAttributeValue, 50, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_9e2bf96330a498442c1d54bae9cbca77 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Comment, 840, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_ece51f2689b7c94c8e975a33a383f61d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_ContentMetaAttributeValue, 66, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_ac602065f1302351b6f57bdf666b669a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Counter, 1514, const_tuple_str_plain___class___tuple, 0, 0, CO_OPTIMIZED | CO_NOFREE ); codeobj_09f3cc442a3b09d0e80e4b62f05677fc = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Declaration, 846, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_b488c24e2a6b7103518f0a1c1ec22379 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Doctype, 851, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_3058fae0e33e90d98e79ba79dbc6f232 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Formatter, 129, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_e0b138e081684a50578d5e63a10479ca = MAKE_CODEOBJ( module_filename_obj, const_str_plain_HTML5Formatter, 149, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_5772303f14ec630d1e3dd5c8abf7c00f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_HTMLAwareEntitySubstitution, 92, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_de882dc1284bb1549f115dfe8588bf4d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_HTMLFormatter, 139, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_11f961c432121b37f146972cf93e555e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_HTMLXMLFormatter, 158, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_8f8d6a136bdadc5725438d2af52a5d0d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_MinimalHTMLFormatter, 144, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_b39add1aa8348dd39b1965cb3dcdb282 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_NamespacedAttribute, 32, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_e7bb2589135598a74075d2595b06b927 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_NavigableString, 754, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_25c9e71c122c4abb0d99ddaf8a3447f3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_PageElement, 164, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_c4609990f9a41ed0ccbde514662afb75 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_PreformattedString, 811, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_f25f0cfba0b00f017bfa1221e0c5d98f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_ProcessingInstruction, 829, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_69f0075a71dbac5ca10b4f11e5fbd568 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_ResultSet, 1875, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_fd5e8676821a0cc01a6283e697785aac = MAKE_CODEOBJ( module_filename_obj, const_str_plain_SoupStrainer, 1658, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_4609c90faa727a79fc7a65c6e8922c9d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Tag, 869, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_e9a030faa6f76c21f38fa0eb6e3cd515 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_XMLFormatter, 153, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_3c39fbf0eecc9d5427624a39fef2d444 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_XMLProcessingInstruction, 835, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_b24e5070f5d1501421c431a52b06e4fb = MAKE_CODEOBJ( module_filename_obj, const_str_plain___bool__, 1084, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_5a02ca1b1d27478979a5d79f5d103e3e = MAKE_CODEOBJ( module_filename_obj, const_str_plain___call__, 1097, const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_503b3c26f5cc4215b2fe3dba2ab8e216 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___contains__, 1081, const_tuple_str_plain_self_str_plain_x_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_c812d84c1959f98fd2b2a0d5c40e608f = MAKE_CODEOBJ( module_filename_obj, const_str_plain___copy__, 779, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_8fea45c635606c8d0d99f27036d7a563 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___copy__, 928, const_tuple_330a583f6243cc8fafe94e5859d46cbc_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_2d5339110e04c27d2f691693f06a3a22 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___delitem__, 1093, const_tuple_str_plain_self_str_plain_key_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_63c327127eed5eef054c31ea605470f7 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___eq__, 1120, const_tuple_5d973f0bbc887f462db71b319acd6172_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_76147bc7179527984aad63627e7e5168 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___getattr__, 788, const_tuple_str_plain_self_str_plain_attr_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_b5b0f46b66d46165c4a1a536847c6512 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___getattr__, 1103, const_tuple_str_plain_self_str_plain_tag_str_plain_tag_name_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_ccefb7ad84122eaec3d5af97a7c83f34 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___getattr__, 1882, const_tuple_str_plain_self_str_plain_key_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_bcaecc0504ca9574b24de4d86ecf1ccd = MAKE_CODEOBJ( module_filename_obj, const_str_plain___getitem__, 1068, const_tuple_str_plain_self_str_plain_key_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_86e4c69eda9c3b00a842eb0470629ec9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___getnewargs__, 785, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_83d18e28095f37e035a2456e1f8ef60b = MAKE_CODEOBJ( module_filename_obj, const_str_plain___hash__, 1065, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_4ad3726740db564e1e83367b3e345ec8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 873, const_tuple_f5b82b9541ca43f4cb37e5415f1808d7_tuple, 10, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_c88400ee2d1354041ab542dad659f415 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 1515, const_tuple_str_plain_self_str_plain_destination_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e6904df3e4103be41c6cd1d7b304b88d = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 1662, const_tuple_33e3fd31c9cfc9ad09c0a6afb50d182d_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_0119232f22e0ff77965805377e28ab4d = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 1878, const_tuple_dcfb5743efa6a82734207c30c058dd65_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_e3fc98e89cad974e720b39d388b64b8a = MAKE_CODEOBJ( module_filename_obj, const_str_plain___iter__, 1073, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_5115dfd1f9eebe023f2058b83d36d62a = MAKE_CODEOBJ( module_filename_obj, const_str_plain___len__, 1077, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_3e3a64de5f110b1ed59f4d5f468a9103 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___ne__, 1137, const_tuple_str_plain_self_str_plain_other_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_a4c75e81063e4d0c50b7210704599a41 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___new__, 34, const_tuple_eee4bda2a1ff56b33f0ca94cb124c1fc_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_2139c8e38639112c68fcbdb532dd01ed = MAKE_CODEOBJ( module_filename_obj, const_str_plain___new__, 57, const_tuple_str_plain_cls_str_plain_original_value_str_plain_obj_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_cd573e43528415ebdf1d513e182b54ae = MAKE_CODEOBJ( module_filename_obj, const_str_plain___new__, 77, const_tuple_eb5d71df1d7c0f24b173ea5799beddf8_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_0e6d26d3e5169a6c25ef9f44039001eb = MAKE_CODEOBJ( module_filename_obj, const_str_plain___new__, 764, const_tuple_str_plain_cls_str_plain_value_str_plain_u_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_cdb5c877fd5b674f8408702b48aa1c50 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___repr__, 1142, const_tuple_str_plain_self_str_plain_encoding_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_4d8569e449b8c3af75f10ae63d3003ef = MAKE_CODEOBJ( module_filename_obj, const_str_plain___setitem__, 1088, const_tuple_str_plain_self_str_plain_key_str_plain_value_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_b52816b7cb514b69f10f4cb5d9d34571 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___str__, 1156, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_996f297d622d98bee25ea364822ad74c = MAKE_CODEOBJ( module_filename_obj, const_str_plain___str__, 1719, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_abbe0d495003fe7ab799eab53ded9afc = MAKE_CODEOBJ( module_filename_obj, const_str_plain___unicode__, 1153, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_63d4973b90134921abbbbb587db228fb = MAKE_CODEOBJ( module_filename_obj, const_str_plain__alias, 20, const_tuple_str_plain_attr_str_plain_alias_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_ce1c7d51d9278aac0c1e8f91e3e0e1a4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__all_strings, 980, const_tuple_3da16538fbd197083cd091a6f193427d_tuple, 3, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_df315d0e98ee35d4dcc4c5f61ab6f49e = MAKE_CODEOBJ( module_filename_obj, const_str_plain__attr_value_as_string, 676, const_tuple_str_plain_self_str_plain_value_str_plain_default_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_7967b765ab33c929276207289fe6f3a8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__attribute_checker, 695, const_tuple_39e3efcbfd23153e69bf0c00213825ef_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_0ba3d6caf3b5c3d1ee77b277fa0a9336 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__find_all, 571, const_tuple_52f6ccea4450b0adf27589851d88d852_tuple, 6, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_df0dc7bcbf46a9bb4d49a127c6827889 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__find_one, 564, const_tuple_75b9ad61a0b4f855687004ff1ae0ed59_tuple, 5, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_84722cb5268b352f18eaf34c08590e22 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__formatter_for_name, 241, const_tuple_str_plain_self_str_plain_name_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_949c748c7e97e79632fad1744dd022f3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__includes_value, 708, const_tuple_7823708c4f4fc354ec913f02c98a1bd9_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_36b758aca2688edbdd1b25564f4d5f72 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__is_or_starts_with_dash, 728, const_tuple_7823708c4f4fc354ec913f02c98a1bd9_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_f3814657fbcff8715502c0eb9cf589d8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__is_xml, 217, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e459943332e46df6e47d6b496d72a30c = MAKE_CODEOBJ( module_filename_obj, const_str_plain__last_descendant, 341, const_tuple_3b64fb04a63013587f4e717b6d88d2c3_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_70bee86bc35990e86dfc9fcfdd19ddba = MAKE_CODEOBJ( module_filename_obj, const_str_plain__match, 691, const_tuple_str_plain_tag_str_plain_tag_name_str_plain_function_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_d3f3c31464bc11609a7c046d5cf671b4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__matches, 1792, const_tuple_68ba083e7690a6c98536143a6c5f5721_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_d5794d410a882311621ba3f7ca843e85 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__normalize_search_value, 1689, const_tuple_e78b94ed7a6cf112858126b31788598d_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_0782037b9cedf766d1574980c0290eec = MAKE_CODEOBJ( module_filename_obj, const_str_plain__should_pretty_print, 1173, const_tuple_str_plain_self_str_plain_indent_level_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_324c95006a1075a2f7bba964c8d63dec = MAKE_CODEOBJ( module_filename_obj, const_str_plain__substitute_if_appropriate, 109, const_tuple_str_plain_cls_str_plain_ns_str_plain_f_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_0687b50ff83bc0f7dbc1a51cd1b81fa8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain__tag_name_matches_and, 687, const_tuple_721484cb6f1b0ca5b3afd482f542f05e_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_ee2b2685545163715d3351509a457677 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_alias, 22, const_tuple_str_plain_self_str_plain_attr_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_da5197353f9a497917278f97144e70c0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_alias, 26, const_tuple_str_plain_self_str_plain_attr_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_8ef91ea3df7ef7816e362ae137dd2a18 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_append, 429, const_tuple_str_plain_self_str_plain_tag_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_99bb15e6e5d12cf32ea888b190b58524 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_childGenerator, 1643, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_f6eaa2b092ce92d3ad80416704bf487b = MAKE_CODEOBJ( module_filename_obj, const_str_plain_children, 1381, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_a992b85df06a2cd3f7777638f7786b14 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_classes_match, 1488, const_tuple_str_plain_candidate_str_plain_classes_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_109154d3647759eb5904814de000cb71 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_clear, 1025, const_tuple_str_plain_self_str_plain_decompose_str_plain_element_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e01f26a1f353c67f25e6717a1782a6d6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_decode, 1181, const_tuple_9de6d970a3a3b77559660d384e1897fc_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_0d16f9a58b69d82452c3a719fcf3b9fc = MAKE_CODEOBJ( module_filename_obj, const_str_plain_decode_contents, 1281, const_tuple_d8a008f3c3dc8f3ba3ff33df84389ed3_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_9b533d4121851bce2a227bf21c0c0512 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_decompose, 1015, const_tuple_str_plain_self_str_plain_i_str_plain_next_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_45dca3d3953d3822c56c4bd07062a506 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_default_candidate_generator, 1591, const_tuple_str_plain_tag_str_plain_child_str_plain_tag_name_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_55bc36eab384b2662fea682cb918f1c9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_descendants, 1386, const_tuple_str_plain_self_str_plain_stopNode_str_plain_current_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_255466d76e1c1750de8607470362444a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_encode, 62, const_tuple_str_plain_self_str_plain_encoding_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_38dbdeb6dc0225007c26f4882ae11e91 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_encode, 87, const_tuple_str_plain_self_str_plain_encoding_str_plain_rewrite_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_53472f2643baf702d9c5a4eff11d583c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_encode, 1165, const_tuple_228af158dcd68f83b463bc2269dd782f_tuple, 5, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_5f2748739a640a9bddd6f77b0f6bc42a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_encode_contents, 1323, const_tuple_10d2142d95e2a4c8e5148840f9fc6abb_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_80194037f97e3366fc4f5506f80d408e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_extract, 312, const_tuple_str_plain_self_str_plain_last_child_str_plain_next_element_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_7ce0a2b6ae53236f1fc4a93159b4453e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_find, 1350, const_tuple_3489c43e348aa7277a9d676e1d56ff9e_tuple, 5, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_5d14bd9a01838689f7e8eecca8ec0825 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_find_all, 1361, const_tuple_65604e2dc480b192d22d38f58a38ee21_tuple, 6, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_ccd6f806668e27e878cd52ae621d697d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_find_all_next, 477, const_tuple_3a1a822c776686c398d8079a14774929_tuple, 5, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_7203915b9d47169cf54bea9157e43233 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_find_all_previous, 508, const_tuple_3a1a822c776686c398d8079a14774929_tuple, 5, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_156d9f1efa51f3dfa4650407e8270de4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_find_next, 471, const_tuple_46b86a7582592112004d3e48fcc1ce1f_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_3a0cff0ce013f133d5689b307a344b11 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_find_next_sibling, 485, const_tuple_46b86a7582592112004d3e48fcc1ce1f_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_fe7f8d3c6a6934c2f4b678aa141b340a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_find_next_siblings, 492, const_tuple_3a1a822c776686c398d8079a14774929_tuple, 5, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_9d85c104cdd7f0aa2d8cc561f43f6ec2 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_find_parent, 533, const_tuple_643d9c4661fe2aa00355fe8b8362b99c_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_d8e1aa0631022667d6695d0244e02893 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_find_parents, 545, const_tuple_320cbb4df0ff07646e62c91f2eed2f25_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_64539860be2c9afaf5283f5942d8f985 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_find_previous, 501, const_tuple_46b86a7582592112004d3e48fcc1ce1f_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_19197c8d617a094fdf2d21476a024be0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_find_previous_sibling, 517, const_tuple_46b86a7582592112004d3e48fcc1ce1f_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_31f4fb2abefc19737b20e2914b4ed146 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_find_previous_siblings, 524, const_tuple_3a1a822c776686c398d8079a14774929_tuple, 5, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_e315cb934b07b8a22111ee79d19a435f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_for_name_and_ids, 853, const_tuple_58568bf8b42125104a536219253716ea_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_97ba68284dfc5691fe6a0cceae719018 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_format_string, 203, const_tuple_272dbd16728ffeefb84651713f277746_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_524a37c2c0d86ba0b41dc799b54fe11d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get, 1049, const_tuple_str_plain_self_str_plain_key_str_plain_default_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e8a20bb9b440b8537b53ed7f3364c2de = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_attribute_list, 1055, const_tuple_2e13f6f79f96adf3ed42b174b19b3d28_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_3f9c0ef2a8c74297e6a76e39dd113910 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_text, 1005, const_tuple_397136b07af053fd16bd0f56ecbdb382_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_eaca347d17ccf91ff6a3f44f41afc9f8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_has_attr, 1062, const_tuple_str_plain_self_str_plain_key_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_893b39554e1d5e4b396856dd6b92db42 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_has_key, 1649, const_tuple_str_plain_self_str_plain_key_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_2ea4a8667de875c414651a744472e264 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_id_matches, 1480, const_tuple_str_plain_tag_str_plain_tag_id_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_97710b69fd5c98269d39a473dacdc9ac = MAKE_CODEOBJ( module_filename_obj, const_str_plain_index, 1039, const_tuple_str_plain_self_str_plain_element_str_plain_i_str_plain_child_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e495bbf5f921248a9a2648dbfb152f5d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_insert, 355, const_tuple_cf4564a8c9848f3e5b0f806c45e7af4c_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e8bc482a81565a9c34555e4be729e066 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_insert_after, 452, const_tuple_9ceaef96d0ae32058b80314695df626f_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_0447cb3348c097b1cbf22f026aace830 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_insert_before, 433, const_tuple_da1cf66926fb1d3089c3d751c6a7518e_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_3182b5e1e03d93d5a69947693f284b03 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_is_empty_element, 940, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_af581ae9b793a38f8fd5462a2c7df162 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_name, 803, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_0068b70b6db3f65f3bc0951202835e76 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_name, 807, const_tuple_str_plain_self_str_plain_name_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_6e6068c2930c44dc05beada272c651ed = MAKE_CODEOBJ( module_filename_obj, const_str_plain_next, 554, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_89f9f74b499c88d48a6850bc75fc3b9c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_nextGenerator, 738, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_db408799525830effe488f5864e93341 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_nextSiblingGenerator, 741, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_7789fa2403c86d096649a8ae985fb9a1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_next_elements, 625, const_tuple_str_plain_self_str_plain_i_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_56c67731964b5279115e2f383d85829f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_next_siblings, 632, const_tuple_str_plain_self_str_plain_i_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_9cb785f0762896331987e722af13e325 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_next_tag_sibling, 1545, const_tuple_str_plain_tag_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_508da5ad87b8cc5ebb0c038967267d94 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_nth_child_of_type, 1519, const_tuple_str_plain_self_str_plain_tag_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_bffd7e0921fb8dace4195b135a7b4fcc = MAKE_CODEOBJ( module_filename_obj, const_str_plain_output_ready, 799, const_tuple_str_plain_self_str_plain_formatter_str_plain_output_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_1604d6b922955c9ba58e44d42531e843 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_output_ready, 818, const_tuple_str_plain_self_str_plain_formatter_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_73f01e65f6fa8762c77d98dcf29d3867 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_parentGenerator, 750, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_d3dca88da02486a0ab25d2a3e0bda0fa = MAKE_CODEOBJ( module_filename_obj, const_str_plain_parents, 653, const_tuple_str_plain_self_str_plain_i_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_205139df448ca539f73e4d954ee5d3e8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_prettify, 1275, const_tuple_str_plain_self_str_plain_encoding_str_plain_formatter_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_6facbb6a0b7797bff09bbeee0c2d64b1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_previous, 558, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_258ae2b97b21bb3ab4a0be3666e78453 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_previousGenerator, 744, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_c60bd8b775ef9d752554f066c4250e6d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_previousSiblingGenerator, 747, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_a473a4204daa78a59ebfe0b036aa8a56 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_previous_elements, 639, const_tuple_str_plain_self_str_plain_i_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_97ce4717c41439075463fa0e7a213c1f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_previous_siblings, 646, const_tuple_str_plain_self_str_plain_i_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_43fc6ac21ee1b10665b261d36fe69f50 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_recursiveChildGenerator, 1646, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_72a42c0abddbd72027f45c1c062c6cb4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_recursive_select, 1566, const_tuple_244569d53ff96acad91f6c9be82452fb_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_b173255cae1fb213f4b4b93a3866ef41 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_renderContents, 1341, const_tuple_d0434168675df957da575746d9fec873_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_68198a743b2077f17ee6416293f47a2c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_replace_with, 277, const_tuple_c8ced635d07e13a82f7bd15383636794_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_978b1826bf8f1afeb0862dfb5ffc4203 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_rewrite, 88, const_tuple_str_plain_match_str_plain_encoding_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_cb1042387482761e9c22fb676027a15c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_search, 1766, const_tuple_ffd90e373011fadf040497abe3c9ca62_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_0aaef0255efd000f361ae0891690de5e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_search_tag, 1725, const_tuple_9c721a1e10cb0f8ba236c78266c0db1c_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_73578e0996899a70851ff82dc61899a5 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_select, 1408, const_tuple_f1cb559edbeb854c29bced8fa834c328_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_08df507017589681a3b32b6f88ec925b = MAKE_CODEOBJ( module_filename_obj, const_str_plain_select_one, 1401, const_tuple_str_plain_self_str_plain_selector_str_plain_value_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_c1bb9aa299d57ef72d613e6227ea67aa = MAKE_CODEOBJ( module_filename_obj, const_str_plain_setup, 248, const_tuple_c0ce3b782b25edd0417c8e92b23a545f_tuple, 6, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_664861b911bac5edfea27f3bc54f155a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_string, 958, const_tuple_str_plain_self_str_plain_child_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_5ab336b278ac6b260535d1bf41e304e8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_string, 975, const_tuple_str_plain_self_str_plain_string_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_44db1778b7dcf50bdc4185f2e27d3f9e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_stripped_strings, 1000, const_tuple_str_plain_self_str_plain_string_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_5c45d7df7f7665ba7cc22679967112bf = MAKE_CODEOBJ( module_filename_obj, const_str_plain_substitute, 141, const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_6a79a26f7e51735b6c67728179d549c0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_substitute, 146, const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_441e6c94a379252059ac5a5617b050c2 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_substitute, 155, const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_30328e22e5f65f8a5122c3ffc563c6a8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_substitute, 160, const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_8e0f1dd0be8123da3f75bdef7b5b3299 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_substitute_entities, 135, const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_6eeb6fe017912b4805c0497b38281403 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_substitute_html, 119, const_tuple_str_plain_cls_str_plain_ns_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_c586ec013c86a80af9dc6a67a37d539e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_substitute_xml, 124, const_tuple_str_plain_cls_str_plain_ns_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_affcca277c5f9aa14119821922ee34dc = MAKE_CODEOBJ( module_filename_obj, const_str_plain_unwrap, 293, const_tuple_aed9ac759c336135a23d4212a3ac74e8_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_8af4efe251cbc84190fc020fbbf4094b = MAKE_CODEOBJ( module_filename_obj, const_str_plain_wrap, 307, const_tuple_str_plain_self_str_plain_wrap_inside_str_plain_me_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); } // The module function declarations. static PyObject *bs4$element$$$function_41__find_all$$$genexpr_1_genexpr_maker( void ); static PyObject *bs4$element$$$function_41__find_all$$$genexpr_2_genexpr_maker( void ); static PyObject *bs4$element$$$function_42_next_elements$$$genobj_1_next_elements_maker( void ); static PyObject *bs4$element$$$function_43_next_siblings$$$genobj_1_next_siblings_maker( void ); static PyObject *bs4$element$$$function_44_previous_elements$$$genobj_1_previous_elements_maker( void ); static PyObject *bs4$element$$$function_45_previous_siblings$$$genobj_1_previous_siblings_maker( void ); static PyObject *bs4$element$$$function_46_parents$$$genobj_1_parents_maker( void ); static PyObject *bs4$element$$$function_69__all_strings$$$genobj_1__all_strings_maker( void ); static PyObject *bs4$element$$$function_70_stripped_strings$$$genobj_1_stripped_strings_maker( void ); static PyObject *bs4$element$$$function_103_descendants$$$genobj_1_descendants_maker( void ); static PyObject *bs4$element$$$function_105_select$$$function_7_next_tag_sibling$$$genobj_1_next_tag_sibling_maker( void ); static PyObject *bs4$element$$$function_105_select$$$function_8_recursive_select$$$genobj_1_recursive_select_maker( void ); static PyObject *bs4$element$$$function_105_select$$$function_9_default_candidate_generator$$$genobj_1_default_candidate_generator_maker( void ); NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars ); NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( PyObject **python_pars ); NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_5_complex_call_helper_pos_star_dict( PyObject **python_pars ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_100_find( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_101_find_all( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_102_children( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_103_descendants( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_104_select_one( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_10_lambda( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_1_id_matches( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_2_classes_match( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_3___init__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_4_nth_child_of_type( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_5_lambda( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_6_lambda( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_7_next_tag_sibling( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_8_recursive_select( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_9_default_candidate_generator( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_106_childGenerator( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_107_recursiveChildGenerator( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_108_has_key( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_109___init__( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_10_substitute_entities( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_110__normalize_search_value( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_111___str__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_112_search_tag( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_113_search( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_114__matches( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_115___init__( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_116___getattr__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_11_substitute( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_12_substitute( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_13_substitute( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_14_substitute( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_15_format_string( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_16__is_xml( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_17__formatter_for_name( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_18_setup( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_19_replace_with( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_1__alias( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_1__alias$$$function_1_alias( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_1__alias$$$function_2_alias( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_20_unwrap( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_21_wrap( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_22_extract( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_23__last_descendant( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_24_insert( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_25_append( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_26_insert_before( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_27_insert_after( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_28_find_next( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_29_find_all_next( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_2___new__( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_30_find_next_sibling( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_31_find_next_siblings( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_32_find_previous( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_33_find_all_previous( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_34_find_previous_sibling( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_35_find_previous_siblings( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_36_find_parent( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_37_find_parents( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_38_next( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_39_previous( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_3___new__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_40__find_one( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_41__find_all( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_42_next_elements( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_43_next_siblings( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_44_previous_elements( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_45_previous_siblings( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_46_parents( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_47__attr_value_as_string( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_48__tag_name_matches_and( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_48__tag_name_matches_and$$$function_1__match( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_1_lambda( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_2__includes_value( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_3_lambda( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_4_lambda( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_5_lambda( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_6__is_or_starts_with_dash( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_7_lambda( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_4_encode( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_50_nextGenerator( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_51_nextSiblingGenerator( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_52_previousGenerator( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_53_previousSiblingGenerator( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_54_parentGenerator( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_55___new__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_56___copy__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_57___getnewargs__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_58___getattr__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_59_output_ready( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_5___new__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_60_name( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_61_name( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_62_output_ready( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_63_for_name_and_ids( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_64___init__( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_65___copy__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_66_is_empty_element( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_67_string( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_68_string( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_69__all_strings( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_6_encode( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_6_encode$$$function_1_rewrite( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_70_stripped_strings( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_71_get_text( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_72_decompose( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_73_clear( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_74_index( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_75_get( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_76_get_attribute_list( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_77_has_attr( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_78___hash__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_79___getitem__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_7__substitute_if_appropriate( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_80___iter__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_81___len__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_82___contains__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_83___bool__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_84___setitem__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_85___delitem__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_86___call__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_87___getattr__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_88___eq__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_89___ne__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_8_substitute_html( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_90___repr__( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_91___unicode__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_92___str__( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_93_encode( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_94__should_pretty_print( ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_95_decode( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_96_prettify( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_97_decode_contents( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_98_encode_contents( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_99_renderContents( PyObject *defaults ); static PyObject *MAKE_FUNCTION_bs4$element$$$function_9_substitute_xml( ); // The module function definitions. static PyObject *impl_bs4$element$$$function_1__alias( 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_attr = PyCell_NEW1( python_pars[ 0 ] ); PyObject *var_alias = NULL; struct Nuitka_FrameObject *frame_63d4973b90134921abbbbb587db228fb; 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; static struct Nuitka_FrameObject *cache_frame_63d4973b90134921abbbbb587db228fb = 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_63d4973b90134921abbbbb587db228fb, codeobj_63d4973b90134921abbbbb587db228fb, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_63d4973b90134921abbbbb587db228fb = cache_frame_63d4973b90134921abbbbb587db228fb; // Push the new frame as the currently active one. pushFrameStack( frame_63d4973b90134921abbbbb587db228fb ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_63d4973b90134921abbbbb587db228fb ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; tmp_called_name_1 = (PyObject *)&PyProperty_Type; tmp_args_element_name_1 = MAKE_FUNCTION_bs4$element$$$function_1__alias$$$function_1_alias( ); ((struct Nuitka_FunctionObject *)tmp_args_element_name_1)->m_closure[0] = par_attr; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_args_element_name_1)->m_closure[0] ); frame_63d4973b90134921abbbbb587db228fb->m_frame.f_lineno = 22; { 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_args_element_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 22; type_description_1 = "co"; goto frame_exception_exit_1; } assert( var_alias == NULL ); var_alias = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_2; CHECK_OBJECT( var_alias ); tmp_called_instance_1 = var_alias; tmp_args_element_name_2 = MAKE_FUNCTION_bs4$element$$$function_1__alias$$$function_2_alias( ); ((struct Nuitka_FunctionObject *)tmp_args_element_name_2)->m_closure[0] = par_attr; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_args_element_name_2)->m_closure[0] ); frame_63d4973b90134921abbbbb587db228fb->m_frame.f_lineno = 26; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_setter, call_args ); } Py_DECREF( tmp_args_element_name_2 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; type_description_1 = "co"; goto frame_exception_exit_1; } { PyObject *old = var_alias; var_alias = tmp_assign_source_2; Py_XDECREF( old ); } } #if 0 RESTORE_FRAME_EXCEPTION( frame_63d4973b90134921abbbbb587db228fb ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_63d4973b90134921abbbbb587db228fb ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_63d4973b90134921abbbbb587db228fb, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_63d4973b90134921abbbbb587db228fb->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_63d4973b90134921abbbbb587db228fb, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_63d4973b90134921abbbbb587db228fb, type_description_1, par_attr, var_alias ); // Release cached frame. if ( frame_63d4973b90134921abbbbb587db228fb == cache_frame_63d4973b90134921abbbbb587db228fb ) { Py_DECREF( frame_63d4973b90134921abbbbb587db228fb ); } cache_frame_63d4973b90134921abbbbb587db228fb = NULL; assertFrameObject( frame_63d4973b90134921abbbbb587db228fb ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { CHECK_OBJECT( var_alias ); tmp_return_value = var_alias; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_1__alias ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_attr ); Py_DECREF( par_attr ); par_attr = NULL; } { Py_XDECREF( var_alias ); var_alias = 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; { CHECK_OBJECT( (PyObject *)par_attr ); Py_DECREF( par_attr ); par_attr = NULL; } { Py_XDECREF( var_alias ); var_alias = 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( bs4$element$$$function_1__alias ); 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_bs4$element$$$function_1__alias$$$function_1_alias( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_ee2b2685545163715d3351509a457677; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_ee2b2685545163715d3351509a457677 = 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_ee2b2685545163715d3351509a457677, codeobj_ee2b2685545163715d3351509a457677, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_ee2b2685545163715d3351509a457677 = cache_frame_ee2b2685545163715d3351509a457677; // Push the new frame as the currently active one. pushFrameStack( frame_ee2b2685545163715d3351509a457677 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ee2b2685545163715d3351509a457677 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; CHECK_OBJECT( par_self ); tmp_getattr_target_1 = par_self; if ( PyCell_GET( self->m_closure[0] ) == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "attr" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 24; type_description_1 = "oc"; goto frame_exception_exit_1; } tmp_getattr_attr_1 = PyCell_GET( self->m_closure[0] ); tmp_return_value = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, NULL ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 24; type_description_1 = "oc"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_ee2b2685545163715d3351509a457677 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ee2b2685545163715d3351509a457677 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ee2b2685545163715d3351509a457677 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ee2b2685545163715d3351509a457677, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ee2b2685545163715d3351509a457677->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ee2b2685545163715d3351509a457677, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ee2b2685545163715d3351509a457677, type_description_1, par_self, self->m_closure[0] ); // Release cached frame. if ( frame_ee2b2685545163715d3351509a457677 == cache_frame_ee2b2685545163715d3351509a457677 ) { Py_DECREF( frame_ee2b2685545163715d3351509a457677 ); } cache_frame_ee2b2685545163715d3351509a457677 = NULL; assertFrameObject( frame_ee2b2685545163715d3351509a457677 ); // 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( bs4$element$$$function_1__alias$$$function_1_alias ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_1__alias$$$function_1_alias ); 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_bs4$element$$$function_1__alias$$$function_2_alias( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_da5197353f9a497917278f97144e70c0; 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_da5197353f9a497917278f97144e70c0 = 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_da5197353f9a497917278f97144e70c0, codeobj_da5197353f9a497917278f97144e70c0, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_da5197353f9a497917278f97144e70c0 = cache_frame_da5197353f9a497917278f97144e70c0; // Push the new frame as the currently active one. pushFrameStack( frame_da5197353f9a497917278f97144e70c0 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_da5197353f9a497917278f97144e70c0 ) == 2 ); // Frame stack // Framed code: { if ( PyCell_GET( self->m_closure[0] ) == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "attr" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 28; type_description_1 = "oc"; goto frame_exception_exit_1; } tmp_unused = PyCell_GET( self->m_closure[0] ); } { PyObject *tmp_raise_type_1; PyObject *tmp_raise_value_1; tmp_raise_type_1 = PyExc_TypeError; tmp_raise_value_1 = const_str_digest_9e3fe7ba8804c2b496a30c099deb767f; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_value = tmp_raise_value_1; Py_INCREF( tmp_raise_value_1 ); exception_lineno = 28; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oc"; goto frame_exception_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_da5197353f9a497917278f97144e70c0 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_da5197353f9a497917278f97144e70c0 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_da5197353f9a497917278f97144e70c0, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_da5197353f9a497917278f97144e70c0->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_da5197353f9a497917278f97144e70c0, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_da5197353f9a497917278f97144e70c0, type_description_1, par_self, self->m_closure[0] ); // Release cached frame. if ( frame_da5197353f9a497917278f97144e70c0 == cache_frame_da5197353f9a497917278f97144e70c0 ) { Py_DECREF( frame_da5197353f9a497917278f97144e70c0 ); } cache_frame_da5197353f9a497917278f97144e70c0 = NULL; assertFrameObject( frame_da5197353f9a497917278f97144e70c0 ); // 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( bs4$element$$$function_1__alias$$$function_2_alias ); return NULL; // 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 *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_1__alias$$$function_2_alias ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; } static PyObject *impl_bs4$element$$$function_2___new__( 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_cls = python_pars[ 0 ]; PyObject *par_prefix = python_pars[ 1 ]; PyObject *par_name = python_pars[ 2 ]; PyObject *par_namespace = python_pars[ 3 ]; PyObject *var_obj = NULL; struct Nuitka_FrameObject *frame_a4c75e81063e4d0c50b7210704599a41; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_a4c75e81063e4d0c50b7210704599a41 = 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_a4c75e81063e4d0c50b7210704599a41, codeobj_a4c75e81063e4d0c50b7210704599a41, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_a4c75e81063e4d0c50b7210704599a41 = cache_frame_a4c75e81063e4d0c50b7210704599a41; // Push the new frame as the currently active one. pushFrameStack( frame_a4c75e81063e4d0c50b7210704599a41 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_a4c75e81063e4d0c50b7210704599a41 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_name ); tmp_compexpr_left_1 = par_name; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; tmp_source_name_1 = (PyObject *)&PyUnicode_Type; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___new__ ); assert( !(tmp_called_name_1 == NULL) ); if ( par_cls == 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", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 36; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_cls; if ( par_prefix == 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", "prefix" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 36; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_prefix; frame_a4c75e81063e4d0c50b7210704599a41->m_frame.f_lineno = 36; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2( 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 = 36; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_obj == NULL ); var_obj = tmp_assign_source_1; } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( par_prefix == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prefix" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 37; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = par_prefix; tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? 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_2; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; tmp_source_name_2 = (PyObject *)&PyUnicode_Type; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___new__ ); assert( !(tmp_called_name_2 == NULL) ); if ( par_cls == 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", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 39; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_cls; if ( par_name == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 39; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_name; frame_a4c75e81063e4d0c50b7210704599a41->m_frame.f_lineno = 39; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 39; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_obj == NULL ); var_obj = tmp_assign_source_2; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_1; PyObject *tmp_right_name_2; tmp_source_name_3 = (PyObject *)&PyUnicode_Type; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain___new__ ); assert( !(tmp_called_name_3 == NULL) ); if ( par_cls == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 41; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_cls; if ( par_prefix == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prefix" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 41; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_left_name_2 = par_prefix; tmp_right_name_1 = const_str_chr_58; tmp_left_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_1 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 41; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_left_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 41; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_right_name_2 = par_name; tmp_args_element_name_6 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_2 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_args_element_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 41; type_description_1 = "ooooo"; goto frame_exception_exit_1; } frame_a4c75e81063e4d0c50b7210704599a41->m_frame.f_lineno = 41; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 }; tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_6 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_obj == NULL ); var_obj = tmp_assign_source_3; } branch_end_2:; } branch_end_1:; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( par_prefix == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prefix" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 42; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = par_prefix; if ( var_obj == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "obj" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 42; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = var_obj; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_prefix, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 42; type_description_1 = "ooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; if ( par_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 43; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assattr_name_2 = par_name; if ( var_obj == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "obj" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 43; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = var_obj; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_name, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 43; type_description_1 = "ooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; if ( par_namespace == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "namespace" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 44; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assattr_name_3 = par_namespace; if ( var_obj == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "obj" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 44; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = var_obj; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_namespace, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 44; type_description_1 = "ooooo"; goto frame_exception_exit_1; } } { if ( var_obj == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "obj" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 45; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_return_value = var_obj; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_a4c75e81063e4d0c50b7210704599a41 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a4c75e81063e4d0c50b7210704599a41 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a4c75e81063e4d0c50b7210704599a41 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_a4c75e81063e4d0c50b7210704599a41, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_a4c75e81063e4d0c50b7210704599a41->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_a4c75e81063e4d0c50b7210704599a41, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_a4c75e81063e4d0c50b7210704599a41, type_description_1, par_cls, par_prefix, par_name, par_namespace, var_obj ); // Release cached frame. if ( frame_a4c75e81063e4d0c50b7210704599a41 == cache_frame_a4c75e81063e4d0c50b7210704599a41 ) { Py_DECREF( frame_a4c75e81063e4d0c50b7210704599a41 ); } cache_frame_a4c75e81063e4d0c50b7210704599a41 = NULL; assertFrameObject( frame_a4c75e81063e4d0c50b7210704599a41 ); // 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( bs4$element$$$function_2___new__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( par_prefix ); par_prefix = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_namespace ); par_namespace = NULL; } { Py_XDECREF( var_obj ); var_obj = 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_cls ); par_cls = NULL; } { Py_XDECREF( par_prefix ); par_prefix = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_namespace ); par_namespace = NULL; } { Py_XDECREF( var_obj ); var_obj = 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( bs4$element$$$function_2___new__ ); 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_bs4$element$$$function_3___new__( 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_cls = python_pars[ 0 ]; PyObject *par_original_value = python_pars[ 1 ]; PyObject *var_obj = NULL; struct Nuitka_FrameObject *frame_2139c8e38639112c68fcbdb532dd01ed; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_2139c8e38639112c68fcbdb532dd01ed = 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_2139c8e38639112c68fcbdb532dd01ed, codeobj_2139c8e38639112c68fcbdb532dd01ed, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_2139c8e38639112c68fcbdb532dd01ed = cache_frame_2139c8e38639112c68fcbdb532dd01ed; // Push the new frame as the currently active one. pushFrameStack( frame_2139c8e38639112c68fcbdb532dd01ed ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_2139c8e38639112c68fcbdb532dd01ed ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; tmp_called_instance_1 = (PyObject *)&PyUnicode_Type; CHECK_OBJECT( par_cls ); tmp_args_element_name_1 = par_cls; CHECK_OBJECT( par_original_value ); tmp_args_element_name_2 = par_original_value; frame_2139c8e38639112c68fcbdb532dd01ed->m_frame.f_lineno = 58; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain___new__, call_args ); } if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 58; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_obj == NULL ); var_obj = tmp_assign_source_1; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( par_original_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "original_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 59; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = par_original_value; CHECK_OBJECT( var_obj ); tmp_assattr_target_1 = var_obj; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_original_value, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 59; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { if ( var_obj == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "obj" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 60; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = var_obj; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_2139c8e38639112c68fcbdb532dd01ed ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2139c8e38639112c68fcbdb532dd01ed ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2139c8e38639112c68fcbdb532dd01ed ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_2139c8e38639112c68fcbdb532dd01ed, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_2139c8e38639112c68fcbdb532dd01ed->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_2139c8e38639112c68fcbdb532dd01ed, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_2139c8e38639112c68fcbdb532dd01ed, type_description_1, par_cls, par_original_value, var_obj ); // Release cached frame. if ( frame_2139c8e38639112c68fcbdb532dd01ed == cache_frame_2139c8e38639112c68fcbdb532dd01ed ) { Py_DECREF( frame_2139c8e38639112c68fcbdb532dd01ed ); } cache_frame_2139c8e38639112c68fcbdb532dd01ed = NULL; assertFrameObject( frame_2139c8e38639112c68fcbdb532dd01ed ); // 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( bs4$element$$$function_3___new__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( par_original_value ); par_original_value = NULL; } { Py_XDECREF( var_obj ); var_obj = 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_cls ); par_cls = NULL; } { Py_XDECREF( par_original_value ); par_original_value = NULL; } { Py_XDECREF( var_obj ); var_obj = 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( bs4$element$$$function_3___new__ ); 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_bs4$element$$$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_encoding = python_pars[ 1 ]; PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { CHECK_OBJECT( par_encoding ); tmp_return_value = par_encoding; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_4_encode ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_encoding ); par_encoding = NULL; } { goto function_return_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_4_encode ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_bs4$element$$$function_5___new__( 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_cls = python_pars[ 0 ]; PyObject *par_original_value = python_pars[ 1 ]; PyObject *var_match = NULL; PyObject *var_obj = NULL; struct Nuitka_FrameObject *frame_cd573e43528415ebdf1d513e182b54ae; 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; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_cd573e43528415ebdf1d513e182b54ae = 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_cd573e43528415ebdf1d513e182b54ae, codeobj_cd573e43528415ebdf1d513e182b54ae, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_cd573e43528415ebdf1d513e182b54ae = cache_frame_cd573e43528415ebdf1d513e182b54ae; // Push the new frame as the currently active one. pushFrameStack( frame_cd573e43528415ebdf1d513e182b54ae ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_cd573e43528415ebdf1d513e182b54ae ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_cls ); tmp_source_name_2 = par_cls; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_CHARSET_RE ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 78; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_search ); 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 = 78; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_original_value == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "original_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 78; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_original_value; frame_cd573e43528415ebdf1d513e182b54ae->m_frame.f_lineno = 78; { 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 = 78; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_match == NULL ); var_match = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( var_match ); tmp_compexpr_left_1 = var_match; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; tmp_source_name_3 = (PyObject *)&PyUnicode_Type; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain___new__ ); assert( !(tmp_called_name_2 == NULL) ); tmp_args_element_name_2 = (PyObject *)&PyUnicode_Type; if ( par_original_value == 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", "original_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 81; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_original_value; frame_cd573e43528415ebdf1d513e182b54ae->m_frame.f_lineno = 81; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 81; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_3; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; tmp_source_name_4 = (PyObject *)&PyUnicode_Type; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___new__ ); assert( !(tmp_called_name_3 == NULL) ); if ( par_cls == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 83; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_cls; if ( par_original_value == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "original_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 83; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_original_value; frame_cd573e43528415ebdf1d513e182b54ae->m_frame.f_lineno = 83; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 83; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_obj == NULL ); var_obj = tmp_assign_source_2; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( par_original_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "original_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 84; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = par_original_value; CHECK_OBJECT( var_obj ); tmp_assattr_target_1 = var_obj; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_original_value, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; type_description_1 = "oooo"; goto frame_exception_exit_1; } } { if ( var_obj == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "obj" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 85; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = var_obj; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_cd573e43528415ebdf1d513e182b54ae ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cd573e43528415ebdf1d513e182b54ae ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cd573e43528415ebdf1d513e182b54ae ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_cd573e43528415ebdf1d513e182b54ae, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_cd573e43528415ebdf1d513e182b54ae->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_cd573e43528415ebdf1d513e182b54ae, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_cd573e43528415ebdf1d513e182b54ae, type_description_1, par_cls, par_original_value, var_match, var_obj ); // Release cached frame. if ( frame_cd573e43528415ebdf1d513e182b54ae == cache_frame_cd573e43528415ebdf1d513e182b54ae ) { Py_DECREF( frame_cd573e43528415ebdf1d513e182b54ae ); } cache_frame_cd573e43528415ebdf1d513e182b54ae = NULL; assertFrameObject( frame_cd573e43528415ebdf1d513e182b54ae ); // 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( bs4$element$$$function_5___new__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( par_original_value ); par_original_value = NULL; } { Py_XDECREF( var_match ); var_match = NULL; } { Py_XDECREF( var_obj ); var_obj = 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_cls ); par_cls = NULL; } { Py_XDECREF( par_original_value ); par_original_value = NULL; } { Py_XDECREF( var_match ); var_match = NULL; } { Py_XDECREF( var_obj ); var_obj = 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( bs4$element$$$function_5___new__ ); 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_bs4$element$$$function_6_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 ]; struct Nuitka_CellObject *par_encoding = PyCell_NEW1( python_pars[ 1 ] ); PyObject *var_rewrite = NULL; struct Nuitka_FrameObject *frame_38dbdeb6dc0225007c26f4882ae11e91; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_38dbdeb6dc0225007c26f4882ae11e91 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = MAKE_FUNCTION_bs4$element$$$function_6_encode$$$function_1_rewrite( ); ((struct Nuitka_FunctionObject *)tmp_assign_source_1)->m_closure[0] = par_encoding; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_1)->m_closure[0] ); assert( var_rewrite == NULL ); var_rewrite = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_38dbdeb6dc0225007c26f4882ae11e91, codeobj_38dbdeb6dc0225007c26f4882ae11e91, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_38dbdeb6dc0225007c26f4882ae11e91 = cache_frame_38dbdeb6dc0225007c26f4882ae11e91; // Push the new frame as the currently active one. pushFrameStack( frame_38dbdeb6dc0225007c26f4882ae11e91 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_38dbdeb6dc0225007c26f4882ae11e91 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_3; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_CHARSET_RE ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 90; type_description_1 = "oco"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_sub ); 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 = 90; type_description_1 = "oco"; goto frame_exception_exit_1; } if ( var_rewrite == 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", "rewrite" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 90; type_description_1 = "oco"; goto frame_exception_exit_1; } tmp_args_element_name_1 = var_rewrite; 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 = 90; type_description_1 = "oco"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_original_value ); 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 = 90; type_description_1 = "oco"; goto frame_exception_exit_1; } frame_38dbdeb6dc0225007c26f4882ae11e91->m_frame.f_lineno = 90; { 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_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 90; type_description_1 = "oco"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_38dbdeb6dc0225007c26f4882ae11e91 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_38dbdeb6dc0225007c26f4882ae11e91 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_38dbdeb6dc0225007c26f4882ae11e91 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_38dbdeb6dc0225007c26f4882ae11e91, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_38dbdeb6dc0225007c26f4882ae11e91->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_38dbdeb6dc0225007c26f4882ae11e91, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_38dbdeb6dc0225007c26f4882ae11e91, type_description_1, par_self, par_encoding, var_rewrite ); // Release cached frame. if ( frame_38dbdeb6dc0225007c26f4882ae11e91 == cache_frame_38dbdeb6dc0225007c26f4882ae11e91 ) { Py_DECREF( frame_38dbdeb6dc0225007c26f4882ae11e91 ); } cache_frame_38dbdeb6dc0225007c26f4882ae11e91 = NULL; assertFrameObject( frame_38dbdeb6dc0225007c26f4882ae11e91 ); // 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( bs4$element$$$function_6_encode ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { CHECK_OBJECT( (PyObject *)par_encoding ); Py_DECREF( par_encoding ); par_encoding = NULL; } { Py_XDECREF( var_rewrite ); var_rewrite = 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; } { CHECK_OBJECT( (PyObject *)par_encoding ); Py_DECREF( par_encoding ); par_encoding = NULL; } { Py_XDECREF( var_rewrite ); var_rewrite = 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( bs4$element$$$function_6_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_bs4$element$$$function_6_encode$$$function_1_rewrite( 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_match = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_978b1826bf8f1afeb0862dfb5ffc4203; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_978b1826bf8f1afeb0862dfb5ffc4203 = 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_978b1826bf8f1afeb0862dfb5ffc4203, codeobj_978b1826bf8f1afeb0862dfb5ffc4203, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_978b1826bf8f1afeb0862dfb5ffc4203 = cache_frame_978b1826bf8f1afeb0862dfb5ffc4203; // Push the new frame as the currently active one. pushFrameStack( frame_978b1826bf8f1afeb0862dfb5ffc4203 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_978b1826bf8f1afeb0862dfb5ffc4203 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_left_name_1; PyObject *tmp_called_instance_1; PyObject *tmp_right_name_1; CHECK_OBJECT( par_match ); tmp_called_instance_1 = par_match; frame_978b1826bf8f1afeb0862dfb5ffc4203->m_frame.f_lineno = 89; tmp_left_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_group, &PyTuple_GET_ITEM( const_tuple_int_pos_1_tuple, 0 ) ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_1 = "oc"; goto frame_exception_exit_1; } if ( PyCell_GET( self->m_closure[0] ) == NULL ) { Py_DECREF( tmp_left_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 89; type_description_1 = "oc"; goto frame_exception_exit_1; } tmp_right_name_1 = PyCell_GET( self->m_closure[0] ); tmp_return_value = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_1 = "oc"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_978b1826bf8f1afeb0862dfb5ffc4203 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_978b1826bf8f1afeb0862dfb5ffc4203 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_978b1826bf8f1afeb0862dfb5ffc4203 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_978b1826bf8f1afeb0862dfb5ffc4203, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_978b1826bf8f1afeb0862dfb5ffc4203->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_978b1826bf8f1afeb0862dfb5ffc4203, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_978b1826bf8f1afeb0862dfb5ffc4203, type_description_1, par_match, self->m_closure[0] ); // Release cached frame. if ( frame_978b1826bf8f1afeb0862dfb5ffc4203 == cache_frame_978b1826bf8f1afeb0862dfb5ffc4203 ) { Py_DECREF( frame_978b1826bf8f1afeb0862dfb5ffc4203 ); } cache_frame_978b1826bf8f1afeb0862dfb5ffc4203 = NULL; assertFrameObject( frame_978b1826bf8f1afeb0862dfb5ffc4203 ); // 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( bs4$element$$$function_6_encode$$$function_1_rewrite ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_match ); par_match = 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_match ); par_match = 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( bs4$element$$$function_6_encode$$$function_1_rewrite ); 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_bs4$element$$$function_7__substitute_if_appropriate( 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_cls = python_pars[ 0 ]; PyObject *par_ns = python_pars[ 1 ]; PyObject *par_f = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_324c95006a1075a2f7bba964c8d63dec; 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_324c95006a1075a2f7bba964c8d63dec = 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_324c95006a1075a2f7bba964c8d63dec, codeobj_324c95006a1075a2f7bba964c8d63dec, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_324c95006a1075a2f7bba964c8d63dec = cache_frame_324c95006a1075a2f7bba964c8d63dec; // Push the new frame as the currently active one. pushFrameStack( frame_324c95006a1075a2f7bba964c8d63dec ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_324c95006a1075a2f7bba964c8d63dec ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; PyObject *tmp_source_name_4; CHECK_OBJECT( par_ns ); tmp_isinstance_inst_1 = par_ns; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_NavigableString ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NavigableString ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NavigableString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 111; type_description_1 = "ooo"; 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 = 111; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; CHECK_OBJECT( par_ns ); tmp_source_name_1 = par_ns; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_parent ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 112; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Py_None; tmp_and_left_value_2 = ( tmp_compexpr_left_1 != tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_1 ); tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if ( par_ns == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ns" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 113; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_ns; tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_parent ); if ( tmp_source_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 113; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_name ); Py_DECREF( tmp_source_name_2 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 113; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_cls == NULL ) { Py_DECREF( tmp_compexpr_left_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 113; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_cls; tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_cdata_containing_tags ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_2 ); exception_lineno = 113; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_res = PySequence_Contains( tmp_compexpr_right_2, tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 113; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_and_right_value_2 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_right_value_1 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_and_right_value_1 = tmp_and_left_value_2; and_end_2:; 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:; { if ( par_ns == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ns" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 115; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = par_ns; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; if ( par_f == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "f" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 117; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = par_f; if ( par_ns == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ns" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 117; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_ns; frame_324c95006a1075a2f7bba964c8d63dec->m_frame.f_lineno = 117; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 117; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_324c95006a1075a2f7bba964c8d63dec ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_324c95006a1075a2f7bba964c8d63dec ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_324c95006a1075a2f7bba964c8d63dec ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_324c95006a1075a2f7bba964c8d63dec, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_324c95006a1075a2f7bba964c8d63dec->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_324c95006a1075a2f7bba964c8d63dec, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_324c95006a1075a2f7bba964c8d63dec, type_description_1, par_cls, par_ns, par_f ); // Release cached frame. if ( frame_324c95006a1075a2f7bba964c8d63dec == cache_frame_324c95006a1075a2f7bba964c8d63dec ) { Py_DECREF( frame_324c95006a1075a2f7bba964c8d63dec ); } cache_frame_324c95006a1075a2f7bba964c8d63dec = NULL; assertFrameObject( frame_324c95006a1075a2f7bba964c8d63dec ); // 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( bs4$element$$$function_7__substitute_if_appropriate ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( par_ns ); par_ns = NULL; } { Py_XDECREF( par_f ); par_f = 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_cls ); par_cls = NULL; } { Py_XDECREF( par_ns ); par_ns = NULL; } { Py_XDECREF( par_f ); par_f = 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( bs4$element$$$function_7__substitute_if_appropriate ); 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_bs4$element$$$function_8_substitute_html( 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_cls = python_pars[ 0 ]; PyObject *par_ns = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_6eeb6fe017912b4805c0497b38281403; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_6eeb6fe017912b4805c0497b38281403 = 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_6eeb6fe017912b4805c0497b38281403, codeobj_6eeb6fe017912b4805c0497b38281403, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_6eeb6fe017912b4805c0497b38281403 = cache_frame_6eeb6fe017912b4805c0497b38281403; // Push the new frame as the currently active one. pushFrameStack( frame_6eeb6fe017912b4805c0497b38281403 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_6eeb6fe017912b4805c0497b38281403 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_1; CHECK_OBJECT( par_cls ); tmp_source_name_1 = par_cls; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__substitute_if_appropriate ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 121; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_ns == 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", "ns" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 122; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_ns; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_EntitySubstitution ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EntitySubstitution ); } 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", "EntitySubstitution" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 122; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_1; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_substitute_html ); 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 = 122; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_6eeb6fe017912b4805c0497b38281403->m_frame.f_lineno = 121; { 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_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 121; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_6eeb6fe017912b4805c0497b38281403 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6eeb6fe017912b4805c0497b38281403 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6eeb6fe017912b4805c0497b38281403 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_6eeb6fe017912b4805c0497b38281403, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_6eeb6fe017912b4805c0497b38281403->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_6eeb6fe017912b4805c0497b38281403, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_6eeb6fe017912b4805c0497b38281403, type_description_1, par_cls, par_ns ); // Release cached frame. if ( frame_6eeb6fe017912b4805c0497b38281403 == cache_frame_6eeb6fe017912b4805c0497b38281403 ) { Py_DECREF( frame_6eeb6fe017912b4805c0497b38281403 ); } cache_frame_6eeb6fe017912b4805c0497b38281403 = NULL; assertFrameObject( frame_6eeb6fe017912b4805c0497b38281403 ); // 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( bs4$element$$$function_8_substitute_html ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( par_ns ); par_ns = 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_cls ); par_cls = NULL; } { Py_XDECREF( par_ns ); par_ns = 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( bs4$element$$$function_8_substitute_html ); 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_bs4$element$$$function_9_substitute_xml( 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_cls = python_pars[ 0 ]; PyObject *par_ns = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_c586ec013c86a80af9dc6a67a37d539e; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_c586ec013c86a80af9dc6a67a37d539e = 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_c586ec013c86a80af9dc6a67a37d539e, codeobj_c586ec013c86a80af9dc6a67a37d539e, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_c586ec013c86a80af9dc6a67a37d539e = cache_frame_c586ec013c86a80af9dc6a67a37d539e; // Push the new frame as the currently active one. pushFrameStack( frame_c586ec013c86a80af9dc6a67a37d539e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c586ec013c86a80af9dc6a67a37d539e ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_1; CHECK_OBJECT( par_cls ); tmp_source_name_1 = par_cls; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__substitute_if_appropriate ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 126; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_ns == 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", "ns" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 127; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_ns; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_EntitySubstitution ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EntitySubstitution ); } 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", "EntitySubstitution" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 127; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_1; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_substitute_xml ); 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 = 127; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_c586ec013c86a80af9dc6a67a37d539e->m_frame.f_lineno = 126; { 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_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 126; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_c586ec013c86a80af9dc6a67a37d539e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c586ec013c86a80af9dc6a67a37d539e ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c586ec013c86a80af9dc6a67a37d539e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c586ec013c86a80af9dc6a67a37d539e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c586ec013c86a80af9dc6a67a37d539e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c586ec013c86a80af9dc6a67a37d539e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c586ec013c86a80af9dc6a67a37d539e, type_description_1, par_cls, par_ns ); // Release cached frame. if ( frame_c586ec013c86a80af9dc6a67a37d539e == cache_frame_c586ec013c86a80af9dc6a67a37d539e ) { Py_DECREF( frame_c586ec013c86a80af9dc6a67a37d539e ); } cache_frame_c586ec013c86a80af9dc6a67a37d539e = NULL; assertFrameObject( frame_c586ec013c86a80af9dc6a67a37d539e ); // 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( bs4$element$$$function_9_substitute_xml ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( par_ns ); par_ns = 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_cls ); par_cls = NULL; } { Py_XDECREF( par_ns ); par_ns = 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( bs4$element$$$function_9_substitute_xml ); 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_bs4$element$$$function_10_substitute_entities( 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_args = python_pars[ 1 ]; PyObject *par_kwargs = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_8e0f1dd0be8123da3f75bdef7b5b3299; 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; static struct Nuitka_FrameObject *cache_frame_8e0f1dd0be8123da3f75bdef7b5b3299 = 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_8e0f1dd0be8123da3f75bdef7b5b3299, codeobj_8e0f1dd0be8123da3f75bdef7b5b3299, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_8e0f1dd0be8123da3f75bdef7b5b3299 = cache_frame_8e0f1dd0be8123da3f75bdef7b5b3299; // Push the new frame as the currently active one. pushFrameStack( frame_8e0f1dd0be8123da3f75bdef7b5b3299 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8e0f1dd0be8123da3f75bdef7b5b3299 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_raise_type_1; frame_8e0f1dd0be8123da3f75bdef7b5b3299->m_frame.f_lineno = 137; tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS( PyExc_NotImplementedError ); assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 137; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; goto frame_exception_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_8e0f1dd0be8123da3f75bdef7b5b3299 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8e0f1dd0be8123da3f75bdef7b5b3299 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8e0f1dd0be8123da3f75bdef7b5b3299, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8e0f1dd0be8123da3f75bdef7b5b3299->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8e0f1dd0be8123da3f75bdef7b5b3299, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8e0f1dd0be8123da3f75bdef7b5b3299, type_description_1, par_self, par_args, par_kwargs ); // Release cached frame. if ( frame_8e0f1dd0be8123da3f75bdef7b5b3299 == cache_frame_8e0f1dd0be8123da3f75bdef7b5b3299 ) { Py_DECREF( frame_8e0f1dd0be8123da3f75bdef7b5b3299 ); } cache_frame_8e0f1dd0be8123da3f75bdef7b5b3299 = NULL; assertFrameObject( frame_8e0f1dd0be8123da3f75bdef7b5b3299 ); // 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( bs4$element$$$function_10_substitute_entities ); return NULL; // 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 *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_10_substitute_entities ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; } static PyObject *impl_bs4$element$$$function_11_substitute( 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_args = python_pars[ 1 ]; PyObject *par_kwargs = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_5c45d7df7f7665ba7cc22679967112bf; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_5c45d7df7f7665ba7cc22679967112bf = 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_5c45d7df7f7665ba7cc22679967112bf, codeobj_5c45d7df7f7665ba7cc22679967112bf, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_5c45d7df7f7665ba7cc22679967112bf = cache_frame_5c45d7df7f7665ba7cc22679967112bf; // Push the new frame as the currently active one. pushFrameStack( frame_5c45d7df7f7665ba7cc22679967112bf ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5c45d7df7f7665ba7cc22679967112bf ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_dircall_arg3_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_HTMLAwareEntitySubstitution ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTMLAwareEntitySubstitution ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTMLAwareEntitySubstitution" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 142; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_substitute_html ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 142; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_args == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 142; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dircall_arg2_1 = par_args; if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); 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 = 142; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg2_1 ); Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 142; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_5c45d7df7f7665ba7cc22679967112bf ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5c45d7df7f7665ba7cc22679967112bf ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5c45d7df7f7665ba7cc22679967112bf ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5c45d7df7f7665ba7cc22679967112bf, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5c45d7df7f7665ba7cc22679967112bf->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5c45d7df7f7665ba7cc22679967112bf, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5c45d7df7f7665ba7cc22679967112bf, type_description_1, par_self, par_args, par_kwargs ); // Release cached frame. if ( frame_5c45d7df7f7665ba7cc22679967112bf == cache_frame_5c45d7df7f7665ba7cc22679967112bf ) { Py_DECREF( frame_5c45d7df7f7665ba7cc22679967112bf ); } cache_frame_5c45d7df7f7665ba7cc22679967112bf = NULL; assertFrameObject( frame_5c45d7df7f7665ba7cc22679967112bf ); // 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( bs4$element$$$function_11_substitute ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_11_substitute ); 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_bs4$element$$$function_12_substitute( 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_args = python_pars[ 1 ]; PyObject *par_kwargs = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_6a79a26f7e51735b6c67728179d549c0; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_6a79a26f7e51735b6c67728179d549c0 = 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_6a79a26f7e51735b6c67728179d549c0, codeobj_6a79a26f7e51735b6c67728179d549c0, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_6a79a26f7e51735b6c67728179d549c0 = cache_frame_6a79a26f7e51735b6c67728179d549c0; // Push the new frame as the currently active one. pushFrameStack( frame_6a79a26f7e51735b6c67728179d549c0 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_6a79a26f7e51735b6c67728179d549c0 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_dircall_arg3_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_HTMLAwareEntitySubstitution ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTMLAwareEntitySubstitution ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTMLAwareEntitySubstitution" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 147; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_substitute_xml ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 147; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_args == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 147; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dircall_arg2_1 = par_args; if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); 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 = 147; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg2_1 ); Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 147; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_6a79a26f7e51735b6c67728179d549c0 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6a79a26f7e51735b6c67728179d549c0 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6a79a26f7e51735b6c67728179d549c0 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_6a79a26f7e51735b6c67728179d549c0, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_6a79a26f7e51735b6c67728179d549c0->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_6a79a26f7e51735b6c67728179d549c0, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_6a79a26f7e51735b6c67728179d549c0, type_description_1, par_self, par_args, par_kwargs ); // Release cached frame. if ( frame_6a79a26f7e51735b6c67728179d549c0 == cache_frame_6a79a26f7e51735b6c67728179d549c0 ) { Py_DECREF( frame_6a79a26f7e51735b6c67728179d549c0 ); } cache_frame_6a79a26f7e51735b6c67728179d549c0 = NULL; assertFrameObject( frame_6a79a26f7e51735b6c67728179d549c0 ); // 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( bs4$element$$$function_12_substitute ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_12_substitute ); 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_bs4$element$$$function_13_substitute( 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_args = python_pars[ 1 ]; PyObject *par_kwargs = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_441e6c94a379252059ac5a5617b050c2; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_441e6c94a379252059ac5a5617b050c2 = 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_441e6c94a379252059ac5a5617b050c2, codeobj_441e6c94a379252059ac5a5617b050c2, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_441e6c94a379252059ac5a5617b050c2 = cache_frame_441e6c94a379252059ac5a5617b050c2; // Push the new frame as the currently active one. pushFrameStack( frame_441e6c94a379252059ac5a5617b050c2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_441e6c94a379252059ac5a5617b050c2 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_dircall_arg3_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_EntitySubstitution ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EntitySubstitution ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EntitySubstitution" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 156; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_substitute_xml ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 156; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_args == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 156; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dircall_arg2_1 = par_args; if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); 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 = 156; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg2_1 ); Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 156; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_441e6c94a379252059ac5a5617b050c2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_441e6c94a379252059ac5a5617b050c2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_441e6c94a379252059ac5a5617b050c2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_441e6c94a379252059ac5a5617b050c2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_441e6c94a379252059ac5a5617b050c2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_441e6c94a379252059ac5a5617b050c2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_441e6c94a379252059ac5a5617b050c2, type_description_1, par_self, par_args, par_kwargs ); // Release cached frame. if ( frame_441e6c94a379252059ac5a5617b050c2 == cache_frame_441e6c94a379252059ac5a5617b050c2 ) { Py_DECREF( frame_441e6c94a379252059ac5a5617b050c2 ); } cache_frame_441e6c94a379252059ac5a5617b050c2 = NULL; assertFrameObject( frame_441e6c94a379252059ac5a5617b050c2 ); // 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( bs4$element$$$function_13_substitute ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_13_substitute ); 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_bs4$element$$$function_14_substitute( 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_args = python_pars[ 1 ]; PyObject *par_kwargs = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_30328e22e5f65f8a5122c3ffc563c6a8; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_30328e22e5f65f8a5122c3ffc563c6a8 = 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_30328e22e5f65f8a5122c3ffc563c6a8, codeobj_30328e22e5f65f8a5122c3ffc563c6a8, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_30328e22e5f65f8a5122c3ffc563c6a8 = cache_frame_30328e22e5f65f8a5122c3ffc563c6a8; // Push the new frame as the currently active one. pushFrameStack( frame_30328e22e5f65f8a5122c3ffc563c6a8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_30328e22e5f65f8a5122c3ffc563c6a8 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_dircall_arg3_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_HTMLAwareEntitySubstitution ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTMLAwareEntitySubstitution ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTMLAwareEntitySubstitution" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 161; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_substitute_html ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 161; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_args == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 161; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dircall_arg2_1 = par_args; if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); 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 = 161; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg2_1 ); Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 161; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_30328e22e5f65f8a5122c3ffc563c6a8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_30328e22e5f65f8a5122c3ffc563c6a8 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_30328e22e5f65f8a5122c3ffc563c6a8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_30328e22e5f65f8a5122c3ffc563c6a8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_30328e22e5f65f8a5122c3ffc563c6a8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_30328e22e5f65f8a5122c3ffc563c6a8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_30328e22e5f65f8a5122c3ffc563c6a8, type_description_1, par_self, par_args, par_kwargs ); // Release cached frame. if ( frame_30328e22e5f65f8a5122c3ffc563c6a8 == cache_frame_30328e22e5f65f8a5122c3ffc563c6a8 ) { Py_DECREF( frame_30328e22e5f65f8a5122c3ffc563c6a8 ); } cache_frame_30328e22e5f65f8a5122c3ffc563c6a8 = NULL; assertFrameObject( frame_30328e22e5f65f8a5122c3ffc563c6a8 ); // 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( bs4$element$$$function_14_substitute ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_14_substitute ); 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_bs4$element$$$function_15_format_string( 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_s = python_pars[ 1 ]; PyObject *par_formatter = python_pars[ 2 ]; PyObject *var_output = NULL; struct Nuitka_FrameObject *frame_97ba68284dfc5691fe6a0cceae719018; 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_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_97ba68284dfc5691fe6a0cceae719018 = 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_97ba68284dfc5691fe6a0cceae719018, codeobj_97ba68284dfc5691fe6a0cceae719018, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_97ba68284dfc5691fe6a0cceae719018 = cache_frame_97ba68284dfc5691fe6a0cceae719018; // Push the new frame as the currently active one. pushFrameStack( frame_97ba68284dfc5691fe6a0cceae719018 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_97ba68284dfc5691fe6a0cceae719018 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; CHECK_OBJECT( par_formatter ); tmp_isinstance_inst_1 = par_formatter; tmp_isinstance_cls_1 = (PyObject *)&PyUnicode_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 205; 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_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__formatter_for_name ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 206; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_formatter == 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", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 206; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_formatter; frame_97ba68284dfc5691fe6a0cceae719018->m_frame.f_lineno = 206; { 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 = 206; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = par_formatter; par_formatter = tmp_assign_source_1; Py_XDECREF( old ); } } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_formatter ); tmp_compexpr_left_1 = par_formatter; tmp_compexpr_right_1 = Py_None; tmp_condition_result_2 = ( tmp_compexpr_left_1 == tmp_compexpr_right_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_2; if ( par_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 208; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = par_s; assert( var_output == NULL ); Py_INCREF( tmp_assign_source_2 ); var_output = tmp_assign_source_2; } goto branch_end_2; branch_no_2:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_called_name_2; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_2; int tmp_truth_name_1; tmp_called_name_2 = LOOKUP_BUILTIN( const_str_plain_callable ); assert( tmp_called_name_2 != NULL ); if ( par_formatter == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 210; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_formatter; frame_97ba68284dfc5691fe6a0cceae719018->m_frame.f_lineno = 210; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 210; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 210; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_1 == 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_3; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_3; if ( par_formatter == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 212; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_name_3 = par_formatter; if ( par_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 212; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_s; frame_97ba68284dfc5691fe6a0cceae719018->m_frame.f_lineno = 212; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 212; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_output == NULL ); var_output = tmp_assign_source_3; } goto branch_end_3; branch_no_3:; { PyObject *tmp_assign_source_4; PyObject *tmp_called_name_4; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_4; if ( par_formatter == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 214; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_formatter; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_substitute ); if ( tmp_called_name_4 == 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; } if ( par_s == 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", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 214; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_s; frame_97ba68284dfc5691fe6a0cceae719018->m_frame.f_lineno = 214; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_assign_source_4 == 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_output == NULL ); var_output = tmp_assign_source_4; } branch_end_3:; } branch_end_2:; } { if ( var_output == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "output" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 215; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = var_output; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_97ba68284dfc5691fe6a0cceae719018 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_97ba68284dfc5691fe6a0cceae719018 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_97ba68284dfc5691fe6a0cceae719018 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_97ba68284dfc5691fe6a0cceae719018, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_97ba68284dfc5691fe6a0cceae719018->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_97ba68284dfc5691fe6a0cceae719018, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_97ba68284dfc5691fe6a0cceae719018, type_description_1, par_self, par_s, par_formatter, var_output ); // Release cached frame. if ( frame_97ba68284dfc5691fe6a0cceae719018 == cache_frame_97ba68284dfc5691fe6a0cceae719018 ) { Py_DECREF( frame_97ba68284dfc5691fe6a0cceae719018 ); } cache_frame_97ba68284dfc5691fe6a0cceae719018 = NULL; assertFrameObject( frame_97ba68284dfc5691fe6a0cceae719018 ); // 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( bs4$element$$$function_15_format_string ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_s ); par_s = NULL; } { Py_XDECREF( par_formatter ); par_formatter = NULL; } { Py_XDECREF( var_output ); var_output = 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_s ); par_s = NULL; } { Py_XDECREF( par_formatter ); par_formatter = NULL; } { Py_XDECREF( var_output ); var_output = 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( bs4$element$$$function_15_format_string ); 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_bs4$element$$$function_16__is_xml( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_f3814657fbcff8715502c0eb9cf589d8; 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_f3814657fbcff8715502c0eb9cf589d8 = 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_f3814657fbcff8715502c0eb9cf589d8, codeobj_f3814657fbcff8715502c0eb9cf589d8, module_bs4$element, sizeof(void *) ); frame_f3814657fbcff8715502c0eb9cf589d8 = cache_frame_f3814657fbcff8715502c0eb9cf589d8; // Push the new frame as the currently active one. pushFrameStack( frame_f3814657fbcff8715502c0eb9cf589d8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_f3814657fbcff8715502c0eb9cf589d8 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_known_xml ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 226; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 != tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { 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 = 229; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_known_xml ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 229; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 234; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_parent ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 234; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_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 = 238; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_getattr_target_1 = par_self; tmp_getattr_attr_1 = const_str_plain_is_xml; tmp_getattr_default_1 = Py_False; tmp_return_value = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 238; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_2:; } { PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 239; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_parent ); if ( tmp_source_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 239; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__is_xml ); Py_DECREF( tmp_source_name_4 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 239; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_f3814657fbcff8715502c0eb9cf589d8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f3814657fbcff8715502c0eb9cf589d8 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f3814657fbcff8715502c0eb9cf589d8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_f3814657fbcff8715502c0eb9cf589d8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_f3814657fbcff8715502c0eb9cf589d8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_f3814657fbcff8715502c0eb9cf589d8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_f3814657fbcff8715502c0eb9cf589d8, type_description_1, par_self ); // Release cached frame. if ( frame_f3814657fbcff8715502c0eb9cf589d8 == cache_frame_f3814657fbcff8715502c0eb9cf589d8 ) { Py_DECREF( frame_f3814657fbcff8715502c0eb9cf589d8 ); } cache_frame_f3814657fbcff8715502c0eb9cf589d8 = NULL; assertFrameObject( frame_f3814657fbcff8715502c0eb9cf589d8 ); // 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( bs4$element$$$function_16__is_xml ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_16__is_xml ); 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_bs4$element$$$function_17__formatter_for_name( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_84722cb5268b352f18eaf34c08590e22; 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_84722cb5268b352f18eaf34c08590e22 = 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_84722cb5268b352f18eaf34c08590e22, codeobj_84722cb5268b352f18eaf34c08590e22, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_84722cb5268b352f18eaf34c08590e22 = cache_frame_84722cb5268b352f18eaf34c08590e22; // Push the new frame as the currently active one. pushFrameStack( frame_84722cb5268b352f18eaf34c08590e22 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_84722cb5268b352f18eaf34c08590e22 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_source_name_1; PyObject *tmp_attribute_value_1; int tmp_truth_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__is_xml ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 243; 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 = 243; 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_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_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 = 244; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_XML_FORMATTERS ); if ( tmp_source_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 244; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_get ); Py_DECREF( tmp_source_name_2 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 244; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 244; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_name; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_XMLFormatter ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_XMLFormatter ); } 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", "XMLFormatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 244; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_1; frame_84722cb5268b352f18eaf34c08590e22->m_frame.f_lineno = 244; tmp_args_element_name_2 = CALL_FUNCTION_NO_ARGS( tmp_called_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_1 ); exception_lineno = 244; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_84722cb5268b352f18eaf34c08590e22->m_frame.f_lineno = 244; { 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_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 244; type_description_1 = "oo"; 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_4; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_called_name_4; PyObject *tmp_mvar_value_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 = 246; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_HTML_FORMATTERS ); if ( tmp_source_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 246; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_get ); Py_DECREF( tmp_source_name_4 ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 246; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 246; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_name; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_HTMLFormatter ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTMLFormatter ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTMLFormatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 246; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_4 = tmp_mvar_value_2; frame_84722cb5268b352f18eaf34c08590e22->m_frame.f_lineno = 246; tmp_args_element_name_4 = CALL_FUNCTION_NO_ARGS( tmp_called_name_4 ); 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 = 246; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_84722cb5268b352f18eaf34c08590e22->m_frame.f_lineno = 246; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( 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 = 246; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_84722cb5268b352f18eaf34c08590e22 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_84722cb5268b352f18eaf34c08590e22 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_84722cb5268b352f18eaf34c08590e22 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_84722cb5268b352f18eaf34c08590e22, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_84722cb5268b352f18eaf34c08590e22->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_84722cb5268b352f18eaf34c08590e22, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_84722cb5268b352f18eaf34c08590e22, type_description_1, par_self, par_name ); // Release cached frame. if ( frame_84722cb5268b352f18eaf34c08590e22 == cache_frame_84722cb5268b352f18eaf34c08590e22 ) { Py_DECREF( frame_84722cb5268b352f18eaf34c08590e22 ); } cache_frame_84722cb5268b352f18eaf34c08590e22 = NULL; assertFrameObject( frame_84722cb5268b352f18eaf34c08590e22 ); // 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( bs4$element$$$function_17__formatter_for_name ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_17__formatter_for_name ); 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_bs4$element$$$function_18_setup( 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_parent = python_pars[ 1 ]; PyObject *par_previous_element = python_pars[ 2 ]; PyObject *par_next_element = python_pars[ 3 ]; PyObject *par_previous_sibling = python_pars[ 4 ]; PyObject *par_next_sibling = python_pars[ 5 ]; struct Nuitka_FrameObject *frame_c1bb9aa299d57ef72d613e6227ea67aa; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; static struct Nuitka_FrameObject *cache_frame_c1bb9aa299d57ef72d613e6227ea67aa = 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_c1bb9aa299d57ef72d613e6227ea67aa, codeobj_c1bb9aa299d57ef72d613e6227ea67aa, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_c1bb9aa299d57ef72d613e6227ea67aa = cache_frame_c1bb9aa299d57ef72d613e6227ea67aa; // Push the new frame as the currently active one. pushFrameStack( frame_c1bb9aa299d57ef72d613e6227ea67aa ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c1bb9aa299d57ef72d613e6227ea67aa ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( par_parent ); tmp_assattr_name_1 = par_parent; CHECK_OBJECT( par_self ); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_parent, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 252; type_description_1 = "oooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; if ( par_previous_element == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "previous_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 254; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assattr_name_2 = par_previous_element; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 254; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_previous_element, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 254; type_description_1 = "oooooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( par_previous_element == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "previous_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 255; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = par_previous_element; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 != tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; PyObject *tmp_source_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 = 256; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assattr_name_3 = par_self; 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 = 256; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_assattr_target_3 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_previous_element ); if ( tmp_assattr_target_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 256; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_next_element, tmp_assattr_name_3 ); Py_DECREF( tmp_assattr_target_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 256; type_description_1 = "oooooo"; goto frame_exception_exit_1; } } branch_no_1:; } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; if ( par_next_element == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 258; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assattr_name_4 = par_next_element; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 258; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_next_element, tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 258; type_description_1 = "oooooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_source_name_2; 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 = 259; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_next_element ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 259; type_description_1 = "oooooo"; 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 = 259; type_description_1 = "oooooo"; 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_assattr_name_5; PyObject *tmp_assattr_target_5; PyObject *tmp_source_name_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 260; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assattr_name_5 = par_self; 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 = 260; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_assattr_target_5 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_next_element ); if ( tmp_assattr_target_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 260; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_previous_element, tmp_assattr_name_5 ); Py_DECREF( tmp_assattr_target_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 260; type_description_1 = "oooooo"; goto frame_exception_exit_1; } } branch_no_2:; } { PyObject *tmp_assattr_name_6; PyObject *tmp_assattr_target_6; if ( par_next_sibling == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_sibling" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 262; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assattr_name_6 = par_next_sibling; 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 = 262; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assattr_target_6 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain_next_sibling, tmp_assattr_name_6 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 262; type_description_1 = "oooooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_3; PyObject *tmp_source_name_4; PyObject *tmp_attribute_value_2; int tmp_truth_name_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 263; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_attribute_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_next_sibling ); if ( tmp_attribute_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 263; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE( tmp_attribute_value_2 ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_2 ); exception_lineno = 263; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_2 ); if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assattr_name_7; PyObject *tmp_assattr_target_7; PyObject *tmp_source_name_5; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 264; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assattr_name_7 = par_self; 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 = 264; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_assattr_target_7 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_next_sibling ); if ( tmp_assattr_target_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 264; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_7, const_str_plain_previous_sibling, tmp_assattr_name_7 ); Py_DECREF( tmp_assattr_target_7 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 264; type_description_1 = "oooooo"; goto frame_exception_exit_1; } } branch_no_3:; } { nuitka_bool tmp_condition_result_4; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_operand_name_1; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_6; PyObject *tmp_source_name_7; PyObject *tmp_source_name_8; PyObject *tmp_attribute_value_3; int tmp_truth_name_3; if ( par_previous_sibling == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "previous_sibling" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 266; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = par_previous_sibling; 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 = 266; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 267; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_parent ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 267; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = Py_None; tmp_and_left_value_2 = ( tmp_compexpr_left_2 != tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_2 ); tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if ( par_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 = 267; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_8 = par_self; tmp_source_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_parent ); if ( tmp_source_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 267; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_attribute_value_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_contents ); Py_DECREF( tmp_source_name_7 ); if ( tmp_attribute_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 267; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_truth_name_3 = CHECK_IF_TRUE( tmp_attribute_value_3 ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_3 ); exception_lineno = 267; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_and_right_value_2 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_3 ); tmp_and_right_value_1 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_and_right_value_1 = tmp_and_left_value_2; and_end_2:; tmp_condition_result_4 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_4 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_assign_source_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_9; PyObject *tmp_source_name_10; PyObject *tmp_subscript_name_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 268; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_10 = par_self; tmp_source_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_parent ); if ( tmp_source_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 268; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_contents ); Py_DECREF( tmp_source_name_9 ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 268; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_int_neg_1; tmp_assign_source_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, -1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 268; type_description_1 = "oooooo"; goto frame_exception_exit_1; } { PyObject *old = par_previous_sibling; par_previous_sibling = tmp_assign_source_1; Py_XDECREF( old ); } } branch_no_4:; } { PyObject *tmp_assattr_name_8; PyObject *tmp_assattr_target_8; if ( par_previous_sibling == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "previous_sibling" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 270; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assattr_name_8 = par_previous_sibling; 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 = 270; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assattr_target_8 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_8, const_str_plain_previous_sibling, tmp_assattr_name_8 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 270; type_description_1 = "oooooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_5; int tmp_truth_name_4; if ( par_previous_sibling == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "previous_sibling" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 271; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_truth_name_4 = CHECK_IF_TRUE( par_previous_sibling ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 271; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_condition_result_5 = tmp_truth_name_4 == 1 ? 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_assattr_name_9; PyObject *tmp_assattr_target_9; PyObject *tmp_source_name_11; 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 = 272; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assattr_name_9 = par_self; 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 = 272; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_11 = par_self; tmp_assattr_target_9 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_previous_sibling ); if ( tmp_assattr_target_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 272; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_9, const_str_plain_next_sibling, tmp_assattr_name_9 ); Py_DECREF( tmp_assattr_target_9 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 272; type_description_1 = "oooooo"; goto frame_exception_exit_1; } } branch_no_5:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_c1bb9aa299d57ef72d613e6227ea67aa ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c1bb9aa299d57ef72d613e6227ea67aa ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c1bb9aa299d57ef72d613e6227ea67aa, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c1bb9aa299d57ef72d613e6227ea67aa->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c1bb9aa299d57ef72d613e6227ea67aa, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c1bb9aa299d57ef72d613e6227ea67aa, type_description_1, par_self, par_parent, par_previous_element, par_next_element, par_previous_sibling, par_next_sibling ); // Release cached frame. if ( frame_c1bb9aa299d57ef72d613e6227ea67aa == cache_frame_c1bb9aa299d57ef72d613e6227ea67aa ) { Py_DECREF( frame_c1bb9aa299d57ef72d613e6227ea67aa ); } cache_frame_c1bb9aa299d57ef72d613e6227ea67aa = NULL; assertFrameObject( frame_c1bb9aa299d57ef72d613e6227ea67aa ); // 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( bs4$element$$$function_18_setup ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_parent ); par_parent = NULL; } { Py_XDECREF( par_previous_element ); par_previous_element = NULL; } { Py_XDECREF( par_next_element ); par_next_element = NULL; } { Py_XDECREF( par_previous_sibling ); par_previous_sibling = NULL; } { Py_XDECREF( par_next_sibling ); par_next_sibling = 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_parent ); par_parent = NULL; } { Py_XDECREF( par_previous_element ); par_previous_element = NULL; } { Py_XDECREF( par_next_element ); par_next_element = NULL; } { Py_XDECREF( par_previous_sibling ); par_previous_sibling = NULL; } { Py_XDECREF( par_next_sibling ); par_next_sibling = 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( bs4$element$$$function_18_setup ); 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_bs4$element$$$function_19_replace_with( 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_replace_with = python_pars[ 1 ]; PyObject *var_old_parent = NULL; PyObject *var_my_index = NULL; struct Nuitka_FrameObject *frame_68198a743b2077f17ee6416293f47a2c; 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; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_68198a743b2077f17ee6416293f47a2c = 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_68198a743b2077f17ee6416293f47a2c, codeobj_68198a743b2077f17ee6416293f47a2c, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_68198a743b2077f17ee6416293f47a2c = cache_frame_68198a743b2077f17ee6416293f47a2c; // Push the new frame as the currently active one. pushFrameStack( frame_68198a743b2077f17ee6416293f47a2c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_68198a743b2077f17ee6416293f47a2c ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_operand_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_parent ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 278; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 278; 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; tmp_make_exception_arg_1 = const_str_digest_966b532e2f3ba00ecd4d1fb36c023539; frame_68198a743b2077f17ee6416293f47a2c->m_frame.f_lineno = 279; { 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) ); exception_type = tmp_raise_type_1; exception_lineno = 279; 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_1; PyObject *tmp_compexpr_right_1; if ( par_replace_with == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "replace_with" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 282; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = par_replace_with; 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 = 282; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = par_self; tmp_condition_result_2 = ( tmp_compexpr_left_1 == tmp_compexpr_right_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:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_2:; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_2; if ( par_replace_with == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "replace_with" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 284; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = par_replace_with; 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 = 284; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_parent ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 284; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_right_2 ); if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_raise_type_2; PyObject *tmp_make_exception_arg_2; tmp_make_exception_arg_2 = const_str_digest_3a6a8193326a0cc096673b1c1e043757; frame_68198a743b2077f17ee6416293f47a2c->m_frame.f_lineno = 285; { PyObject *call_args[] = { tmp_make_exception_arg_2 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_2 == NULL) ); exception_type = tmp_raise_type_2; exception_lineno = 285; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_3:; } { PyObject *tmp_assign_source_1; PyObject *tmp_source_name_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 286; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_parent ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 286; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_old_parent == NULL ); var_old_parent = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 287; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_parent ); if ( tmp_source_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 287; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_index ); Py_DECREF( tmp_source_name_4 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 287; type_description_1 = "oooo"; 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 = 287; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_self; frame_68198a743b2077f17ee6416293f47a2c->m_frame.f_lineno = 287; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 287; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_my_index == NULL ); var_my_index = tmp_assign_source_2; } { PyObject *tmp_called_instance_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 288; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; frame_68198a743b2077f17ee6416293f47a2c->m_frame.f_lineno = 288; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_extract ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 288; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_6; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; if ( var_old_parent == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "old_parent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 289; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_6 = var_old_parent; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_insert ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 289; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( var_my_index == 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", "my_index" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 289; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = var_my_index; if ( par_replace_with == 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", "replace_with" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 289; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_replace_with; frame_68198a743b2077f17ee6416293f47a2c->m_frame.f_lineno = 289; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 289; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { 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 = 290; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = par_self; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_68198a743b2077f17ee6416293f47a2c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_68198a743b2077f17ee6416293f47a2c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_68198a743b2077f17ee6416293f47a2c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_68198a743b2077f17ee6416293f47a2c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_68198a743b2077f17ee6416293f47a2c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_68198a743b2077f17ee6416293f47a2c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_68198a743b2077f17ee6416293f47a2c, type_description_1, par_self, par_replace_with, var_old_parent, var_my_index ); // Release cached frame. if ( frame_68198a743b2077f17ee6416293f47a2c == cache_frame_68198a743b2077f17ee6416293f47a2c ) { Py_DECREF( frame_68198a743b2077f17ee6416293f47a2c ); } cache_frame_68198a743b2077f17ee6416293f47a2c = NULL; assertFrameObject( frame_68198a743b2077f17ee6416293f47a2c ); // 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( bs4$element$$$function_19_replace_with ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_replace_with ); par_replace_with = NULL; } { Py_XDECREF( var_old_parent ); var_old_parent = NULL; } { Py_XDECREF( var_my_index ); var_my_index = 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_replace_with ); par_replace_with = NULL; } { Py_XDECREF( var_old_parent ); var_old_parent = NULL; } { Py_XDECREF( var_my_index ); var_my_index = 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( bs4$element$$$function_19_replace_with ); 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_bs4$element$$$function_20_unwrap( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *var_my_parent = NULL; PyObject *var_my_index = NULL; PyObject *var_child = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_affcca277c5f9aa14119821922ee34dc; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_affcca277c5f9aa14119821922ee34dc = 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_affcca277c5f9aa14119821922ee34dc, codeobj_affcca277c5f9aa14119821922ee34dc, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_affcca277c5f9aa14119821922ee34dc = cache_frame_affcca277c5f9aa14119821922ee34dc; // Push the new frame as the currently active one. pushFrameStack( frame_affcca277c5f9aa14119821922ee34dc ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_affcca277c5f9aa14119821922ee34dc ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_parent ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 294; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_my_parent == NULL ); var_my_parent = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; 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 = 295; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_operand_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_parent ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 295; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 295; 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; tmp_make_exception_arg_1 = const_str_digest_d1ef6bd6894bac52c44d6c442c9cf379; frame_affcca277c5f9aa14119821922ee34dc->m_frame.f_lineno = 296; { 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) ); exception_type = tmp_raise_type_1; exception_lineno = 296; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_3; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 299; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_parent ); if ( tmp_source_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 299; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_index ); Py_DECREF( tmp_source_name_3 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 299; type_description_1 = "oooo"; 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 = 299; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_self; frame_affcca277c5f9aa14119821922ee34dc->m_frame.f_lineno = 299; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 299; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_my_index == NULL ); var_my_index = tmp_assign_source_2; } { PyObject *tmp_called_instance_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 300; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; frame_affcca277c5f9aa14119821922ee34dc->m_frame.f_lineno = 300; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_extract ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 300; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_3; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_2; PyObject *tmp_args_element_name_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_5; PyObject *tmp_subscript_name_1; tmp_called_name_2 = (PyObject *)&PyReversed_Type; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 301; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_contents ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 301; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_slice_none_none_none; tmp_args_element_name_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 301; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_affcca277c5f9aa14119821922ee34dc->m_frame.f_lineno = 301; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_args_element_name_2 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 301; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 301; 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_3; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_4 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_4 == 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 = 301; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_5 = tmp_for_loop_1__iter_value; { PyObject *old = var_child; var_child = tmp_assign_source_5; Py_INCREF( var_child ); Py_XDECREF( old ); } } { PyObject *tmp_called_name_3; PyObject *tmp_source_name_6; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; if ( var_my_parent == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "my_parent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 302; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_source_name_6 = var_my_parent; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_insert ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; type_description_1 = "oooo"; goto try_except_handler_2; } if ( var_my_index == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "my_index" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 302; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_args_element_name_3 = var_my_index; if ( var_child == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 302; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_args_element_name_4 = var_child; frame_affcca277c5f9aa14119821922ee34dc->m_frame.f_lineno = 302; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; type_description_1 = "oooo"; 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 = 301; 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; } { if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 303; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = par_self; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_affcca277c5f9aa14119821922ee34dc ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_affcca277c5f9aa14119821922ee34dc ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_affcca277c5f9aa14119821922ee34dc ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_affcca277c5f9aa14119821922ee34dc, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_affcca277c5f9aa14119821922ee34dc->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_affcca277c5f9aa14119821922ee34dc, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_affcca277c5f9aa14119821922ee34dc, type_description_1, par_self, var_my_parent, var_my_index, var_child ); // Release cached frame. if ( frame_affcca277c5f9aa14119821922ee34dc == cache_frame_affcca277c5f9aa14119821922ee34dc ) { Py_DECREF( frame_affcca277c5f9aa14119821922ee34dc ); } cache_frame_affcca277c5f9aa14119821922ee34dc = NULL; assertFrameObject( frame_affcca277c5f9aa14119821922ee34dc ); // 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( bs4$element$$$function_20_unwrap ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_my_parent ); var_my_parent = NULL; } { Py_XDECREF( var_my_index ); var_my_index = NULL; } { Py_XDECREF( var_child ); var_child = 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( var_my_parent ); var_my_parent = NULL; } { Py_XDECREF( var_my_index ); var_my_index = NULL; } { Py_XDECREF( var_child ); var_child = 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( bs4$element$$$function_20_unwrap ); 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_bs4$element$$$function_21_wrap( 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_wrap_inside = python_pars[ 1 ]; PyObject *var_me = NULL; struct Nuitka_FrameObject *frame_8af4efe251cbc84190fc020fbbf4094b; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_8af4efe251cbc84190fc020fbbf4094b = 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_8af4efe251cbc84190fc020fbbf4094b, codeobj_8af4efe251cbc84190fc020fbbf4094b, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_8af4efe251cbc84190fc020fbbf4094b = cache_frame_8af4efe251cbc84190fc020fbbf4094b; // Push the new frame as the currently active one. pushFrameStack( frame_8af4efe251cbc84190fc020fbbf4094b ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8af4efe251cbc84190fc020fbbf4094b ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_replace_with ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 308; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_wrap_inside == 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", "wrap_inside" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 308; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_wrap_inside; frame_8af4efe251cbc84190fc020fbbf4094b->m_frame.f_lineno = 308; { 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 = 308; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_me == NULL ); var_me = tmp_assign_source_1; } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_2; if ( par_wrap_inside == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "wrap_inside" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 309; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_wrap_inside; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_append ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 309; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( var_me == 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", "me" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 309; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = var_me; frame_8af4efe251cbc84190fc020fbbf4094b->m_frame.f_lineno = 309; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 309; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { if ( par_wrap_inside == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "wrap_inside" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 310; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = par_wrap_inside; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_8af4efe251cbc84190fc020fbbf4094b ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8af4efe251cbc84190fc020fbbf4094b ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8af4efe251cbc84190fc020fbbf4094b ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8af4efe251cbc84190fc020fbbf4094b, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8af4efe251cbc84190fc020fbbf4094b->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8af4efe251cbc84190fc020fbbf4094b, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8af4efe251cbc84190fc020fbbf4094b, type_description_1, par_self, par_wrap_inside, var_me ); // Release cached frame. if ( frame_8af4efe251cbc84190fc020fbbf4094b == cache_frame_8af4efe251cbc84190fc020fbbf4094b ) { Py_DECREF( frame_8af4efe251cbc84190fc020fbbf4094b ); } cache_frame_8af4efe251cbc84190fc020fbbf4094b = NULL; assertFrameObject( frame_8af4efe251cbc84190fc020fbbf4094b ); // 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( bs4$element$$$function_21_wrap ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_wrap_inside ); par_wrap_inside = NULL; } { Py_XDECREF( var_me ); var_me = 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_wrap_inside ); par_wrap_inside = NULL; } { Py_XDECREF( var_me ); var_me = 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( bs4$element$$$function_21_wrap ); 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_bs4$element$$$function_22_extract( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *var_last_child = NULL; PyObject *var_next_element = NULL; struct Nuitka_FrameObject *frame_80194037f97e3366fc4f5506f80d408e; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_80194037f97e3366fc4f5506f80d408e = 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_80194037f97e3366fc4f5506f80d408e, codeobj_80194037f97e3366fc4f5506f80d408e, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_80194037f97e3366fc4f5506f80d408e = cache_frame_80194037f97e3366fc4f5506f80d408e; // Push the new frame as the currently active one. pushFrameStack( frame_80194037f97e3366fc4f5506f80d408e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_80194037f97e3366fc4f5506f80d408e ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_parent ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 314; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 != tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_delsubscr_target_1; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; PyObject *tmp_delsubscr_subscript_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 315; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_parent ); if ( tmp_source_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 315; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_delsubscr_target_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_contents ); Py_DECREF( tmp_source_name_2 ); if ( tmp_delsubscr_target_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 315; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_delsubscr_target_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 = 315; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_parent ); if ( tmp_source_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_delsubscr_target_1 ); exception_lineno = 315; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_index ); Py_DECREF( tmp_source_name_4 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_delsubscr_target_1 ); exception_lineno = 315; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_delsubscr_target_1 ); Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 315; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_self; frame_80194037f97e3366fc4f5506f80d408e->m_frame.f_lineno = 315; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_delsubscr_subscript_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_delsubscr_subscript_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_delsubscr_target_1 ); exception_lineno = 315; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_result = DEL_SUBSCRIPT( tmp_delsubscr_target_1, tmp_delsubscr_subscript_1 ); Py_DECREF( tmp_delsubscr_target_1 ); Py_DECREF( tmp_delsubscr_subscript_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 315; type_description_1 = "ooo"; goto frame_exception_exit_1; } } branch_no_1:; } { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 320; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; frame_80194037f97e3366fc4f5506f80d408e->m_frame.f_lineno = 320; tmp_assign_source_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain__last_descendant ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 320; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_last_child == NULL ); var_last_child = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_source_name_6; CHECK_OBJECT( var_last_child ); tmp_source_name_6 = var_last_child; tmp_assign_source_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_next_element ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 321; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_next_element == NULL ); var_next_element = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_2; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_7; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_source_name_8; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 323; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_self; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_previous_element ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 323; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = Py_None; tmp_and_left_value_1 = ( tmp_compexpr_left_2 != tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_2 ); tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 324; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_8 = par_self; tmp_compexpr_left_3 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_previous_element ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 324; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( var_next_element == NULL ) { Py_DECREF( tmp_compexpr_left_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 324; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_3 = var_next_element; tmp_and_right_value_1 = ( tmp_compexpr_left_3 != tmp_compexpr_right_3 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_3 ); tmp_condition_result_2 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_2 = tmp_and_left_value_1; and_end_1:; 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; PyObject *tmp_source_name_9; if ( var_next_element == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 325; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = var_next_element; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 325; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_9 = par_self; tmp_assattr_target_1 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_previous_element ); if ( tmp_assattr_target_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 325; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_next_element, tmp_assattr_name_1 ); Py_DECREF( tmp_assattr_target_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 325; type_description_1 = "ooo"; goto frame_exception_exit_1; } } branch_no_2:; } { nuitka_bool tmp_condition_result_3; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_source_name_10; if ( var_next_element == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 326; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_left_4 = var_next_element; tmp_compexpr_right_4 = Py_None; tmp_and_left_value_2 = ( tmp_compexpr_left_4 != tmp_compexpr_right_4 ) ? 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 ( var_next_element == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 326; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_left_5 = var_next_element; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 326; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_10 = par_self; tmp_compexpr_right_5 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_previous_element ); if ( tmp_compexpr_right_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 326; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_and_right_value_2 = ( tmp_compexpr_left_5 != tmp_compexpr_right_5 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_right_5 ); tmp_condition_result_3 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_3 = tmp_and_left_value_2; and_end_2:; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assattr_name_2; PyObject *tmp_source_name_11; PyObject *tmp_assattr_target_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 = 327; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_11 = par_self; tmp_assattr_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_previous_element ); if ( tmp_assattr_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 327; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( var_next_element == 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", "next_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 327; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = var_next_element; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_previous_element, 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 = 327; type_description_1 = "ooo"; goto frame_exception_exit_1; } } branch_no_3:; } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; tmp_assattr_name_3 = Py_None; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 328; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_previous_element, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 328; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; tmp_assattr_name_4 = Py_None; if ( var_last_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "last_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 329; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_4 = var_last_child; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_next_element, tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 329; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_assattr_target_5; tmp_assattr_name_5 = Py_None; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 331; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_parent, tmp_assattr_name_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 331; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_4; int tmp_and_left_truth_3; nuitka_bool tmp_and_left_value_3; nuitka_bool tmp_and_right_value_3; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; PyObject *tmp_source_name_12; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; PyObject *tmp_source_name_13; PyObject *tmp_source_name_14; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 332; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_12 = par_self; tmp_compexpr_left_6 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_previous_sibling ); if ( tmp_compexpr_left_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 332; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_6 = Py_None; tmp_and_left_value_3 = ( tmp_compexpr_left_6 != tmp_compexpr_right_6 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_6 ); 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 ( 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 = 333; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_13 = par_self; tmp_compexpr_left_7 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_previous_sibling ); if ( tmp_compexpr_left_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 333; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_compexpr_left_7 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 333; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_14 = par_self; tmp_compexpr_right_7 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_next_sibling ); if ( tmp_compexpr_right_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_7 ); exception_lineno = 333; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_and_right_value_3 = ( tmp_compexpr_left_7 != tmp_compexpr_right_7 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_7 ); Py_DECREF( tmp_compexpr_right_7 ); tmp_condition_result_4 = tmp_and_right_value_3; goto and_end_3; and_left_3:; tmp_condition_result_4 = tmp_and_left_value_3; and_end_3:; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_assattr_name_6; PyObject *tmp_source_name_15; PyObject *tmp_assattr_target_6; PyObject *tmp_source_name_16; 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 = 334; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_15 = par_self; tmp_assattr_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_next_sibling ); if ( tmp_assattr_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 334; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_6 ); 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 = 334; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_16 = par_self; tmp_assattr_target_6 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_previous_sibling ); if ( tmp_assattr_target_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assattr_name_6 ); exception_lineno = 334; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain_next_sibling, tmp_assattr_name_6 ); Py_DECREF( tmp_assattr_name_6 ); Py_DECREF( tmp_assattr_target_6 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 334; type_description_1 = "ooo"; goto frame_exception_exit_1; } } branch_no_4:; } { nuitka_bool tmp_condition_result_5; int tmp_and_left_truth_4; nuitka_bool tmp_and_left_value_4; nuitka_bool tmp_and_right_value_4; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; PyObject *tmp_source_name_17; PyObject *tmp_compexpr_left_9; PyObject *tmp_compexpr_right_9; PyObject *tmp_source_name_18; PyObject *tmp_source_name_19; 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 = 335; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_17 = par_self; tmp_compexpr_left_8 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain_next_sibling ); if ( tmp_compexpr_left_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 335; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_8 = Py_None; tmp_and_left_value_4 = ( tmp_compexpr_left_8 != tmp_compexpr_right_8 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_8 ); 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 ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 336; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_18 = par_self; tmp_compexpr_left_9 = LOOKUP_ATTRIBUTE( tmp_source_name_18, const_str_plain_next_sibling ); if ( tmp_compexpr_left_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 336; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_compexpr_left_9 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 336; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_19 = par_self; tmp_compexpr_right_9 = LOOKUP_ATTRIBUTE( tmp_source_name_19, const_str_plain_previous_sibling ); if ( tmp_compexpr_right_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_9 ); exception_lineno = 336; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_and_right_value_4 = ( tmp_compexpr_left_9 != tmp_compexpr_right_9 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_9 ); Py_DECREF( tmp_compexpr_right_9 ); tmp_condition_result_5 = tmp_and_right_value_4; goto and_end_4; and_left_4:; tmp_condition_result_5 = tmp_and_left_value_4; and_end_4:; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { PyObject *tmp_assattr_name_7; PyObject *tmp_source_name_20; PyObject *tmp_assattr_target_7; PyObject *tmp_source_name_21; 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 = 337; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_20 = par_self; tmp_assattr_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_20, const_str_plain_previous_sibling ); if ( tmp_assattr_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 337; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_7 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 337; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_21 = par_self; tmp_assattr_target_7 = LOOKUP_ATTRIBUTE( tmp_source_name_21, const_str_plain_next_sibling ); if ( tmp_assattr_target_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assattr_name_7 ); exception_lineno = 337; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_7, const_str_plain_previous_sibling, tmp_assattr_name_7 ); Py_DECREF( tmp_assattr_name_7 ); Py_DECREF( tmp_assattr_target_7 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 337; type_description_1 = "ooo"; goto frame_exception_exit_1; } } branch_no_5:; } { PyObject *tmp_assattr_name_8; PyObject *tmp_assattr_target_8; tmp_assattr_name_8 = Py_None; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 338; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_8 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_8, const_str_plain_previous_sibling, tmp_assattr_name_8 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 338; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_9; PyObject *tmp_assattr_target_9; tmp_assattr_name_9 = Py_None; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 338; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_9 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_9, const_str_plain_next_sibling, tmp_assattr_name_9 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 338; type_description_1 = "ooo"; goto frame_exception_exit_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 = 339; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = par_self; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_80194037f97e3366fc4f5506f80d408e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_80194037f97e3366fc4f5506f80d408e ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_80194037f97e3366fc4f5506f80d408e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_80194037f97e3366fc4f5506f80d408e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_80194037f97e3366fc4f5506f80d408e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_80194037f97e3366fc4f5506f80d408e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_80194037f97e3366fc4f5506f80d408e, type_description_1, par_self, var_last_child, var_next_element ); // Release cached frame. if ( frame_80194037f97e3366fc4f5506f80d408e == cache_frame_80194037f97e3366fc4f5506f80d408e ) { Py_DECREF( frame_80194037f97e3366fc4f5506f80d408e ); } cache_frame_80194037f97e3366fc4f5506f80d408e = NULL; assertFrameObject( frame_80194037f97e3366fc4f5506f80d408e ); // 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( bs4$element$$$function_22_extract ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_last_child ); var_last_child = NULL; } { Py_XDECREF( var_next_element ); var_next_element = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_last_child ); var_last_child = NULL; } { Py_XDECREF( var_next_element ); var_next_element = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_22_extract ); 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_bs4$element$$$function_23__last_descendant( 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_is_initialized = python_pars[ 1 ]; PyObject *par_accept_self = python_pars[ 2 ]; PyObject *var_last_child = NULL; struct Nuitka_FrameObject *frame_e459943332e46df6e47d6b496d72a30c; 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_e459943332e46df6e47d6b496d72a30c = 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_e459943332e46df6e47d6b496d72a30c, codeobj_e459943332e46df6e47d6b496d72a30c, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_e459943332e46df6e47d6b496d72a30c = cache_frame_e459943332e46df6e47d6b496d72a30c; // Push the new frame as the currently active one. pushFrameStack( frame_e459943332e46df6e47d6b496d72a30c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e459943332e46df6e47d6b496d72a30c ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; int tmp_truth_name_1; PyObject *tmp_source_name_1; PyObject *tmp_attribute_value_1; int tmp_truth_name_2; CHECK_OBJECT( par_is_initialized ); tmp_truth_name_1 = CHECK_IF_TRUE( par_is_initialized ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 343; type_description_1 = "oooo"; 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:; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_next_sibling ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 343; type_description_1 = "oooo"; 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( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_1 ); exception_lineno = 343; type_description_1 = "oooo"; 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_1; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 344; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_next_sibling ); if ( tmp_source_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 344; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_previous_element ); Py_DECREF( tmp_source_name_2 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 344; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_last_child == NULL ); var_last_child = tmp_assign_source_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_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 = 346; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = par_self; assert( var_last_child == NULL ); Py_INCREF( tmp_assign_source_2 ); var_last_child = tmp_assign_source_2; } { loop_start_1:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_1; int tmp_and_left_truth_2; PyObject *tmp_and_left_value_2; PyObject *tmp_and_right_value_2; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; PyObject *tmp_source_name_4; if ( var_last_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "last_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 347; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_1 = var_last_child; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Tag ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Tag ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 347; type_description_1 = "oooo"; 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 = 347; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_and_left_value_2 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_and_left_truth_2 = CHECK_IF_TRUE( tmp_and_left_value_2 ); if ( tmp_and_left_truth_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 347; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if ( var_last_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "last_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 347; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_4 = var_last_child; tmp_and_right_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_contents ); if ( tmp_and_right_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 347; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = tmp_and_right_value_2; goto and_end_2; and_left_2:; Py_INCREF( tmp_and_left_value_2 ); tmp_operand_name_1 = tmp_and_left_value_2; and_end_2:; 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 = 347; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { goto loop_end_1; } branch_no_2:; } { PyObject *tmp_assign_source_3; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_5; PyObject *tmp_subscript_name_1; if ( var_last_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "last_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 348; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_5 = var_last_child; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_contents ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 348; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_int_neg_1; tmp_assign_source_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, -1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 348; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = var_last_child; var_last_child = tmp_assign_source_3; Py_XDECREF( old ); } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 347; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } branch_end_1:; } { nuitka_bool tmp_condition_result_3; int tmp_and_left_truth_3; nuitka_bool tmp_and_left_value_3; nuitka_bool tmp_and_right_value_3; PyObject *tmp_operand_name_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( par_accept_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "accept_self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 349; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_operand_name_2 = par_accept_self; 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 = 349; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_and_left_value_3 = ( tmp_res == 0 ) ? 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 ( var_last_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "last_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 349; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = var_last_child; 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 = 349; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = par_self; tmp_and_right_value_3 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_3 = tmp_and_right_value_3; goto and_end_3; and_left_3:; tmp_condition_result_3 = tmp_and_left_value_3; and_end_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_4; tmp_assign_source_4 = Py_None; { PyObject *old = var_last_child; var_last_child = tmp_assign_source_4; Py_INCREF( var_last_child ); Py_XDECREF( old ); } } branch_no_3:; } { if ( var_last_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "last_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 351; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = var_last_child; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_e459943332e46df6e47d6b496d72a30c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e459943332e46df6e47d6b496d72a30c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e459943332e46df6e47d6b496d72a30c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e459943332e46df6e47d6b496d72a30c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e459943332e46df6e47d6b496d72a30c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e459943332e46df6e47d6b496d72a30c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e459943332e46df6e47d6b496d72a30c, type_description_1, par_self, par_is_initialized, par_accept_self, var_last_child ); // Release cached frame. if ( frame_e459943332e46df6e47d6b496d72a30c == cache_frame_e459943332e46df6e47d6b496d72a30c ) { Py_DECREF( frame_e459943332e46df6e47d6b496d72a30c ); } cache_frame_e459943332e46df6e47d6b496d72a30c = NULL; assertFrameObject( frame_e459943332e46df6e47d6b496d72a30c ); // 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( bs4$element$$$function_23__last_descendant ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_is_initialized ); par_is_initialized = NULL; } { Py_XDECREF( par_accept_self ); par_accept_self = NULL; } { Py_XDECREF( var_last_child ); var_last_child = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_is_initialized ); par_is_initialized = NULL; } { Py_XDECREF( par_accept_self ); par_accept_self = NULL; } { Py_XDECREF( var_last_child ); var_last_child = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_23__last_descendant ); 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_bs4$element$$$function_24_insert( 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_position = python_pars[ 1 ]; PyObject *par_new_child = python_pars[ 2 ]; PyObject *var_BeautifulSoup = NULL; PyObject *var_subchild = NULL; PyObject *var_current_index = NULL; PyObject *var_previous_child = NULL; PyObject *var_new_childs_last_element = NULL; PyObject *var_parent = NULL; PyObject *var_parents_next_sibling = NULL; PyObject *var_next_child = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_e495bbf5f921248a9a2648dbfb152f5d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_e495bbf5f921248a9a2648dbfb152f5d = 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_e495bbf5f921248a9a2648dbfb152f5d, codeobj_e495bbf5f921248a9a2648dbfb152f5d, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_e495bbf5f921248a9a2648dbfb152f5d = cache_frame_e495bbf5f921248a9a2648dbfb152f5d; // Push the new frame as the currently active one. pushFrameStack( frame_e495bbf5f921248a9a2648dbfb152f5d ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e495bbf5f921248a9a2648dbfb152f5d ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_new_child ); tmp_compexpr_left_1 = par_new_child; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_caa1311fbee6a780f68a9bf663ab8344; frame_e495bbf5f921248a9a2648dbfb152f5d->m_frame.f_lineno = 357; { 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) ); exception_type = tmp_raise_type_1; exception_lineno = 357; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 358; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = par_new_child; 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 = 358; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = par_self; tmp_condition_result_2 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_2; PyObject *tmp_make_exception_arg_2; tmp_make_exception_arg_2 = const_str_digest_9e0202f20825ee6726af59eda1c982e0; frame_e495bbf5f921248a9a2648dbfb152f5d->m_frame.f_lineno = 359; { PyObject *call_args[] = { tmp_make_exception_arg_2 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_2 == NULL) ); exception_type = tmp_raise_type_2; exception_lineno = 359; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } branch_no_2:; } { nuitka_bool tmp_condition_result_3; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; PyObject *tmp_mvar_value_1; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 360; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_1 = par_new_child; tmp_isinstance_cls_1 = (PyObject *)&PyUnicode_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 360; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 361; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_2 = par_new_child; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_NavigableString ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NavigableString ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NavigableString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 361; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_2 = tmp_mvar_value_1; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_2, tmp_isinstance_cls_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 361; type_description_1 = "ooooooooooo"; 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 = 361; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_3 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_3 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_NavigableString ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NavigableString ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NavigableString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 362; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_2; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 362; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_new_child; frame_e495bbf5f921248a9a2648dbfb152f5d->m_frame.f_lineno = 362; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 362; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_new_child; par_new_child = tmp_assign_source_1; Py_XDECREF( old ); } } branch_no_3:; } { 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_plain_bs4; tmp_globals_name_1 = (PyObject *)moduledict_bs4$element; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = const_tuple_str_plain_BeautifulSoup_tuple; tmp_level_name_1 = const_int_0; frame_e495bbf5f921248a9a2648dbfb152f5d->m_frame.f_lineno = 364; 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( &exception_type, &exception_value, &exception_tb ); exception_lineno = 364; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_BeautifulSoup ); Py_DECREF( tmp_import_name_from_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 364; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert( var_BeautifulSoup == NULL ); var_BeautifulSoup = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_isinstance_inst_3; PyObject *tmp_isinstance_cls_3; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 365; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_3 = par_new_child; CHECK_OBJECT( var_BeautifulSoup ); tmp_isinstance_cls_3 = var_BeautifulSoup; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_3, tmp_isinstance_cls_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 365; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_assign_source_3; PyObject *tmp_iter_arg_1; PyObject *tmp_list_arg_1; PyObject *tmp_source_name_1; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 368; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_new_child; tmp_list_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_contents ); if ( tmp_list_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 368; type_description_1 = "ooooooooooo"; 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 = 368; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 368; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_3; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_4 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_4 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooo"; exception_lineno = 368; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_5 = tmp_for_loop_1__iter_value; { PyObject *old = var_subchild; var_subchild = tmp_assign_source_5; Py_INCREF( var_subchild ); Py_XDECREF( old ); } } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 369; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } tmp_source_name_2 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_insert ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 369; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } if ( par_position == 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", "position" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 369; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_2 = par_position; if ( var_subchild == 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", "subchild" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 369; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_3 = var_subchild; frame_e495bbf5f921248a9a2648dbfb152f5d->m_frame.f_lineno = 369; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 369; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_6; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; if ( par_position == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "position" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 370; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } tmp_left_name_1 = par_position; tmp_right_name_1 = const_int_pos_1; tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_1, tmp_right_name_1 ); tmp_assign_source_6 = tmp_left_name_1; if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 370; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } par_position = tmp_assign_source_6; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 368; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_4:; } { PyObject *tmp_assign_source_7; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; PyObject *tmp_len_arg_1; PyObject *tmp_source_name_3; tmp_called_name_3 = LOOKUP_BUILTIN( const_str_plain_min ); assert( tmp_called_name_3 != NULL ); if ( par_position == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "position" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 372; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_position; 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 = 372; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_len_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_contents ); if ( tmp_len_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 372; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = BUILTIN_LEN( tmp_len_arg_1 ); Py_DECREF( tmp_len_arg_1 ); if ( tmp_args_element_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 372; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } frame_e495bbf5f921248a9a2648dbfb152f5d->m_frame.f_lineno = 372; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_args_element_name_5 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 372; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_position; par_position = tmp_assign_source_7; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_5; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_source_name_4; PyObject *tmp_attribute_name_1; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_source_name_5; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 373; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_new_child; tmp_attribute_name_1 = const_str_plain_parent; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_4, tmp_attribute_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 373; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 373; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_new_child; tmp_compexpr_left_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_parent ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 373; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_3 = Py_None; tmp_and_right_value_2 = ( tmp_compexpr_left_3 != tmp_compexpr_right_3 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_3 ); tmp_condition_result_5 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_5 = tmp_and_left_value_2; and_end_2:; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_source_name_6; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 376; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_new_child; tmp_compexpr_left_4 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_parent ); if ( tmp_compexpr_left_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 376; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_compexpr_left_4 ); 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 = 376; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_4 = par_self; tmp_condition_result_6 = ( tmp_compexpr_left_4 == tmp_compexpr_right_4 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_4 ); if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_assign_source_8; PyObject *tmp_called_name_4; PyObject *tmp_source_name_7; PyObject *tmp_args_element_name_6; 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 = 377; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_self; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_index ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 377; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if ( par_new_child == 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", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 377; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_new_child; frame_e495bbf5f921248a9a2648dbfb152f5d->m_frame.f_lineno = 377; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_assign_source_8 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 377; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert( var_current_index == NULL ); var_current_index = tmp_assign_source_8; } { nuitka_bool tmp_condition_result_7; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; CHECK_OBJECT( var_current_index ); tmp_compexpr_left_5 = var_current_index; if ( par_position == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "position" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 378; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_5 = par_position; tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_5, tmp_compexpr_right_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 378; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_assign_source_9; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; if ( par_position == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "position" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 383; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_left_name_2 = par_position; tmp_right_name_2 = const_int_pos_1; tmp_result = BINARY_OPERATION_INPLACE( PyNumber_InPlaceSubtract, &tmp_left_name_2, tmp_right_name_2 ); tmp_assign_source_9 = tmp_left_name_2; if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 383; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } par_position = tmp_assign_source_9; } branch_no_7:; } branch_no_6:; } { PyObject *tmp_called_instance_1; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 384; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_new_child; frame_e495bbf5f921248a9a2648dbfb152f5d->m_frame.f_lineno = 384; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_extract ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 384; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_5:; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 386; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = par_self; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 386; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_new_child; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_parent, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 386; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_8; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; if ( par_position == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "position" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 388; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_6 = par_position; tmp_compexpr_right_6 = const_int_0; tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 388; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_8 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; tmp_assattr_name_2 = Py_None; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 389; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_new_child; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_previous_sibling, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 389; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 390; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_3 = par_self; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 390; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_new_child; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_previous_element, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 390; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } goto branch_end_8; branch_no_8:; { PyObject *tmp_assign_source_10; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_8; PyObject *tmp_subscript_name_1; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 392; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_8 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_contents ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 392; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if ( par_position == 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", "position" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 392; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_left_name_3 = par_position; tmp_right_name_3 = const_int_pos_1; tmp_subscript_name_1 = BINARY_OPERATION_SUB( tmp_left_name_3, tmp_right_name_3 ); if ( tmp_subscript_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_1 ); exception_lineno = 392; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_10 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 392; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert( var_previous_child == NULL ); var_previous_child = tmp_assign_source_10; } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; CHECK_OBJECT( var_previous_child ); tmp_assattr_name_4 = var_previous_child; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 393; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_new_child; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_previous_sibling, tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 393; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_assattr_target_5; PyObject *tmp_source_name_9; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 394; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_5 = par_new_child; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 394; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_9 = par_new_child; tmp_assattr_target_5 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_previous_sibling ); if ( tmp_assattr_target_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 394; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_next_sibling, tmp_assattr_name_5 ); Py_DECREF( tmp_assattr_target_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 394; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_6; PyObject *tmp_called_instance_2; PyObject *tmp_assattr_target_6; if ( var_previous_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "previous_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 395; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = var_previous_child; frame_e495bbf5f921248a9a2648dbfb152f5d->m_frame.f_lineno = 395; tmp_assattr_name_6 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain__last_descendant, &PyTuple_GET_ITEM( const_tuple_false_tuple, 0 ) ); if ( tmp_assattr_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 395; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if ( par_new_child == NULL ) { Py_DECREF( tmp_assattr_name_6 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 395; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_6 = par_new_child; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain_previous_element, tmp_assattr_name_6 ); Py_DECREF( tmp_assattr_name_6 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 395; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } branch_end_8:; } { nuitka_bool tmp_condition_result_9; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; PyObject *tmp_source_name_10; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 396; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_10 = par_new_child; tmp_compexpr_left_7 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_previous_element ); if ( tmp_compexpr_left_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 396; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_7 = Py_None; tmp_condition_result_9 = ( tmp_compexpr_left_7 != tmp_compexpr_right_7 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_7 ); if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { PyObject *tmp_assattr_name_7; PyObject *tmp_assattr_target_7; PyObject *tmp_source_name_11; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 397; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_7 = par_new_child; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 397; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_11 = par_new_child; tmp_assattr_target_7 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_previous_element ); if ( tmp_assattr_target_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 397; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_7, const_str_plain_next_element, tmp_assattr_name_7 ); Py_DECREF( tmp_assattr_target_7 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 397; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } branch_no_9:; } { PyObject *tmp_assign_source_11; PyObject *tmp_called_instance_3; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 399; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_3 = par_new_child; frame_e495bbf5f921248a9a2648dbfb152f5d->m_frame.f_lineno = 399; tmp_assign_source_11 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain__last_descendant, &PyTuple_GET_ITEM( const_tuple_false_tuple, 0 ) ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 399; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert( var_new_childs_last_element == NULL ); var_new_childs_last_element = tmp_assign_source_11; } { nuitka_bool tmp_condition_result_10; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; PyObject *tmp_len_arg_2; PyObject *tmp_source_name_12; if ( par_position == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "position" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 401; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_8 = par_position; 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 = 401; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_12 = par_self; tmp_len_arg_2 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_contents ); if ( tmp_len_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_8 = BUILTIN_LEN( tmp_len_arg_2 ); Py_DECREF( tmp_len_arg_2 ); if ( tmp_compexpr_right_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_8, tmp_compexpr_right_8 ); Py_DECREF( tmp_compexpr_right_8 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_10 = ( 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:; { PyObject *tmp_assattr_name_8; PyObject *tmp_assattr_target_8; tmp_assattr_name_8 = Py_None; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 402; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_8 = par_new_child; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_8, const_str_plain_next_sibling, tmp_assattr_name_8 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 402; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_12; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 404; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_12 = par_self; assert( var_parent == NULL ); Py_INCREF( tmp_assign_source_12 ); var_parent = tmp_assign_source_12; } { PyObject *tmp_assign_source_13; tmp_assign_source_13 = Py_None; assert( var_parents_next_sibling == NULL ); Py_INCREF( tmp_assign_source_13 ); var_parents_next_sibling = tmp_assign_source_13; } { loop_start_2:; { nuitka_bool tmp_condition_result_11; PyObject *tmp_operand_name_2; int tmp_and_left_truth_3; PyObject *tmp_and_left_value_3; PyObject *tmp_and_right_value_3; PyObject *tmp_compexpr_left_9; PyObject *tmp_compexpr_right_9; PyObject *tmp_compexpr_left_10; PyObject *tmp_compexpr_right_10; if ( var_parents_next_sibling == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parents_next_sibling" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 406; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_9 = var_parents_next_sibling; tmp_compexpr_right_9 = Py_None; tmp_and_left_value_3 = ( tmp_compexpr_left_9 == tmp_compexpr_right_9 ) ? Py_True : Py_False; tmp_and_left_truth_3 = CHECK_IF_TRUE( tmp_and_left_value_3 ); if ( tmp_and_left_truth_3 == 1 ) { goto and_right_3; } else { goto and_left_3; } and_right_3:; if ( var_parent == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 406; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_10 = var_parent; tmp_compexpr_right_10 = Py_None; tmp_and_right_value_3 = ( tmp_compexpr_left_10 != tmp_compexpr_right_10 ) ? Py_True : Py_False; tmp_operand_name_2 = tmp_and_right_value_3; goto and_end_3; and_left_3:; tmp_operand_name_2 = tmp_and_left_value_3; and_end_3:; tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); assert( !(tmp_res == -1) ); tmp_condition_result_11 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE ) { goto branch_yes_11; } else { goto branch_no_11; } branch_yes_11:; { goto loop_end_2; } branch_no_11:; } { PyObject *tmp_assign_source_14; PyObject *tmp_source_name_13; if ( var_parent == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 407; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_13 = var_parent; tmp_assign_source_14 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_next_sibling ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 407; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_parents_next_sibling; var_parents_next_sibling = tmp_assign_source_14; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_15; PyObject *tmp_source_name_14; if ( var_parent == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 408; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_14 = var_parent; tmp_assign_source_15 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_parent ); if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 408; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_parent; var_parent = tmp_assign_source_15; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_12; PyObject *tmp_compexpr_left_11; PyObject *tmp_compexpr_right_11; if ( var_parents_next_sibling == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parents_next_sibling" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 409; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_11 = var_parents_next_sibling; tmp_compexpr_right_11 = Py_None; tmp_condition_result_12 = ( tmp_compexpr_left_11 != tmp_compexpr_right_11 ) ? 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:; { goto loop_end_2; } branch_no_12:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 406; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } goto loop_start_2; loop_end_2:; } { nuitka_bool tmp_condition_result_13; PyObject *tmp_compexpr_left_12; PyObject *tmp_compexpr_right_12; if ( var_parents_next_sibling == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parents_next_sibling" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 412; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_12 = var_parents_next_sibling; tmp_compexpr_right_12 = Py_None; tmp_condition_result_13 = ( tmp_compexpr_left_12 != tmp_compexpr_right_12 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE ) { goto branch_yes_13; } else { goto branch_no_13; } branch_yes_13:; { PyObject *tmp_assattr_name_9; PyObject *tmp_assattr_target_9; if ( var_parents_next_sibling == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parents_next_sibling" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 413; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_9 = var_parents_next_sibling; if ( var_new_childs_last_element == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_childs_last_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 413; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_9 = var_new_childs_last_element; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_9, const_str_plain_next_element, tmp_assattr_name_9 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 413; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } goto branch_end_13; branch_no_13:; { PyObject *tmp_assattr_name_10; PyObject *tmp_assattr_target_10; tmp_assattr_name_10 = Py_None; if ( var_new_childs_last_element == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_childs_last_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 417; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_10 = var_new_childs_last_element; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_10, const_str_plain_next_element, tmp_assattr_name_10 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 417; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } branch_end_13:; } goto branch_end_10; branch_no_10:; { PyObject *tmp_assign_source_16; PyObject *tmp_subscribed_name_2; PyObject *tmp_source_name_15; PyObject *tmp_subscript_name_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 419; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_15 = par_self; tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_contents ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 419; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if ( par_position == NULL ) { Py_DECREF( tmp_subscribed_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "position" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 419; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_2 = par_position; tmp_assign_source_16 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 419; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert( var_next_child == NULL ); var_next_child = tmp_assign_source_16; } { PyObject *tmp_assattr_name_11; PyObject *tmp_assattr_target_11; CHECK_OBJECT( var_next_child ); tmp_assattr_name_11 = var_next_child; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 420; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_11 = par_new_child; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_11, const_str_plain_next_sibling, tmp_assattr_name_11 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 420; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_14; PyObject *tmp_compexpr_left_13; PyObject *tmp_compexpr_right_13; PyObject *tmp_source_name_16; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 421; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_16 = par_new_child; tmp_compexpr_left_13 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_next_sibling ); if ( tmp_compexpr_left_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 421; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_13 = Py_None; tmp_condition_result_14 = ( tmp_compexpr_left_13 != tmp_compexpr_right_13 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_13 ); if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE ) { goto branch_yes_14; } else { goto branch_no_14; } branch_yes_14:; { PyObject *tmp_assattr_name_12; PyObject *tmp_assattr_target_12; PyObject *tmp_source_name_17; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 422; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_12 = par_new_child; if ( par_new_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 422; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_17 = par_new_child; tmp_assattr_target_12 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain_next_sibling ); if ( tmp_assattr_target_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 422; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_12, const_str_plain_previous_sibling, tmp_assattr_name_12 ); Py_DECREF( tmp_assattr_target_12 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 422; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } branch_no_14:; } { PyObject *tmp_assattr_name_13; PyObject *tmp_assattr_target_13; if ( var_next_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 423; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_13 = var_next_child; if ( var_new_childs_last_element == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_childs_last_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 423; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_13 = var_new_childs_last_element; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_13, const_str_plain_next_element, tmp_assattr_name_13 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 423; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } branch_end_10:; } { nuitka_bool tmp_condition_result_15; PyObject *tmp_compexpr_left_14; PyObject *tmp_compexpr_right_14; PyObject *tmp_source_name_18; if ( var_new_childs_last_element == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_childs_last_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 425; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_18 = var_new_childs_last_element; tmp_compexpr_left_14 = LOOKUP_ATTRIBUTE( tmp_source_name_18, const_str_plain_next_element ); if ( tmp_compexpr_left_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 425; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_14 = Py_None; tmp_condition_result_15 = ( tmp_compexpr_left_14 != tmp_compexpr_right_14 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_14 ); if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE ) { goto branch_yes_15; } else { goto branch_no_15; } branch_yes_15:; { PyObject *tmp_assattr_name_14; PyObject *tmp_assattr_target_14; PyObject *tmp_source_name_19; if ( var_new_childs_last_element == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_childs_last_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 426; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_14 = var_new_childs_last_element; if ( var_new_childs_last_element == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_childs_last_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 426; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_19 = var_new_childs_last_element; tmp_assattr_target_14 = LOOKUP_ATTRIBUTE( tmp_source_name_19, const_str_plain_next_element ); if ( tmp_assattr_target_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 426; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_14, const_str_plain_previous_element, tmp_assattr_name_14 ); Py_DECREF( tmp_assattr_target_14 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 426; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } branch_no_15:; } { PyObject *tmp_called_name_5; PyObject *tmp_source_name_20; PyObject *tmp_source_name_21; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 427; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_21 = par_self; tmp_source_name_20 = LOOKUP_ATTRIBUTE( tmp_source_name_21, const_str_plain_contents ); if ( tmp_source_name_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 427; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_20, const_str_plain_insert ); Py_DECREF( tmp_source_name_20 ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 427; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if ( par_position == 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", "position" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 427; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = par_position; if ( par_new_child == 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", "new_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 427; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = par_new_child; frame_e495bbf5f921248a9a2648dbfb152f5d->m_frame.f_lineno = 427; { PyObject *call_args[] = { tmp_args_element_name_7, tmp_args_element_name_8 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( 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 = 427; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_e495bbf5f921248a9a2648dbfb152f5d ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e495bbf5f921248a9a2648dbfb152f5d ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e495bbf5f921248a9a2648dbfb152f5d ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e495bbf5f921248a9a2648dbfb152f5d, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e495bbf5f921248a9a2648dbfb152f5d->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e495bbf5f921248a9a2648dbfb152f5d, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e495bbf5f921248a9a2648dbfb152f5d, type_description_1, par_self, par_position, par_new_child, var_BeautifulSoup, var_subchild, var_current_index, var_previous_child, var_new_childs_last_element, var_parent, var_parents_next_sibling, var_next_child ); // Release cached frame. if ( frame_e495bbf5f921248a9a2648dbfb152f5d == cache_frame_e495bbf5f921248a9a2648dbfb152f5d ) { Py_DECREF( frame_e495bbf5f921248a9a2648dbfb152f5d ); } cache_frame_e495bbf5f921248a9a2648dbfb152f5d = NULL; assertFrameObject( frame_e495bbf5f921248a9a2648dbfb152f5d ); // 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( bs4$element$$$function_24_insert ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_position ); par_position = NULL; } { Py_XDECREF( par_new_child ); par_new_child = NULL; } { Py_XDECREF( var_BeautifulSoup ); var_BeautifulSoup = NULL; } { Py_XDECREF( var_subchild ); var_subchild = NULL; } { Py_XDECREF( var_current_index ); var_current_index = NULL; } { Py_XDECREF( var_previous_child ); var_previous_child = NULL; } { Py_XDECREF( var_new_childs_last_element ); var_new_childs_last_element = NULL; } { Py_XDECREF( var_parent ); var_parent = NULL; } { Py_XDECREF( var_parents_next_sibling ); var_parents_next_sibling = NULL; } { Py_XDECREF( var_next_child ); var_next_child = 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_position ); par_position = NULL; } { Py_XDECREF( par_new_child ); par_new_child = NULL; } { Py_XDECREF( var_BeautifulSoup ); var_BeautifulSoup = NULL; } { Py_XDECREF( var_subchild ); var_subchild = NULL; } { Py_XDECREF( var_current_index ); var_current_index = NULL; } { Py_XDECREF( var_previous_child ); var_previous_child = NULL; } { Py_XDECREF( var_new_childs_last_element ); var_new_childs_last_element = NULL; } { Py_XDECREF( var_parent ); var_parent = NULL; } { Py_XDECREF( var_parents_next_sibling ); var_parents_next_sibling = NULL; } { Py_XDECREF( var_next_child ); var_next_child = 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( bs4$element$$$function_24_insert ); 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_bs4$element$$$function_25_append( 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_tag = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_8ef91ea3df7ef7816e362ae137dd2a18; 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_8ef91ea3df7ef7816e362ae137dd2a18 = 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_8ef91ea3df7ef7816e362ae137dd2a18, codeobj_8ef91ea3df7ef7816e362ae137dd2a18, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_8ef91ea3df7ef7816e362ae137dd2a18 = cache_frame_8ef91ea3df7ef7816e362ae137dd2a18; // Push the new frame as the currently active one. pushFrameStack( frame_8ef91ea3df7ef7816e362ae137dd2a18 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8ef91ea3df7ef7816e362ae137dd2a18 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_len_arg_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_2; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_insert ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 431; 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 = 431; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_len_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_contents ); if ( tmp_len_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 431; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = BUILTIN_LEN( tmp_len_arg_1 ); Py_DECREF( tmp_len_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 = 431; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_tag == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 431; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_tag; frame_8ef91ea3df7ef7816e362ae137dd2a18->m_frame.f_lineno = 431; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 431; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_8ef91ea3df7ef7816e362ae137dd2a18 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8ef91ea3df7ef7816e362ae137dd2a18 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8ef91ea3df7ef7816e362ae137dd2a18, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8ef91ea3df7ef7816e362ae137dd2a18->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8ef91ea3df7ef7816e362ae137dd2a18, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8ef91ea3df7ef7816e362ae137dd2a18, type_description_1, par_self, par_tag ); // Release cached frame. if ( frame_8ef91ea3df7ef7816e362ae137dd2a18 == cache_frame_8ef91ea3df7ef7816e362ae137dd2a18 ) { Py_DECREF( frame_8ef91ea3df7ef7816e362ae137dd2a18 ); } cache_frame_8ef91ea3df7ef7816e362ae137dd2a18 = NULL; assertFrameObject( frame_8ef91ea3df7ef7816e362ae137dd2a18 ); // 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( bs4$element$$$function_25_append ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_tag ); par_tag = 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_tag ); par_tag = 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( bs4$element$$$function_25_append ); 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_bs4$element$$$function_26_insert_before( 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_predecessor = python_pars[ 1 ]; PyObject *var_parent = NULL; PyObject *var_index = NULL; struct Nuitka_FrameObject *frame_0447cb3348c097b1cbf22f026aace830; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_0447cb3348c097b1cbf22f026aace830 = 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_0447cb3348c097b1cbf22f026aace830, codeobj_0447cb3348c097b1cbf22f026aace830, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_0447cb3348c097b1cbf22f026aace830 = cache_frame_0447cb3348c097b1cbf22f026aace830; // Push the new frame as the currently active one. pushFrameStack( frame_0447cb3348c097b1cbf22f026aace830 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_0447cb3348c097b1cbf22f026aace830 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_self ); tmp_compexpr_left_1 = par_self; CHECK_OBJECT( par_predecessor ); tmp_compexpr_right_1 = par_predecessor; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_6c6b5a57155bef64d81c4e3930a40571; frame_0447cb3348c097b1cbf22f026aace830->m_frame.f_lineno = 440; { 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) ); exception_type = tmp_raise_type_1; exception_lineno = 440; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_1; PyObject *tmp_source_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 = 441; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_parent ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 441; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_parent == NULL ); var_parent = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( var_parent ); tmp_compexpr_left_2 = var_parent; tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_2; PyObject *tmp_make_exception_arg_2; tmp_make_exception_arg_2 = const_str_digest_750906c63df60c8f9857f2595e15aebc; frame_0447cb3348c097b1cbf22f026aace830->m_frame.f_lineno = 443; { PyObject *call_args[] = { tmp_make_exception_arg_2 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_2 == NULL) ); exception_type = tmp_raise_type_2; exception_lineno = 443; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_2:; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; if ( par_predecessor == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "predecessor" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 447; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_1 = par_predecessor; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PageElement ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PageElement ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PageElement" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 447; type_description_1 = "oooo"; 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 = 447; type_description_1 = "oooo"; goto frame_exception_exit_1; } 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_called_instance_1; if ( par_predecessor == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "predecessor" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 448; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_predecessor; frame_0447cb3348c097b1cbf22f026aace830->m_frame.f_lineno = 448; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_extract ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 448; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_3:; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; if ( var_parent == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 449; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = var_parent; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_index ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 449; type_description_1 = "oooo"; 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 = 449; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_self; frame_0447cb3348c097b1cbf22f026aace830->m_frame.f_lineno = 449; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 449; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_index == NULL ); var_index = tmp_assign_source_2; } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; if ( var_parent == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 450; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = var_parent; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_insert ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 450; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( var_index == 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", "index" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 450; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = var_index; if ( par_predecessor == 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", "predecessor" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 450; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_predecessor; frame_0447cb3348c097b1cbf22f026aace830->m_frame.f_lineno = 450; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 450; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_0447cb3348c097b1cbf22f026aace830 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0447cb3348c097b1cbf22f026aace830 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_0447cb3348c097b1cbf22f026aace830, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_0447cb3348c097b1cbf22f026aace830->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_0447cb3348c097b1cbf22f026aace830, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_0447cb3348c097b1cbf22f026aace830, type_description_1, par_self, par_predecessor, var_parent, var_index ); // Release cached frame. if ( frame_0447cb3348c097b1cbf22f026aace830 == cache_frame_0447cb3348c097b1cbf22f026aace830 ) { Py_DECREF( frame_0447cb3348c097b1cbf22f026aace830 ); } cache_frame_0447cb3348c097b1cbf22f026aace830 = NULL; assertFrameObject( frame_0447cb3348c097b1cbf22f026aace830 ); // 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( bs4$element$$$function_26_insert_before ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_predecessor ); par_predecessor = NULL; } { Py_XDECREF( var_parent ); var_parent = NULL; } { Py_XDECREF( var_index ); var_index = 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_predecessor ); par_predecessor = NULL; } { Py_XDECREF( var_parent ); var_parent = NULL; } { Py_XDECREF( var_index ); var_index = 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( bs4$element$$$function_26_insert_before ); 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_bs4$element$$$function_27_insert_after( 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_successor = python_pars[ 1 ]; PyObject *var_parent = NULL; PyObject *var_index = NULL; struct Nuitka_FrameObject *frame_e8bc482a81565a9c34555e4be729e066; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_e8bc482a81565a9c34555e4be729e066 = 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_e8bc482a81565a9c34555e4be729e066, codeobj_e8bc482a81565a9c34555e4be729e066, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_e8bc482a81565a9c34555e4be729e066 = cache_frame_e8bc482a81565a9c34555e4be729e066; // Push the new frame as the currently active one. pushFrameStack( frame_e8bc482a81565a9c34555e4be729e066 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e8bc482a81565a9c34555e4be729e066 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_self ); tmp_compexpr_left_1 = par_self; CHECK_OBJECT( par_successor ); tmp_compexpr_right_1 = par_successor; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_5b172c0b3f4a4b2fa095be9f536d19f3; frame_e8bc482a81565a9c34555e4be729e066->m_frame.f_lineno = 459; { 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) ); exception_type = tmp_raise_type_1; exception_lineno = 459; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_1; PyObject *tmp_source_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 = 460; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_parent ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 460; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_parent == NULL ); var_parent = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( var_parent ); tmp_compexpr_left_2 = var_parent; tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_2; PyObject *tmp_make_exception_arg_2; tmp_make_exception_arg_2 = const_str_digest_de65d084d97cebdd56daaf35cf257c00; frame_e8bc482a81565a9c34555e4be729e066->m_frame.f_lineno = 462; { PyObject *call_args[] = { tmp_make_exception_arg_2 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_2 == NULL) ); exception_type = tmp_raise_type_2; exception_lineno = 462; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_2:; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; if ( par_successor == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "successor" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 466; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_1 = par_successor; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PageElement ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PageElement ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PageElement" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 466; type_description_1 = "oooo"; 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 = 466; type_description_1 = "oooo"; goto frame_exception_exit_1; } 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_called_instance_1; if ( par_successor == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "successor" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 467; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_successor; frame_e8bc482a81565a9c34555e4be729e066->m_frame.f_lineno = 467; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_extract ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 467; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_3:; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; if ( var_parent == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 468; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = var_parent; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_index ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 468; type_description_1 = "oooo"; 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 = 468; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_self; frame_e8bc482a81565a9c34555e4be729e066->m_frame.f_lineno = 468; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 468; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_index == NULL ); var_index = tmp_assign_source_2; } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_args_element_name_3; if ( var_parent == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 469; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = var_parent; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_insert ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 469; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( var_index == 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", "index" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 469; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_1 = var_index; tmp_right_name_1 = const_int_pos_1; tmp_args_element_name_2 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 469; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_successor == 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", "successor" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 469; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_successor; frame_e8bc482a81565a9c34555e4be729e066->m_frame.f_lineno = 469; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 469; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_e8bc482a81565a9c34555e4be729e066 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e8bc482a81565a9c34555e4be729e066 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e8bc482a81565a9c34555e4be729e066, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e8bc482a81565a9c34555e4be729e066->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e8bc482a81565a9c34555e4be729e066, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e8bc482a81565a9c34555e4be729e066, type_description_1, par_self, par_successor, var_parent, var_index ); // Release cached frame. if ( frame_e8bc482a81565a9c34555e4be729e066 == cache_frame_e8bc482a81565a9c34555e4be729e066 ) { Py_DECREF( frame_e8bc482a81565a9c34555e4be729e066 ); } cache_frame_e8bc482a81565a9c34555e4be729e066 = NULL; assertFrameObject( frame_e8bc482a81565a9c34555e4be729e066 ); // 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( bs4$element$$$function_27_insert_after ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_successor ); par_successor = NULL; } { Py_XDECREF( var_parent ); var_parent = NULL; } { Py_XDECREF( var_index ); var_index = 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_successor ); par_successor = NULL; } { Py_XDECREF( var_parent ); var_parent = NULL; } { Py_XDECREF( var_index ); var_index = 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( bs4$element$$$function_27_insert_after ); 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_bs4$element$$$function_28_find_next( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_attrs = python_pars[ 2 ]; PyObject *par_text = python_pars[ 3 ]; PyObject *par_kwargs = python_pars[ 4 ]; struct Nuitka_FrameObject *frame_156d9f1efa51f3dfa4650407e8270de4; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_156d9f1efa51f3dfa4650407e8270de4 = 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_156d9f1efa51f3dfa4650407e8270de4, codeobj_156d9f1efa51f3dfa4650407e8270de4, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_156d9f1efa51f3dfa4650407e8270de4 = cache_frame_156d9f1efa51f3dfa4650407e8270de4; // Push the new frame as the currently active one. pushFrameStack( frame_156d9f1efa51f3dfa4650407e8270de4 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_156d9f1efa51f3dfa4650407e8270de4 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_2; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__find_one ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 474; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_dircall_arg1_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 = 474; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_find_all_next ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dircall_arg1_1 ); exception_lineno = 474; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_dircall_arg2_1 = PyTuple_New( 4 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( par_name == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 474; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_name; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 1, tmp_tuple_element_1 ); if ( par_attrs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 474; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_attrs; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 2, tmp_tuple_element_1 ); if ( par_text == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 474; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_text; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 3, tmp_tuple_element_1 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); 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 = 474; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_5_complex_call_helper_pos_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 474; type_description_1 = "ooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_156d9f1efa51f3dfa4650407e8270de4 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_156d9f1efa51f3dfa4650407e8270de4 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_156d9f1efa51f3dfa4650407e8270de4 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_156d9f1efa51f3dfa4650407e8270de4, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_156d9f1efa51f3dfa4650407e8270de4->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_156d9f1efa51f3dfa4650407e8270de4, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_156d9f1efa51f3dfa4650407e8270de4, type_description_1, par_self, par_name, par_attrs, par_text, par_kwargs ); // Release cached frame. if ( frame_156d9f1efa51f3dfa4650407e8270de4 == cache_frame_156d9f1efa51f3dfa4650407e8270de4 ) { Py_DECREF( frame_156d9f1efa51f3dfa4650407e8270de4 ); } cache_frame_156d9f1efa51f3dfa4650407e8270de4 = NULL; assertFrameObject( frame_156d9f1efa51f3dfa4650407e8270de4 ); // 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( bs4$element$$$function_28_find_next ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_28_find_next ); 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_bs4$element$$$function_29_find_all_next( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_attrs = python_pars[ 2 ]; PyObject *par_text = python_pars[ 3 ]; PyObject *par_limit = python_pars[ 4 ]; PyObject *par_kwargs = python_pars[ 5 ]; struct Nuitka_FrameObject *frame_ccd6f806668e27e878cd52ae621d697d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_ccd6f806668e27e878cd52ae621d697d = 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_ccd6f806668e27e878cd52ae621d697d, codeobj_ccd6f806668e27e878cd52ae621d697d, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_ccd6f806668e27e878cd52ae621d697d = cache_frame_ccd6f806668e27e878cd52ae621d697d; // Push the new frame as the currently active one. pushFrameStack( frame_ccd6f806668e27e878cd52ae621d697d ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ccd6f806668e27e878cd52ae621d697d ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_2; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__find_all ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 481; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 481; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_name; tmp_dircall_arg2_1 = PyTuple_New( 5 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( par_attrs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 481; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_attrs; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 1, tmp_tuple_element_1 ); if ( par_text == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 481; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_text; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 2, tmp_tuple_element_1 ); if ( par_limit == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 481; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_limit; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 3, tmp_tuple_element_1 ); if ( par_self == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_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 = 481; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_next_elements ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_lineno = 481; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_dircall_arg2_1, 4, tmp_tuple_element_1 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); 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 = 482; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_5_complex_call_helper_pos_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 481; type_description_1 = "oooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_ccd6f806668e27e878cd52ae621d697d ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ccd6f806668e27e878cd52ae621d697d ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ccd6f806668e27e878cd52ae621d697d ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ccd6f806668e27e878cd52ae621d697d, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ccd6f806668e27e878cd52ae621d697d->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ccd6f806668e27e878cd52ae621d697d, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ccd6f806668e27e878cd52ae621d697d, type_description_1, par_self, par_name, par_attrs, par_text, par_limit, par_kwargs ); // Release cached frame. if ( frame_ccd6f806668e27e878cd52ae621d697d == cache_frame_ccd6f806668e27e878cd52ae621d697d ) { Py_DECREF( frame_ccd6f806668e27e878cd52ae621d697d ); } cache_frame_ccd6f806668e27e878cd52ae621d697d = NULL; assertFrameObject( frame_ccd6f806668e27e878cd52ae621d697d ); // 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( bs4$element$$$function_29_find_all_next ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_29_find_all_next ); 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_bs4$element$$$function_30_find_next_sibling( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_attrs = python_pars[ 2 ]; PyObject *par_text = python_pars[ 3 ]; PyObject *par_kwargs = python_pars[ 4 ]; struct Nuitka_FrameObject *frame_3a0cff0ce013f133d5689b307a344b11; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_3a0cff0ce013f133d5689b307a344b11 = 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_3a0cff0ce013f133d5689b307a344b11, codeobj_3a0cff0ce013f133d5689b307a344b11, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_3a0cff0ce013f133d5689b307a344b11 = cache_frame_3a0cff0ce013f133d5689b307a344b11; // Push the new frame as the currently active one. pushFrameStack( frame_3a0cff0ce013f133d5689b307a344b11 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_3a0cff0ce013f133d5689b307a344b11 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_2; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__find_one ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 488; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_dircall_arg1_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 = 488; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_find_next_siblings ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dircall_arg1_1 ); exception_lineno = 488; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_dircall_arg2_1 = PyTuple_New( 4 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( par_name == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 488; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_name; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 1, tmp_tuple_element_1 ); if ( par_attrs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 488; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_attrs; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 2, tmp_tuple_element_1 ); if ( par_text == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 488; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_text; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 3, tmp_tuple_element_1 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); 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 = 489; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_5_complex_call_helper_pos_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 488; type_description_1 = "ooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_3a0cff0ce013f133d5689b307a344b11 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3a0cff0ce013f133d5689b307a344b11 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3a0cff0ce013f133d5689b307a344b11 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_3a0cff0ce013f133d5689b307a344b11, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_3a0cff0ce013f133d5689b307a344b11->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_3a0cff0ce013f133d5689b307a344b11, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_3a0cff0ce013f133d5689b307a344b11, type_description_1, par_self, par_name, par_attrs, par_text, par_kwargs ); // Release cached frame. if ( frame_3a0cff0ce013f133d5689b307a344b11 == cache_frame_3a0cff0ce013f133d5689b307a344b11 ) { Py_DECREF( frame_3a0cff0ce013f133d5689b307a344b11 ); } cache_frame_3a0cff0ce013f133d5689b307a344b11 = NULL; assertFrameObject( frame_3a0cff0ce013f133d5689b307a344b11 ); // 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( bs4$element$$$function_30_find_next_sibling ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_30_find_next_sibling ); 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_bs4$element$$$function_31_find_next_siblings( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_attrs = python_pars[ 2 ]; PyObject *par_text = python_pars[ 3 ]; PyObject *par_limit = python_pars[ 4 ]; PyObject *par_kwargs = python_pars[ 5 ]; struct Nuitka_FrameObject *frame_fe7f8d3c6a6934c2f4b678aa141b340a; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_fe7f8d3c6a6934c2f4b678aa141b340a = 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_fe7f8d3c6a6934c2f4b678aa141b340a, codeobj_fe7f8d3c6a6934c2f4b678aa141b340a, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_fe7f8d3c6a6934c2f4b678aa141b340a = cache_frame_fe7f8d3c6a6934c2f4b678aa141b340a; // Push the new frame as the currently active one. pushFrameStack( frame_fe7f8d3c6a6934c2f4b678aa141b340a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_fe7f8d3c6a6934c2f4b678aa141b340a ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_2; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__find_all ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 496; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 496; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_name; tmp_dircall_arg2_1 = PyTuple_New( 5 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( par_attrs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 496; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_attrs; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 1, tmp_tuple_element_1 ); if ( par_text == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 496; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_text; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 2, tmp_tuple_element_1 ); if ( par_limit == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 496; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_limit; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 3, tmp_tuple_element_1 ); if ( par_self == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_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 = 497; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_next_siblings ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_lineno = 497; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_dircall_arg2_1, 4, tmp_tuple_element_1 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); 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 = 497; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_5_complex_call_helper_pos_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 496; type_description_1 = "oooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_fe7f8d3c6a6934c2f4b678aa141b340a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fe7f8d3c6a6934c2f4b678aa141b340a ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fe7f8d3c6a6934c2f4b678aa141b340a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_fe7f8d3c6a6934c2f4b678aa141b340a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_fe7f8d3c6a6934c2f4b678aa141b340a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_fe7f8d3c6a6934c2f4b678aa141b340a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_fe7f8d3c6a6934c2f4b678aa141b340a, type_description_1, par_self, par_name, par_attrs, par_text, par_limit, par_kwargs ); // Release cached frame. if ( frame_fe7f8d3c6a6934c2f4b678aa141b340a == cache_frame_fe7f8d3c6a6934c2f4b678aa141b340a ) { Py_DECREF( frame_fe7f8d3c6a6934c2f4b678aa141b340a ); } cache_frame_fe7f8d3c6a6934c2f4b678aa141b340a = NULL; assertFrameObject( frame_fe7f8d3c6a6934c2f4b678aa141b340a ); // 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( bs4$element$$$function_31_find_next_siblings ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_31_find_next_siblings ); 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_bs4$element$$$function_32_find_previous( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_attrs = python_pars[ 2 ]; PyObject *par_text = python_pars[ 3 ]; PyObject *par_kwargs = python_pars[ 4 ]; struct Nuitka_FrameObject *frame_64539860be2c9afaf5283f5942d8f985; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_64539860be2c9afaf5283f5942d8f985 = 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_64539860be2c9afaf5283f5942d8f985, codeobj_64539860be2c9afaf5283f5942d8f985, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_64539860be2c9afaf5283f5942d8f985 = cache_frame_64539860be2c9afaf5283f5942d8f985; // Push the new frame as the currently active one. pushFrameStack( frame_64539860be2c9afaf5283f5942d8f985 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_64539860be2c9afaf5283f5942d8f985 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_2; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__find_one ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 504; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_dircall_arg1_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 = 505; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_find_all_previous ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dircall_arg1_1 ); exception_lineno = 505; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_dircall_arg2_1 = PyTuple_New( 4 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( par_name == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 505; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_name; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 1, tmp_tuple_element_1 ); if ( par_attrs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 505; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_attrs; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 2, tmp_tuple_element_1 ); if ( par_text == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 505; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_text; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 3, tmp_tuple_element_1 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); 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 = 505; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_5_complex_call_helper_pos_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 504; type_description_1 = "ooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_64539860be2c9afaf5283f5942d8f985 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_64539860be2c9afaf5283f5942d8f985 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_64539860be2c9afaf5283f5942d8f985 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_64539860be2c9afaf5283f5942d8f985, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_64539860be2c9afaf5283f5942d8f985->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_64539860be2c9afaf5283f5942d8f985, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_64539860be2c9afaf5283f5942d8f985, type_description_1, par_self, par_name, par_attrs, par_text, par_kwargs ); // Release cached frame. if ( frame_64539860be2c9afaf5283f5942d8f985 == cache_frame_64539860be2c9afaf5283f5942d8f985 ) { Py_DECREF( frame_64539860be2c9afaf5283f5942d8f985 ); } cache_frame_64539860be2c9afaf5283f5942d8f985 = NULL; assertFrameObject( frame_64539860be2c9afaf5283f5942d8f985 ); // 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( bs4$element$$$function_32_find_previous ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_32_find_previous ); 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_bs4$element$$$function_33_find_all_previous( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_attrs = python_pars[ 2 ]; PyObject *par_text = python_pars[ 3 ]; PyObject *par_limit = python_pars[ 4 ]; PyObject *par_kwargs = python_pars[ 5 ]; struct Nuitka_FrameObject *frame_7203915b9d47169cf54bea9157e43233; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_7203915b9d47169cf54bea9157e43233 = 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_7203915b9d47169cf54bea9157e43233, codeobj_7203915b9d47169cf54bea9157e43233, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_7203915b9d47169cf54bea9157e43233 = cache_frame_7203915b9d47169cf54bea9157e43233; // Push the new frame as the currently active one. pushFrameStack( frame_7203915b9d47169cf54bea9157e43233 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7203915b9d47169cf54bea9157e43233 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_2; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__find_all ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 512; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 512; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_name; tmp_dircall_arg2_1 = PyTuple_New( 5 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( par_attrs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 512; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_attrs; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 1, tmp_tuple_element_1 ); if ( par_text == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 512; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_text; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 2, tmp_tuple_element_1 ); if ( par_limit == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 512; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_limit; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 3, tmp_tuple_element_1 ); if ( par_self == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_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 = 512; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_previous_elements ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_lineno = 512; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_dircall_arg2_1, 4, tmp_tuple_element_1 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); 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 = 513; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_5_complex_call_helper_pos_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 512; type_description_1 = "oooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_7203915b9d47169cf54bea9157e43233 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7203915b9d47169cf54bea9157e43233 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7203915b9d47169cf54bea9157e43233 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7203915b9d47169cf54bea9157e43233, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7203915b9d47169cf54bea9157e43233->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7203915b9d47169cf54bea9157e43233, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7203915b9d47169cf54bea9157e43233, type_description_1, par_self, par_name, par_attrs, par_text, par_limit, par_kwargs ); // Release cached frame. if ( frame_7203915b9d47169cf54bea9157e43233 == cache_frame_7203915b9d47169cf54bea9157e43233 ) { Py_DECREF( frame_7203915b9d47169cf54bea9157e43233 ); } cache_frame_7203915b9d47169cf54bea9157e43233 = NULL; assertFrameObject( frame_7203915b9d47169cf54bea9157e43233 ); // 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( bs4$element$$$function_33_find_all_previous ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_33_find_all_previous ); 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_bs4$element$$$function_34_find_previous_sibling( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_attrs = python_pars[ 2 ]; PyObject *par_text = python_pars[ 3 ]; PyObject *par_kwargs = python_pars[ 4 ]; struct Nuitka_FrameObject *frame_19197c8d617a094fdf2d21476a024be0; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_19197c8d617a094fdf2d21476a024be0 = 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_19197c8d617a094fdf2d21476a024be0, codeobj_19197c8d617a094fdf2d21476a024be0, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_19197c8d617a094fdf2d21476a024be0 = cache_frame_19197c8d617a094fdf2d21476a024be0; // Push the new frame as the currently active one. pushFrameStack( frame_19197c8d617a094fdf2d21476a024be0 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_19197c8d617a094fdf2d21476a024be0 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_2; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__find_one ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 520; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_dircall_arg1_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 = 520; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_find_previous_siblings ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dircall_arg1_1 ); exception_lineno = 520; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_dircall_arg2_1 = PyTuple_New( 4 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( par_name == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 520; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_name; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 1, tmp_tuple_element_1 ); if ( par_attrs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 520; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_attrs; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 2, tmp_tuple_element_1 ); if ( par_text == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 520; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_text; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 3, tmp_tuple_element_1 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); 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 = 521; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_5_complex_call_helper_pos_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 520; type_description_1 = "ooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_19197c8d617a094fdf2d21476a024be0 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_19197c8d617a094fdf2d21476a024be0 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_19197c8d617a094fdf2d21476a024be0 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_19197c8d617a094fdf2d21476a024be0, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_19197c8d617a094fdf2d21476a024be0->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_19197c8d617a094fdf2d21476a024be0, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_19197c8d617a094fdf2d21476a024be0, type_description_1, par_self, par_name, par_attrs, par_text, par_kwargs ); // Release cached frame. if ( frame_19197c8d617a094fdf2d21476a024be0 == cache_frame_19197c8d617a094fdf2d21476a024be0 ) { Py_DECREF( frame_19197c8d617a094fdf2d21476a024be0 ); } cache_frame_19197c8d617a094fdf2d21476a024be0 = NULL; assertFrameObject( frame_19197c8d617a094fdf2d21476a024be0 ); // 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( bs4$element$$$function_34_find_previous_sibling ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_34_find_previous_sibling ); 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_bs4$element$$$function_35_find_previous_siblings( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_attrs = python_pars[ 2 ]; PyObject *par_text = python_pars[ 3 ]; PyObject *par_limit = python_pars[ 4 ]; PyObject *par_kwargs = python_pars[ 5 ]; struct Nuitka_FrameObject *frame_31f4fb2abefc19737b20e2914b4ed146; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_31f4fb2abefc19737b20e2914b4ed146 = 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_31f4fb2abefc19737b20e2914b4ed146, codeobj_31f4fb2abefc19737b20e2914b4ed146, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_31f4fb2abefc19737b20e2914b4ed146 = cache_frame_31f4fb2abefc19737b20e2914b4ed146; // Push the new frame as the currently active one. pushFrameStack( frame_31f4fb2abefc19737b20e2914b4ed146 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_31f4fb2abefc19737b20e2914b4ed146 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_2; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__find_all ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 528; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 528; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_name; tmp_dircall_arg2_1 = PyTuple_New( 5 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( par_attrs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 528; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_attrs; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 1, tmp_tuple_element_1 ); if ( par_text == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 528; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_text; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 2, tmp_tuple_element_1 ); if ( par_limit == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 528; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_limit; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 3, tmp_tuple_element_1 ); if ( par_self == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_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 = 529; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_previous_siblings ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_lineno = 529; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_dircall_arg2_1, 4, tmp_tuple_element_1 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); 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 = 529; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_5_complex_call_helper_pos_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 528; type_description_1 = "oooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_31f4fb2abefc19737b20e2914b4ed146 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_31f4fb2abefc19737b20e2914b4ed146 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_31f4fb2abefc19737b20e2914b4ed146 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_31f4fb2abefc19737b20e2914b4ed146, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_31f4fb2abefc19737b20e2914b4ed146->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_31f4fb2abefc19737b20e2914b4ed146, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_31f4fb2abefc19737b20e2914b4ed146, type_description_1, par_self, par_name, par_attrs, par_text, par_limit, par_kwargs ); // Release cached frame. if ( frame_31f4fb2abefc19737b20e2914b4ed146 == cache_frame_31f4fb2abefc19737b20e2914b4ed146 ) { Py_DECREF( frame_31f4fb2abefc19737b20e2914b4ed146 ); } cache_frame_31f4fb2abefc19737b20e2914b4ed146 = NULL; assertFrameObject( frame_31f4fb2abefc19737b20e2914b4ed146 ); // 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( bs4$element$$$function_35_find_previous_siblings ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_35_find_previous_siblings ); 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_bs4$element$$$function_36_find_parent( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_attrs = python_pars[ 2 ]; PyObject *par_kwargs = python_pars[ 3 ]; PyObject *var_r = NULL; PyObject *var_l = NULL; struct Nuitka_FrameObject *frame_9d85c104cdd7f0aa2d8cc561f43f6ec2; 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_9d85c104cdd7f0aa2d8cc561f43f6ec2 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; assert( var_r == NULL ); Py_INCREF( tmp_assign_source_1 ); var_r = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_9d85c104cdd7f0aa2d8cc561f43f6ec2, codeobj_9d85c104cdd7f0aa2d8cc561f43f6ec2, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_9d85c104cdd7f0aa2d8cc561f43f6ec2 = cache_frame_9d85c104cdd7f0aa2d8cc561f43f6ec2; // Push the new frame as the currently active one. pushFrameStack( frame_9d85c104cdd7f0aa2d8cc561f43f6ec2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_9d85c104cdd7f0aa2d8cc561f43f6ec2 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_find_parents ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 539; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 539; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_name; tmp_dircall_arg2_1 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( par_attrs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 539; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_attrs; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 1, tmp_tuple_element_1 ); tmp_tuple_element_1 = const_int_pos_1; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 2, tmp_tuple_element_1 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); 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 = 539; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_assign_source_2 = impl___internal__$$$function_5_complex_call_helper_pos_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 = 539; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert( var_l == NULL ); var_l = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT( var_l ); tmp_truth_name_1 = CHECK_IF_TRUE( var_l ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 540; type_description_1 = "oooooo"; 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_assign_source_3; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( var_l ); tmp_subscribed_name_1 = var_l; tmp_subscript_name_1 = const_int_0; tmp_assign_source_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 541; type_description_1 = "oooooo"; goto frame_exception_exit_1; } { PyObject *old = var_r; var_r = tmp_assign_source_3; Py_XDECREF( old ); } } branch_no_1:; } { if ( var_r == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "r" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 542; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_return_value = var_r; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_9d85c104cdd7f0aa2d8cc561f43f6ec2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9d85c104cdd7f0aa2d8cc561f43f6ec2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9d85c104cdd7f0aa2d8cc561f43f6ec2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_9d85c104cdd7f0aa2d8cc561f43f6ec2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_9d85c104cdd7f0aa2d8cc561f43f6ec2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_9d85c104cdd7f0aa2d8cc561f43f6ec2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_9d85c104cdd7f0aa2d8cc561f43f6ec2, type_description_1, par_self, par_name, par_attrs, par_kwargs, var_r, var_l ); // Release cached frame. if ( frame_9d85c104cdd7f0aa2d8cc561f43f6ec2 == cache_frame_9d85c104cdd7f0aa2d8cc561f43f6ec2 ) { Py_DECREF( frame_9d85c104cdd7f0aa2d8cc561f43f6ec2 ); } cache_frame_9d85c104cdd7f0aa2d8cc561f43f6ec2 = NULL; assertFrameObject( frame_9d85c104cdd7f0aa2d8cc561f43f6ec2 ); // 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( bs4$element$$$function_36_find_parent ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_r ); var_r = NULL; } { Py_XDECREF( var_l ); var_l = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_r ); var_r = NULL; } { Py_XDECREF( var_l ); var_l = 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( bs4$element$$$function_36_find_parent ); 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_bs4$element$$$function_37_find_parents( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_attrs = python_pars[ 2 ]; PyObject *par_limit = python_pars[ 3 ]; PyObject *par_kwargs = python_pars[ 4 ]; struct Nuitka_FrameObject *frame_d8e1aa0631022667d6695d0244e02893; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_d8e1aa0631022667d6695d0244e02893 = 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_d8e1aa0631022667d6695d0244e02893, codeobj_d8e1aa0631022667d6695d0244e02893, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_d8e1aa0631022667d6695d0244e02893 = cache_frame_d8e1aa0631022667d6695d0244e02893; // Push the new frame as the currently active one. pushFrameStack( frame_d8e1aa0631022667d6695d0244e02893 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d8e1aa0631022667d6695d0244e02893 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_2; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__find_all ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 549; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 549; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_name; tmp_dircall_arg2_1 = PyTuple_New( 5 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( par_attrs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 549; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_attrs; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 1, tmp_tuple_element_1 ); tmp_tuple_element_1 = Py_None; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 2, tmp_tuple_element_1 ); if ( par_limit == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 549; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_limit; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 3, tmp_tuple_element_1 ); if ( par_self == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_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 = 549; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_parents ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_lineno = 549; type_description_1 = "ooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_dircall_arg2_1, 4, tmp_tuple_element_1 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); 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 = 550; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_5_complex_call_helper_pos_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 549; type_description_1 = "ooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d8e1aa0631022667d6695d0244e02893 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d8e1aa0631022667d6695d0244e02893 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d8e1aa0631022667d6695d0244e02893 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d8e1aa0631022667d6695d0244e02893, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d8e1aa0631022667d6695d0244e02893->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d8e1aa0631022667d6695d0244e02893, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d8e1aa0631022667d6695d0244e02893, type_description_1, par_self, par_name, par_attrs, par_limit, par_kwargs ); // Release cached frame. if ( frame_d8e1aa0631022667d6695d0244e02893 == cache_frame_d8e1aa0631022667d6695d0244e02893 ) { Py_DECREF( frame_d8e1aa0631022667d6695d0244e02893 ); } cache_frame_d8e1aa0631022667d6695d0244e02893 = NULL; assertFrameObject( frame_d8e1aa0631022667d6695d0244e02893 ); // 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( bs4$element$$$function_37_find_parents ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_37_find_parents ); 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_bs4$element$$$function_38_next( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_6e6068c2930c44dc05beada272c651ed; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_6e6068c2930c44dc05beada272c651ed = 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_6e6068c2930c44dc05beada272c651ed, codeobj_6e6068c2930c44dc05beada272c651ed, module_bs4$element, sizeof(void *) ); frame_6e6068c2930c44dc05beada272c651ed = cache_frame_6e6068c2930c44dc05beada272c651ed; // Push the new frame as the currently active one. pushFrameStack( frame_6e6068c2930c44dc05beada272c651ed ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_6e6068c2930c44dc05beada272c651ed ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_next_element ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 556; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_6e6068c2930c44dc05beada272c651ed ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6e6068c2930c44dc05beada272c651ed ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6e6068c2930c44dc05beada272c651ed ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_6e6068c2930c44dc05beada272c651ed, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_6e6068c2930c44dc05beada272c651ed->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_6e6068c2930c44dc05beada272c651ed, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_6e6068c2930c44dc05beada272c651ed, type_description_1, par_self ); // Release cached frame. if ( frame_6e6068c2930c44dc05beada272c651ed == cache_frame_6e6068c2930c44dc05beada272c651ed ) { Py_DECREF( frame_6e6068c2930c44dc05beada272c651ed ); } cache_frame_6e6068c2930c44dc05beada272c651ed = NULL; assertFrameObject( frame_6e6068c2930c44dc05beada272c651ed ); // 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( bs4$element$$$function_38_next ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_38_next ); 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_bs4$element$$$function_39_previous( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_6facbb6a0b7797bff09bbeee0c2d64b1; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_6facbb6a0b7797bff09bbeee0c2d64b1 = 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_6facbb6a0b7797bff09bbeee0c2d64b1, codeobj_6facbb6a0b7797bff09bbeee0c2d64b1, module_bs4$element, sizeof(void *) ); frame_6facbb6a0b7797bff09bbeee0c2d64b1 = cache_frame_6facbb6a0b7797bff09bbeee0c2d64b1; // Push the new frame as the currently active one. pushFrameStack( frame_6facbb6a0b7797bff09bbeee0c2d64b1 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_6facbb6a0b7797bff09bbeee0c2d64b1 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_previous_element ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 560; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_6facbb6a0b7797bff09bbeee0c2d64b1 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6facbb6a0b7797bff09bbeee0c2d64b1 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6facbb6a0b7797bff09bbeee0c2d64b1 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_6facbb6a0b7797bff09bbeee0c2d64b1, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_6facbb6a0b7797bff09bbeee0c2d64b1->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_6facbb6a0b7797bff09bbeee0c2d64b1, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_6facbb6a0b7797bff09bbeee0c2d64b1, type_description_1, par_self ); // Release cached frame. if ( frame_6facbb6a0b7797bff09bbeee0c2d64b1 == cache_frame_6facbb6a0b7797bff09bbeee0c2d64b1 ) { Py_DECREF( frame_6facbb6a0b7797bff09bbeee0c2d64b1 ); } cache_frame_6facbb6a0b7797bff09bbeee0c2d64b1 = NULL; assertFrameObject( frame_6facbb6a0b7797bff09bbeee0c2d64b1 ); // 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( bs4$element$$$function_39_previous ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_39_previous ); 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_bs4$element$$$function_40__find_one( 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_method = python_pars[ 1 ]; PyObject *par_name = python_pars[ 2 ]; PyObject *par_attrs = python_pars[ 3 ]; PyObject *par_text = python_pars[ 4 ]; PyObject *par_kwargs = python_pars[ 5 ]; PyObject *var_r = NULL; PyObject *var_l = NULL; struct Nuitka_FrameObject *frame_df0dc7bcbf46a9bb4d49a127c6827889; 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; static struct Nuitka_FrameObject *cache_frame_df0dc7bcbf46a9bb4d49a127c6827889 = 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. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; assert( var_r == NULL ); Py_INCREF( tmp_assign_source_1 ); var_r = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_df0dc7bcbf46a9bb4d49a127c6827889, codeobj_df0dc7bcbf46a9bb4d49a127c6827889, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_df0dc7bcbf46a9bb4d49a127c6827889 = cache_frame_df0dc7bcbf46a9bb4d49a127c6827889; // Push the new frame as the currently active one. pushFrameStack( frame_df0dc7bcbf46a9bb4d49a127c6827889 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_df0dc7bcbf46a9bb4d49a127c6827889 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_dircall_arg1_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_method ); tmp_dircall_arg1_1 = par_method; CHECK_OBJECT( par_name ); tmp_tuple_element_1 = par_name; tmp_dircall_arg2_1 = PyTuple_New( 4 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); CHECK_OBJECT( par_attrs ); tmp_tuple_element_1 = par_attrs; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 1, tmp_tuple_element_1 ); CHECK_OBJECT( par_text ); tmp_tuple_element_1 = par_text; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 2, tmp_tuple_element_1 ); tmp_tuple_element_1 = const_int_pos_1; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 3, tmp_tuple_element_1 ); CHECK_OBJECT( par_kwargs ); tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg1_1 ); Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_assign_source_2 = impl___internal__$$$function_5_complex_call_helper_pos_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 = 566; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert( var_l == NULL ); var_l = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT( var_l ); tmp_truth_name_1 = CHECK_IF_TRUE( var_l ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 567; type_description_1 = "oooooooo"; 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_assign_source_3; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( var_l ); tmp_subscribed_name_1 = var_l; tmp_subscript_name_1 = const_int_0; tmp_assign_source_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 568; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_r; var_r = tmp_assign_source_3; Py_XDECREF( old ); } } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_df0dc7bcbf46a9bb4d49a127c6827889 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_df0dc7bcbf46a9bb4d49a127c6827889 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_df0dc7bcbf46a9bb4d49a127c6827889, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_df0dc7bcbf46a9bb4d49a127c6827889->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_df0dc7bcbf46a9bb4d49a127c6827889, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_df0dc7bcbf46a9bb4d49a127c6827889, type_description_1, par_self, par_method, par_name, par_attrs, par_text, par_kwargs, var_r, var_l ); // Release cached frame. if ( frame_df0dc7bcbf46a9bb4d49a127c6827889 == cache_frame_df0dc7bcbf46a9bb4d49a127c6827889 ) { Py_DECREF( frame_df0dc7bcbf46a9bb4d49a127c6827889 ); } cache_frame_df0dc7bcbf46a9bb4d49a127c6827889 = NULL; assertFrameObject( frame_df0dc7bcbf46a9bb4d49a127c6827889 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { CHECK_OBJECT( var_r ); tmp_return_value = var_r; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_40__find_one ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_method ); par_method = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_r ); var_r = NULL; } { Py_XDECREF( var_l ); var_l = 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_method ); par_method = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_r ); var_r = NULL; } { Py_XDECREF( var_l ); var_l = 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( bs4$element$$$function_40__find_one ); 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_bs4$element$$$function_41__find_all( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_CellObject *par_name = PyCell_NEW1( python_pars[ 1 ] ); PyObject *par_attrs = python_pars[ 2 ]; PyObject *par_text = python_pars[ 3 ]; PyObject *par_limit = python_pars[ 4 ]; PyObject *par_generator = python_pars[ 5 ]; PyObject *par_kwargs = python_pars[ 6 ]; PyObject *var_strainer = NULL; PyObject *var_result = NULL; struct Nuitka_CellObject *var_prefix = PyCell_EMPTY(); struct Nuitka_CellObject *var_local_name = PyCell_EMPTY(); PyObject *var_results = NULL; PyObject *var_i = NULL; PyObject *var_found = NULL; PyObject *tmp_genexpr_1__$0 = NULL; PyObject *tmp_genexpr_2__$0 = 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_0ba3d6caf3b5c3d1ee77b277fa0a9336; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; bool tmp_result; PyObject *tmp_return_value = NULL; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_0ba3d6caf3b5c3d1ee77b277fa0a9336 = 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_0ba3d6caf3b5c3d1ee77b277fa0a9336, codeobj_0ba3d6caf3b5c3d1ee77b277fa0a9336, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_0ba3d6caf3b5c3d1ee77b277fa0a9336 = cache_frame_0ba3d6caf3b5c3d1ee77b277fa0a9336; // Push the new frame as the currently active one. pushFrameStack( frame_0ba3d6caf3b5c3d1ee77b277fa0a9336 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_0ba3d6caf3b5c3d1ee77b277fa0a9336 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( par_text ); tmp_compexpr_left_1 = par_text; tmp_compexpr_right_1 = Py_None; tmp_and_left_value_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_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_compexpr_left_2 = const_str_plain_string; 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 = 574; type_description_1 = "ocoooooooccooo"; 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 = 574; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_1 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; 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 = 575; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = par_kwargs; tmp_subscript_name_1 = const_str_plain_string; tmp_assign_source_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 575; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } { PyObject *old = par_text; par_text = tmp_assign_source_1; Py_XDECREF( old ); } } { PyObject *tmp_delsubscr_target_1; PyObject *tmp_delsubscr_subscript_1; 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 = 576; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_delsubscr_target_1 = par_kwargs; tmp_delsubscr_subscript_1 = const_str_plain_string; tmp_result = DEL_SUBSCRIPT( tmp_delsubscr_target_1, tmp_delsubscr_subscript_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 576; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; if ( PyCell_GET( par_name ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 578; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_1 = PyCell_GET( par_name ); tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_SoupStrainer ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_SoupStrainer ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "SoupStrainer" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 578; type_description_1 = "ocoooooooccooo"; 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 = 578; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_2; if ( PyCell_GET( par_name ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 579; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = PyCell_GET( par_name ); assert( var_strainer == NULL ); Py_INCREF( tmp_assign_source_2 ); var_strainer = tmp_assign_source_2; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_3; PyObject *tmp_dircall_arg1_1; PyObject *tmp_mvar_value_2; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dircall_arg3_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_SoupStrainer ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_SoupStrainer ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "SoupStrainer" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 581; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_dircall_arg1_1 = tmp_mvar_value_2; if ( PyCell_GET( par_name ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 581; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = PyCell_GET( par_name ); tmp_dircall_arg2_1 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( par_attrs == NULL ) { Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 581; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_attrs; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 1, tmp_tuple_element_1 ); if ( par_text == NULL ) { Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 581; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_text; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 2, tmp_tuple_element_1 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg2_1 ); 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 = 581; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg1_1 ); Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_assign_source_3 = impl___internal__$$$function_5_complex_call_helper_pos_star_dict( dir_call_args ); } if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 581; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } assert( var_strainer == NULL ); var_strainer = tmp_assign_source_3; } branch_end_2:; } { nuitka_bool tmp_condition_result_3; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; int tmp_and_left_truth_3; nuitka_bool tmp_and_left_value_3; nuitka_bool tmp_and_right_value_3; PyObject *tmp_operand_name_1; int tmp_and_left_truth_4; nuitka_bool tmp_and_left_value_4; nuitka_bool tmp_and_right_value_4; PyObject *tmp_operand_name_2; PyObject *tmp_operand_name_3; if ( par_text == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 583; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = par_text; tmp_compexpr_right_3 = Py_None; tmp_and_left_value_2 = ( tmp_compexpr_left_3 == tmp_compexpr_right_3 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if ( par_limit == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 583; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = par_limit; 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 = 583; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_and_left_value_3 = ( tmp_res == 0 ) ? 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 ( par_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 583; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_operand_name_2 = par_attrs; 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 = 583; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_and_left_value_4 = ( 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 ( 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 = 583; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_operand_name_3 = par_kwargs; 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 = 583; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_and_right_value_4 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_right_value_3 = tmp_and_right_value_4; goto and_end_4; and_left_4:; tmp_and_right_value_3 = tmp_and_left_value_4; and_end_4:; tmp_and_right_value_2 = tmp_and_right_value_3; goto and_end_3; and_left_3:; tmp_and_right_value_2 = tmp_and_left_value_3; and_end_3:; tmp_condition_result_3 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_3 = tmp_and_left_value_2; and_end_2:; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { nuitka_bool tmp_condition_result_4; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; if ( PyCell_GET( par_name ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 584; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_compexpr_left_4 = PyCell_GET( par_name ); tmp_compexpr_right_4 = Py_True; tmp_or_left_value_1 = ( tmp_compexpr_left_4 == tmp_compexpr_right_4 ) ? 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 ( PyCell_GET( par_name ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 584; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_compexpr_left_5 = PyCell_GET( par_name ); tmp_compexpr_right_5 = Py_None; tmp_or_right_value_1 = ( tmp_compexpr_left_5 == tmp_compexpr_right_5 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_4 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_4 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_assign_source_4; { PyObject *tmp_assign_source_5; PyObject *tmp_iter_arg_1; if ( par_generator == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "generator" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 586; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_iter_arg_1 = par_generator; tmp_assign_source_5 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 586; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } assert( tmp_genexpr_1__$0 == NULL ); tmp_genexpr_1__$0 = tmp_assign_source_5; } { // Tried code: { tmp_assign_source_4 = bs4$element$$$function_41__find_all$$$genexpr_1_genexpr_maker(); ((struct Nuitka_GeneratorObject *)tmp_assign_source_4)->m_closure[0] = PyCell_NEW0( tmp_genexpr_1__$0 ); goto try_return_handler_2; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_41__find_all ); return NULL; // Return handler code: try_return_handler_2:; { CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 ); Py_DECREF( tmp_genexpr_1__$0 ); tmp_genexpr_1__$0 = NULL; } { goto outline_result_1; } // End of try: } { CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 ); Py_DECREF( tmp_genexpr_1__$0 ); tmp_genexpr_1__$0 = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_41__find_all ); return NULL; outline_result_1:; assert( var_result == NULL ); var_result = tmp_assign_source_4; } { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_ResultSet ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ResultSet ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ResultSet" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 588; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_3; if ( var_strainer == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "strainer" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 588; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = var_strainer; CHECK_OBJECT( var_result ); tmp_args_element_name_2 = var_result; frame_0ba3d6caf3b5c3d1ee77b277fa0a9336->m_frame.f_lineno = 588; { 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 ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 588; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_4; branch_no_4:; { nuitka_bool tmp_condition_result_5; PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; if ( PyCell_GET( par_name ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 589; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_2 = PyCell_GET( par_name ); tmp_isinstance_cls_2 = (PyObject *)&PyUnicode_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_2, tmp_isinstance_cls_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 589; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_condition_result_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; PyObject *tmp_called_instance_1; if ( PyCell_GET( par_name ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 591; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = PyCell_GET( par_name ); frame_0ba3d6caf3b5c3d1ee77b277fa0a9336->m_frame.f_lineno = 591; tmp_compexpr_left_6 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_count, &PyTuple_GET_ITEM( const_tuple_str_chr_58_tuple, 0 ) ); if ( tmp_compexpr_left_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 591; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_compexpr_right_6 = const_int_pos_1; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_6, tmp_compexpr_right_6 ); Py_DECREF( tmp_compexpr_left_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 591; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_iter_arg_2; PyObject *tmp_called_instance_2; if ( PyCell_GET( par_name ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 595; type_description_1 = "ocoooooooccooo"; goto try_except_handler_3; } tmp_called_instance_2 = PyCell_GET( par_name ); frame_0ba3d6caf3b5c3d1ee77b277fa0a9336->m_frame.f_lineno = 595; tmp_iter_arg_2 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_2, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_58_int_pos_1_tuple, 0 ) ); if ( tmp_iter_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 595; type_description_1 = "ocoooooooccooo"; goto try_except_handler_3; } tmp_assign_source_6 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 595; type_description_1 = "ocoooooooccooo"; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__source_iter == NULL ); tmp_tuple_unpack_1__source_iter = tmp_assign_source_6; } { // 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 = "ocoooooooccooo"; exception_lineno = 595; goto try_except_handler_4; } assert( tmp_tuple_unpack_1__element_1 == NULL ); tmp_tuple_unpack_1__element_1 = tmp_assign_source_7; } { 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 = "ocoooooooccooo"; exception_lineno = 595; goto try_except_handler_4; } assert( tmp_tuple_unpack_1__element_2 == NULL ); tmp_tuple_unpack_1__element_2 = tmp_assign_source_8; } { 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 = "ocoooooooccooo"; exception_lineno = 595; 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 = "ocoooooooccooo"; exception_lineno = 595; 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 frame_exception_exit_1; } // 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; assert( PyCell_GET( var_prefix ) == NULL ); Py_INCREF( tmp_assign_source_9 ); PyCell_SET( var_prefix, tmp_assign_source_9 ); } { 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; assert( PyCell_GET( var_local_name ) == NULL ); Py_INCREF( tmp_assign_source_10 ); PyCell_SET( var_local_name, tmp_assign_source_10 ); } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } goto branch_end_6; branch_no_6:; { PyObject *tmp_assign_source_11; tmp_assign_source_11 = Py_None; assert( PyCell_GET( var_prefix ) == NULL ); Py_INCREF( tmp_assign_source_11 ); PyCell_SET( var_prefix, tmp_assign_source_11 ); } { PyObject *tmp_assign_source_12; if ( PyCell_GET( par_name ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 598; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_assign_source_12 = PyCell_GET( par_name ); assert( PyCell_GET( var_local_name ) == NULL ); Py_INCREF( tmp_assign_source_12 ); PyCell_SET( var_local_name, tmp_assign_source_12 ); } branch_end_6:; } { PyObject *tmp_assign_source_13; { PyObject *tmp_assign_source_14; PyObject *tmp_iter_arg_3; if ( par_generator == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "generator" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 599; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_iter_arg_3 = par_generator; tmp_assign_source_14 = MAKE_ITERATOR( tmp_iter_arg_3 ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 599; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } assert( tmp_genexpr_2__$0 == NULL ); tmp_genexpr_2__$0 = tmp_assign_source_14; } { // Tried code: { tmp_assign_source_13 = bs4$element$$$function_41__find_all$$$genexpr_2_genexpr_maker(); ((struct Nuitka_GeneratorObject *)tmp_assign_source_13)->m_closure[0] = PyCell_NEW0( tmp_genexpr_2__$0 ); ((struct Nuitka_GeneratorObject *)tmp_assign_source_13)->m_closure[1] = var_local_name; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_assign_source_13)->m_closure[1] ); ((struct Nuitka_GeneratorObject *)tmp_assign_source_13)->m_closure[2] = par_name; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_assign_source_13)->m_closure[2] ); ((struct Nuitka_GeneratorObject *)tmp_assign_source_13)->m_closure[3] = var_prefix; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_assign_source_13)->m_closure[3] ); goto try_return_handler_5; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_41__find_all ); return NULL; // Return handler code: try_return_handler_5:; { CHECK_OBJECT( (PyObject *)tmp_genexpr_2__$0 ); Py_DECREF( tmp_genexpr_2__$0 ); tmp_genexpr_2__$0 = NULL; } { goto outline_result_2; } // End of try: } { CHECK_OBJECT( (PyObject *)tmp_genexpr_2__$0 ); Py_DECREF( tmp_genexpr_2__$0 ); tmp_genexpr_2__$0 = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_41__find_all ); return NULL; outline_result_2:; { PyObject *old = var_result; var_result = tmp_assign_source_13; Py_XDECREF( old ); } } { PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_ResultSet ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ResultSet ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ResultSet" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 608; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_4; if ( var_strainer == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "strainer" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 608; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = var_strainer; CHECK_OBJECT( var_result ); tmp_args_element_name_4 = var_result; frame_0ba3d6caf3b5c3d1ee77b277fa0a9336->m_frame.f_lineno = 608; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 608; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_5:; } branch_end_4:; } branch_no_3:; } { PyObject *tmp_assign_source_15; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_5; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_ResultSet ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ResultSet ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ResultSet" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 609; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_called_name_3 = tmp_mvar_value_5; if ( var_strainer == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "strainer" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 609; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = var_strainer; frame_0ba3d6caf3b5c3d1ee77b277fa0a9336->m_frame.f_lineno = 609; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_assign_source_15 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 609; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } assert( var_results == NULL ); var_results = tmp_assign_source_15; } { loop_start_1:; { // Tried code: { PyObject *tmp_assign_source_16; PyObject *tmp_value_name_1; if ( par_generator == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "generator" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 612; type_description_1 = "ocoooooooccooo"; goto try_except_handler_6; } tmp_value_name_1 = par_generator; tmp_assign_source_16 = ITERATOR_NEXT( tmp_value_name_1 ); if ( tmp_assign_source_16 == 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 = "ocoooooooccooo"; exception_lineno = 612; goto try_except_handler_6; } { PyObject *old = var_i; var_i = tmp_assign_source_16; Py_XDECREF( old ); } } goto try_end_3; // Exception handler code: try_except_handler_6:; 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; { // Preserve existing published exception. exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_1 ); exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_1 ); exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_1 ); } { if ( exception_keeper_tb_3 == NULL ) { exception_keeper_tb_3 = MAKE_TRACEBACK( frame_0ba3d6caf3b5c3d1ee77b277fa0a9336, exception_keeper_lineno_3 ); } else if ( exception_keeper_lineno_3 != 0 ) { exception_keeper_tb_3 = ADD_TRACEBACK( exception_keeper_tb_3, frame_0ba3d6caf3b5c3d1ee77b277fa0a9336, exception_keeper_lineno_3 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3 ); PyException_SetTraceback( exception_keeper_value_3, (PyObject *)exception_keeper_tb_3 ); PUBLISH_EXCEPTION( &exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3 ); } { // Tried code: { nuitka_bool tmp_condition_result_7; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; tmp_compexpr_left_7 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_7 = PyExc_StopIteration; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 613; type_description_1 = "ocoooooooccooo"; goto try_except_handler_7; } tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { goto try_break_handler_7; } goto branch_end_7; branch_no_7:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 611; } if (exception_tb && exception_tb->tb_frame == &frame_0ba3d6caf3b5c3d1ee77b277fa0a9336->m_frame) frame_0ba3d6caf3b5c3d1ee77b277fa0a9336->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ocoooooooccooo"; goto try_except_handler_7; } branch_end_7:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_41__find_all ); return NULL; // Exception handler code: try_except_handler_7:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // 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; } // try break handler code: try_break_handler_7:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { goto loop_end_1; } // End of try: } // End of try: try_end_3:; } { nuitka_bool tmp_condition_result_8; int tmp_truth_name_1; CHECK_OBJECT( var_i ); tmp_truth_name_1 = CHECK_IF_TRUE( var_i ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 615; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_condition_result_8 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { PyObject *tmp_assign_source_17; PyObject *tmp_called_name_4; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_6; if ( var_strainer == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "strainer" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 616; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_source_name_1 = var_strainer; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_search ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 616; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } if ( var_i == 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", "i" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 616; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = var_i; frame_0ba3d6caf3b5c3d1ee77b277fa0a9336->m_frame.f_lineno = 616; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_assign_source_17 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_assign_source_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 616; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } { PyObject *old = var_found; var_found = tmp_assign_source_17; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_9; int tmp_truth_name_2; CHECK_OBJECT( var_found ); tmp_truth_name_2 = CHECK_IF_TRUE( var_found ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 617; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_condition_result_9 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { PyObject *tmp_called_name_5; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_7; if ( var_results == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "results" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 618; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_source_name_2 = var_results; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_append ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 618; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } if ( var_found == 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", "found" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 618; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = var_found; frame_0ba3d6caf3b5c3d1ee77b277fa0a9336->m_frame.f_lineno = 618; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 618; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_10; int tmp_and_left_truth_5; nuitka_bool tmp_and_left_value_5; nuitka_bool tmp_and_right_value_5; int tmp_truth_name_3; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; PyObject *tmp_len_arg_1; if ( par_limit == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 619; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_truth_name_3 = CHECK_IF_TRUE( par_limit ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 619; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_and_left_value_5 = tmp_truth_name_3 == 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:; if ( var_results == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "results" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 619; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_len_arg_1 = var_results; tmp_compexpr_left_8 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 619; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } if ( par_limit == NULL ) { Py_DECREF( tmp_compexpr_left_8 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 619; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_compexpr_right_8 = par_limit; tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_8, tmp_compexpr_right_8 ); Py_DECREF( tmp_compexpr_left_8 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 619; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_and_right_value_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_10 = tmp_and_right_value_5; goto and_end_5; and_left_5:; tmp_condition_result_10 = tmp_and_left_value_5; and_end_5:; if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { goto loop_end_1; } branch_no_10:; } branch_no_9:; } branch_no_8:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 610; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } { if ( var_results == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "results" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 621; type_description_1 = "ocoooooooccooo"; goto frame_exception_exit_1; } tmp_return_value = var_results; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_0ba3d6caf3b5c3d1ee77b277fa0a9336 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0ba3d6caf3b5c3d1ee77b277fa0a9336 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0ba3d6caf3b5c3d1ee77b277fa0a9336 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_0ba3d6caf3b5c3d1ee77b277fa0a9336, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_0ba3d6caf3b5c3d1ee77b277fa0a9336->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_0ba3d6caf3b5c3d1ee77b277fa0a9336, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_0ba3d6caf3b5c3d1ee77b277fa0a9336, type_description_1, par_self, par_name, par_attrs, par_text, par_limit, par_generator, par_kwargs, var_strainer, var_result, var_prefix, var_local_name, var_results, var_i, var_found ); // Release cached frame. if ( frame_0ba3d6caf3b5c3d1ee77b277fa0a9336 == cache_frame_0ba3d6caf3b5c3d1ee77b277fa0a9336 ) { Py_DECREF( frame_0ba3d6caf3b5c3d1ee77b277fa0a9336 ); } cache_frame_0ba3d6caf3b5c3d1ee77b277fa0a9336 = NULL; assertFrameObject( frame_0ba3d6caf3b5c3d1ee77b277fa0a9336 ); // 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( bs4$element$$$function_41__find_all ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { CHECK_OBJECT( (PyObject *)par_name ); Py_DECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( par_generator ); par_generator = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_strainer ); var_strainer = NULL; } { Py_XDECREF( var_result ); var_result = NULL; } { CHECK_OBJECT( (PyObject *)var_prefix ); Py_DECREF( var_prefix ); var_prefix = NULL; } { CHECK_OBJECT( (PyObject *)var_local_name ); Py_DECREF( var_local_name ); var_local_name = NULL; } { Py_XDECREF( var_results ); var_results = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_found ); var_found = 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_self ); par_self = NULL; } { CHECK_OBJECT( (PyObject *)par_name ); Py_DECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( par_generator ); par_generator = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_strainer ); var_strainer = NULL; } { Py_XDECREF( var_result ); var_result = NULL; } { CHECK_OBJECT( (PyObject *)var_prefix ); Py_DECREF( var_prefix ); var_prefix = NULL; } { CHECK_OBJECT( (PyObject *)var_local_name ); Py_DECREF( var_local_name ); var_local_name = NULL; } { Py_XDECREF( var_results ); var_results = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_found ); var_found = 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( bs4$element$$$function_41__find_all ); 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; } struct bs4$element$$$function_41__find_all$$$genexpr_1_genexpr_locals { PyObject *var_element; PyObject *tmp_iter_value_0; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; int tmp_res; char yield_tmps[1024]; 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; }; static PyObject *bs4$element$$$function_41__find_all$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct bs4$element$$$function_41__find_all$$$genexpr_1_genexpr_locals *generator_heap = (struct bs4$element$$$function_41__find_all$$$genexpr_1_genexpr_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { 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_element = NULL; generator_heap->tmp_iter_value_0 = 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_9bd4afcb62c3cb278abb258f9a48009d, module_bs4$element, 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: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_1; CHECK_OBJECT( PyCell_GET( generator->m_closure[0] ) ); tmp_next_source_1 = PyCell_GET( generator->m_closure[0] ); tmp_assign_source_1 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_1 == 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 = "No"; generator_heap->exception_lineno = 586; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_iter_value_0; generator_heap->tmp_iter_value_0 = tmp_assign_source_1; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_2; CHECK_OBJECT( generator_heap->tmp_iter_value_0 ); tmp_assign_source_2 = generator_heap->tmp_iter_value_0; { PyObject *old = generator_heap->var_element; generator_heap->var_element = tmp_assign_source_2; Py_INCREF( generator_heap->var_element ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; CHECK_OBJECT( generator_heap->var_element ); tmp_isinstance_inst_1 = generator_heap->var_element; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Tag ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Tag ); } if ( tmp_mvar_value_1 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Tag" ); 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 = 587; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } tmp_isinstance_cls_1 = tmp_mvar_value_1; generator_heap->tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_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 = 587; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } tmp_condition_result_1 = ( generator_heap->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_expression_name_1; CHECK_OBJECT( generator_heap->var_element ); tmp_expression_name_1 = generator_heap->var_element; Py_INCREF( tmp_expression_name_1 ); Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_isinstance_inst_1, sizeof(PyObject *), &tmp_isinstance_cls_1, sizeof(PyObject *), &tmp_mvar_value_1, 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_1, sizeof(nuitka_bool), &tmp_isinstance_inst_1, sizeof(PyObject *), &tmp_isinstance_cls_1, sizeof(PyObject *), &tmp_mvar_value_1, 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 = 586; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } tmp_unused = yield_return_value; } branch_no_1:; } 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 = 586; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; 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; { Py_XDECREF( generator_heap->tmp_iter_value_0 ); generator_heap->tmp_iter_value_0 = 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 frame_exception_exit_1; } // End of try: try_end_1:; } 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, NULL, generator_heap->var_element ); // 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_2; // Exception handler code: try_except_handler_1:; 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; { Py_XDECREF( generator_heap->var_element ); generator_heap->var_element = 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 function_exception_exit; } // End of try: try_end_2:; } { Py_XDECREF( generator_heap->tmp_iter_value_0 ); generator_heap->tmp_iter_value_0 = NULL; } { Py_XDECREF( generator_heap->var_element ); generator_heap->var_element = 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 *bs4$element$$$function_41__find_all$$$genexpr_1_genexpr_maker( void ) { return Nuitka_Generator_New( bs4$element$$$function_41__find_all$$$genexpr_1_genexpr_context, module_bs4$element, const_str_angle_genexpr, #if PYTHON_VERSION >= 350 const_str_digest_b100e6bf26c04ecf01191e4e854ec0a3, #endif codeobj_9bd4afcb62c3cb278abb258f9a48009d, 1, sizeof(struct bs4$element$$$function_41__find_all$$$genexpr_1_genexpr_locals) ); } struct bs4$element$$$function_41__find_all$$$genexpr_2_genexpr_locals { PyObject *var_element; PyObject *tmp_iter_value_0; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; int tmp_res; char yield_tmps[1024]; 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; }; static PyObject *bs4$element$$$function_41__find_all$$$genexpr_2_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct bs4$element$$$function_41__find_all$$$genexpr_2_genexpr_locals *generator_heap = (struct bs4$element$$$function_41__find_all$$$genexpr_2_genexpr_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { 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_element = NULL; generator_heap->tmp_iter_value_0 = 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_bea9a6c20427f8d23b16ea6dff9eec28, module_bs4$element, 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: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_1; CHECK_OBJECT( PyCell_GET( generator->m_closure[0] ) ); tmp_next_source_1 = PyCell_GET( generator->m_closure[0] ); tmp_assign_source_1 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_1 == 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 = "Noccc"; generator_heap->exception_lineno = 599; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_iter_value_0; generator_heap->tmp_iter_value_0 = tmp_assign_source_1; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_2; CHECK_OBJECT( generator_heap->tmp_iter_value_0 ); tmp_assign_source_2 = generator_heap->tmp_iter_value_0; { PyObject *old = generator_heap->var_element; generator_heap->var_element = tmp_assign_source_2; Py_INCREF( generator_heap->var_element ); Py_XDECREF( old ); } } { 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_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_2; int tmp_or_left_truth_2; nuitka_bool tmp_or_left_value_2; nuitka_bool tmp_or_right_value_2; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_source_name_3; CHECK_OBJECT( generator_heap->var_element ); tmp_isinstance_inst_1 = generator_heap->var_element; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Tag ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Tag ); } if ( tmp_mvar_value_1 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Tag" ); 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 = 600; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } tmp_isinstance_cls_1 = tmp_mvar_value_1; generator_heap->tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_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 = 600; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } tmp_and_left_value_1 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; CHECK_OBJECT( generator_heap->var_element ); tmp_source_name_1 = generator_heap->var_element; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_name ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 602; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } if ( PyCell_GET( generator->m_closure[2] ) == NULL ) { Py_DECREF( tmp_compexpr_left_1 ); 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", "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 = 602; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } tmp_compexpr_right_1 = PyCell_GET( generator->m_closure[2] ); generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_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 = 602; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } tmp_and_right_value_1 = ( generator_heap->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:; if ( generator_heap->var_element == 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", "element" ); 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 = 604; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } tmp_source_name_2 = generator_heap->var_element; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_name ); 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 = 604; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { Py_DECREF( tmp_compexpr_left_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", "local_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 = 604; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } tmp_compexpr_right_2 = PyCell_GET( generator->m_closure[1] ); generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 604; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } tmp_and_left_value_2 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if ( PyCell_GET( generator->m_closure[3] ) == 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", "prefix" ); 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 = 605; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } tmp_compexpr_left_3 = PyCell_GET( generator->m_closure[3] ); tmp_compexpr_right_3 = Py_None; tmp_or_left_value_2 = ( tmp_compexpr_left_3 == tmp_compexpr_right_3 ) ? 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_element == 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", "element" ); 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 = 605; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } tmp_source_name_3 = generator_heap->var_element; tmp_compexpr_left_4 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_prefix ); if ( tmp_compexpr_left_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 605; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } if ( PyCell_GET( generator->m_closure[3] ) == NULL ) { Py_DECREF( tmp_compexpr_left_4 ); 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", "prefix" ); 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 = 605; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } tmp_compexpr_right_4 = PyCell_GET( generator->m_closure[3] ); generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_4, tmp_compexpr_right_4 ); Py_DECREF( 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 = 605; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } tmp_or_right_value_2 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_right_value_2 = tmp_or_right_value_2; goto or_end_2; or_left_2:; tmp_and_right_value_2 = tmp_or_left_value_2; or_end_2:; 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:; { PyObject *tmp_expression_name_1; if ( generator_heap->var_element == 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", "element" ); 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 = 599; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } tmp_expression_name_1 = generator_heap->var_element; Py_INCREF( tmp_expression_name_1 ); Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_1, 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_and_left_truth_1, sizeof(int), &tmp_and_left_value_1, sizeof(nuitka_bool), &tmp_and_right_value_1, sizeof(nuitka_bool), &tmp_isinstance_inst_1, sizeof(PyObject *), &tmp_isinstance_cls_1, sizeof(PyObject *), &tmp_mvar_value_1, sizeof(PyObject *), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_source_name_1, sizeof(PyObject *), &tmp_and_left_truth_2, sizeof(int), &tmp_and_left_value_2, sizeof(nuitka_bool), &tmp_and_right_value_2, sizeof(nuitka_bool), &tmp_compexpr_left_2, sizeof(PyObject *), &tmp_compexpr_right_2, sizeof(PyObject *), &tmp_source_name_2, sizeof(PyObject *), &tmp_or_left_truth_2, sizeof(int), &tmp_or_left_value_2, sizeof(nuitka_bool), &tmp_or_right_value_2, sizeof(nuitka_bool), &tmp_compexpr_left_3, sizeof(PyObject *), &tmp_compexpr_right_3, sizeof(PyObject *), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_source_name_3, 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_1, 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_and_left_truth_1, sizeof(int), &tmp_and_left_value_1, sizeof(nuitka_bool), &tmp_and_right_value_1, sizeof(nuitka_bool), &tmp_isinstance_inst_1, sizeof(PyObject *), &tmp_isinstance_cls_1, sizeof(PyObject *), &tmp_mvar_value_1, sizeof(PyObject *), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_source_name_1, sizeof(PyObject *), &tmp_and_left_truth_2, sizeof(int), &tmp_and_left_value_2, sizeof(nuitka_bool), &tmp_and_right_value_2, sizeof(nuitka_bool), &tmp_compexpr_left_2, sizeof(PyObject *), &tmp_compexpr_right_2, sizeof(PyObject *), &tmp_source_name_2, sizeof(PyObject *), &tmp_or_left_truth_2, sizeof(int), &tmp_or_left_value_2, sizeof(nuitka_bool), &tmp_or_right_value_2, sizeof(nuitka_bool), &tmp_compexpr_left_3, sizeof(PyObject *), &tmp_compexpr_right_3, sizeof(PyObject *), &tmp_compexpr_left_4, sizeof(PyObject *), &tmp_compexpr_right_4, sizeof(PyObject *), &tmp_source_name_3, 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 = 599; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } tmp_unused = yield_return_value; } branch_no_1:; } 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 = 599; generator_heap->type_description_1 = "Noccc"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; 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; { Py_XDECREF( generator_heap->tmp_iter_value_0 ); generator_heap->tmp_iter_value_0 = 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 frame_exception_exit_1; } // End of try: try_end_1:; } 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, NULL, generator_heap->var_element, generator->m_closure[2], generator->m_closure[1], generator->m_closure[3] ); // 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_2; // Exception handler code: try_except_handler_1:; 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; { Py_XDECREF( generator_heap->var_element ); generator_heap->var_element = 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 function_exception_exit; } // End of try: try_end_2:; } { Py_XDECREF( generator_heap->tmp_iter_value_0 ); generator_heap->tmp_iter_value_0 = NULL; } { Py_XDECREF( generator_heap->var_element ); generator_heap->var_element = 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 *bs4$element$$$function_41__find_all$$$genexpr_2_genexpr_maker( void ) { return Nuitka_Generator_New( bs4$element$$$function_41__find_all$$$genexpr_2_genexpr_context, module_bs4$element, const_str_angle_genexpr, #if PYTHON_VERSION >= 350 const_str_digest_b100e6bf26c04ecf01191e4e854ec0a3, #endif codeobj_bea9a6c20427f8d23b16ea6dff9eec28, 4, sizeof(struct bs4$element$$$function_41__find_all$$$genexpr_2_genexpr_locals) ); } static PyObject *impl_bs4$element$$$function_42_next_elements( 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 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = bs4$element$$$function_42_next_elements$$$genobj_1_next_elements_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_42_next_elements ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_42_next_elements ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct bs4$element$$$function_42_next_elements$$$genobj_1_next_elements_locals { PyObject *var_i; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; }; static PyObject *bs4$element$$$function_42_next_elements$$$genobj_1_next_elements_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct bs4$element$$$function_42_next_elements$$$genobj_1_next_elements_locals *generator_heap = (struct bs4$element$$$function_42_next_elements$$$genobj_1_next_elements_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { 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_i = 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_7789fa2403c86d096649a8ae985fb9a1, module_bs4$element, 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_assign_source_1; PyObject *tmp_source_name_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", "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 = 627; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_source_name_1 = PyCell_GET( generator->m_closure[0] ); tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_next_element ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 627; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } assert( generator_heap->var_i == NULL ); generator_heap->var_i = tmp_assign_source_1; } { loop_start_1:; { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( generator_heap->var_i == 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", "i" ); 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 = 628; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = generator_heap->var_i; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { goto loop_end_1; } branch_no_1:; } { PyObject *tmp_expression_name_1; if ( generator_heap->var_i == 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", "i" ); 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 = 629; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_expression_name_1 = generator_heap->var_i; Py_INCREF( tmp_expression_name_1 ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: 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 = 629; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_unused = yield_return_value; } { PyObject *tmp_assign_source_2; PyObject *tmp_source_name_2; if ( generator_heap->var_i == 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", "i" ); 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 = 630; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_source_name_2 = generator_heap->var_i; tmp_assign_source_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_next_element ); 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 = 630; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } { PyObject *old = generator_heap->var_i; generator_heap->var_i = tmp_assign_source_2; Py_XDECREF( old ); } } 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 = 628; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } 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[0], generator_heap->var_i ); // 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_1; // Exception handler code: try_except_handler_1:; 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; { Py_XDECREF( generator_heap->var_i ); generator_heap->var_i = 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 function_exception_exit; } // End of try: try_end_1:; } { Py_XDECREF( generator_heap->var_i ); generator_heap->var_i = 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 *bs4$element$$$function_42_next_elements$$$genobj_1_next_elements_maker( void ) { return Nuitka_Generator_New( bs4$element$$$function_42_next_elements$$$genobj_1_next_elements_context, module_bs4$element, const_str_plain_next_elements, #if PYTHON_VERSION >= 350 const_str_digest_7b5d772369e2304853f18cab6c504630, #endif codeobj_7789fa2403c86d096649a8ae985fb9a1, 1, sizeof(struct bs4$element$$$function_42_next_elements$$$genobj_1_next_elements_locals) ); } static PyObject *impl_bs4$element$$$function_43_next_siblings( 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 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = bs4$element$$$function_43_next_siblings$$$genobj_1_next_siblings_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_43_next_siblings ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_43_next_siblings ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct bs4$element$$$function_43_next_siblings$$$genobj_1_next_siblings_locals { PyObject *var_i; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; }; static PyObject *bs4$element$$$function_43_next_siblings$$$genobj_1_next_siblings_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct bs4$element$$$function_43_next_siblings$$$genobj_1_next_siblings_locals *generator_heap = (struct bs4$element$$$function_43_next_siblings$$$genobj_1_next_siblings_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { 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_i = 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_56c67731964b5279115e2f383d85829f, module_bs4$element, 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_assign_source_1; PyObject *tmp_source_name_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", "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 = 634; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_source_name_1 = PyCell_GET( generator->m_closure[0] ); tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_next_sibling ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 634; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } assert( generator_heap->var_i == NULL ); generator_heap->var_i = tmp_assign_source_1; } { loop_start_1:; { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( generator_heap->var_i == 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", "i" ); 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 = 635; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = generator_heap->var_i; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { goto loop_end_1; } branch_no_1:; } { PyObject *tmp_expression_name_1; if ( generator_heap->var_i == 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", "i" ); 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 = 636; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_expression_name_1 = generator_heap->var_i; Py_INCREF( tmp_expression_name_1 ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: 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 = 636; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_unused = yield_return_value; } { PyObject *tmp_assign_source_2; PyObject *tmp_source_name_2; if ( generator_heap->var_i == 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", "i" ); 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 = 637; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_source_name_2 = generator_heap->var_i; tmp_assign_source_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_next_sibling ); 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 = 637; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } { PyObject *old = generator_heap->var_i; generator_heap->var_i = tmp_assign_source_2; Py_XDECREF( old ); } } 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 = 635; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } 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[0], generator_heap->var_i ); // 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_1; // Exception handler code: try_except_handler_1:; 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; { Py_XDECREF( generator_heap->var_i ); generator_heap->var_i = 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 function_exception_exit; } // End of try: try_end_1:; } { Py_XDECREF( generator_heap->var_i ); generator_heap->var_i = 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 *bs4$element$$$function_43_next_siblings$$$genobj_1_next_siblings_maker( void ) { return Nuitka_Generator_New( bs4$element$$$function_43_next_siblings$$$genobj_1_next_siblings_context, module_bs4$element, const_str_plain_next_siblings, #if PYTHON_VERSION >= 350 const_str_digest_c39d3790c96cd19498c4533c82e40342, #endif codeobj_56c67731964b5279115e2f383d85829f, 1, sizeof(struct bs4$element$$$function_43_next_siblings$$$genobj_1_next_siblings_locals) ); } static PyObject *impl_bs4$element$$$function_44_previous_elements( 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 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = bs4$element$$$function_44_previous_elements$$$genobj_1_previous_elements_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_44_previous_elements ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_44_previous_elements ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct bs4$element$$$function_44_previous_elements$$$genobj_1_previous_elements_locals { PyObject *var_i; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; }; static PyObject *bs4$element$$$function_44_previous_elements$$$genobj_1_previous_elements_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct bs4$element$$$function_44_previous_elements$$$genobj_1_previous_elements_locals *generator_heap = (struct bs4$element$$$function_44_previous_elements$$$genobj_1_previous_elements_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { 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_i = 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_a473a4204daa78a59ebfe0b036aa8a56, module_bs4$element, 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_assign_source_1; PyObject *tmp_source_name_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", "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 = 641; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_source_name_1 = PyCell_GET( generator->m_closure[0] ); tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_previous_element ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 641; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } assert( generator_heap->var_i == NULL ); generator_heap->var_i = tmp_assign_source_1; } { loop_start_1:; { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( generator_heap->var_i == 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", "i" ); 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 = 642; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = generator_heap->var_i; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { goto loop_end_1; } branch_no_1:; } { PyObject *tmp_expression_name_1; if ( generator_heap->var_i == 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", "i" ); 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 = 643; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_expression_name_1 = generator_heap->var_i; Py_INCREF( tmp_expression_name_1 ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: 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 = 643; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_unused = yield_return_value; } { PyObject *tmp_assign_source_2; PyObject *tmp_source_name_2; if ( generator_heap->var_i == 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", "i" ); 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 = 644; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_source_name_2 = generator_heap->var_i; tmp_assign_source_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_previous_element ); 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 = 644; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } { PyObject *old = generator_heap->var_i; generator_heap->var_i = tmp_assign_source_2; Py_XDECREF( old ); } } 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 = 642; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } 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[0], generator_heap->var_i ); // 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_1; // Exception handler code: try_except_handler_1:; 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; { Py_XDECREF( generator_heap->var_i ); generator_heap->var_i = 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 function_exception_exit; } // End of try: try_end_1:; } { Py_XDECREF( generator_heap->var_i ); generator_heap->var_i = 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 *bs4$element$$$function_44_previous_elements$$$genobj_1_previous_elements_maker( void ) { return Nuitka_Generator_New( bs4$element$$$function_44_previous_elements$$$genobj_1_previous_elements_context, module_bs4$element, const_str_plain_previous_elements, #if PYTHON_VERSION >= 350 const_str_digest_9209bcee9de337095ce6b668e33e31ce, #endif codeobj_a473a4204daa78a59ebfe0b036aa8a56, 1, sizeof(struct bs4$element$$$function_44_previous_elements$$$genobj_1_previous_elements_locals) ); } static PyObject *impl_bs4$element$$$function_45_previous_siblings( 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 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = bs4$element$$$function_45_previous_siblings$$$genobj_1_previous_siblings_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_45_previous_siblings ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_45_previous_siblings ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct bs4$element$$$function_45_previous_siblings$$$genobj_1_previous_siblings_locals { PyObject *var_i; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; }; static PyObject *bs4$element$$$function_45_previous_siblings$$$genobj_1_previous_siblings_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct bs4$element$$$function_45_previous_siblings$$$genobj_1_previous_siblings_locals *generator_heap = (struct bs4$element$$$function_45_previous_siblings$$$genobj_1_previous_siblings_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { 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_i = 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_97ce4717c41439075463fa0e7a213c1f, module_bs4$element, 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_assign_source_1; PyObject *tmp_source_name_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", "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 = 648; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_source_name_1 = PyCell_GET( generator->m_closure[0] ); tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_previous_sibling ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 648; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } assert( generator_heap->var_i == NULL ); generator_heap->var_i = tmp_assign_source_1; } { loop_start_1:; { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( generator_heap->var_i == 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", "i" ); 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 = 649; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = generator_heap->var_i; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { goto loop_end_1; } branch_no_1:; } { PyObject *tmp_expression_name_1; if ( generator_heap->var_i == 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", "i" ); 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 = 650; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_expression_name_1 = generator_heap->var_i; Py_INCREF( tmp_expression_name_1 ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: 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 = 650; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_unused = yield_return_value; } { PyObject *tmp_assign_source_2; PyObject *tmp_source_name_2; if ( generator_heap->var_i == 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", "i" ); 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 = 651; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_source_name_2 = generator_heap->var_i; tmp_assign_source_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_previous_sibling ); 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 = 651; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } { PyObject *old = generator_heap->var_i; generator_heap->var_i = tmp_assign_source_2; Py_XDECREF( old ); } } 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 = 649; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } 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[0], generator_heap->var_i ); // 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_1; // Exception handler code: try_except_handler_1:; 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; { Py_XDECREF( generator_heap->var_i ); generator_heap->var_i = 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 function_exception_exit; } // End of try: try_end_1:; } { Py_XDECREF( generator_heap->var_i ); generator_heap->var_i = 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 *bs4$element$$$function_45_previous_siblings$$$genobj_1_previous_siblings_maker( void ) { return Nuitka_Generator_New( bs4$element$$$function_45_previous_siblings$$$genobj_1_previous_siblings_context, module_bs4$element, const_str_plain_previous_siblings, #if PYTHON_VERSION >= 350 const_str_digest_ad84e4242d5a8caad6a338868df5badc, #endif codeobj_97ce4717c41439075463fa0e7a213c1f, 1, sizeof(struct bs4$element$$$function_45_previous_siblings$$$genobj_1_previous_siblings_locals) ); } static PyObject *impl_bs4$element$$$function_46_parents( 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 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = bs4$element$$$function_46_parents$$$genobj_1_parents_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_46_parents ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_46_parents ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct bs4$element$$$function_46_parents$$$genobj_1_parents_locals { PyObject *var_i; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; }; static PyObject *bs4$element$$$function_46_parents$$$genobj_1_parents_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct bs4$element$$$function_46_parents$$$genobj_1_parents_locals *generator_heap = (struct bs4$element$$$function_46_parents$$$genobj_1_parents_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { 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_i = 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_d3dca88da02486a0ab25d2a3e0bda0fa, module_bs4$element, 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_assign_source_1; PyObject *tmp_source_name_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", "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 = 655; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_source_name_1 = PyCell_GET( generator->m_closure[0] ); tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_parent ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 655; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } assert( generator_heap->var_i == NULL ); generator_heap->var_i = tmp_assign_source_1; } { loop_start_1:; { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( generator_heap->var_i == 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", "i" ); 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 = 656; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = generator_heap->var_i; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { goto loop_end_1; } branch_no_1:; } { PyObject *tmp_expression_name_1; if ( generator_heap->var_i == 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", "i" ); 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 = 657; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_expression_name_1 = generator_heap->var_i; Py_INCREF( tmp_expression_name_1 ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: 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 = 657; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_unused = yield_return_value; } { PyObject *tmp_assign_source_2; PyObject *tmp_source_name_2; if ( generator_heap->var_i == 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", "i" ); 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 = 658; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_source_name_2 = generator_heap->var_i; tmp_assign_source_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_parent ); 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 = 658; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } { PyObject *old = generator_heap->var_i; generator_heap->var_i = tmp_assign_source_2; Py_XDECREF( old ); } } 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 = 656; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } 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[0], generator_heap->var_i ); // 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_1; // Exception handler code: try_except_handler_1:; 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; { Py_XDECREF( generator_heap->var_i ); generator_heap->var_i = 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 function_exception_exit; } // End of try: try_end_1:; } { Py_XDECREF( generator_heap->var_i ); generator_heap->var_i = 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 *bs4$element$$$function_46_parents$$$genobj_1_parents_maker( void ) { return Nuitka_Generator_New( bs4$element$$$function_46_parents$$$genobj_1_parents_context, module_bs4$element, const_str_plain_parents, #if PYTHON_VERSION >= 350 const_str_digest_757a2fce8a21ac849f1f3934767a43c0, #endif codeobj_d3dca88da02486a0ab25d2a3e0bda0fa, 1, sizeof(struct bs4$element$$$function_46_parents$$$genobj_1_parents_locals) ); } static PyObject *impl_bs4$element$$$function_47__attr_value_as_string( 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_value = python_pars[ 1 ]; PyObject *par_default = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_df315d0e98ee35d4dcc4c5f61ab6f49e; 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; static struct Nuitka_FrameObject *cache_frame_df315d0e98ee35d4dcc4c5f61ab6f49e = 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_df315d0e98ee35d4dcc4c5f61ab6f49e, codeobj_df315d0e98ee35d4dcc4c5f61ab6f49e, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_df315d0e98ee35d4dcc4c5f61ab6f49e = cache_frame_df315d0e98ee35d4dcc4c5f61ab6f49e; // Push the new frame as the currently active one. pushFrameStack( frame_df315d0e98ee35d4dcc4c5f61ab6f49e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_df315d0e98ee35d4dcc4c5f61ab6f49e ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 682; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_value == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 682; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_value; if ( par_default == 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", "default" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 682; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_default; frame_df315d0e98ee35d4dcc4c5f61ab6f49e->m_frame.f_lineno = 682; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2( 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 = 682; type_description_1 = "ooo"; goto frame_exception_exit_1; } { PyObject *old = par_value; par_value = tmp_assign_source_1; Py_XDECREF( old ); } } { 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; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; CHECK_OBJECT( par_value ); tmp_isinstance_inst_1 = par_value; tmp_isinstance_cls_1 = (PyObject *)&PyList_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 683; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_or_left_value_1 = ( 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:; CHECK_OBJECT( par_value ); tmp_isinstance_inst_2 = par_value; tmp_isinstance_cls_2 = (PyObject *)&PyTuple_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_2, tmp_isinstance_cls_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 683; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_or_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; 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:; { PyObject *tmp_assign_source_2; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_3; tmp_called_instance_1 = const_str_space; CHECK_OBJECT( par_value ); tmp_args_element_name_3 = par_value; frame_df315d0e98ee35d4dcc4c5f61ab6f49e->m_frame.f_lineno = 684; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_assign_source_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_join, call_args ); } if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 684; type_description_1 = "ooo"; goto frame_exception_exit_1; } { PyObject *old = par_value; par_value = tmp_assign_source_2; Py_XDECREF( old ); } } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_df315d0e98ee35d4dcc4c5f61ab6f49e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_df315d0e98ee35d4dcc4c5f61ab6f49e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_df315d0e98ee35d4dcc4c5f61ab6f49e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_df315d0e98ee35d4dcc4c5f61ab6f49e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_df315d0e98ee35d4dcc4c5f61ab6f49e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_df315d0e98ee35d4dcc4c5f61ab6f49e, type_description_1, par_self, par_value, par_default ); // Release cached frame. if ( frame_df315d0e98ee35d4dcc4c5f61ab6f49e == cache_frame_df315d0e98ee35d4dcc4c5f61ab6f49e ) { Py_DECREF( frame_df315d0e98ee35d4dcc4c5f61ab6f49e ); } cache_frame_df315d0e98ee35d4dcc4c5f61ab6f49e = NULL; assertFrameObject( frame_df315d0e98ee35d4dcc4c5f61ab6f49e ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { CHECK_OBJECT( par_value ); tmp_return_value = par_value; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_47__attr_value_as_string ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_value ); par_value = NULL; } { Py_XDECREF( par_default ); par_default = 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_value ); par_value = NULL; } { Py_XDECREF( par_default ); par_default = 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( bs4$element$$$function_47__attr_value_as_string ); 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_bs4$element$$$function_48__tag_name_matches_and( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_CellObject *par_function = PyCell_NEW1( python_pars[ 1 ] ); struct Nuitka_CellObject *par_tag_name = PyCell_NEW1( python_pars[ 2 ] ); PyObject *var__match = NULL; struct Nuitka_FrameObject *frame_0687b50ff83bc0f7dbc1a51cd1b81fa8; 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_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_0687b50ff83bc0f7dbc1a51cd1b81fa8 = 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_0687b50ff83bc0f7dbc1a51cd1b81fa8, codeobj_0687b50ff83bc0f7dbc1a51cd1b81fa8, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_0687b50ff83bc0f7dbc1a51cd1b81fa8 = cache_frame_0687b50ff83bc0f7dbc1a51cd1b81fa8; // Push the new frame as the currently active one. pushFrameStack( frame_0687b50ff83bc0f7dbc1a51cd1b81fa8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_0687b50ff83bc0f7dbc1a51cd1b81fa8 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; CHECK_OBJECT( PyCell_GET( par_tag_name ) ); tmp_operand_name_1 = PyCell_GET( par_tag_name ); tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 688; type_description_1 = "occo"; 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:; { if ( PyCell_GET( par_function ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "function" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 689; type_description_1 = "occo"; goto frame_exception_exit_1; } tmp_return_value = PyCell_GET( par_function ); Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_1; tmp_assign_source_1 = MAKE_FUNCTION_bs4$element$$$function_48__tag_name_matches_and$$$function_1__match( ); ((struct Nuitka_FunctionObject *)tmp_assign_source_1)->m_closure[0] = par_function; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_1)->m_closure[0] ); ((struct Nuitka_FunctionObject *)tmp_assign_source_1)->m_closure[1] = par_tag_name; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_1)->m_closure[1] ); assert( var__match == NULL ); var__match = tmp_assign_source_1; } { CHECK_OBJECT( var__match ); tmp_return_value = var__match; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_0687b50ff83bc0f7dbc1a51cd1b81fa8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0687b50ff83bc0f7dbc1a51cd1b81fa8 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0687b50ff83bc0f7dbc1a51cd1b81fa8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_0687b50ff83bc0f7dbc1a51cd1b81fa8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_0687b50ff83bc0f7dbc1a51cd1b81fa8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_0687b50ff83bc0f7dbc1a51cd1b81fa8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_0687b50ff83bc0f7dbc1a51cd1b81fa8, type_description_1, par_self, par_function, par_tag_name, var__match ); // Release cached frame. if ( frame_0687b50ff83bc0f7dbc1a51cd1b81fa8 == cache_frame_0687b50ff83bc0f7dbc1a51cd1b81fa8 ) { Py_DECREF( frame_0687b50ff83bc0f7dbc1a51cd1b81fa8 ); } cache_frame_0687b50ff83bc0f7dbc1a51cd1b81fa8 = NULL; assertFrameObject( frame_0687b50ff83bc0f7dbc1a51cd1b81fa8 ); // 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( bs4$element$$$function_48__tag_name_matches_and ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { CHECK_OBJECT( (PyObject *)par_function ); Py_DECREF( par_function ); par_function = NULL; } { CHECK_OBJECT( (PyObject *)par_tag_name ); Py_DECREF( par_tag_name ); par_tag_name = NULL; } { Py_XDECREF( var__match ); var__match = 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; } { CHECK_OBJECT( (PyObject *)par_function ); Py_DECREF( par_function ); par_function = NULL; } { CHECK_OBJECT( (PyObject *)par_tag_name ); Py_DECREF( par_tag_name ); par_tag_name = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_48__tag_name_matches_and ); 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_bs4$element$$$function_48__tag_name_matches_and$$$function_1__match( 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_tag = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_70bee86bc35990e86dfc9fcfdd19ddba; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_70bee86bc35990e86dfc9fcfdd19ddba = 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_70bee86bc35990e86dfc9fcfdd19ddba, codeobj_70bee86bc35990e86dfc9fcfdd19ddba, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_70bee86bc35990e86dfc9fcfdd19ddba = cache_frame_70bee86bc35990e86dfc9fcfdd19ddba; // Push the new frame as the currently active one. pushFrameStack( frame_70bee86bc35990e86dfc9fcfdd19ddba ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_70bee86bc35990e86dfc9fcfdd19ddba ) == 2 ); // Frame stack // Framed code: { int tmp_and_left_truth_1; PyObject *tmp_and_left_value_1; PyObject *tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_tag ); tmp_source_name_1 = par_tag; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_name ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 692; type_description_1 = "occ"; goto frame_exception_exit_1; } if ( PyCell_GET( self->m_closure[1] ) == NULL ) { Py_DECREF( tmp_compexpr_left_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "tag_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 692; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = PyCell_GET( self->m_closure[1] ); tmp_and_left_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_and_left_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 692; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_and_left_truth_1 = CHECK_IF_TRUE( tmp_and_left_value_1 ); if ( tmp_and_left_truth_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_and_left_value_1 ); exception_lineno = 692; type_description_1 = "occ"; goto frame_exception_exit_1; } if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; Py_DECREF( tmp_and_left_value_1 ); if ( PyCell_GET( self->m_closure[0] ) == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "function" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 692; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_called_name_1 = PyCell_GET( self->m_closure[0] ); if ( par_tag == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 692; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_tag; frame_70bee86bc35990e86dfc9fcfdd19ddba->m_frame.f_lineno = 692; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_and_right_value_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_and_right_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 692; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_return_value = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_return_value = tmp_and_left_value_1; and_end_1:; goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_70bee86bc35990e86dfc9fcfdd19ddba ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_70bee86bc35990e86dfc9fcfdd19ddba ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_70bee86bc35990e86dfc9fcfdd19ddba ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_70bee86bc35990e86dfc9fcfdd19ddba, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_70bee86bc35990e86dfc9fcfdd19ddba->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_70bee86bc35990e86dfc9fcfdd19ddba, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_70bee86bc35990e86dfc9fcfdd19ddba, type_description_1, par_tag, self->m_closure[1], self->m_closure[0] ); // Release cached frame. if ( frame_70bee86bc35990e86dfc9fcfdd19ddba == cache_frame_70bee86bc35990e86dfc9fcfdd19ddba ) { Py_DECREF( frame_70bee86bc35990e86dfc9fcfdd19ddba ); } cache_frame_70bee86bc35990e86dfc9fcfdd19ddba = NULL; assertFrameObject( frame_70bee86bc35990e86dfc9fcfdd19ddba ); // 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( bs4$element$$$function_48__tag_name_matches_and$$$function_1__match ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_tag ); par_tag = 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_tag ); par_tag = 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( bs4$element$$$function_48__tag_name_matches_and$$$function_1__match ); 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_bs4$element$$$function_49__attribute_checker( 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_operator = python_pars[ 1 ]; struct Nuitka_CellObject *par_attribute = PyCell_NEW1( python_pars[ 2 ] ); struct Nuitka_CellObject *par_value = PyCell_NEW1( python_pars[ 3 ] ); PyObject *var__includes_value = NULL; PyObject *var__is_or_starts_with_dash = NULL; struct Nuitka_FrameObject *frame_7967b765ab33c929276207289fe6f3a8; 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_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_7967b765ab33c929276207289fe6f3a8 = 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_7967b765ab33c929276207289fe6f3a8, codeobj_7967b765ab33c929276207289fe6f3a8, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_7967b765ab33c929276207289fe6f3a8 = cache_frame_7967b765ab33c929276207289fe6f3a8; // Push the new frame as the currently active one. pushFrameStack( frame_7967b765ab33c929276207289fe6f3a8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7967b765ab33c929276207289fe6f3a8 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_operator ); tmp_compexpr_left_1 = par_operator; tmp_compexpr_right_1 = const_str_chr_61; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 702; type_description_1 = "ooccoo"; 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:; { tmp_return_value = MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_1_lambda( ); ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[0] = par_attribute; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[0] ); ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[1] = par_value; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[1] ); goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( par_operator == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "operator" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 705; type_description_1 = "ooccoo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = par_operator; tmp_compexpr_right_2 = const_str_chr_126; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 705; type_description_1 = "ooccoo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_1; tmp_assign_source_1 = MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_2__includes_value( ); ((struct Nuitka_FunctionObject *)tmp_assign_source_1)->m_closure[0] = par_attribute; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_1)->m_closure[0] ); ((struct Nuitka_FunctionObject *)tmp_assign_source_1)->m_closure[1] = par_value; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_1)->m_closure[1] ); assert( var__includes_value == NULL ); var__includes_value = tmp_assign_source_1; } { CHECK_OBJECT( var__includes_value ); tmp_return_value = var__includes_value; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } goto branch_end_2; branch_no_2:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; if ( par_operator == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "operator" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 714; type_description_1 = "ooccoo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = par_operator; tmp_compexpr_right_3 = const_str_chr_94; tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 714; type_description_1 = "ooccoo"; goto frame_exception_exit_1; } 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:; { tmp_return_value = MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_3_lambda( ); ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[0] = par_attribute; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[0] ); ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[1] = par_value; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[1] ); goto frame_return_exit_1; } goto branch_end_3; branch_no_3:; { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; if ( par_operator == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "operator" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 718; type_description_1 = "ooccoo"; goto frame_exception_exit_1; } tmp_compexpr_left_4 = par_operator; tmp_compexpr_right_4 = const_str_chr_36; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_4, tmp_compexpr_right_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 718; type_description_1 = "ooccoo"; goto frame_exception_exit_1; } tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { tmp_return_value = MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_4_lambda( ); ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[0] = par_attribute; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[0] ); ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[1] = par_value; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[1] ); goto frame_return_exit_1; } goto branch_end_4; branch_no_4:; { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; if ( par_operator == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "operator" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 722; type_description_1 = "ooccoo"; goto frame_exception_exit_1; } tmp_compexpr_left_5 = par_operator; tmp_compexpr_right_5 = const_str_chr_42; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_5, tmp_compexpr_right_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 722; type_description_1 = "ooccoo"; goto frame_exception_exit_1; } tmp_condition_result_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { tmp_return_value = MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_5_lambda( ); ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[0] = par_attribute; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[0] ); ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[1] = par_value; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[1] ); goto frame_return_exit_1; } goto branch_end_5; branch_no_5:; { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; if ( par_operator == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "operator" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 725; type_description_1 = "ooccoo"; goto frame_exception_exit_1; } tmp_compexpr_left_6 = par_operator; tmp_compexpr_right_6 = const_str_chr_124; tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 725; type_description_1 = "ooccoo"; goto frame_exception_exit_1; } tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_assign_source_2; tmp_assign_source_2 = MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_6__is_or_starts_with_dash( ); ((struct Nuitka_FunctionObject *)tmp_assign_source_2)->m_closure[0] = par_attribute; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_2)->m_closure[0] ); ((struct Nuitka_FunctionObject *)tmp_assign_source_2)->m_closure[1] = par_value; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_2)->m_closure[1] ); assert( var__is_or_starts_with_dash == NULL ); var__is_or_starts_with_dash = tmp_assign_source_2; } { CHECK_OBJECT( var__is_or_starts_with_dash ); tmp_return_value = var__is_or_starts_with_dash; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } goto branch_end_6; branch_no_6:; { tmp_return_value = MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_7_lambda( ); ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[0] = par_attribute; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_return_value)->m_closure[0] ); goto frame_return_exit_1; } branch_end_6:; } branch_end_5:; } branch_end_4:; } branch_end_3:; } branch_end_2:; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_7967b765ab33c929276207289fe6f3a8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7967b765ab33c929276207289fe6f3a8 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7967b765ab33c929276207289fe6f3a8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7967b765ab33c929276207289fe6f3a8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7967b765ab33c929276207289fe6f3a8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7967b765ab33c929276207289fe6f3a8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7967b765ab33c929276207289fe6f3a8, type_description_1, par_self, par_operator, par_attribute, par_value, var__includes_value, var__is_or_starts_with_dash ); // Release cached frame. if ( frame_7967b765ab33c929276207289fe6f3a8 == cache_frame_7967b765ab33c929276207289fe6f3a8 ) { Py_DECREF( frame_7967b765ab33c929276207289fe6f3a8 ); } cache_frame_7967b765ab33c929276207289fe6f3a8 = NULL; assertFrameObject( frame_7967b765ab33c929276207289fe6f3a8 ); // 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( bs4$element$$$function_49__attribute_checker ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_operator ); par_operator = NULL; } { CHECK_OBJECT( (PyObject *)par_attribute ); Py_DECREF( par_attribute ); par_attribute = NULL; } { CHECK_OBJECT( (PyObject *)par_value ); Py_DECREF( par_value ); par_value = NULL; } { Py_XDECREF( var__includes_value ); var__includes_value = NULL; } { Py_XDECREF( var__is_or_starts_with_dash ); var__is_or_starts_with_dash = 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_operator ); par_operator = NULL; } { CHECK_OBJECT( (PyObject *)par_attribute ); Py_DECREF( par_attribute ); par_attribute = NULL; } { CHECK_OBJECT( (PyObject *)par_value ); Py_DECREF( par_value ); par_value = NULL; } { Py_XDECREF( var__includes_value ); var__includes_value = 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( bs4$element$$$function_49__attribute_checker ); 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_bs4$element$$$function_49__attribute_checker$$$function_1_lambda( 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_el = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_95cae882095f59dd340378988e49c026; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_95cae882095f59dd340378988e49c026 = 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_95cae882095f59dd340378988e49c026, codeobj_95cae882095f59dd340378988e49c026, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_95cae882095f59dd340378988e49c026 = cache_frame_95cae882095f59dd340378988e49c026; // Push the new frame as the currently active one. pushFrameStack( frame_95cae882095f59dd340378988e49c026 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_95cae882095f59dd340378988e49c026 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_el ); tmp_source_name_1 = par_el; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__attr_value_as_string ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 704; type_description_1 = "occ"; goto frame_exception_exit_1; } if ( PyCell_GET( self->m_closure[0] ) == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "attribute" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 704; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_args_element_name_1 = PyCell_GET( self->m_closure[0] ); frame_95cae882095f59dd340378988e49c026->m_frame.f_lineno = 704; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_compexpr_left_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 704; type_description_1 = "occ"; goto frame_exception_exit_1; } if ( PyCell_GET( self->m_closure[1] ) == NULL ) { Py_DECREF( tmp_compexpr_left_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 704; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = PyCell_GET( self->m_closure[1] ); tmp_return_value = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 704; type_description_1 = "occ"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_95cae882095f59dd340378988e49c026 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_95cae882095f59dd340378988e49c026 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_95cae882095f59dd340378988e49c026 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_95cae882095f59dd340378988e49c026, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_95cae882095f59dd340378988e49c026->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_95cae882095f59dd340378988e49c026, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_95cae882095f59dd340378988e49c026, type_description_1, par_el, self->m_closure[0], self->m_closure[1] ); // Release cached frame. if ( frame_95cae882095f59dd340378988e49c026 == cache_frame_95cae882095f59dd340378988e49c026 ) { Py_DECREF( frame_95cae882095f59dd340378988e49c026 ); } cache_frame_95cae882095f59dd340378988e49c026 = NULL; assertFrameObject( frame_95cae882095f59dd340378988e49c026 ); // 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( bs4$element$$$function_49__attribute_checker$$$function_1_lambda ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_el ); par_el = 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_el ); par_el = 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( bs4$element$$$function_49__attribute_checker$$$function_1_lambda ); 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_bs4$element$$$function_49__attribute_checker$$$function_2__includes_value( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_element = python_pars[ 0 ]; PyObject *var_attribute_value = NULL; struct Nuitka_FrameObject *frame_949c748c7e97e79632fad1744dd022f3; 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_949c748c7e97e79632fad1744dd022f3 = 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_949c748c7e97e79632fad1744dd022f3, codeobj_949c748c7e97e79632fad1744dd022f3, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_949c748c7e97e79632fad1744dd022f3 = cache_frame_949c748c7e97e79632fad1744dd022f3; // Push the new frame as the currently active one. pushFrameStack( frame_949c748c7e97e79632fad1744dd022f3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_949c748c7e97e79632fad1744dd022f3 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; CHECK_OBJECT( par_element ); tmp_source_name_1 = par_element; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 709; type_description_1 = "oocc"; goto frame_exception_exit_1; } if ( PyCell_GET( self->m_closure[0] ) == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "attribute" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 709; type_description_1 = "oocc"; goto frame_exception_exit_1; } tmp_args_element_name_1 = PyCell_GET( self->m_closure[0] ); tmp_args_element_name_2 = PyList_New( 0 ); frame_949c748c7e97e79632fad1744dd022f3->m_frame.f_lineno = 709; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_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_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 709; type_description_1 = "oocc"; goto frame_exception_exit_1; } assert( var_attribute_value == NULL ); var_attribute_value = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; CHECK_OBJECT( var_attribute_value ); tmp_isinstance_inst_1 = var_attribute_value; tmp_isinstance_cls_1 = (PyObject *)&PyList_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 710; type_description_1 = "oocc"; 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 = 710; type_description_1 = "oocc"; 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_2; PyObject *tmp_called_instance_1; if ( var_attribute_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attribute_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 711; type_description_1 = "oocc"; goto frame_exception_exit_1; } tmp_called_instance_1 = var_attribute_value; frame_949c748c7e97e79632fad1744dd022f3->m_frame.f_lineno = 711; tmp_assign_source_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_split ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 711; type_description_1 = "oocc"; goto frame_exception_exit_1; } { PyObject *old = var_attribute_value; var_attribute_value = tmp_assign_source_2; Py_XDECREF( old ); } } branch_no_1:; } { PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( PyCell_GET( self->m_closure[1] ) == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 712; type_description_1 = "oocc"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = PyCell_GET( self->m_closure[1] ); if ( var_attribute_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attribute_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 712; type_description_1 = "oocc"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = var_attribute_value; tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 712; type_description_1 = "oocc"; goto frame_exception_exit_1; } tmp_return_value = ( tmp_res == 1 ) ? Py_True : Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_949c748c7e97e79632fad1744dd022f3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_949c748c7e97e79632fad1744dd022f3 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_949c748c7e97e79632fad1744dd022f3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_949c748c7e97e79632fad1744dd022f3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_949c748c7e97e79632fad1744dd022f3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_949c748c7e97e79632fad1744dd022f3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_949c748c7e97e79632fad1744dd022f3, type_description_1, par_element, var_attribute_value, self->m_closure[0], self->m_closure[1] ); // Release cached frame. if ( frame_949c748c7e97e79632fad1744dd022f3 == cache_frame_949c748c7e97e79632fad1744dd022f3 ) { Py_DECREF( frame_949c748c7e97e79632fad1744dd022f3 ); } cache_frame_949c748c7e97e79632fad1744dd022f3 = NULL; assertFrameObject( frame_949c748c7e97e79632fad1744dd022f3 ); // 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( bs4$element$$$function_49__attribute_checker$$$function_2__includes_value ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_element ); par_element = NULL; } { Py_XDECREF( var_attribute_value ); var_attribute_value = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_element ); par_element = NULL; } { Py_XDECREF( var_attribute_value ); var_attribute_value = 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( bs4$element$$$function_49__attribute_checker$$$function_2__includes_value ); 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_bs4$element$$$function_49__attribute_checker$$$function_3_lambda( 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_el = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_d71607011581f4dcf6ff97e649027795; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_d71607011581f4dcf6ff97e649027795 = 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_d71607011581f4dcf6ff97e649027795, codeobj_d71607011581f4dcf6ff97e649027795, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_d71607011581f4dcf6ff97e649027795 = cache_frame_d71607011581f4dcf6ff97e649027795; // Push the new frame as the currently active one. pushFrameStack( frame_d71607011581f4dcf6ff97e649027795 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d71607011581f4dcf6ff97e649027795 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; CHECK_OBJECT( par_el ); tmp_source_name_2 = par_el; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__attr_value_as_string ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 716; type_description_1 = "occ"; goto frame_exception_exit_1; } if ( PyCell_GET( self->m_closure[0] ) == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "attribute" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 717; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_args_element_name_1 = PyCell_GET( self->m_closure[0] ); tmp_args_element_name_2 = const_str_empty; frame_d71607011581f4dcf6ff97e649027795->m_frame.f_lineno = 716; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_source_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 716; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_startswith ); 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 = 716; type_description_1 = "occ"; goto frame_exception_exit_1; } if ( PyCell_GET( self->m_closure[1] ) == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 717; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_args_element_name_3 = PyCell_GET( self->m_closure[1] ); frame_d71607011581f4dcf6ff97e649027795->m_frame.f_lineno = 716; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 716; type_description_1 = "occ"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d71607011581f4dcf6ff97e649027795 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d71607011581f4dcf6ff97e649027795 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d71607011581f4dcf6ff97e649027795 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d71607011581f4dcf6ff97e649027795, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d71607011581f4dcf6ff97e649027795->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d71607011581f4dcf6ff97e649027795, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d71607011581f4dcf6ff97e649027795, type_description_1, par_el, self->m_closure[0], self->m_closure[1] ); // Release cached frame. if ( frame_d71607011581f4dcf6ff97e649027795 == cache_frame_d71607011581f4dcf6ff97e649027795 ) { Py_DECREF( frame_d71607011581f4dcf6ff97e649027795 ); } cache_frame_d71607011581f4dcf6ff97e649027795 = NULL; assertFrameObject( frame_d71607011581f4dcf6ff97e649027795 ); // 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( bs4$element$$$function_49__attribute_checker$$$function_3_lambda ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_el ); par_el = 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_el ); par_el = 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( bs4$element$$$function_49__attribute_checker$$$function_3_lambda ); 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_bs4$element$$$function_49__attribute_checker$$$function_4_lambda( 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_el = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_d1724f132f3b5adc65e656c1c409cac8; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_d1724f132f3b5adc65e656c1c409cac8 = 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_d1724f132f3b5adc65e656c1c409cac8, codeobj_d1724f132f3b5adc65e656c1c409cac8, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_d1724f132f3b5adc65e656c1c409cac8 = cache_frame_d1724f132f3b5adc65e656c1c409cac8; // Push the new frame as the currently active one. pushFrameStack( frame_d1724f132f3b5adc65e656c1c409cac8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d1724f132f3b5adc65e656c1c409cac8 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; CHECK_OBJECT( par_el ); tmp_source_name_2 = par_el; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__attr_value_as_string ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 720; type_description_1 = "occ"; goto frame_exception_exit_1; } if ( PyCell_GET( self->m_closure[0] ) == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "attribute" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 721; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_args_element_name_1 = PyCell_GET( self->m_closure[0] ); tmp_args_element_name_2 = const_str_empty; frame_d1724f132f3b5adc65e656c1c409cac8->m_frame.f_lineno = 720; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_source_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 720; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_endswith ); 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 = 720; type_description_1 = "occ"; goto frame_exception_exit_1; } if ( PyCell_GET( self->m_closure[1] ) == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 721; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_args_element_name_3 = PyCell_GET( self->m_closure[1] ); frame_d1724f132f3b5adc65e656c1c409cac8->m_frame.f_lineno = 720; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 720; type_description_1 = "occ"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d1724f132f3b5adc65e656c1c409cac8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d1724f132f3b5adc65e656c1c409cac8 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d1724f132f3b5adc65e656c1c409cac8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d1724f132f3b5adc65e656c1c409cac8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d1724f132f3b5adc65e656c1c409cac8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d1724f132f3b5adc65e656c1c409cac8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d1724f132f3b5adc65e656c1c409cac8, type_description_1, par_el, self->m_closure[0], self->m_closure[1] ); // Release cached frame. if ( frame_d1724f132f3b5adc65e656c1c409cac8 == cache_frame_d1724f132f3b5adc65e656c1c409cac8 ) { Py_DECREF( frame_d1724f132f3b5adc65e656c1c409cac8 ); } cache_frame_d1724f132f3b5adc65e656c1c409cac8 = NULL; assertFrameObject( frame_d1724f132f3b5adc65e656c1c409cac8 ); // 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( bs4$element$$$function_49__attribute_checker$$$function_4_lambda ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_el ); par_el = 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_el ); par_el = 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( bs4$element$$$function_49__attribute_checker$$$function_4_lambda ); 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_bs4$element$$$function_49__attribute_checker$$$function_5_lambda( 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_el = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_7d26b56ff10cc3737beac52d1f3c2526; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; static struct Nuitka_FrameObject *cache_frame_7d26b56ff10cc3737beac52d1f3c2526 = 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_7d26b56ff10cc3737beac52d1f3c2526, codeobj_7d26b56ff10cc3737beac52d1f3c2526, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_7d26b56ff10cc3737beac52d1f3c2526 = cache_frame_7d26b56ff10cc3737beac52d1f3c2526; // Push the new frame as the currently active one. pushFrameStack( frame_7d26b56ff10cc3737beac52d1f3c2526 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7d26b56ff10cc3737beac52d1f3c2526 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; if ( PyCell_GET( self->m_closure[1] ) == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 724; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = PyCell_GET( self->m_closure[1] ); CHECK_OBJECT( par_el ); tmp_source_name_1 = par_el; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__attr_value_as_string ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 724; type_description_1 = "occ"; goto frame_exception_exit_1; } if ( PyCell_GET( self->m_closure[0] ) == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "attribute" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 724; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_args_element_name_1 = PyCell_GET( self->m_closure[0] ); tmp_args_element_name_2 = const_str_empty; frame_7d26b56ff10cc3737beac52d1f3c2526->m_frame.f_lineno = 724; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_compexpr_right_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 724; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 724; type_description_1 = "occ"; goto frame_exception_exit_1; } tmp_return_value = ( tmp_res == 1 ) ? Py_True : Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_7d26b56ff10cc3737beac52d1f3c2526 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7d26b56ff10cc3737beac52d1f3c2526 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7d26b56ff10cc3737beac52d1f3c2526 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7d26b56ff10cc3737beac52d1f3c2526, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7d26b56ff10cc3737beac52d1f3c2526->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7d26b56ff10cc3737beac52d1f3c2526, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7d26b56ff10cc3737beac52d1f3c2526, type_description_1, par_el, self->m_closure[1], self->m_closure[0] ); // Release cached frame. if ( frame_7d26b56ff10cc3737beac52d1f3c2526 == cache_frame_7d26b56ff10cc3737beac52d1f3c2526 ) { Py_DECREF( frame_7d26b56ff10cc3737beac52d1f3c2526 ); } cache_frame_7d26b56ff10cc3737beac52d1f3c2526 = NULL; assertFrameObject( frame_7d26b56ff10cc3737beac52d1f3c2526 ); // 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( bs4$element$$$function_49__attribute_checker$$$function_5_lambda ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_el ); par_el = 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_el ); par_el = 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( bs4$element$$$function_49__attribute_checker$$$function_5_lambda ); 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_bs4$element$$$function_49__attribute_checker$$$function_6__is_or_starts_with_dash( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_element = python_pars[ 0 ]; PyObject *var_attribute_value = NULL; struct Nuitka_FrameObject *frame_36b758aca2688edbdd1b25564f4d5f72; 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_36b758aca2688edbdd1b25564f4d5f72 = 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_36b758aca2688edbdd1b25564f4d5f72, codeobj_36b758aca2688edbdd1b25564f4d5f72, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_36b758aca2688edbdd1b25564f4d5f72 = cache_frame_36b758aca2688edbdd1b25564f4d5f72; // Push the new frame as the currently active one. pushFrameStack( frame_36b758aca2688edbdd1b25564f4d5f72 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_36b758aca2688edbdd1b25564f4d5f72 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; CHECK_OBJECT( par_element ); tmp_source_name_1 = par_element; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__attr_value_as_string ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 729; type_description_1 = "oocc"; goto frame_exception_exit_1; } if ( PyCell_GET( self->m_closure[0] ) == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "attribute" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 729; type_description_1 = "oocc"; goto frame_exception_exit_1; } tmp_args_element_name_1 = PyCell_GET( self->m_closure[0] ); tmp_args_element_name_2 = const_str_empty; frame_36b758aca2688edbdd1b25564f4d5f72->m_frame.f_lineno = 729; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2( 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 = 729; type_description_1 = "oocc"; goto frame_exception_exit_1; } assert( var_attribute_value == NULL ); var_attribute_value = tmp_assign_source_1; } { int tmp_or_left_truth_1; PyObject *tmp_or_left_value_1; PyObject *tmp_or_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT( var_attribute_value ); tmp_compexpr_left_1 = var_attribute_value; if ( PyCell_GET( self->m_closure[1] ) == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 730; type_description_1 = "oocc"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = PyCell_GET( self->m_closure[1] ); tmp_or_left_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( tmp_or_left_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 730; type_description_1 = "oocc"; goto frame_exception_exit_1; } tmp_or_left_truth_1 = CHECK_IF_TRUE( tmp_or_left_value_1 ); if ( tmp_or_left_truth_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_or_left_value_1 ); exception_lineno = 730; type_description_1 = "oocc"; goto frame_exception_exit_1; } if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; Py_DECREF( tmp_or_left_value_1 ); if ( var_attribute_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attribute_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 730; type_description_1 = "oocc"; goto frame_exception_exit_1; } tmp_source_name_2 = var_attribute_value; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_startswith ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 730; type_description_1 = "oocc"; goto frame_exception_exit_1; } if ( PyCell_GET( self->m_closure[1] ) == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 731; type_description_1 = "oocc"; goto frame_exception_exit_1; } tmp_left_name_1 = PyCell_GET( self->m_closure[1] ); tmp_right_name_1 = const_str_chr_45; tmp_args_element_name_3 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 731; type_description_1 = "oocc"; goto frame_exception_exit_1; } frame_36b758aca2688edbdd1b25564f4d5f72->m_frame.f_lineno = 730; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_or_right_value_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_or_right_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 730; type_description_1 = "oocc"; goto frame_exception_exit_1; } tmp_return_value = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_return_value = tmp_or_left_value_1; or_end_1:; goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_36b758aca2688edbdd1b25564f4d5f72 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_36b758aca2688edbdd1b25564f4d5f72 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_36b758aca2688edbdd1b25564f4d5f72 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_36b758aca2688edbdd1b25564f4d5f72, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_36b758aca2688edbdd1b25564f4d5f72->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_36b758aca2688edbdd1b25564f4d5f72, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_36b758aca2688edbdd1b25564f4d5f72, type_description_1, par_element, var_attribute_value, self->m_closure[0], self->m_closure[1] ); // Release cached frame. if ( frame_36b758aca2688edbdd1b25564f4d5f72 == cache_frame_36b758aca2688edbdd1b25564f4d5f72 ) { Py_DECREF( frame_36b758aca2688edbdd1b25564f4d5f72 ); } cache_frame_36b758aca2688edbdd1b25564f4d5f72 = NULL; assertFrameObject( frame_36b758aca2688edbdd1b25564f4d5f72 ); // 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( bs4$element$$$function_49__attribute_checker$$$function_6__is_or_starts_with_dash ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_element ); par_element = NULL; } { Py_XDECREF( var_attribute_value ); var_attribute_value = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_element ); par_element = NULL; } { Py_XDECREF( var_attribute_value ); var_attribute_value = 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( bs4$element$$$function_49__attribute_checker$$$function_6__is_or_starts_with_dash ); 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_bs4$element$$$function_49__attribute_checker$$$function_7_lambda( 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_el = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_07768771a9dff1dca7fa5867d8d872f8; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_07768771a9dff1dca7fa5867d8d872f8 = 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_07768771a9dff1dca7fa5867d8d872f8, codeobj_07768771a9dff1dca7fa5867d8d872f8, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_07768771a9dff1dca7fa5867d8d872f8 = cache_frame_07768771a9dff1dca7fa5867d8d872f8; // Push the new frame as the currently active one. pushFrameStack( frame_07768771a9dff1dca7fa5867d8d872f8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_07768771a9dff1dca7fa5867d8d872f8 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_el ); tmp_source_name_1 = par_el; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_has_attr ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 734; type_description_1 = "oc"; goto frame_exception_exit_1; } if ( PyCell_GET( self->m_closure[0] ) == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "attribute" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 734; type_description_1 = "oc"; goto frame_exception_exit_1; } tmp_args_element_name_1 = PyCell_GET( self->m_closure[0] ); frame_07768771a9dff1dca7fa5867d8d872f8->m_frame.f_lineno = 734; { 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 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 734; type_description_1 = "oc"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_07768771a9dff1dca7fa5867d8d872f8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_07768771a9dff1dca7fa5867d8d872f8 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_07768771a9dff1dca7fa5867d8d872f8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_07768771a9dff1dca7fa5867d8d872f8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_07768771a9dff1dca7fa5867d8d872f8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_07768771a9dff1dca7fa5867d8d872f8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_07768771a9dff1dca7fa5867d8d872f8, type_description_1, par_el, self->m_closure[0] ); // Release cached frame. if ( frame_07768771a9dff1dca7fa5867d8d872f8 == cache_frame_07768771a9dff1dca7fa5867d8d872f8 ) { Py_DECREF( frame_07768771a9dff1dca7fa5867d8d872f8 ); } cache_frame_07768771a9dff1dca7fa5867d8d872f8 = NULL; assertFrameObject( frame_07768771a9dff1dca7fa5867d8d872f8 ); // 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( bs4$element$$$function_49__attribute_checker$$$function_7_lambda ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_el ); par_el = 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_el ); par_el = 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( bs4$element$$$function_49__attribute_checker$$$function_7_lambda ); 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_bs4$element$$$function_50_nextGenerator( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_89f9f74b499c88d48a6850bc75fc3b9c; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_89f9f74b499c88d48a6850bc75fc3b9c = 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_89f9f74b499c88d48a6850bc75fc3b9c, codeobj_89f9f74b499c88d48a6850bc75fc3b9c, module_bs4$element, sizeof(void *) ); frame_89f9f74b499c88d48a6850bc75fc3b9c = cache_frame_89f9f74b499c88d48a6850bc75fc3b9c; // Push the new frame as the currently active one. pushFrameStack( frame_89f9f74b499c88d48a6850bc75fc3b9c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_89f9f74b499c88d48a6850bc75fc3b9c ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_next_elements ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 739; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_89f9f74b499c88d48a6850bc75fc3b9c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_89f9f74b499c88d48a6850bc75fc3b9c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_89f9f74b499c88d48a6850bc75fc3b9c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_89f9f74b499c88d48a6850bc75fc3b9c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_89f9f74b499c88d48a6850bc75fc3b9c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_89f9f74b499c88d48a6850bc75fc3b9c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_89f9f74b499c88d48a6850bc75fc3b9c, type_description_1, par_self ); // Release cached frame. if ( frame_89f9f74b499c88d48a6850bc75fc3b9c == cache_frame_89f9f74b499c88d48a6850bc75fc3b9c ) { Py_DECREF( frame_89f9f74b499c88d48a6850bc75fc3b9c ); } cache_frame_89f9f74b499c88d48a6850bc75fc3b9c = NULL; assertFrameObject( frame_89f9f74b499c88d48a6850bc75fc3b9c ); // 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( bs4$element$$$function_50_nextGenerator ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_50_nextGenerator ); 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_bs4$element$$$function_51_nextSiblingGenerator( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_db408799525830effe488f5864e93341; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_db408799525830effe488f5864e93341 = 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_db408799525830effe488f5864e93341, codeobj_db408799525830effe488f5864e93341, module_bs4$element, sizeof(void *) ); frame_db408799525830effe488f5864e93341 = cache_frame_db408799525830effe488f5864e93341; // Push the new frame as the currently active one. pushFrameStack( frame_db408799525830effe488f5864e93341 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_db408799525830effe488f5864e93341 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_next_siblings ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 742; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_db408799525830effe488f5864e93341 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_db408799525830effe488f5864e93341 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_db408799525830effe488f5864e93341 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_db408799525830effe488f5864e93341, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_db408799525830effe488f5864e93341->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_db408799525830effe488f5864e93341, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_db408799525830effe488f5864e93341, type_description_1, par_self ); // Release cached frame. if ( frame_db408799525830effe488f5864e93341 == cache_frame_db408799525830effe488f5864e93341 ) { Py_DECREF( frame_db408799525830effe488f5864e93341 ); } cache_frame_db408799525830effe488f5864e93341 = NULL; assertFrameObject( frame_db408799525830effe488f5864e93341 ); // 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( bs4$element$$$function_51_nextSiblingGenerator ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_51_nextSiblingGenerator ); 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_bs4$element$$$function_52_previousGenerator( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_258ae2b97b21bb3ab4a0be3666e78453; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_258ae2b97b21bb3ab4a0be3666e78453 = 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_258ae2b97b21bb3ab4a0be3666e78453, codeobj_258ae2b97b21bb3ab4a0be3666e78453, module_bs4$element, sizeof(void *) ); frame_258ae2b97b21bb3ab4a0be3666e78453 = cache_frame_258ae2b97b21bb3ab4a0be3666e78453; // Push the new frame as the currently active one. pushFrameStack( frame_258ae2b97b21bb3ab4a0be3666e78453 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_258ae2b97b21bb3ab4a0be3666e78453 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_previous_elements ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 745; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_258ae2b97b21bb3ab4a0be3666e78453 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_258ae2b97b21bb3ab4a0be3666e78453 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_258ae2b97b21bb3ab4a0be3666e78453 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_258ae2b97b21bb3ab4a0be3666e78453, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_258ae2b97b21bb3ab4a0be3666e78453->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_258ae2b97b21bb3ab4a0be3666e78453, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_258ae2b97b21bb3ab4a0be3666e78453, type_description_1, par_self ); // Release cached frame. if ( frame_258ae2b97b21bb3ab4a0be3666e78453 == cache_frame_258ae2b97b21bb3ab4a0be3666e78453 ) { Py_DECREF( frame_258ae2b97b21bb3ab4a0be3666e78453 ); } cache_frame_258ae2b97b21bb3ab4a0be3666e78453 = NULL; assertFrameObject( frame_258ae2b97b21bb3ab4a0be3666e78453 ); // 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( bs4$element$$$function_52_previousGenerator ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_52_previousGenerator ); 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_bs4$element$$$function_53_previousSiblingGenerator( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_c60bd8b775ef9d752554f066c4250e6d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_c60bd8b775ef9d752554f066c4250e6d = 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_c60bd8b775ef9d752554f066c4250e6d, codeobj_c60bd8b775ef9d752554f066c4250e6d, module_bs4$element, sizeof(void *) ); frame_c60bd8b775ef9d752554f066c4250e6d = cache_frame_c60bd8b775ef9d752554f066c4250e6d; // Push the new frame as the currently active one. pushFrameStack( frame_c60bd8b775ef9d752554f066c4250e6d ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c60bd8b775ef9d752554f066c4250e6d ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_previous_siblings ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 748; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_c60bd8b775ef9d752554f066c4250e6d ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c60bd8b775ef9d752554f066c4250e6d ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c60bd8b775ef9d752554f066c4250e6d ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c60bd8b775ef9d752554f066c4250e6d, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c60bd8b775ef9d752554f066c4250e6d->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c60bd8b775ef9d752554f066c4250e6d, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c60bd8b775ef9d752554f066c4250e6d, type_description_1, par_self ); // Release cached frame. if ( frame_c60bd8b775ef9d752554f066c4250e6d == cache_frame_c60bd8b775ef9d752554f066c4250e6d ) { Py_DECREF( frame_c60bd8b775ef9d752554f066c4250e6d ); } cache_frame_c60bd8b775ef9d752554f066c4250e6d = NULL; assertFrameObject( frame_c60bd8b775ef9d752554f066c4250e6d ); // 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( bs4$element$$$function_53_previousSiblingGenerator ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_53_previousSiblingGenerator ); 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_bs4$element$$$function_54_parentGenerator( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_73f01e65f6fa8762c77d98dcf29d3867; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_73f01e65f6fa8762c77d98dcf29d3867 = 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_73f01e65f6fa8762c77d98dcf29d3867, codeobj_73f01e65f6fa8762c77d98dcf29d3867, module_bs4$element, sizeof(void *) ); frame_73f01e65f6fa8762c77d98dcf29d3867 = cache_frame_73f01e65f6fa8762c77d98dcf29d3867; // Push the new frame as the currently active one. pushFrameStack( frame_73f01e65f6fa8762c77d98dcf29d3867 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_73f01e65f6fa8762c77d98dcf29d3867 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_parents ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 751; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_73f01e65f6fa8762c77d98dcf29d3867 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_73f01e65f6fa8762c77d98dcf29d3867 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_73f01e65f6fa8762c77d98dcf29d3867 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_73f01e65f6fa8762c77d98dcf29d3867, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_73f01e65f6fa8762c77d98dcf29d3867->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_73f01e65f6fa8762c77d98dcf29d3867, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_73f01e65f6fa8762c77d98dcf29d3867, type_description_1, par_self ); // Release cached frame. if ( frame_73f01e65f6fa8762c77d98dcf29d3867 == cache_frame_73f01e65f6fa8762c77d98dcf29d3867 ) { Py_DECREF( frame_73f01e65f6fa8762c77d98dcf29d3867 ); } cache_frame_73f01e65f6fa8762c77d98dcf29d3867 = NULL; assertFrameObject( frame_73f01e65f6fa8762c77d98dcf29d3867 ); // 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( bs4$element$$$function_54_parentGenerator ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_54_parentGenerator ); 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_bs4$element$$$function_55___new__( 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_cls = python_pars[ 0 ]; PyObject *par_value = python_pars[ 1 ]; PyObject *var_u = NULL; struct Nuitka_FrameObject *frame_0e6d26d3e5169a6c25ef9f44039001eb; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; int tmp_res; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_0e6d26d3e5169a6c25ef9f44039001eb = 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_0e6d26d3e5169a6c25ef9f44039001eb, codeobj_0e6d26d3e5169a6c25ef9f44039001eb, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_0e6d26d3e5169a6c25ef9f44039001eb = cache_frame_0e6d26d3e5169a6c25ef9f44039001eb; // Push the new frame as the currently active one. pushFrameStack( frame_0e6d26d3e5169a6c25ef9f44039001eb ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_0e6d26d3e5169a6c25ef9f44039001eb ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; CHECK_OBJECT( par_value ); tmp_isinstance_inst_1 = par_value; tmp_isinstance_cls_1 = (PyObject *)&PyUnicode_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 772; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; tmp_called_instance_1 = (PyObject *)&PyUnicode_Type; CHECK_OBJECT( par_cls ); tmp_args_element_name_1 = par_cls; CHECK_OBJECT( par_value ); tmp_args_element_name_2 = par_value; frame_0e6d26d3e5169a6c25ef9f44039001eb->m_frame.f_lineno = 773; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain___new__, call_args ); } if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 773; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_u == NULL ); var_u = tmp_assign_source_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; PyObject *tmp_mvar_value_1; tmp_source_name_1 = (PyObject *)&PyUnicode_Type; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___new__ ); assert( !(tmp_called_name_1 == NULL) ); CHECK_OBJECT( par_cls ); tmp_args_element_name_3 = par_cls; CHECK_OBJECT( par_value ); tmp_args_element_name_4 = par_value; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_DEFAULT_OUTPUT_ENCODING ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DEFAULT_OUTPUT_ENCODING ); } 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", "DEFAULT_OUTPUT_ENCODING" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 775; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = tmp_mvar_value_1; frame_0e6d26d3e5169a6c25ef9f44039001eb->m_frame.f_lineno = 775; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 775; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_u == NULL ); var_u = tmp_assign_source_2; } branch_end_1:; } { PyObject *tmp_called_instance_2; CHECK_OBJECT( var_u ); tmp_called_instance_2 = var_u; frame_0e6d26d3e5169a6c25ef9f44039001eb->m_frame.f_lineno = 776; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_setup ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 776; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { if ( var_u == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "u" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 777; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = var_u; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_0e6d26d3e5169a6c25ef9f44039001eb ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0e6d26d3e5169a6c25ef9f44039001eb ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0e6d26d3e5169a6c25ef9f44039001eb ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_0e6d26d3e5169a6c25ef9f44039001eb, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_0e6d26d3e5169a6c25ef9f44039001eb->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_0e6d26d3e5169a6c25ef9f44039001eb, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_0e6d26d3e5169a6c25ef9f44039001eb, type_description_1, par_cls, par_value, var_u ); // Release cached frame. if ( frame_0e6d26d3e5169a6c25ef9f44039001eb == cache_frame_0e6d26d3e5169a6c25ef9f44039001eb ) { Py_DECREF( frame_0e6d26d3e5169a6c25ef9f44039001eb ); } cache_frame_0e6d26d3e5169a6c25ef9f44039001eb = NULL; assertFrameObject( frame_0e6d26d3e5169a6c25ef9f44039001eb ); // 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( bs4$element$$$function_55___new__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( par_value ); par_value = NULL; } { Py_XDECREF( var_u ); var_u = 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_cls ); par_cls = NULL; } { Py_XDECREF( par_value ); par_value = NULL; } { Py_XDECREF( var_u ); var_u = 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( bs4$element$$$function_55___new__ ); 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_bs4$element$$$function_56___copy__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_c812d84c1959f98fd2b2a0d5c40e608f; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_c812d84c1959f98fd2b2a0d5c40e608f = 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_c812d84c1959f98fd2b2a0d5c40e608f, codeobj_c812d84c1959f98fd2b2a0d5c40e608f, module_bs4$element, sizeof(void *) ); frame_c812d84c1959f98fd2b2a0d5c40e608f = cache_frame_c812d84c1959f98fd2b2a0d5c40e608f; // Push the new frame as the currently active one. pushFrameStack( frame_c812d84c1959f98fd2b2a0d5c40e608f ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c812d84c1959f98fd2b2a0d5c40e608f ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_type_arg_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_self ); tmp_type_arg_1 = par_self; tmp_called_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 ); assert( !(tmp_called_name_1 == NULL) ); CHECK_OBJECT( par_self ); tmp_args_element_name_1 = par_self; frame_c812d84c1959f98fd2b2a0d5c40e608f->m_frame.f_lineno = 783; { 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 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 783; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_c812d84c1959f98fd2b2a0d5c40e608f ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c812d84c1959f98fd2b2a0d5c40e608f ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c812d84c1959f98fd2b2a0d5c40e608f ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c812d84c1959f98fd2b2a0d5c40e608f, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c812d84c1959f98fd2b2a0d5c40e608f->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c812d84c1959f98fd2b2a0d5c40e608f, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c812d84c1959f98fd2b2a0d5c40e608f, type_description_1, par_self ); // Release cached frame. if ( frame_c812d84c1959f98fd2b2a0d5c40e608f == cache_frame_c812d84c1959f98fd2b2a0d5c40e608f ) { Py_DECREF( frame_c812d84c1959f98fd2b2a0d5c40e608f ); } cache_frame_c812d84c1959f98fd2b2a0d5c40e608f = NULL; assertFrameObject( frame_c812d84c1959f98fd2b2a0d5c40e608f ); // 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( bs4$element$$$function_56___copy__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_56___copy__ ); 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_bs4$element$$$function_57___getnewargs__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_86e4c69eda9c3b00a842eb0470629ec9; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_86e4c69eda9c3b00a842eb0470629ec9 = 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_86e4c69eda9c3b00a842eb0470629ec9, codeobj_86e4c69eda9c3b00a842eb0470629ec9, module_bs4$element, sizeof(void *) ); frame_86e4c69eda9c3b00a842eb0470629ec9 = cache_frame_86e4c69eda9c3b00a842eb0470629ec9; // Push the new frame as the currently active one. pushFrameStack( frame_86e4c69eda9c3b00a842eb0470629ec9 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_86e4c69eda9c3b00a842eb0470629ec9 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_tuple_element_1; PyObject *tmp_unicode_arg_1; CHECK_OBJECT( par_self ); tmp_unicode_arg_1 = par_self; tmp_tuple_element_1 = PyObject_Unicode( tmp_unicode_arg_1 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 786; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = PyTuple_New( 1 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_86e4c69eda9c3b00a842eb0470629ec9 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_86e4c69eda9c3b00a842eb0470629ec9 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_86e4c69eda9c3b00a842eb0470629ec9 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_86e4c69eda9c3b00a842eb0470629ec9, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_86e4c69eda9c3b00a842eb0470629ec9->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_86e4c69eda9c3b00a842eb0470629ec9, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_86e4c69eda9c3b00a842eb0470629ec9, type_description_1, par_self ); // Release cached frame. if ( frame_86e4c69eda9c3b00a842eb0470629ec9 == cache_frame_86e4c69eda9c3b00a842eb0470629ec9 ) { Py_DECREF( frame_86e4c69eda9c3b00a842eb0470629ec9 ); } cache_frame_86e4c69eda9c3b00a842eb0470629ec9 = NULL; assertFrameObject( frame_86e4c69eda9c3b00a842eb0470629ec9 ); // 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( bs4$element$$$function_57___getnewargs__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_57___getnewargs__ ); 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_bs4$element$$$function_58___getattr__( 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_attr = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_76147bc7179527984aad63627e7e5168; 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_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_76147bc7179527984aad63627e7e5168 = 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_76147bc7179527984aad63627e7e5168, codeobj_76147bc7179527984aad63627e7e5168, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_76147bc7179527984aad63627e7e5168 = cache_frame_76147bc7179527984aad63627e7e5168; // Push the new frame as the currently active one. pushFrameStack( frame_76147bc7179527984aad63627e7e5168 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_76147bc7179527984aad63627e7e5168 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_attr ); tmp_compexpr_left_1 = par_attr; tmp_compexpr_right_1 = const_str_plain_string; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 792; 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:; { 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 = 793; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_return_value = par_self; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; tmp_left_name_1 = const_str_digest_ca7f1c3e5d90e78a07e9f85863c06c8e; 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 = 797; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_2 ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 797; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___name__ ); Py_DECREF( tmp_source_name_1 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 797; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_right_name_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_1 ); if ( par_attr == NULL ) { Py_DECREF( tmp_right_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 = 797; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_attr; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_1 ); tmp_make_exception_arg_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_make_exception_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 796; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_76147bc7179527984aad63627e7e5168->m_frame.f_lineno = 795; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_AttributeError, call_args ); } Py_DECREF( tmp_make_exception_arg_1 ); assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 795; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_76147bc7179527984aad63627e7e5168 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_76147bc7179527984aad63627e7e5168 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_76147bc7179527984aad63627e7e5168 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_76147bc7179527984aad63627e7e5168, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_76147bc7179527984aad63627e7e5168->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_76147bc7179527984aad63627e7e5168, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_76147bc7179527984aad63627e7e5168, type_description_1, par_self, par_attr ); // Release cached frame. if ( frame_76147bc7179527984aad63627e7e5168 == cache_frame_76147bc7179527984aad63627e7e5168 ) { Py_DECREF( frame_76147bc7179527984aad63627e7e5168 ); } cache_frame_76147bc7179527984aad63627e7e5168 = NULL; assertFrameObject( frame_76147bc7179527984aad63627e7e5168 ); // 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( bs4$element$$$function_58___getattr__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_attr ); par_attr = 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_attr ); par_attr = 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( bs4$element$$$function_58___getattr__ ); 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_bs4$element$$$function_59_output_ready( 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_formatter = python_pars[ 1 ]; PyObject *var_output = NULL; struct Nuitka_FrameObject *frame_bffd7e0921fb8dace4195b135a7b4fcc; 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_bffd7e0921fb8dace4195b135a7b4fcc = 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_bffd7e0921fb8dace4195b135a7b4fcc, codeobj_bffd7e0921fb8dace4195b135a7b4fcc, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_bffd7e0921fb8dace4195b135a7b4fcc = cache_frame_bffd7e0921fb8dace4195b135a7b4fcc; // Push the new frame as the currently active one. pushFrameStack( frame_bffd7e0921fb8dace4195b135a7b4fcc ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_bffd7e0921fb8dace4195b135a7b4fcc ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_format_string ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 800; type_description_1 = "ooo"; 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 = 800; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_self; if ( par_formatter == 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", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 800; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_formatter; frame_bffd7e0921fb8dace4195b135a7b4fcc->m_frame.f_lineno = 800; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2( 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 = 800; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_output == NULL ); var_output = tmp_assign_source_1; } { PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_source_name_2; PyObject *tmp_right_name_1; PyObject *tmp_right_name_2; PyObject *tmp_source_name_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 801; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_left_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_PREFIX ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 801; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( var_output == NULL ) { Py_DECREF( tmp_left_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "output" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 801; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_right_name_1 = var_output; tmp_left_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_1 ); Py_DECREF( tmp_left_name_2 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 801; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_left_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 = 801; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_right_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_SUFFIX ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 801; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_2 ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 801; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_bffd7e0921fb8dace4195b135a7b4fcc ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_bffd7e0921fb8dace4195b135a7b4fcc ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_bffd7e0921fb8dace4195b135a7b4fcc ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_bffd7e0921fb8dace4195b135a7b4fcc, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_bffd7e0921fb8dace4195b135a7b4fcc->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_bffd7e0921fb8dace4195b135a7b4fcc, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_bffd7e0921fb8dace4195b135a7b4fcc, type_description_1, par_self, par_formatter, var_output ); // Release cached frame. if ( frame_bffd7e0921fb8dace4195b135a7b4fcc == cache_frame_bffd7e0921fb8dace4195b135a7b4fcc ) { Py_DECREF( frame_bffd7e0921fb8dace4195b135a7b4fcc ); } cache_frame_bffd7e0921fb8dace4195b135a7b4fcc = NULL; assertFrameObject( frame_bffd7e0921fb8dace4195b135a7b4fcc ); // 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( bs4$element$$$function_59_output_ready ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_formatter ); par_formatter = NULL; } { Py_XDECREF( var_output ); var_output = 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_formatter ); par_formatter = NULL; } { Py_XDECREF( var_output ); var_output = 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( bs4$element$$$function_59_output_ready ); 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_bs4$element$$$function_60_name( 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 *tmp_return_value = NULL; // Actual function code. { // Tried code: { 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( bs4$element$$$function_60_name ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_60_name ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_bs4$element$$$function_61_name( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_0068b70b6db3f65f3bc0951202835e76; 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; static struct Nuitka_FrameObject *cache_frame_0068b70b6db3f65f3bc0951202835e76 = 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_0068b70b6db3f65f3bc0951202835e76, codeobj_0068b70b6db3f65f3bc0951202835e76, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_0068b70b6db3f65f3bc0951202835e76 = cache_frame_0068b70b6db3f65f3bc0951202835e76; // Push the new frame as the currently active one. pushFrameStack( frame_0068b70b6db3f65f3bc0951202835e76 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_0068b70b6db3f65f3bc0951202835e76 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_427ece6c74a8f7bed9c0a0f9f58768bf; frame_0068b70b6db3f65f3bc0951202835e76->m_frame.f_lineno = 809; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_AttributeError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 809; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_0068b70b6db3f65f3bc0951202835e76 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0068b70b6db3f65f3bc0951202835e76 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_0068b70b6db3f65f3bc0951202835e76, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_0068b70b6db3f65f3bc0951202835e76->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_0068b70b6db3f65f3bc0951202835e76, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_0068b70b6db3f65f3bc0951202835e76, type_description_1, par_self, par_name ); // Release cached frame. if ( frame_0068b70b6db3f65f3bc0951202835e76 == cache_frame_0068b70b6db3f65f3bc0951202835e76 ) { Py_DECREF( frame_0068b70b6db3f65f3bc0951202835e76 ); } cache_frame_0068b70b6db3f65f3bc0951202835e76 = NULL; assertFrameObject( frame_0068b70b6db3f65f3bc0951202835e76 ); // 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( bs4$element$$$function_61_name ); return NULL; // 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 *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_61_name ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; } static PyObject *impl_bs4$element$$$function_62_output_ready( 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_formatter = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_1604d6b922955c9ba58e44d42531e843; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_1604d6b922955c9ba58e44d42531e843 = 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_1604d6b922955c9ba58e44d42531e843, codeobj_1604d6b922955c9ba58e44d42531e843, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_1604d6b922955c9ba58e44d42531e843 = cache_frame_1604d6b922955c9ba58e44d42531e843; // Push the new frame as the currently active one. pushFrameStack( frame_1604d6b922955c9ba58e44d42531e843 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_1604d6b922955c9ba58e44d42531e843 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_format_string ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 821; 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 = 821; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_self; if ( par_formatter == 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", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 821; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_formatter; frame_1604d6b922955c9ba58e44d42531e843->m_frame.f_lineno = 821; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 821; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_source_name_2; PyObject *tmp_right_name_1; PyObject *tmp_right_name_2; PyObject *tmp_source_name_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 822; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_left_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_PREFIX ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 822; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_left_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 = 822; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_right_name_1 = par_self; tmp_left_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_1 ); Py_DECREF( tmp_left_name_2 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 822; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_left_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 = 822; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_right_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_SUFFIX ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 822; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_return_value = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_2 ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 822; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_1604d6b922955c9ba58e44d42531e843 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_1604d6b922955c9ba58e44d42531e843 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_1604d6b922955c9ba58e44d42531e843 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_1604d6b922955c9ba58e44d42531e843, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_1604d6b922955c9ba58e44d42531e843->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_1604d6b922955c9ba58e44d42531e843, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_1604d6b922955c9ba58e44d42531e843, type_description_1, par_self, par_formatter ); // Release cached frame. if ( frame_1604d6b922955c9ba58e44d42531e843 == cache_frame_1604d6b922955c9ba58e44d42531e843 ) { Py_DECREF( frame_1604d6b922955c9ba58e44d42531e843 ); } cache_frame_1604d6b922955c9ba58e44d42531e843 = NULL; assertFrameObject( frame_1604d6b922955c9ba58e44d42531e843 ); // 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( bs4$element$$$function_62_output_ready ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_formatter ); par_formatter = 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_formatter ); par_formatter = 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( bs4$element$$$function_62_output_ready ); 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_bs4$element$$$function_63_for_name_and_ids( 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_cls = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_pub_id = python_pars[ 2 ]; PyObject *par_system_id = python_pars[ 3 ]; PyObject *var_value = NULL; struct Nuitka_FrameObject *frame_e315cb934b07b8a22111ee79d19a435f; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_e315cb934b07b8a22111ee79d19a435f = 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_e315cb934b07b8a22111ee79d19a435f, codeobj_e315cb934b07b8a22111ee79d19a435f, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_e315cb934b07b8a22111ee79d19a435f = cache_frame_e315cb934b07b8a22111ee79d19a435f; // Push the new frame as the currently active one. pushFrameStack( frame_e315cb934b07b8a22111ee79d19a435f ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e315cb934b07b8a22111ee79d19a435f ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; int tmp_or_left_truth_1; PyObject *tmp_or_left_value_1; PyObject *tmp_or_right_value_1; CHECK_OBJECT( par_name ); tmp_or_left_value_1 = par_name; tmp_or_left_truth_1 = CHECK_IF_TRUE( tmp_or_left_value_1 ); if ( tmp_or_left_truth_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 855; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; tmp_or_right_value_1 = const_str_empty; tmp_assign_source_1 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_assign_source_1 = tmp_or_left_value_1; or_end_1:; assert( var_value == NULL ); Py_INCREF( tmp_assign_source_1 ); var_value = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_pub_id ); tmp_compexpr_left_1 = par_pub_id; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 != tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; if ( var_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 857; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_left_name_1 = var_value; tmp_left_name_2 = const_str_digest_6e71b18f4f00a0af73d97ee880b369b1; if ( par_pub_id == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pub_id" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 857; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_right_name_2 = par_pub_id; tmp_right_name_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 857; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_1, tmp_right_name_1 ); tmp_assign_source_2 = tmp_left_name_1; Py_DECREF( tmp_right_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 857; type_description_1 = "ooooo"; goto frame_exception_exit_1; } var_value = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( par_system_id == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "system_id" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 858; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = par_system_id; tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = ( tmp_compexpr_left_2 != tmp_compexpr_right_2 ) ? 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_3; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; if ( var_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 859; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_left_name_3 = var_value; tmp_left_name_4 = const_str_digest_b08f55921cd8c7f8cc8a2534d60adbcd; if ( par_system_id == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "system_id" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 859; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_right_name_4 = par_system_id; tmp_right_name_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_4, tmp_right_name_4 ); if ( tmp_right_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 859; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_3, tmp_right_name_3 ); tmp_assign_source_3 = tmp_left_name_3; Py_DECREF( tmp_right_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 859; type_description_1 = "ooooo"; goto frame_exception_exit_1; } var_value = tmp_assign_source_3; } branch_no_2:; } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; if ( par_system_id == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "system_id" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 860; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = par_system_id; tmp_compexpr_right_3 = Py_None; tmp_condition_result_3 = ( tmp_compexpr_left_3 != tmp_compexpr_right_3 ) ? 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_4; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; if ( var_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 861; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_left_name_5 = var_value; tmp_left_name_6 = const_str_digest_a9c30e8b7efc851a52b36f9f117da2a2; if ( par_system_id == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "system_id" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 861; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_right_name_6 = par_system_id; tmp_right_name_5 = BINARY_OPERATION_REMAINDER( tmp_left_name_6, tmp_right_name_6 ); if ( tmp_right_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 861; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_5, tmp_right_name_5 ); tmp_assign_source_4 = tmp_left_name_5; Py_DECREF( tmp_right_name_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 861; type_description_1 = "ooooo"; goto frame_exception_exit_1; } var_value = tmp_assign_source_4; } branch_no_3:; } branch_end_1:; } { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Doctype ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Doctype ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Doctype" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 863; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; if ( var_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 863; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = var_value; frame_e315cb934b07b8a22111ee79d19a435f->m_frame.f_lineno = 863; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 863; type_description_1 = "ooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_e315cb934b07b8a22111ee79d19a435f ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e315cb934b07b8a22111ee79d19a435f ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e315cb934b07b8a22111ee79d19a435f ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e315cb934b07b8a22111ee79d19a435f, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e315cb934b07b8a22111ee79d19a435f->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e315cb934b07b8a22111ee79d19a435f, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e315cb934b07b8a22111ee79d19a435f, type_description_1, par_cls, par_name, par_pub_id, par_system_id, var_value ); // Release cached frame. if ( frame_e315cb934b07b8a22111ee79d19a435f == cache_frame_e315cb934b07b8a22111ee79d19a435f ) { Py_DECREF( frame_e315cb934b07b8a22111ee79d19a435f ); } cache_frame_e315cb934b07b8a22111ee79d19a435f = NULL; assertFrameObject( frame_e315cb934b07b8a22111ee79d19a435f ); // 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( bs4$element$$$function_63_for_name_and_ids ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_pub_id ); par_pub_id = NULL; } { Py_XDECREF( par_system_id ); par_system_id = NULL; } { Py_XDECREF( var_value ); var_value = 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_cls ); par_cls = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_pub_id ); par_pub_id = NULL; } { Py_XDECREF( par_system_id ); par_system_id = NULL; } { Py_XDECREF( var_value ); var_value = 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( bs4$element$$$function_63_for_name_and_ids ); 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_bs4$element$$$function_64___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_parser = python_pars[ 1 ]; PyObject *par_builder = python_pars[ 2 ]; PyObject *par_name = python_pars[ 3 ]; PyObject *par_namespace = python_pars[ 4 ]; PyObject *par_prefix = python_pars[ 5 ]; PyObject *par_attrs = python_pars[ 6 ]; PyObject *par_parent = python_pars[ 7 ]; PyObject *par_previous = python_pars[ 8 ]; PyObject *par_is_xml = python_pars[ 9 ]; PyObject *var_preserve_whitespace_tags = NULL; struct Nuitka_FrameObject *frame_4ad3726740db564e1e83367b3e345ec8; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_4ad3726740db564e1e83367b3e345ec8 = 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_4ad3726740db564e1e83367b3e345ec8, codeobj_4ad3726740db564e1e83367b3e345ec8, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_4ad3726740db564e1e83367b3e345ec8 = cache_frame_4ad3726740db564e1e83367b3e345ec8; // Push the new frame as the currently active one. pushFrameStack( frame_4ad3726740db564e1e83367b3e345ec8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4ad3726740db564e1e83367b3e345ec8 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_parser ); tmp_compexpr_left_1 = par_parser; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; tmp_assattr_name_1 = Py_None; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 879; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_parser_class, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 879; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } goto branch_end_1; branch_no_1:; { PyObject *tmp_assattr_name_2; PyObject *tmp_source_name_1; PyObject *tmp_assattr_target_2; if ( par_parser == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parser" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 883; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_parser; tmp_assattr_name_2 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_1 ); if ( tmp_assattr_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 883; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 883; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_parser_class, 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 = 883; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } branch_end_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( par_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 884; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = par_name; tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_91a4593114737d6b7d9b775dc212ec2f; frame_4ad3726740db564e1e83367b3e345ec8->m_frame.f_lineno = 885; { 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) ); exception_type = tmp_raise_type_1; exception_lineno = 885; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } branch_no_2:; } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; if ( par_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 886; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_3 = par_name; 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 = 886; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_name, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 886; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; if ( par_namespace == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "namespace" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 887; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_4 = par_namespace; 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 = 887; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_namespace, tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 887; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_assattr_target_5; if ( par_prefix == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prefix" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 888; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_5 = par_prefix; 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 = 888; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_prefix, tmp_assattr_name_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 888; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; if ( par_builder == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "builder" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 889; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = par_builder; tmp_compexpr_right_3 = Py_None; tmp_condition_result_3 = ( tmp_compexpr_left_3 != tmp_compexpr_right_3 ) ? 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_1; PyObject *tmp_source_name_2; if ( par_builder == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "builder" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 890; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_builder; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_preserve_whitespace_tags ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 890; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert( var_preserve_whitespace_tags == NULL ); var_preserve_whitespace_tags = tmp_assign_source_1; } goto branch_end_3; branch_no_3:; { nuitka_bool tmp_condition_result_4; int tmp_truth_name_1; if ( par_is_xml == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "is_xml" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 892; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( par_is_xml ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 892; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_4 = tmp_truth_name_1 == 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_assign_source_2; tmp_assign_source_2 = PyList_New( 0 ); assert( var_preserve_whitespace_tags == NULL ); var_preserve_whitespace_tags = tmp_assign_source_2; } goto branch_end_4; branch_no_4:; { PyObject *tmp_assign_source_3; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_HTMLAwareEntitySubstitution ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTMLAwareEntitySubstitution ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTMLAwareEntitySubstitution" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 895; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_1; tmp_assign_source_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_preserve_whitespace_tags ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 895; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } assert( var_preserve_whitespace_tags == NULL ); var_preserve_whitespace_tags = tmp_assign_source_3; } branch_end_4:; } branch_end_3:; } { PyObject *tmp_assattr_name_6; PyObject *tmp_assattr_target_6; if ( var_preserve_whitespace_tags == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "preserve_whitespace_tags" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 896; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_6 = var_preserve_whitespace_tags; 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 = 896; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_6 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain_preserve_whitespace_tags, tmp_assattr_name_6 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 896; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; if ( par_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 897; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_4 = par_attrs; tmp_compexpr_right_4 = Py_None; tmp_condition_result_5 = ( tmp_compexpr_left_4 == tmp_compexpr_right_4 ) ? 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_assign_source_4; tmp_assign_source_4 = PyDict_New(); { PyObject *old = par_attrs; par_attrs = tmp_assign_source_4; Py_XDECREF( old ); } } goto branch_end_5; branch_no_5:; { nuitka_bool tmp_condition_result_6; int tmp_truth_name_2; if ( par_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 899; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE( par_attrs ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 899; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_6 = tmp_truth_name_2 == 1 ? 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:; { nuitka_bool tmp_condition_result_7; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_source_name_4; PyObject *tmp_attribute_value_1; int tmp_truth_name_3; if ( par_builder == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "builder" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 900; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_5 = par_builder; tmp_compexpr_right_5 = Py_None; tmp_and_left_value_1 = ( tmp_compexpr_left_5 != tmp_compexpr_right_5 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if ( par_builder == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "builder" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 900; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_builder; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_cdata_list_attributes ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 900; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_3 = CHECK_IF_TRUE( tmp_attribute_value_1 ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_1 ); exception_lineno = 900; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_1 ); tmp_condition_result_7 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_7 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_assign_source_5; PyObject *tmp_called_name_1; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_6; PyObject *tmp_args_element_name_2; if ( par_builder == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "builder" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 901; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_builder; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__replace_cdata_list_attribute_values ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 901; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 902; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_name ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 902; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if ( par_attrs == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 902; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_attrs; frame_4ad3726740db564e1e83367b3e345ec8->m_frame.f_lineno = 901; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_5 = 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_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 901; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_attrs; par_attrs = tmp_assign_source_5; Py_XDECREF( old ); } } goto branch_end_7; branch_no_7:; { PyObject *tmp_assign_source_6; PyObject *tmp_dict_seq_1; if ( par_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 904; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_dict_seq_1 = par_attrs; tmp_assign_source_6 = TO_DICT( tmp_dict_seq_1, NULL ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 904; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_attrs; par_attrs = tmp_assign_source_6; Py_XDECREF( old ); } } branch_end_7:; } goto branch_end_6; branch_no_6:; { PyObject *tmp_assign_source_7; PyObject *tmp_dict_seq_2; if ( par_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 906; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_dict_seq_2 = par_attrs; tmp_assign_source_7 = TO_DICT( tmp_dict_seq_2, NULL ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 906; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_attrs; par_attrs = tmp_assign_source_7; Py_XDECREF( old ); } } branch_end_6:; } branch_end_5:; } { nuitka_bool tmp_condition_result_8; int tmp_truth_name_4; if ( par_builder == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "builder" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 910; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_4 = CHECK_IF_TRUE( par_builder ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 910; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_8 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { PyObject *tmp_assattr_name_7; PyObject *tmp_source_name_7; PyObject *tmp_assattr_target_7; if ( par_builder == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "builder" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 911; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_builder; tmp_assattr_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_is_xml ); if ( tmp_assattr_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 911; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_7 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 911; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_7 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_7, const_str_plain_known_xml, tmp_assattr_name_7 ); Py_DECREF( tmp_assattr_name_7 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 911; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } goto branch_end_8; branch_no_8:; { PyObject *tmp_assattr_name_8; PyObject *tmp_assattr_target_8; if ( par_is_xml == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "is_xml" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 913; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_8 = par_is_xml; 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 = 913; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_8 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_8, const_str_plain_known_xml, tmp_assattr_name_8 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 913; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } branch_end_8:; } { PyObject *tmp_assattr_name_9; PyObject *tmp_assattr_target_9; if ( par_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 914; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_9 = par_attrs; 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 = 914; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_9 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_9, const_str_plain_attrs, tmp_assattr_name_9 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 914; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_10; PyObject *tmp_assattr_target_10; tmp_assattr_name_10 = PyList_New( 0 ); if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_10 ); 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 = 915; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_10 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_10, const_str_plain_contents, tmp_assattr_name_10 ); Py_DECREF( tmp_assattr_name_10 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 915; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_8; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 916; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_8 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_setup ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 916; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if ( par_parent == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 916; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_parent; if ( par_previous == 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", "previous" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 916; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_previous; frame_4ad3726740db564e1e83367b3e345ec8->m_frame.f_lineno = 916; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 916; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_11; PyObject *tmp_assattr_target_11; tmp_assattr_name_11 = 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 = 917; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_11 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_11, const_str_plain_hidden, tmp_assattr_name_11 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 917; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_9; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; if ( par_builder == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "builder" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 920; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_6 = par_builder; tmp_compexpr_right_6 = Py_None; tmp_condition_result_9 = ( tmp_compexpr_left_6 != tmp_compexpr_right_6 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { PyObject *tmp_called_name_3; PyObject *tmp_source_name_9; PyObject *tmp_args_element_name_5; if ( par_builder == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "builder" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 921; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_9 = par_builder; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_set_up_substitutions ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 921; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 921; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_self; frame_4ad3726740db564e1e83367b3e345ec8->m_frame.f_lineno = 921; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 921; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_12; PyObject *tmp_called_name_4; PyObject *tmp_source_name_10; PyObject *tmp_args_element_name_6; PyObject *tmp_assattr_target_12; if ( par_builder == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "builder" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 922; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_10 = par_builder; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_can_be_empty_element ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 922; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if ( par_name == 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", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 922; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_name; frame_4ad3726740db564e1e83367b3e345ec8->m_frame.f_lineno = 922; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_assattr_name_12 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_assattr_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 922; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_12 ); 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 = 922; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_12 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_12, const_str_plain_can_be_empty_element, tmp_assattr_name_12 ); Py_DECREF( tmp_assattr_name_12 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 922; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } goto branch_end_9; branch_no_9:; { PyObject *tmp_assattr_name_13; PyObject *tmp_assattr_target_13; tmp_assattr_name_13 = 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 = 924; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_13 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_13, const_str_plain_can_be_empty_element, tmp_assattr_name_13 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 924; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } } branch_end_9:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_4ad3726740db564e1e83367b3e345ec8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4ad3726740db564e1e83367b3e345ec8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4ad3726740db564e1e83367b3e345ec8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4ad3726740db564e1e83367b3e345ec8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4ad3726740db564e1e83367b3e345ec8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4ad3726740db564e1e83367b3e345ec8, type_description_1, par_self, par_parser, par_builder, par_name, par_namespace, par_prefix, par_attrs, par_parent, par_previous, par_is_xml, var_preserve_whitespace_tags ); // Release cached frame. if ( frame_4ad3726740db564e1e83367b3e345ec8 == cache_frame_4ad3726740db564e1e83367b3e345ec8 ) { Py_DECREF( frame_4ad3726740db564e1e83367b3e345ec8 ); } cache_frame_4ad3726740db564e1e83367b3e345ec8 = NULL; assertFrameObject( frame_4ad3726740db564e1e83367b3e345ec8 ); // 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( bs4$element$$$function_64___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_parser ); par_parser = NULL; } { Py_XDECREF( par_builder ); par_builder = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_namespace ); par_namespace = NULL; } { Py_XDECREF( par_prefix ); par_prefix = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_parent ); par_parent = NULL; } { Py_XDECREF( par_previous ); par_previous = NULL; } { Py_XDECREF( par_is_xml ); par_is_xml = NULL; } { Py_XDECREF( var_preserve_whitespace_tags ); var_preserve_whitespace_tags = 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_parser ); par_parser = NULL; } { Py_XDECREF( par_builder ); par_builder = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_namespace ); par_namespace = NULL; } { Py_XDECREF( par_prefix ); par_prefix = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_parent ); par_parent = NULL; } { Py_XDECREF( par_previous ); par_previous = NULL; } { Py_XDECREF( par_is_xml ); par_is_xml = NULL; } { Py_XDECREF( var_preserve_whitespace_tags ); var_preserve_whitespace_tags = 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( bs4$element$$$function_64___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_bs4$element$$$function_65___copy__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *var_clone = NULL; PyObject *var_attr = NULL; PyObject *var_child = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_for_loop_2__for_iterator = NULL; PyObject *tmp_for_loop_2__iter_value = NULL; struct Nuitka_FrameObject *frame_8fea45c635606c8d0d99f27036d7a563; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; 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 *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_8fea45c635606c8d0d99f27036d7a563 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_8fea45c635606c8d0d99f27036d7a563, codeobj_8fea45c635606c8d0d99f27036d7a563, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_8fea45c635606c8d0d99f27036d7a563 = cache_frame_8fea45c635606c8d0d99f27036d7a563; // Push the new frame as the currently active one. pushFrameStack( frame_8fea45c635606c8d0d99f27036d7a563 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8fea45c635606c8d0d99f27036d7a563 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_type_arg_1; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; PyObject *tmp_kw_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_source_name_6; CHECK_OBJECT( par_self ); tmp_type_arg_1 = par_self; tmp_called_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 ); assert( !(tmp_called_name_1 == NULL) ); tmp_tuple_element_1 = Py_None; tmp_args_name_1 = PyTuple_New( 6 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 ); CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_builder ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); exception_lineno = 932; type_description_1 = "oooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 ); if ( par_self == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 932; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_name ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); exception_lineno = 932; type_description_1 = "oooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_args_name_1, 2, tmp_tuple_element_1 ); if ( par_self == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 932; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_namespace ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); exception_lineno = 932; type_description_1 = "oooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_args_name_1, 3, tmp_tuple_element_1 ); if ( par_self == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 933; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_prefix ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); exception_lineno = 933; type_description_1 = "oooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_args_name_1, 4, tmp_tuple_element_1 ); if ( par_self == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 933; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_attrs ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); exception_lineno = 933; type_description_1 = "oooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_args_name_1, 5, tmp_tuple_element_1 ); tmp_dict_key_1 = const_str_plain_is_xml; if ( par_self == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 933; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_dict_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain__is_xml ); if ( tmp_dict_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); exception_lineno = 933; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_kw_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 ); Py_DECREF( tmp_dict_value_1 ); assert( !(tmp_res != 0) ); frame_8fea45c635606c8d0d99f27036d7a563->m_frame.f_lineno = 932; tmp_assign_source_1 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); Py_DECREF( tmp_kw_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 932; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_clone == NULL ); var_clone = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; tmp_iter_arg_1 = const_tuple_str_plain_can_be_empty_element_str_plain_hidden_tuple; tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 ); assert( !(tmp_assign_source_2 == NULL) ); 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 = 934; 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_getattr_target_1; PyObject *tmp_getattr_attr_1; if ( var_clone == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "clone" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 935; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_setattr_target_1 = var_clone; CHECK_OBJECT( var_attr ); tmp_setattr_attr_1 = var_attr; 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 = 935; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_getattr_target_1 = par_self; CHECK_OBJECT( var_attr ); tmp_getattr_attr_1 = var_attr; tmp_setattr_value_1 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, NULL ); if ( tmp_setattr_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 935; 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 = 935; 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 = 934; 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_assign_source_5; PyObject *tmp_iter_arg_2; PyObject *tmp_source_name_7; 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 = 936; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_self; tmp_iter_arg_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_contents ); if ( tmp_iter_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 936; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_5 = MAKE_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 936; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_2__for_iterator == NULL ); tmp_for_loop_2__for_iterator = tmp_assign_source_5; } { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_for_loop_2__for_iterator ); tmp_next_source_2 = tmp_for_loop_2__for_iterator; tmp_assign_source_6 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_6 == 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 = "oooo"; exception_lineno = 936; goto try_except_handler_3; } } { PyObject *old = tmp_for_loop_2__iter_value; tmp_for_loop_2__iter_value = tmp_assign_source_6; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_7; CHECK_OBJECT( tmp_for_loop_2__iter_value ); tmp_assign_source_7 = tmp_for_loop_2__iter_value; { PyObject *old = var_child; var_child = tmp_assign_source_7; Py_INCREF( var_child ); Py_XDECREF( old ); } } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_8; PyObject *tmp_args_element_name_1; PyObject *tmp_called_instance_1; if ( var_clone == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "clone" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 937; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_source_name_8 = var_clone; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_append ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 937; type_description_1 = "oooo"; goto try_except_handler_3; } if ( var_child == 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", "child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 937; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_called_instance_1 = var_child; frame_8fea45c635606c8d0d99f27036d7a563->m_frame.f_lineno = 937; tmp_args_element_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain___copy__ ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 937; type_description_1 = "oooo"; goto try_except_handler_3; } frame_8fea45c635606c8d0d99f27036d7a563->m_frame.f_lineno = 937; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 937; type_description_1 = "oooo"; goto try_except_handler_3; } Py_DECREF( tmp_unused ); } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 936; type_description_1 = "oooo"; goto try_except_handler_3; } goto loop_start_2; loop_end_2:; } 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_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_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:; } { 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; } { if ( var_clone == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "clone" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 938; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = var_clone; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_8fea45c635606c8d0d99f27036d7a563 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8fea45c635606c8d0d99f27036d7a563 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8fea45c635606c8d0d99f27036d7a563 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8fea45c635606c8d0d99f27036d7a563, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8fea45c635606c8d0d99f27036d7a563->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8fea45c635606c8d0d99f27036d7a563, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8fea45c635606c8d0d99f27036d7a563, type_description_1, par_self, var_clone, var_attr, var_child ); // Release cached frame. if ( frame_8fea45c635606c8d0d99f27036d7a563 == cache_frame_8fea45c635606c8d0d99f27036d7a563 ) { Py_DECREF( frame_8fea45c635606c8d0d99f27036d7a563 ); } cache_frame_8fea45c635606c8d0d99f27036d7a563 = NULL; assertFrameObject( frame_8fea45c635606c8d0d99f27036d7a563 ); // 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( bs4$element$$$function_65___copy__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_clone ); var_clone = NULL; } { Py_XDECREF( var_attr ); var_attr = NULL; } { Py_XDECREF( var_child ); var_child = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_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( par_self ); par_self = NULL; } { Py_XDECREF( var_clone ); var_clone = NULL; } { Py_XDECREF( var_attr ); var_attr = NULL; } { Py_XDECREF( var_child ); var_child = 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 function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_65___copy__ ); 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_bs4$element$$$function_66_is_empty_element( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_3182b5e1e03d93d5a69947693f284b03; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_3182b5e1e03d93d5a69947693f284b03 = 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_3182b5e1e03d93d5a69947693f284b03, codeobj_3182b5e1e03d93d5a69947693f284b03, module_bs4$element, sizeof(void *) ); frame_3182b5e1e03d93d5a69947693f284b03 = cache_frame_3182b5e1e03d93d5a69947693f284b03; // Push the new frame as the currently active one. pushFrameStack( frame_3182b5e1e03d93d5a69947693f284b03 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_3182b5e1e03d93d5a69947693f284b03 ) == 2 ); // Frame stack // Framed code: { int tmp_and_left_truth_1; PyObject *tmp_and_left_value_1; PyObject *tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_len_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_contents ); if ( tmp_len_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 955; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); Py_DECREF( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 955; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_0; tmp_and_left_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_and_left_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 955; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_and_left_truth_1 = CHECK_IF_TRUE( tmp_and_left_value_1 ); if ( tmp_and_left_truth_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_and_left_value_1 ); exception_lineno = 955; type_description_1 = "o"; goto frame_exception_exit_1; } if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; Py_DECREF( tmp_and_left_value_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 = 955; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_and_right_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_can_be_empty_element ); if ( tmp_and_right_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 955; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_return_value = tmp_and_left_value_1; and_end_1:; goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_3182b5e1e03d93d5a69947693f284b03 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3182b5e1e03d93d5a69947693f284b03 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3182b5e1e03d93d5a69947693f284b03 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_3182b5e1e03d93d5a69947693f284b03, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_3182b5e1e03d93d5a69947693f284b03->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_3182b5e1e03d93d5a69947693f284b03, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_3182b5e1e03d93d5a69947693f284b03, type_description_1, par_self ); // Release cached frame. if ( frame_3182b5e1e03d93d5a69947693f284b03 == cache_frame_3182b5e1e03d93d5a69947693f284b03 ) { Py_DECREF( frame_3182b5e1e03d93d5a69947693f284b03 ); } cache_frame_3182b5e1e03d93d5a69947693f284b03 = NULL; assertFrameObject( frame_3182b5e1e03d93d5a69947693f284b03 ); // 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( bs4$element$$$function_66_is_empty_element ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_66_is_empty_element ); 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_bs4$element$$$function_67_string( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *var_child = NULL; struct Nuitka_FrameObject *frame_664861b911bac5edfea27f3bc54f155a; 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_664861b911bac5edfea27f3bc54f155a = 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_664861b911bac5edfea27f3bc54f155a, codeobj_664861b911bac5edfea27f3bc54f155a, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_664861b911bac5edfea27f3bc54f155a = cache_frame_664861b911bac5edfea27f3bc54f155a; // Push the new frame as the currently active one. pushFrameStack( frame_664861b911bac5edfea27f3bc54f155a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_664861b911bac5edfea27f3bc54f155a ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_len_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_contents ); if ( tmp_len_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 968; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); Py_DECREF( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 968; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_pos_1; tmp_res = RICH_COMPARE_BOOL_NE( 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 = 968; 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:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_2; PyObject *tmp_subscript_name_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 970; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_contents ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 970; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_int_0; tmp_assign_source_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 970; type_description_1 = "oo"; goto frame_exception_exit_1; } assert( var_child == NULL ); var_child = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; CHECK_OBJECT( var_child ); tmp_isinstance_inst_1 = var_child; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_NavigableString ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NavigableString ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NavigableString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 971; 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 = 971; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { CHECK_OBJECT( var_child ); tmp_return_value = var_child; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_2:; } { PyObject *tmp_source_name_3; CHECK_OBJECT( var_child ); tmp_source_name_3 = var_child; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_string ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 973; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_664861b911bac5edfea27f3bc54f155a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_664861b911bac5edfea27f3bc54f155a ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_664861b911bac5edfea27f3bc54f155a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_664861b911bac5edfea27f3bc54f155a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_664861b911bac5edfea27f3bc54f155a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_664861b911bac5edfea27f3bc54f155a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_664861b911bac5edfea27f3bc54f155a, type_description_1, par_self, var_child ); // Release cached frame. if ( frame_664861b911bac5edfea27f3bc54f155a == cache_frame_664861b911bac5edfea27f3bc54f155a ) { Py_DECREF( frame_664861b911bac5edfea27f3bc54f155a ); } cache_frame_664861b911bac5edfea27f3bc54f155a = NULL; assertFrameObject( frame_664861b911bac5edfea27f3bc54f155a ); // 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( bs4$element$$$function_67_string ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_child ); var_child = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_child ); var_child = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_67_string ); 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_bs4$element$$$function_68_string( 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_5ab336b278ac6b260535d1bf41e304e8; 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_5ab336b278ac6b260535d1bf41e304e8 = 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_5ab336b278ac6b260535d1bf41e304e8, codeobj_5ab336b278ac6b260535d1bf41e304e8, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_5ab336b278ac6b260535d1bf41e304e8 = cache_frame_5ab336b278ac6b260535d1bf41e304e8; // Push the new frame as the currently active one. pushFrameStack( frame_5ab336b278ac6b260535d1bf41e304e8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5ab336b278ac6b260535d1bf41e304e8 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; CHECK_OBJECT( par_self ); tmp_called_instance_1 = par_self; frame_5ab336b278ac6b260535d1bf41e304e8->m_frame.f_lineno = 977; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_clear ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 977; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_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 = 978; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_append ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 978; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_string == 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", "string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 978; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_string; tmp_called_name_2 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_2 ); 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 = 978; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_string == 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", "string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 978; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_string; frame_5ab336b278ac6b260535d1bf41e304e8->m_frame.f_lineno = 978; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_args_element_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); 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 = 978; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_5ab336b278ac6b260535d1bf41e304e8->m_frame.f_lineno = 978; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 978; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_5ab336b278ac6b260535d1bf41e304e8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5ab336b278ac6b260535d1bf41e304e8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5ab336b278ac6b260535d1bf41e304e8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5ab336b278ac6b260535d1bf41e304e8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5ab336b278ac6b260535d1bf41e304e8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5ab336b278ac6b260535d1bf41e304e8, type_description_1, par_self, par_string ); // Release cached frame. if ( frame_5ab336b278ac6b260535d1bf41e304e8 == cache_frame_5ab336b278ac6b260535d1bf41e304e8 ) { Py_DECREF( frame_5ab336b278ac6b260535d1bf41e304e8 ); } cache_frame_5ab336b278ac6b260535d1bf41e304e8 = NULL; assertFrameObject( frame_5ab336b278ac6b260535d1bf41e304e8 ); // 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( bs4$element$$$function_68_string ); 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( bs4$element$$$function_68_string ); 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_bs4$element$$$function_69__all_strings( 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_strip = PyCell_NEW1( python_pars[ 1 ] ); struct Nuitka_CellObject *par_types = PyCell_NEW1( python_pars[ 2 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = bs4$element$$$function_69__all_strings$$$genobj_1__all_strings_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[1] = par_strip; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[1] ); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[2] = par_types; 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( bs4$element$$$function_69__all_strings ); 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_strip ); Py_DECREF( par_strip ); par_strip = NULL; } { CHECK_OBJECT( (PyObject *)par_types ); Py_DECREF( par_types ); par_types = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { CHECK_OBJECT( (PyObject *)par_strip ); Py_DECREF( par_strip ); par_strip = NULL; } { CHECK_OBJECT( (PyObject *)par_types ); Py_DECREF( par_types ); par_types = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_69__all_strings ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct bs4$element$$$function_69__all_strings$$$genobj_1__all_strings_locals { PyObject *var_descendant; PyObject *tmp_for_loop_1__for_iterator; PyObject *tmp_for_loop_1__iter_value; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; int tmp_res; 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; }; static PyObject *bs4$element$$$function_69__all_strings$$$genobj_1__all_strings_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct bs4$element$$$function_69__all_strings$$$genobj_1__all_strings_locals *generator_heap = (struct bs4$element$$$function_69__all_strings$$$genobj_1__all_strings_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { 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_descendant = NULL; generator_heap->tmp_for_loop_1__for_iterator = NULL; generator_heap->tmp_for_loop_1__iter_value = 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_ce1c7d51d9278aac0c1e8f91e3e0e1a4, module_bs4$element, 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_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_source_name_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", "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 = 986; generator_heap->type_description_1 = "ccco"; goto frame_exception_exit_1; } tmp_source_name_1 = PyCell_GET( generator->m_closure[0] ); tmp_iter_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_descendants ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 986; generator_heap->type_description_1 = "ccco"; goto frame_exception_exit_1; } tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 986; generator_heap->type_description_1 = "ccco"; 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_1; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_2; 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_2 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_2 == 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 = "ccco"; generator_heap->exception_lineno = 986; 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_2; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_3; CHECK_OBJECT( generator_heap->tmp_for_loop_1__iter_value ); tmp_assign_source_3 = generator_heap->tmp_for_loop_1__iter_value; { PyObject *old = generator_heap->var_descendant; generator_heap->var_descendant = tmp_assign_source_3; Py_INCREF( generator_heap->var_descendant ); Py_XDECREF( old ); } } { 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_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_type_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", "types" ); 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 = 988; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_compexpr_left_1 = PyCell_GET( generator->m_closure[2] ); tmp_compexpr_right_1 = Py_None; tmp_and_left_value_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_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 ( generator_heap->var_descendant == 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", "descendant" ); 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 = 988; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_isinstance_inst_1 = generator_heap->var_descendant; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_NavigableString ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NavigableString ); } if ( tmp_mvar_value_1 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NavigableString" ); 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 = 988; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_isinstance_cls_1 = tmp_mvar_value_1; generator_heap->tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_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 = 988; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_operand_name_1 = ( generator_heap->tmp_res != 0 ) ? Py_True : Py_False; generator_heap->tmp_res = CHECK_IF_TRUE( 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 = 988; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_and_right_value_1 = ( generator_heap->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:; 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", "types" ); 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 = 990; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_compexpr_left_2 = PyCell_GET( generator->m_closure[2] ); tmp_compexpr_right_2 = Py_None; tmp_and_left_value_2 = ( tmp_compexpr_left_2 != tmp_compexpr_right_2 ) ? 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_descendant == 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", "descendant" ); 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 = 990; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_type_arg_1 = generator_heap->var_descendant; tmp_compexpr_left_3 = BUILTIN_TYPE1( tmp_type_arg_1 ); 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 = 990; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } if ( PyCell_GET( generator->m_closure[2] ) == NULL ) { Py_DECREF( tmp_compexpr_left_3 ); 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", "types" ); 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 = 990; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_compexpr_right_3 = PyCell_GET( generator->m_closure[2] ); generator_heap->tmp_res = PySequence_Contains( tmp_compexpr_right_3, tmp_compexpr_left_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 = 990; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_and_right_value_2 = ( generator_heap->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; int tmp_truth_name_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", "strip" ); 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 = 992; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_truth_name_1 = CHECK_IF_TRUE( PyCell_GET( generator->m_closure[1] ) ); 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 = 992; generator_heap->type_description_1 = "ccco"; 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_4; PyObject *tmp_called_instance_1; if ( generator_heap->var_descendant == 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", "descendant" ); 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 = 993; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_called_instance_1 = generator_heap->var_descendant; generator->m_frame->m_frame.f_lineno = 993; tmp_assign_source_4 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_strip ); 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 = 993; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } { PyObject *old = generator_heap->var_descendant; generator_heap->var_descendant = tmp_assign_source_4; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_len_arg_1; CHECK_OBJECT( generator_heap->var_descendant ); tmp_len_arg_1 = generator_heap->var_descendant; tmp_compexpr_left_4 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 994; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_compexpr_right_4 = const_int_0; generator_heap->tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_4, tmp_compexpr_right_4 ); Py_DECREF( 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 = 994; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_condition_result_3 = ( generator_heap->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:; { goto loop_start_1; } branch_no_3:; } branch_no_2:; } { PyObject *tmp_expression_name_1; if ( generator_heap->var_descendant == 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", "descendant" ); 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 = 996; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_expression_name_1 = generator_heap->var_descendant; Py_INCREF( tmp_expression_name_1 ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: 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 = 996; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } tmp_unused = yield_return_value; } 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 = 986; generator_heap->type_description_1 = "ccco"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; 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; { 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_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 frame_exception_exit_1; } // End of try: try_end_1:; } 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[0], generator->m_closure[1], generator->m_closure[2], generator_heap->var_descendant ); // 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_2; // Exception handler code: try_except_handler_1:; 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; { Py_XDECREF( generator_heap->var_descendant ); generator_heap->var_descendant = 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 function_exception_exit; } // End of try: try_end_2:; } { 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_descendant ); generator_heap->var_descendant = 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 *bs4$element$$$function_69__all_strings$$$genobj_1__all_strings_maker( void ) { return Nuitka_Generator_New( bs4$element$$$function_69__all_strings$$$genobj_1__all_strings_context, module_bs4$element, const_str_plain__all_strings, #if PYTHON_VERSION >= 350 const_str_digest_39e86dc800163cd6b97aed7a43db29b4, #endif codeobj_ce1c7d51d9278aac0c1e8f91e3e0e1a4, 3, sizeof(struct bs4$element$$$function_69__all_strings$$$genobj_1__all_strings_locals) ); } static PyObject *impl_bs4$element$$$function_70_stripped_strings( 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 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = bs4$element$$$function_70_stripped_strings$$$genobj_1_stripped_strings_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_70_stripped_strings ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_70_stripped_strings ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct bs4$element$$$function_70_stripped_strings$$$genobj_1_stripped_strings_locals { PyObject *var_string; PyObject *tmp_for_loop_1__for_iterator; PyObject *tmp_for_loop_1__iter_value; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; 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; }; static PyObject *bs4$element$$$function_70_stripped_strings$$$genobj_1_stripped_strings_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct bs4$element$$$function_70_stripped_strings$$$genobj_1_stripped_strings_locals *generator_heap = (struct bs4$element$$$function_70_stripped_strings$$$genobj_1_stripped_strings_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { 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_string = NULL; generator_heap->tmp_for_loop_1__for_iterator = NULL; generator_heap->tmp_for_loop_1__iter_value = 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_44db1778b7dcf50bdc4185f2e27d3f9e, module_bs4$element, 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_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_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", "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 = 1002; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_called_instance_1 = PyCell_GET( generator->m_closure[0] ); generator->m_frame->m_frame.f_lineno = 1002; tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain__all_strings, &PyTuple_GET_ITEM( const_tuple_true_tuple, 0 ) ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 1002; generator_heap->type_description_1 = "co"; goto frame_exception_exit_1; } tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 1002; generator_heap->type_description_1 = "co"; 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_1; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_2; 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_2 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_2 == 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 = "co"; generator_heap->exception_lineno = 1002; 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_2; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_3; CHECK_OBJECT( generator_heap->tmp_for_loop_1__iter_value ); tmp_assign_source_3 = generator_heap->tmp_for_loop_1__iter_value; { PyObject *old = generator_heap->var_string; generator_heap->var_string = tmp_assign_source_3; Py_INCREF( generator_heap->var_string ); Py_XDECREF( old ); } } { PyObject *tmp_expression_name_1; CHECK_OBJECT( generator_heap->var_string ); tmp_expression_name_1 = generator_heap->var_string; Py_INCREF( tmp_expression_name_1 ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: 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 = 1003; generator_heap->type_description_1 = "co"; goto try_except_handler_2; } tmp_unused = yield_return_value; } 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 = 1002; generator_heap->type_description_1 = "co"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; 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; { 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_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 frame_exception_exit_1; } // End of try: try_end_1:; } 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[0], generator_heap->var_string ); // 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_2; // Exception handler code: try_except_handler_1:; 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; { Py_XDECREF( generator_heap->var_string ); generator_heap->var_string = 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 function_exception_exit; } // End of try: try_end_2:; } { 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_string ); generator_heap->var_string = 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 *bs4$element$$$function_70_stripped_strings$$$genobj_1_stripped_strings_maker( void ) { return Nuitka_Generator_New( bs4$element$$$function_70_stripped_strings$$$genobj_1_stripped_strings_context, module_bs4$element, const_str_plain_stripped_strings, #if PYTHON_VERSION >= 350 const_str_digest_b020e6b1418851439328ddb17fd1f136, #endif codeobj_44db1778b7dcf50bdc4185f2e27d3f9e, 1, sizeof(struct bs4$element$$$function_70_stripped_strings$$$genobj_1_stripped_strings_locals) ); } static PyObject *impl_bs4$element$$$function_71_get_text( 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_separator = python_pars[ 1 ]; PyObject *par_strip = python_pars[ 2 ]; PyObject *par_types = python_pars[ 3 ]; PyObject *outline_0_var_s = NULL; PyObject *tmp_listcomp_1__$0 = NULL; PyObject *tmp_listcomp_1__contraction = NULL; PyObject *tmp_listcomp_1__iter_value_0 = NULL; struct Nuitka_FrameObject *frame_3f9c0ef2a8c74297e6a76e39dd113910; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; struct Nuitka_FrameObject *frame_513b32b1e4368c7f307acf9c205ed152_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = 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; static struct Nuitka_FrameObject *cache_frame_513b32b1e4368c7f307acf9c205ed152_2 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; static struct Nuitka_FrameObject *cache_frame_3f9c0ef2a8c74297e6a76e39dd113910 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_3f9c0ef2a8c74297e6a76e39dd113910, codeobj_3f9c0ef2a8c74297e6a76e39dd113910, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_3f9c0ef2a8c74297e6a76e39dd113910 = cache_frame_3f9c0ef2a8c74297e6a76e39dd113910; // Push the new frame as the currently active one. pushFrameStack( frame_3f9c0ef2a8c74297e6a76e39dd113910 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_3f9c0ef2a8c74297e6a76e39dd113910 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_separator ); tmp_source_name_1 = par_separator; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_join ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1010; type_description_1 = "oooo"; goto frame_exception_exit_1; } { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kw_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; if ( par_self == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1010; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_source_name_2 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__all_strings ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1010; type_description_1 = "oooo"; goto try_except_handler_2; } if ( par_strip == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "strip" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1011; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_tuple_element_1 = par_strip; tmp_args_name_1 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 ); tmp_dict_key_1 = const_str_plain_types; if ( par_types == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "types" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1011; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_dict_value_1 = par_types; tmp_kw_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 ); assert( !(tmp_res != 0) ); frame_3f9c0ef2a8c74297e6a76e39dd113910->m_frame.f_lineno = 1010; tmp_iter_arg_1 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_name_1 ); Py_DECREF( tmp_kw_name_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1010; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1010; type_description_1 = "oooo"; goto try_except_handler_2; } assert( tmp_listcomp_1__$0 == NULL ); tmp_listcomp_1__$0 = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = PyList_New( 0 ); assert( tmp_listcomp_1__contraction == NULL ); tmp_listcomp_1__contraction = tmp_assign_source_2; } MAKE_OR_REUSE_FRAME( cache_frame_513b32b1e4368c7f307acf9c205ed152_2, codeobj_513b32b1e4368c7f307acf9c205ed152, module_bs4$element, sizeof(void *) ); frame_513b32b1e4368c7f307acf9c205ed152_2 = cache_frame_513b32b1e4368c7f307acf9c205ed152_2; // Push the new frame as the currently active one. pushFrameStack( frame_513b32b1e4368c7f307acf9c205ed152_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_513b32b1e4368c7f307acf9c205ed152_2 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_3; CHECK_OBJECT( tmp_listcomp_1__$0 ); tmp_next_source_1 = tmp_listcomp_1__$0; 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_2 = "o"; exception_lineno = 1010; goto try_except_handler_3; } } { PyObject *old = tmp_listcomp_1__iter_value_0; tmp_listcomp_1__iter_value_0 = tmp_assign_source_3; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_listcomp_1__iter_value_0 ); tmp_assign_source_4 = tmp_listcomp_1__iter_value_0; { PyObject *old = outline_0_var_s; outline_0_var_s = tmp_assign_source_4; Py_INCREF( outline_0_var_s ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_append_list_1 = tmp_listcomp_1__contraction; CHECK_OBJECT( outline_0_var_s ); tmp_append_value_1 = outline_0_var_s; assert( PyList_Check( tmp_append_list_1 ) ); tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1010; type_description_2 = "o"; goto try_except_handler_3; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1010; type_description_2 = "o"; goto try_except_handler_3; } goto loop_start_1; loop_end_1:; } { CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_args_element_name_1 = tmp_listcomp_1__contraction; Py_INCREF( tmp_args_element_name_1 ); goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_71_get_text ); return NULL; // Return handler code: try_return_handler_3:; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { goto frame_return_exit_2; } // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_2; } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_513b32b1e4368c7f307acf9c205ed152_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_513b32b1e4368c7f307acf9c205ed152_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_2; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_513b32b1e4368c7f307acf9c205ed152_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_513b32b1e4368c7f307acf9c205ed152_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_513b32b1e4368c7f307acf9c205ed152_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_513b32b1e4368c7f307acf9c205ed152_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_513b32b1e4368c7f307acf9c205ed152_2, type_description_2, outline_0_var_s ); // Release cached frame. if ( frame_513b32b1e4368c7f307acf9c205ed152_2 == cache_frame_513b32b1e4368c7f307acf9c205ed152_2 ) { Py_DECREF( frame_513b32b1e4368c7f307acf9c205ed152_2 ); } cache_frame_513b32b1e4368c7f307acf9c205ed152_2 = NULL; assertFrameObject( frame_513b32b1e4368c7f307acf9c205ed152_2 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; type_description_1 = "oooo"; goto try_except_handler_2; skip_nested_handling_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_71_get_text ); return NULL; // Return handler code: try_return_handler_2:; { Py_XDECREF( outline_0_var_s ); outline_0_var_s = NULL; } { goto outline_result_1; } // 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; { Py_XDECREF( outline_0_var_s ); outline_0_var_s = 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 outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_71_get_text ); return NULL; outline_exception_1:; exception_lineno = 1010; goto frame_exception_exit_1; outline_result_1:; frame_3f9c0ef2a8c74297e6a76e39dd113910->m_frame.f_lineno = 1010; { 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 = 1010; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_3f9c0ef2a8c74297e6a76e39dd113910 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3f9c0ef2a8c74297e6a76e39dd113910 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3f9c0ef2a8c74297e6a76e39dd113910 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_3f9c0ef2a8c74297e6a76e39dd113910, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_3f9c0ef2a8c74297e6a76e39dd113910->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_3f9c0ef2a8c74297e6a76e39dd113910, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_3f9c0ef2a8c74297e6a76e39dd113910, type_description_1, par_self, par_separator, par_strip, par_types ); // Release cached frame. if ( frame_3f9c0ef2a8c74297e6a76e39dd113910 == cache_frame_3f9c0ef2a8c74297e6a76e39dd113910 ) { Py_DECREF( frame_3f9c0ef2a8c74297e6a76e39dd113910 ); } cache_frame_3f9c0ef2a8c74297e6a76e39dd113910 = NULL; assertFrameObject( frame_3f9c0ef2a8c74297e6a76e39dd113910 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_2:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_71_get_text ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_separator ); par_separator = NULL; } { Py_XDECREF( par_strip ); par_strip = NULL; } { Py_XDECREF( par_types ); par_types = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; 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( par_self ); par_self = NULL; } { Py_XDECREF( par_separator ); par_separator = NULL; } { Py_XDECREF( par_strip ); par_strip = NULL; } { Py_XDECREF( par_types ); par_types = 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 function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_71_get_text ); 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_bs4$element$$$function_72_decompose( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *var_i = NULL; PyObject *var_next = NULL; struct Nuitka_FrameObject *frame_9b533d4121851bce2a227bf21c0c0512; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_9b533d4121851bce2a227bf21c0c0512 = 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_9b533d4121851bce2a227bf21c0c0512, codeobj_9b533d4121851bce2a227bf21c0c0512, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_9b533d4121851bce2a227bf21c0c0512 = cache_frame_9b533d4121851bce2a227bf21c0c0512; // Push the new frame as the currently active one. pushFrameStack( frame_9b533d4121851bce2a227bf21c0c0512 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_9b533d4121851bce2a227bf21c0c0512 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; CHECK_OBJECT( par_self ); tmp_called_instance_1 = par_self; frame_9b533d4121851bce2a227bf21c0c0512->m_frame.f_lineno = 1017; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_extract ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1017; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_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 = 1018; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = par_self; assert( var_i == NULL ); Py_INCREF( tmp_assign_source_1 ); var_i = tmp_assign_source_1; } { loop_start_1:; { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; 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 = 1019; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = var_i; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { goto loop_end_1; } branch_no_1:; } { PyObject *tmp_assign_source_2; PyObject *tmp_source_name_1; 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 = 1020; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = var_i; tmp_assign_source_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_next_element ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1020; type_description_1 = "ooo"; goto frame_exception_exit_1; } { PyObject *old = var_next; var_next = tmp_assign_source_2; Py_XDECREF( old ); } } { PyObject *tmp_called_instance_2; PyObject *tmp_source_name_2; 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 = 1021; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_2 = var_i; tmp_called_instance_2 = LOOKUP_ATTRIBUTE_DICT_SLOT( tmp_source_name_2 ); if ( tmp_called_instance_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1021; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_9b533d4121851bce2a227bf21c0c0512->m_frame.f_lineno = 1021; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_clear ); Py_DECREF( tmp_called_instance_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1021; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; tmp_assattr_name_1 = PyList_New( 0 ); if ( var_i == NULL ) { Py_DECREF( tmp_assattr_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "i" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1022; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = var_i; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_contents, tmp_assattr_name_1 ); Py_DECREF( tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1022; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_3; if ( var_next == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "next" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1023; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = var_next; { PyObject *old = var_i; var_i = tmp_assign_source_3; Py_INCREF( var_i ); Py_XDECREF( old ); } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1019; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_9b533d4121851bce2a227bf21c0c0512 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9b533d4121851bce2a227bf21c0c0512 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_9b533d4121851bce2a227bf21c0c0512, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_9b533d4121851bce2a227bf21c0c0512->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_9b533d4121851bce2a227bf21c0c0512, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_9b533d4121851bce2a227bf21c0c0512, type_description_1, par_self, var_i, var_next ); // Release cached frame. if ( frame_9b533d4121851bce2a227bf21c0c0512 == cache_frame_9b533d4121851bce2a227bf21c0c0512 ) { Py_DECREF( frame_9b533d4121851bce2a227bf21c0c0512 ); } cache_frame_9b533d4121851bce2a227bf21c0c0512 = NULL; assertFrameObject( frame_9b533d4121851bce2a227bf21c0c0512 ); // 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( bs4$element$$$function_72_decompose ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_next ); var_next = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_next ); var_next = 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( bs4$element$$$function_72_decompose ); 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_bs4$element$$$function_73_clear( 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_decompose = python_pars[ 1 ]; PyObject *var_element = 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; struct Nuitka_FrameObject *frame_109154d3647759eb5904814de000cb71; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; 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; static struct Nuitka_FrameObject *cache_frame_109154d3647759eb5904814de000cb71 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_109154d3647759eb5904814de000cb71, codeobj_109154d3647759eb5904814de000cb71, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_109154d3647759eb5904814de000cb71 = cache_frame_109154d3647759eb5904814de000cb71; // Push the new frame as the currently active one. pushFrameStack( frame_109154d3647759eb5904814de000cb71 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_109154d3647759eb5904814de000cb71 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT( par_decompose ); tmp_truth_name_1 = CHECK_IF_TRUE( par_decompose ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1029; 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_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_contents ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1030; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_slice_none_none_none; tmp_iter_arg_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1030; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1030; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_1; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_2; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_2 == 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 = "ooo"; exception_lineno = 1030; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_2; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_3; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_3 = tmp_for_loop_1__iter_value; { PyObject *old = var_element; var_element = tmp_assign_source_3; Py_INCREF( var_element ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; CHECK_OBJECT( var_element ); tmp_isinstance_inst_1 = var_element; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Tag ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Tag ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1031; type_description_1 = "ooo"; goto try_except_handler_2; } 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 = 1031; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_called_instance_1; CHECK_OBJECT( var_element ); tmp_called_instance_1 = var_element; frame_109154d3647759eb5904814de000cb71->m_frame.f_lineno = 1032; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_decompose ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1032; type_description_1 = "ooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } goto branch_end_2; branch_no_2:; { PyObject *tmp_called_instance_2; CHECK_OBJECT( var_element ); tmp_called_instance_2 = var_element; frame_109154d3647759eb5904814de000cb71->m_frame.f_lineno = 1034; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_extract ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1034; type_description_1 = "ooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_end_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1030; type_description_1 = "ooo"; 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; } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_4; PyObject *tmp_iter_arg_2; PyObject *tmp_subscribed_name_2; PyObject *tmp_source_name_2; PyObject *tmp_subscript_name_2; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_contents ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1036; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscript_name_2 = const_slice_none_none_none; tmp_iter_arg_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); if ( tmp_iter_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1036; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_4 = MAKE_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1036; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_2__for_iterator == NULL ); tmp_for_loop_2__for_iterator = tmp_assign_source_4; } { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_for_loop_2__for_iterator ); tmp_next_source_2 = tmp_for_loop_2__for_iterator; tmp_assign_source_5 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_5 == 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 = "ooo"; exception_lineno = 1036; goto try_except_handler_3; } } { PyObject *old = tmp_for_loop_2__iter_value; tmp_for_loop_2__iter_value = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_for_loop_2__iter_value ); tmp_assign_source_6 = tmp_for_loop_2__iter_value; { PyObject *old = var_element; var_element = tmp_assign_source_6; Py_INCREF( var_element ); Py_XDECREF( old ); } } { PyObject *tmp_called_instance_3; CHECK_OBJECT( var_element ); tmp_called_instance_3 = var_element; frame_109154d3647759eb5904814de000cb71->m_frame.f_lineno = 1037; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_extract ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1037; type_description_1 = "ooo"; goto try_except_handler_3; } Py_DECREF( tmp_unused ); } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1036; type_description_1 = "ooo"; goto try_except_handler_3; } goto loop_start_2; loop_end_2:; } 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_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_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:; } { 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; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_109154d3647759eb5904814de000cb71 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_109154d3647759eb5904814de000cb71 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_109154d3647759eb5904814de000cb71, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_109154d3647759eb5904814de000cb71->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_109154d3647759eb5904814de000cb71, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_109154d3647759eb5904814de000cb71, type_description_1, par_self, par_decompose, var_element ); // Release cached frame. if ( frame_109154d3647759eb5904814de000cb71 == cache_frame_109154d3647759eb5904814de000cb71 ) { Py_DECREF( frame_109154d3647759eb5904814de000cb71 ); } cache_frame_109154d3647759eb5904814de000cb71 = NULL; assertFrameObject( frame_109154d3647759eb5904814de000cb71 ); // 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( bs4$element$$$function_73_clear ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_decompose ); par_decompose = NULL; } { Py_XDECREF( var_element ); var_element = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; 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( par_self ); par_self = NULL; } { Py_XDECREF( par_decompose ); par_decompose = NULL; } { Py_XDECREF( var_element ); var_element = 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 function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_73_clear ); 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_bs4$element$$$function_74_index( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_element = python_pars[ 1 ]; PyObject *var_i = NULL; PyObject *var_child = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_97710b69fd5c98269d39a473dacdc9ac; 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_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; static struct Nuitka_FrameObject *cache_frame_97710b69fd5c98269d39a473dacdc9ac = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_97710b69fd5c98269d39a473dacdc9ac, codeobj_97710b69fd5c98269d39a473dacdc9ac, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_97710b69fd5c98269d39a473dacdc9ac = cache_frame_97710b69fd5c98269d39a473dacdc9ac; // Push the new frame as the currently active one. pushFrameStack( frame_97710b69fd5c98269d39a473dacdc9ac ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_97710b69fd5c98269d39a473dacdc9ac ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_1; tmp_called_name_1 = (PyObject *)&PyEnum_Type; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_contents ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1044; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_97710b69fd5c98269d39a473dacdc9ac->m_frame.f_lineno = 1044; { 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 = 1044; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1044; 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_1; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_2; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_2 == 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 = 1044; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_2; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_3; 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_3 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1044; type_description_1 = "oooo"; goto try_except_handler_3; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_3; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_4 == 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 = 1044; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_5 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_5 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooo"; exception_lineno = 1044; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_5; 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 = "oooo"; exception_lineno = 1044; 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 = "oooo"; exception_lineno = 1044; 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_6; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_6 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_i; var_i = tmp_assign_source_6; 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_7; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_7 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_child; var_child = tmp_assign_source_7; Py_INCREF( var_child ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( var_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1045; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_compexpr_left_1 = var_child; if ( par_element == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1045; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_compexpr_right_1 = par_element; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { 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 = 1046; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_return_value = var_i; Py_INCREF( tmp_return_value ); goto try_return_handler_2; } branch_no_1:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1044; type_description_1 = "oooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_3; // Return handler code: try_return_handler_2:; { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__iter_value ); Py_DECREF( 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; } { goto frame_return_exit_1; } // 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_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_2eb78fd35de0c552fcd9f4234a3e2fee; frame_97710b69fd5c98269d39a473dacdc9ac->m_frame.f_lineno = 1047; { 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) ); exception_type = tmp_raise_type_1; exception_lineno = 1047; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_97710b69fd5c98269d39a473dacdc9ac ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_97710b69fd5c98269d39a473dacdc9ac ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_97710b69fd5c98269d39a473dacdc9ac ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_97710b69fd5c98269d39a473dacdc9ac, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_97710b69fd5c98269d39a473dacdc9ac->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_97710b69fd5c98269d39a473dacdc9ac, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_97710b69fd5c98269d39a473dacdc9ac, type_description_1, par_self, par_element, var_i, var_child ); // Release cached frame. if ( frame_97710b69fd5c98269d39a473dacdc9ac == cache_frame_97710b69fd5c98269d39a473dacdc9ac ) { Py_DECREF( frame_97710b69fd5c98269d39a473dacdc9ac ); } cache_frame_97710b69fd5c98269d39a473dacdc9ac = NULL; assertFrameObject( frame_97710b69fd5c98269d39a473dacdc9ac ); // 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( bs4$element$$$function_74_index ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_element ); par_element = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_child ); var_child = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_element ); par_element = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_child ); var_child = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_74_index ); 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_bs4$element$$$function_75_get( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_key = python_pars[ 1 ]; PyObject *par_default = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_524a37c2c0d86ba0b41dc799b54fe11d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_524a37c2c0d86ba0b41dc799b54fe11d = 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_524a37c2c0d86ba0b41dc799b54fe11d, codeobj_524a37c2c0d86ba0b41dc799b54fe11d, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_524a37c2c0d86ba0b41dc799b54fe11d = cache_frame_524a37c2c0d86ba0b41dc799b54fe11d; // Push the new frame as the currently active one. pushFrameStack( frame_524a37c2c0d86ba0b41dc799b54fe11d ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_524a37c2c0d86ba0b41dc799b54fe11d ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_attrs ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1053; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get ); 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 = 1053; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_key == 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", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1053; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_key; if ( par_default == 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", "default" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1053; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_default; frame_524a37c2c0d86ba0b41dc799b54fe11d->m_frame.f_lineno = 1053; { 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 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1053; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_524a37c2c0d86ba0b41dc799b54fe11d ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_524a37c2c0d86ba0b41dc799b54fe11d ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_524a37c2c0d86ba0b41dc799b54fe11d ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_524a37c2c0d86ba0b41dc799b54fe11d, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_524a37c2c0d86ba0b41dc799b54fe11d->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_524a37c2c0d86ba0b41dc799b54fe11d, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_524a37c2c0d86ba0b41dc799b54fe11d, type_description_1, par_self, par_key, par_default ); // Release cached frame. if ( frame_524a37c2c0d86ba0b41dc799b54fe11d == cache_frame_524a37c2c0d86ba0b41dc799b54fe11d ) { Py_DECREF( frame_524a37c2c0d86ba0b41dc799b54fe11d ); } cache_frame_524a37c2c0d86ba0b41dc799b54fe11d = NULL; assertFrameObject( frame_524a37c2c0d86ba0b41dc799b54fe11d ); // 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( bs4$element$$$function_75_get ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { Py_XDECREF( par_default ); par_default = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { Py_XDECREF( par_default ); par_default = 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( bs4$element$$$function_75_get ); 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_bs4$element$$$function_76_get_attribute_list( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_key = python_pars[ 1 ]; PyObject *par_default = python_pars[ 2 ]; PyObject *var_value = NULL; struct Nuitka_FrameObject *frame_e8a20bb9b440b8537b53ed7f3364c2de; 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_e8a20bb9b440b8537b53ed7f3364c2de = 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_e8a20bb9b440b8537b53ed7f3364c2de, codeobj_e8a20bb9b440b8537b53ed7f3364c2de, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_e8a20bb9b440b8537b53ed7f3364c2de = cache_frame_e8a20bb9b440b8537b53ed7f3364c2de; // Push the new frame as the currently active one. pushFrameStack( frame_e8a20bb9b440b8537b53ed7f3364c2de ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e8a20bb9b440b8537b53ed7f3364c2de ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1057; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_key == 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", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1057; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_key; if ( par_default == 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", "default" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1057; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_default; frame_e8a20bb9b440b8537b53ed7f3364c2de->m_frame.f_lineno = 1057; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2( 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 = 1057; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_value == NULL ); var_value = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; CHECK_OBJECT( var_value ); tmp_isinstance_inst_1 = var_value; tmp_isinstance_cls_1 = (PyObject *)&PyList_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1058; type_description_1 = "oooo"; 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 = 1058; 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_assign_source_2; PyObject *tmp_list_element_1; if ( var_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1059; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_list_element_1 = var_value; tmp_assign_source_2 = PyList_New( 1 ); Py_INCREF( tmp_list_element_1 ); PyList_SET_ITEM( tmp_assign_source_2, 0, tmp_list_element_1 ); { PyObject *old = var_value; var_value = tmp_assign_source_2; Py_XDECREF( old ); } } branch_no_1:; } { if ( var_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1060; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = var_value; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_e8a20bb9b440b8537b53ed7f3364c2de ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e8a20bb9b440b8537b53ed7f3364c2de ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e8a20bb9b440b8537b53ed7f3364c2de ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e8a20bb9b440b8537b53ed7f3364c2de, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e8a20bb9b440b8537b53ed7f3364c2de->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e8a20bb9b440b8537b53ed7f3364c2de, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e8a20bb9b440b8537b53ed7f3364c2de, type_description_1, par_self, par_key, par_default, var_value ); // Release cached frame. if ( frame_e8a20bb9b440b8537b53ed7f3364c2de == cache_frame_e8a20bb9b440b8537b53ed7f3364c2de ) { Py_DECREF( frame_e8a20bb9b440b8537b53ed7f3364c2de ); } cache_frame_e8a20bb9b440b8537b53ed7f3364c2de = NULL; assertFrameObject( frame_e8a20bb9b440b8537b53ed7f3364c2de ); // 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( bs4$element$$$function_76_get_attribute_list ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { Py_XDECREF( par_default ); par_default = NULL; } { Py_XDECREF( var_value ); var_value = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { Py_XDECREF( par_default ); par_default = NULL; } { Py_XDECREF( var_value ); var_value = 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( bs4$element$$$function_76_get_attribute_list ); 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_bs4$element$$$function_77_has_attr( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_key = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_eaca347d17ccf91ff6a3f44f41afc9f8; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; static struct Nuitka_FrameObject *cache_frame_eaca347d17ccf91ff6a3f44f41afc9f8 = 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_eaca347d17ccf91ff6a3f44f41afc9f8, codeobj_eaca347d17ccf91ff6a3f44f41afc9f8, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_eaca347d17ccf91ff6a3f44f41afc9f8 = cache_frame_eaca347d17ccf91ff6a3f44f41afc9f8; // Push the new frame as the currently active one. pushFrameStack( frame_eaca347d17ccf91ff6a3f44f41afc9f8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_eaca347d17ccf91ff6a3f44f41afc9f8 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_key ); tmp_compexpr_left_1 = par_key; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_attrs ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1063; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1063; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_return_value = ( tmp_res == 1 ) ? Py_True : Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_eaca347d17ccf91ff6a3f44f41afc9f8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_eaca347d17ccf91ff6a3f44f41afc9f8 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_eaca347d17ccf91ff6a3f44f41afc9f8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_eaca347d17ccf91ff6a3f44f41afc9f8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_eaca347d17ccf91ff6a3f44f41afc9f8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_eaca347d17ccf91ff6a3f44f41afc9f8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_eaca347d17ccf91ff6a3f44f41afc9f8, type_description_1, par_self, par_key ); // Release cached frame. if ( frame_eaca347d17ccf91ff6a3f44f41afc9f8 == cache_frame_eaca347d17ccf91ff6a3f44f41afc9f8 ) { Py_DECREF( frame_eaca347d17ccf91ff6a3f44f41afc9f8 ); } cache_frame_eaca347d17ccf91ff6a3f44f41afc9f8 = NULL; assertFrameObject( frame_eaca347d17ccf91ff6a3f44f41afc9f8 ); // 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( bs4$element$$$function_77_has_attr ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { // 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( bs4$element$$$function_77_has_attr ); 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_bs4$element$$$function_78___hash__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_83d18e28095f37e035a2456e1f8ef60b; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_83d18e28095f37e035a2456e1f8ef60b = 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_83d18e28095f37e035a2456e1f8ef60b, codeobj_83d18e28095f37e035a2456e1f8ef60b, module_bs4$element, sizeof(void *) ); frame_83d18e28095f37e035a2456e1f8ef60b = cache_frame_83d18e28095f37e035a2456e1f8ef60b; // Push the new frame as the currently active one. pushFrameStack( frame_83d18e28095f37e035a2456e1f8ef60b ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_83d18e28095f37e035a2456e1f8ef60b ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_unicode_arg_1; CHECK_OBJECT( par_self ); tmp_unicode_arg_1 = par_self; tmp_called_instance_1 = PyObject_Unicode( tmp_unicode_arg_1 ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1066; type_description_1 = "o"; goto frame_exception_exit_1; } frame_83d18e28095f37e035a2456e1f8ef60b->m_frame.f_lineno = 1066; tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain___hash__ ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1066; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_83d18e28095f37e035a2456e1f8ef60b ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_83d18e28095f37e035a2456e1f8ef60b ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_83d18e28095f37e035a2456e1f8ef60b ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_83d18e28095f37e035a2456e1f8ef60b, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_83d18e28095f37e035a2456e1f8ef60b->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_83d18e28095f37e035a2456e1f8ef60b, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_83d18e28095f37e035a2456e1f8ef60b, type_description_1, par_self ); // Release cached frame. if ( frame_83d18e28095f37e035a2456e1f8ef60b == cache_frame_83d18e28095f37e035a2456e1f8ef60b ) { Py_DECREF( frame_83d18e28095f37e035a2456e1f8ef60b ); } cache_frame_83d18e28095f37e035a2456e1f8ef60b = NULL; assertFrameObject( frame_83d18e28095f37e035a2456e1f8ef60b ); // 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( bs4$element$$$function_78___hash__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_78___hash__ ); 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_bs4$element$$$function_79___getitem__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_key = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_bcaecc0504ca9574b24de4d86ecf1ccd; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_bcaecc0504ca9574b24de4d86ecf1ccd = 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_bcaecc0504ca9574b24de4d86ecf1ccd, codeobj_bcaecc0504ca9574b24de4d86ecf1ccd, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_bcaecc0504ca9574b24de4d86ecf1ccd = cache_frame_bcaecc0504ca9574b24de4d86ecf1ccd; // Push the new frame as the currently active one. pushFrameStack( frame_bcaecc0504ca9574b24de4d86ecf1ccd ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_bcaecc0504ca9574b24de4d86ecf1ccd ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_attrs ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1071; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_key == 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", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1071; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = par_key; tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1071; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_bcaecc0504ca9574b24de4d86ecf1ccd ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_bcaecc0504ca9574b24de4d86ecf1ccd ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_bcaecc0504ca9574b24de4d86ecf1ccd ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_bcaecc0504ca9574b24de4d86ecf1ccd, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_bcaecc0504ca9574b24de4d86ecf1ccd->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_bcaecc0504ca9574b24de4d86ecf1ccd, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_bcaecc0504ca9574b24de4d86ecf1ccd, type_description_1, par_self, par_key ); // Release cached frame. if ( frame_bcaecc0504ca9574b24de4d86ecf1ccd == cache_frame_bcaecc0504ca9574b24de4d86ecf1ccd ) { Py_DECREF( frame_bcaecc0504ca9574b24de4d86ecf1ccd ); } cache_frame_bcaecc0504ca9574b24de4d86ecf1ccd = NULL; assertFrameObject( frame_bcaecc0504ca9574b24de4d86ecf1ccd ); // 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( bs4$element$$$function_79___getitem__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { // 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( bs4$element$$$function_79___getitem__ ); 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_bs4$element$$$function_80___iter__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_e3fc98e89cad974e720b39d388b64b8a; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_e3fc98e89cad974e720b39d388b64b8a = 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_e3fc98e89cad974e720b39d388b64b8a, codeobj_e3fc98e89cad974e720b39d388b64b8a, module_bs4$element, sizeof(void *) ); frame_e3fc98e89cad974e720b39d388b64b8a = cache_frame_e3fc98e89cad974e720b39d388b64b8a; // Push the new frame as the currently active one. pushFrameStack( frame_e3fc98e89cad974e720b39d388b64b8a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e3fc98e89cad974e720b39d388b64b8a ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_iter_arg_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_iter_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_contents ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1075; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1075; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_e3fc98e89cad974e720b39d388b64b8a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e3fc98e89cad974e720b39d388b64b8a ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e3fc98e89cad974e720b39d388b64b8a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e3fc98e89cad974e720b39d388b64b8a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e3fc98e89cad974e720b39d388b64b8a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e3fc98e89cad974e720b39d388b64b8a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e3fc98e89cad974e720b39d388b64b8a, type_description_1, par_self ); // Release cached frame. if ( frame_e3fc98e89cad974e720b39d388b64b8a == cache_frame_e3fc98e89cad974e720b39d388b64b8a ) { Py_DECREF( frame_e3fc98e89cad974e720b39d388b64b8a ); } cache_frame_e3fc98e89cad974e720b39d388b64b8a = NULL; assertFrameObject( frame_e3fc98e89cad974e720b39d388b64b8a ); // 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( bs4$element$$$function_80___iter__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_80___iter__ ); 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_bs4$element$$$function_81___len__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_5115dfd1f9eebe023f2058b83d36d62a; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_5115dfd1f9eebe023f2058b83d36d62a = 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_5115dfd1f9eebe023f2058b83d36d62a, codeobj_5115dfd1f9eebe023f2058b83d36d62a, module_bs4$element, sizeof(void *) ); frame_5115dfd1f9eebe023f2058b83d36d62a = cache_frame_5115dfd1f9eebe023f2058b83d36d62a; // Push the new frame as the currently active one. pushFrameStack( frame_5115dfd1f9eebe023f2058b83d36d62a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5115dfd1f9eebe023f2058b83d36d62a ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_len_arg_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_len_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_contents ); if ( tmp_len_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1079; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = BUILTIN_LEN( tmp_len_arg_1 ); Py_DECREF( tmp_len_arg_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1079; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_5115dfd1f9eebe023f2058b83d36d62a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5115dfd1f9eebe023f2058b83d36d62a ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5115dfd1f9eebe023f2058b83d36d62a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5115dfd1f9eebe023f2058b83d36d62a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5115dfd1f9eebe023f2058b83d36d62a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5115dfd1f9eebe023f2058b83d36d62a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5115dfd1f9eebe023f2058b83d36d62a, type_description_1, par_self ); // Release cached frame. if ( frame_5115dfd1f9eebe023f2058b83d36d62a == cache_frame_5115dfd1f9eebe023f2058b83d36d62a ) { Py_DECREF( frame_5115dfd1f9eebe023f2058b83d36d62a ); } cache_frame_5115dfd1f9eebe023f2058b83d36d62a = NULL; assertFrameObject( frame_5115dfd1f9eebe023f2058b83d36d62a ); // 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( bs4$element$$$function_81___len__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_81___len__ ); 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_bs4$element$$$function_82___contains__( 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_x = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_503b3c26f5cc4215b2fe3dba2ab8e216; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; static struct Nuitka_FrameObject *cache_frame_503b3c26f5cc4215b2fe3dba2ab8e216 = 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_503b3c26f5cc4215b2fe3dba2ab8e216, codeobj_503b3c26f5cc4215b2fe3dba2ab8e216, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_503b3c26f5cc4215b2fe3dba2ab8e216 = cache_frame_503b3c26f5cc4215b2fe3dba2ab8e216; // Push the new frame as the currently active one. pushFrameStack( frame_503b3c26f5cc4215b2fe3dba2ab8e216 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_503b3c26f5cc4215b2fe3dba2ab8e216 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_x ); tmp_compexpr_left_1 = par_x; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_contents ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1082; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1082; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_return_value = ( tmp_res == 1 ) ? Py_True : Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_503b3c26f5cc4215b2fe3dba2ab8e216 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_503b3c26f5cc4215b2fe3dba2ab8e216 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_503b3c26f5cc4215b2fe3dba2ab8e216 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_503b3c26f5cc4215b2fe3dba2ab8e216, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_503b3c26f5cc4215b2fe3dba2ab8e216->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_503b3c26f5cc4215b2fe3dba2ab8e216, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_503b3c26f5cc4215b2fe3dba2ab8e216, type_description_1, par_self, par_x ); // Release cached frame. if ( frame_503b3c26f5cc4215b2fe3dba2ab8e216 == cache_frame_503b3c26f5cc4215b2fe3dba2ab8e216 ) { Py_DECREF( frame_503b3c26f5cc4215b2fe3dba2ab8e216 ); } cache_frame_503b3c26f5cc4215b2fe3dba2ab8e216 = NULL; assertFrameObject( frame_503b3c26f5cc4215b2fe3dba2ab8e216 ); // 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( bs4$element$$$function_82___contains__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_x ); par_x = 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_x ); par_x = 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( bs4$element$$$function_82___contains__ ); 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_bs4$element$$$function_83___bool__( 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 *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_83___bool__ ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_83___bool__ ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_bs4$element$$$function_84___setitem__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_key = python_pars[ 1 ]; PyObject *par_value = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_4d8569e449b8c3af75f10ae63d3003ef; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_4d8569e449b8c3af75f10ae63d3003ef = 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_4d8569e449b8c3af75f10ae63d3003ef, codeobj_4d8569e449b8c3af75f10ae63d3003ef, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_4d8569e449b8c3af75f10ae63d3003ef = cache_frame_4d8569e449b8c3af75f10ae63d3003ef; // Push the new frame as the currently active one. pushFrameStack( frame_4d8569e449b8c3af75f10ae63d3003ef ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4d8569e449b8c3af75f10ae63d3003ef ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_source_name_1; PyObject *tmp_ass_subscript_1; CHECK_OBJECT( par_value ); tmp_ass_subvalue_1 = par_value; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_attrs ); if ( tmp_ass_subscribed_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1091; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_key == NULL ) { Py_DECREF( tmp_ass_subscribed_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1091; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_ass_subscript_1 = par_key; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subscribed_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1091; type_description_1 = "ooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_4d8569e449b8c3af75f10ae63d3003ef ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4d8569e449b8c3af75f10ae63d3003ef ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4d8569e449b8c3af75f10ae63d3003ef, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4d8569e449b8c3af75f10ae63d3003ef->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4d8569e449b8c3af75f10ae63d3003ef, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4d8569e449b8c3af75f10ae63d3003ef, type_description_1, par_self, par_key, par_value ); // Release cached frame. if ( frame_4d8569e449b8c3af75f10ae63d3003ef == cache_frame_4d8569e449b8c3af75f10ae63d3003ef ) { Py_DECREF( frame_4d8569e449b8c3af75f10ae63d3003ef ); } cache_frame_4d8569e449b8c3af75f10ae63d3003ef = NULL; assertFrameObject( frame_4d8569e449b8c3af75f10ae63d3003ef ); // 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( bs4$element$$$function_84___setitem__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { Py_XDECREF( par_value ); par_value = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { Py_XDECREF( par_value ); par_value = NULL; } { // 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( bs4$element$$$function_84___setitem__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_bs4$element$$$function_85___delitem__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_key = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_2d5339110e04c27d2f691693f06a3a22; 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_2d5339110e04c27d2f691693f06a3a22 = 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_2d5339110e04c27d2f691693f06a3a22, codeobj_2d5339110e04c27d2f691693f06a3a22, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_2d5339110e04c27d2f691693f06a3a22 = cache_frame_2d5339110e04c27d2f691693f06a3a22; // Push the new frame as the currently active one. pushFrameStack( frame_2d5339110e04c27d2f691693f06a3a22 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_2d5339110e04c27d2f691693f06a3a22 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_attrs ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1095; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_pop ); 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 = 1095; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_key == 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", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1095; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_key; tmp_args_element_name_2 = Py_None; frame_2d5339110e04c27d2f691693f06a3a22->m_frame.f_lineno = 1095; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1095; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_2d5339110e04c27d2f691693f06a3a22 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2d5339110e04c27d2f691693f06a3a22 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_2d5339110e04c27d2f691693f06a3a22, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_2d5339110e04c27d2f691693f06a3a22->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_2d5339110e04c27d2f691693f06a3a22, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_2d5339110e04c27d2f691693f06a3a22, type_description_1, par_self, par_key ); // Release cached frame. if ( frame_2d5339110e04c27d2f691693f06a3a22 == cache_frame_2d5339110e04c27d2f691693f06a3a22 ) { Py_DECREF( frame_2d5339110e04c27d2f691693f06a3a22 ); } cache_frame_2d5339110e04c27d2f691693f06a3a22 = NULL; assertFrameObject( frame_2d5339110e04c27d2f691693f06a3a22 ); // 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( bs4$element$$$function_85___delitem__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { // 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( bs4$element$$$function_85___delitem__ ); 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_bs4$element$$$function_86___call__( 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_args = python_pars[ 1 ]; PyObject *par_kwargs = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_5a02ca1b1d27478979a5d79f5d103e3e; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_5a02ca1b1d27478979a5d79f5d103e3e = 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_5a02ca1b1d27478979a5d79f5d103e3e, codeobj_5a02ca1b1d27478979a5d79f5d103e3e, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_5a02ca1b1d27478979a5d79f5d103e3e = cache_frame_5a02ca1b1d27478979a5d79f5d103e3e; // Push the new frame as the currently active one. pushFrameStack( frame_5a02ca1b1d27478979a5d79f5d103e3e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5a02ca1b1d27478979a5d79f5d103e3e ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_find_all ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1101; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_args == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1101; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dircall_arg2_1 = par_args; if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); 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 = 1101; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg2_1 ); Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_4_complex_call_helper_star_list_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1101; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_5a02ca1b1d27478979a5d79f5d103e3e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5a02ca1b1d27478979a5d79f5d103e3e ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5a02ca1b1d27478979a5d79f5d103e3e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5a02ca1b1d27478979a5d79f5d103e3e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5a02ca1b1d27478979a5d79f5d103e3e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5a02ca1b1d27478979a5d79f5d103e3e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5a02ca1b1d27478979a5d79f5d103e3e, type_description_1, par_self, par_args, par_kwargs ); // Release cached frame. if ( frame_5a02ca1b1d27478979a5d79f5d103e3e == cache_frame_5a02ca1b1d27478979a5d79f5d103e3e ) { Py_DECREF( frame_5a02ca1b1d27478979a5d79f5d103e3e ); } cache_frame_5a02ca1b1d27478979a5d79f5d103e3e = NULL; assertFrameObject( frame_5a02ca1b1d27478979a5d79f5d103e3e ); // 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( bs4$element$$$function_86___call__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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_args ); par_args = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = 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( bs4$element$$$function_86___call__ ); 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_bs4$element$$$function_87___getattr__( 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_tag = python_pars[ 1 ]; PyObject *var_tag_name = NULL; struct Nuitka_FrameObject *frame_b5b0f46b66d46165c4a1a536847c6512; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_b5b0f46b66d46165c4a1a536847c6512 = 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_b5b0f46b66d46165c4a1a536847c6512, codeobj_b5b0f46b66d46165c4a1a536847c6512, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_b5b0f46b66d46165c4a1a536847c6512 = cache_frame_b5b0f46b66d46165c4a1a536847c6512; // Push the new frame as the currently active one. pushFrameStack( frame_b5b0f46b66d46165c4a1a536847c6512 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_b5b0f46b66d46165c4a1a536847c6512 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; PyObject *tmp_called_instance_1; PyObject *tmp_call_result_1; int tmp_truth_name_1; CHECK_OBJECT( par_tag ); tmp_len_arg_1 = par_tag; 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 = 1105; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_pos_3; 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 = 1105; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if ( par_tag == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1105; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_tag; frame_b5b0f46b66d46165c4a1a536847c6512->m_frame.f_lineno = 1105; tmp_call_result_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_endswith, &PyTuple_GET_ITEM( const_tuple_str_plain_Tag_tuple, 0 ) ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1105; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 1105; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_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_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; if ( par_tag == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1107; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = par_tag; tmp_subscript_name_1 = const_slice_none_int_neg_3_none; tmp_assign_source_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1107; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_tag_name == NULL ); var_tag_name = 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; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_warnings ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_warnings ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "warnings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1108; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_warn ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1108; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_1 = const_str_digest_f71329a7fdb204c7f3cb9c7636f075d9; tmp_dict_key_1 = const_str_plain_name; if ( var_tag_name == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1110; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dict_value_1 = var_tag_name; tmp_right_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem( tmp_right_name_1, tmp_dict_key_1, tmp_dict_value_1 ); assert( !(tmp_res != 0) ); tmp_args_element_name_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_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 = 1109; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_b5b0f46b66d46165c4a1a536847c6512->m_frame.f_lineno = 1108; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1108; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_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 = 1113; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_find ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1113; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( var_tag_name == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1113; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = var_tag_name; frame_b5b0f46b66d46165c4a1a536847c6512->m_frame.f_lineno = 1113; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1113; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_2; 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_called_instance_2; PyObject *tmp_operand_name_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( par_tag == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1115; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_tag; frame_b5b0f46b66d46165c4a1a536847c6512->m_frame.f_lineno = 1115; tmp_operand_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_startswith, &PyTuple_GET_ITEM( const_tuple_str_plain____tuple, 0 ) ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1115; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1115; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_and_left_value_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if ( par_tag == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1115; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = par_tag; tmp_compexpr_right_2 = const_str_plain_contents; tmp_operand_name_2 = RICH_COMPARE_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_operand_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1115; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); Py_DECREF( tmp_operand_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1115; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_and_right_value_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_2 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_2 = tmp_and_left_value_2; and_end_2:; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1116; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_find ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1116; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_tag == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1116; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_tag; frame_b5b0f46b66d46165c4a1a536847c6512->m_frame.f_lineno = 1116; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1116; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_2:; } branch_end_1:; } { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_4; tmp_left_name_2 = const_str_digest_ca7f1c3e5d90e78a07e9f85863c06c8e; 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 = 1118; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_4 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1118; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_right_name_2 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_1 ); if ( par_tag == NULL ) { Py_DECREF( tmp_right_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1118; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_tag; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_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 = 1118; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_b5b0f46b66d46165c4a1a536847c6512->m_frame.f_lineno = 1117; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_AttributeError, call_args ); } Py_DECREF( tmp_make_exception_arg_1 ); assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 1117; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; goto frame_exception_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_b5b0f46b66d46165c4a1a536847c6512 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b5b0f46b66d46165c4a1a536847c6512 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b5b0f46b66d46165c4a1a536847c6512 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_b5b0f46b66d46165c4a1a536847c6512, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_b5b0f46b66d46165c4a1a536847c6512->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_b5b0f46b66d46165c4a1a536847c6512, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_b5b0f46b66d46165c4a1a536847c6512, type_description_1, par_self, par_tag, var_tag_name ); // Release cached frame. if ( frame_b5b0f46b66d46165c4a1a536847c6512 == cache_frame_b5b0f46b66d46165c4a1a536847c6512 ) { Py_DECREF( frame_b5b0f46b66d46165c4a1a536847c6512 ); } cache_frame_b5b0f46b66d46165c4a1a536847c6512 = NULL; assertFrameObject( frame_b5b0f46b66d46165c4a1a536847c6512 ); // 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( bs4$element$$$function_87___getattr__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_tag ); par_tag = NULL; } { Py_XDECREF( var_tag_name ); var_tag_name = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_tag ); par_tag = NULL; } { Py_XDECREF( var_tag_name ); var_tag_name = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_87___getattr__ ); 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_bs4$element$$$function_88___eq__( 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_other = python_pars[ 1 ]; PyObject *var_i = NULL; PyObject *var_my_child = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_return_value = NULL; struct Nuitka_FrameObject *frame_63c327127eed5eef054c31ea605470f7; 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_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; static struct Nuitka_FrameObject *cache_frame_63c327127eed5eef054c31ea605470f7 = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; // Actual function code. { // Tried code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_self ); tmp_compexpr_left_1 = par_self; CHECK_OBJECT( par_other ); tmp_compexpr_right_1 = par_other; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } branch_no_1:; } MAKE_OR_REUSE_FRAME( cache_frame_63c327127eed5eef054c31ea605470f7, codeobj_63c327127eed5eef054c31ea605470f7, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_63c327127eed5eef054c31ea605470f7 = cache_frame_63c327127eed5eef054c31ea605470f7; // Push the new frame as the currently active one. pushFrameStack( frame_63c327127eed5eef054c31ea605470f7 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_63c327127eed5eef054c31ea605470f7 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_2; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_operand_name_1; PyObject *tmp_source_name_1; PyObject *tmp_attribute_name_1; 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_2; PyObject *tmp_attribute_name_2; int tmp_or_left_truth_3; nuitka_bool tmp_or_left_value_3; nuitka_bool tmp_or_right_value_3; PyObject *tmp_operand_name_3; PyObject *tmp_source_name_3; PyObject *tmp_attribute_name_3; int tmp_or_left_truth_4; nuitka_bool tmp_or_left_value_4; nuitka_bool tmp_or_right_value_4; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; int tmp_or_left_truth_5; nuitka_bool tmp_or_left_value_5; nuitka_bool tmp_or_right_value_5; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_source_name_6; PyObject *tmp_source_name_7; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_len_arg_1; PyObject *tmp_len_arg_2; if ( par_other == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1125; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_other; tmp_attribute_name_1 = const_str_plain_name; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_1, tmp_attribute_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1125; type_description_1 = "oooo"; 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 = 1125; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_1 = ( 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 ( par_other == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1126; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_other; tmp_attribute_name_2 = const_str_plain_attrs; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_2, tmp_attribute_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1126; type_description_1 = "oooo"; goto frame_exception_exit_1; } 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 = 1126; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_truth_2 = tmp_or_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_2 == 1 ) { goto or_left_2; } else { goto or_right_2; } or_right_2:; if ( par_other == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1127; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_other; tmp_attribute_name_3 = const_str_plain_contents; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_3, tmp_attribute_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1127; type_description_1 = "oooo"; goto frame_exception_exit_1; } 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 = 1127; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_3 = ( 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 ( 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 = 1128; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_name ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1128; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_other == NULL ) { Py_DECREF( tmp_compexpr_left_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1128; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_other; tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_name ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_2 ); exception_lineno = 1128; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1128; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_truth_4 = tmp_or_left_value_4 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_4 == 1 ) { goto or_left_4; } else { goto or_right_4; } or_right_4:; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1129; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_compexpr_left_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_attrs ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1129; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_other == NULL ) { Py_DECREF( tmp_compexpr_left_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1129; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_other; tmp_compexpr_right_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_attrs ); if ( tmp_compexpr_right_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_3 ); exception_lineno = 1129; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_left_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1129; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_truth_5 = tmp_or_left_value_5 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_5 == 1 ) { goto or_left_5; } else { goto or_right_5; } or_right_5:; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1130; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_self; tmp_compexpr_left_4 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1130; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_other == NULL ) { Py_DECREF( tmp_compexpr_left_4 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1130; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_2 = par_other; tmp_compexpr_right_4 = BUILTIN_LEN( tmp_len_arg_2 ); if ( tmp_compexpr_right_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_4 ); exception_lineno = 1130; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_4, tmp_compexpr_right_4 ); Py_DECREF( tmp_compexpr_left_4 ); Py_DECREF( tmp_compexpr_right_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1130; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_right_value_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_right_value_4 = tmp_or_right_value_5; goto or_end_5; or_left_5:; tmp_or_right_value_4 = tmp_or_left_value_5; or_end_5:; tmp_or_right_value_3 = tmp_or_right_value_4; goto or_end_4; or_left_4:; tmp_or_right_value_3 = tmp_or_left_value_4; or_end_4:; tmp_or_right_value_2 = tmp_or_right_value_3; goto or_end_3; or_left_3:; tmp_or_right_value_2 = tmp_or_left_value_3; or_end_3:; tmp_or_right_value_1 = tmp_or_right_value_2; goto or_end_2; or_left_2:; tmp_or_right_value_1 = tmp_or_left_value_2; or_end_2:; tmp_condition_result_2 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_2 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_2:; } { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_8; tmp_called_name_1 = (PyObject *)&PyEnum_Type; 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 = 1132; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_8 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_contents ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1132; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_63c327127eed5eef054c31ea605470f7->m_frame.f_lineno = 1132; { 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 = 1132; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1132; 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_1; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_2; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_2 == 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 = 1132; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_2; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_3; 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_3 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1132; type_description_1 = "oooo"; goto try_except_handler_3; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_3; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_4 == 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 = 1132; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_5 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_5 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooo"; exception_lineno = 1132; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_5; 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 = "oooo"; exception_lineno = 1132; 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 = "oooo"; exception_lineno = 1132; 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_6; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_6 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_i; var_i = tmp_assign_source_6; 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_7; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_7 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_my_child; var_my_child = tmp_assign_source_7; Py_INCREF( var_my_child ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_9; PyObject *tmp_subscript_name_1; if ( var_my_child == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "my_child" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1133; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_compexpr_left_5 = var_my_child; if ( par_other == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1133; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_source_name_9 = par_other; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_contents ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1133; type_description_1 = "oooo"; goto try_except_handler_2; } if ( var_i == 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", "i" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1133; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_subscript_name_1 = var_i; tmp_compexpr_right_5 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_compexpr_right_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1133; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_5, tmp_compexpr_right_5 ); Py_DECREF( tmp_compexpr_right_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1133; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto try_return_handler_2; } branch_no_3:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1132; type_description_1 = "oooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_3; // Return handler code: try_return_handler_2:; { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__iter_value ); Py_DECREF( 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; } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; } // End of try: try_end_3:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_63c327127eed5eef054c31ea605470f7 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_63c327127eed5eef054c31ea605470f7 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_63c327127eed5eef054c31ea605470f7 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_63c327127eed5eef054c31ea605470f7, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_63c327127eed5eef054c31ea605470f7->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_63c327127eed5eef054c31ea605470f7, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_63c327127eed5eef054c31ea605470f7, type_description_1, par_self, par_other, var_i, var_my_child ); // Release cached frame. if ( frame_63c327127eed5eef054c31ea605470f7 == cache_frame_63c327127eed5eef054c31ea605470f7 ) { Py_DECREF( frame_63c327127eed5eef054c31ea605470f7 ); } cache_frame_63c327127eed5eef054c31ea605470f7 = NULL; assertFrameObject( frame_63c327127eed5eef054c31ea605470f7 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_88___eq__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_other ); par_other = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_my_child ); var_my_child = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_other ); par_other = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_my_child ); var_my_child = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_88___eq__ ); 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_bs4$element$$$function_89___ne__( 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_other = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_3e3a64de5f110b1ed59f4d5f468a9103; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; static struct Nuitka_FrameObject *cache_frame_3e3a64de5f110b1ed59f4d5f468a9103 = 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_3e3a64de5f110b1ed59f4d5f468a9103, codeobj_3e3a64de5f110b1ed59f4d5f468a9103, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_3e3a64de5f110b1ed59f4d5f468a9103 = cache_frame_3e3a64de5f110b1ed59f4d5f468a9103; // Push the new frame as the currently active one. pushFrameStack( frame_3e3a64de5f110b1ed59f4d5f468a9103 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_3e3a64de5f110b1ed59f4d5f468a9103 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_self ); tmp_compexpr_left_1 = par_self; CHECK_OBJECT( par_other ); tmp_compexpr_right_1 = par_other; tmp_operand_name_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1140; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1140; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_return_value = ( tmp_res == 0 ) ? Py_True : Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_3e3a64de5f110b1ed59f4d5f468a9103 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3e3a64de5f110b1ed59f4d5f468a9103 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3e3a64de5f110b1ed59f4d5f468a9103 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_3e3a64de5f110b1ed59f4d5f468a9103, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_3e3a64de5f110b1ed59f4d5f468a9103->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_3e3a64de5f110b1ed59f4d5f468a9103, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_3e3a64de5f110b1ed59f4d5f468a9103, type_description_1, par_self, par_other ); // Release cached frame. if ( frame_3e3a64de5f110b1ed59f4d5f468a9103 == cache_frame_3e3a64de5f110b1ed59f4d5f468a9103 ) { Py_DECREF( frame_3e3a64de5f110b1ed59f4d5f468a9103 ); } cache_frame_3e3a64de5f110b1ed59f4d5f468a9103 = NULL; assertFrameObject( frame_3e3a64de5f110b1ed59f4d5f468a9103 ); // 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( bs4$element$$$function_89___ne__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_other ); par_other = 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_other ); par_other = 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( bs4$element$$$function_89___ne__ ); 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_bs4$element$$$function_90___repr__( 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_encoding = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_cdb5c877fd5b674f8408702b48aa1c50; 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_cdb5c877fd5b674f8408702b48aa1c50 = 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_cdb5c877fd5b674f8408702b48aa1c50, codeobj_cdb5c877fd5b674f8408702b48aa1c50, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_cdb5c877fd5b674f8408702b48aa1c50 = cache_frame_cdb5c877fd5b674f8408702b48aa1c50; // Push the new frame as the currently active one. pushFrameStack( frame_cdb5c877fd5b674f8408702b48aa1c50 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_cdb5c877fd5b674f8408702b48aa1c50 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_mvar_value_1; int tmp_truth_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PY3K ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PY3K ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PY3K" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1144; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_mvar_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1144; type_description_1 = "oo"; 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_instance_1; CHECK_OBJECT( par_self ); tmp_called_instance_1 = par_self; frame_cdb5c877fd5b674f8408702b48aa1c50->m_frame.f_lineno = 1146; tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_decode ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1146; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_encode ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1151; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_encoding == 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", "encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1151; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_encoding; frame_cdb5c877fd5b674f8408702b48aa1c50->m_frame.f_lineno = 1151; { 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 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1151; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_cdb5c877fd5b674f8408702b48aa1c50 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cdb5c877fd5b674f8408702b48aa1c50 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cdb5c877fd5b674f8408702b48aa1c50 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_cdb5c877fd5b674f8408702b48aa1c50, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_cdb5c877fd5b674f8408702b48aa1c50->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_cdb5c877fd5b674f8408702b48aa1c50, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_cdb5c877fd5b674f8408702b48aa1c50, type_description_1, par_self, par_encoding ); // Release cached frame. if ( frame_cdb5c877fd5b674f8408702b48aa1c50 == cache_frame_cdb5c877fd5b674f8408702b48aa1c50 ) { Py_DECREF( frame_cdb5c877fd5b674f8408702b48aa1c50 ); } cache_frame_cdb5c877fd5b674f8408702b48aa1c50 = NULL; assertFrameObject( frame_cdb5c877fd5b674f8408702b48aa1c50 ); // 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( bs4$element$$$function_90___repr__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = 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_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( bs4$element$$$function_90___repr__ ); 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_bs4$element$$$function_91___unicode__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_abbe0d495003fe7ab799eab53ded9afc; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_abbe0d495003fe7ab799eab53ded9afc = 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_abbe0d495003fe7ab799eab53ded9afc, codeobj_abbe0d495003fe7ab799eab53ded9afc, module_bs4$element, sizeof(void *) ); frame_abbe0d495003fe7ab799eab53ded9afc = cache_frame_abbe0d495003fe7ab799eab53ded9afc; // Push the new frame as the currently active one. pushFrameStack( frame_abbe0d495003fe7ab799eab53ded9afc ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_abbe0d495003fe7ab799eab53ded9afc ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; CHECK_OBJECT( par_self ); tmp_called_instance_1 = par_self; frame_abbe0d495003fe7ab799eab53ded9afc->m_frame.f_lineno = 1154; tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_decode ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1154; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_abbe0d495003fe7ab799eab53ded9afc ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_abbe0d495003fe7ab799eab53ded9afc ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_abbe0d495003fe7ab799eab53ded9afc ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_abbe0d495003fe7ab799eab53ded9afc, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_abbe0d495003fe7ab799eab53ded9afc->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_abbe0d495003fe7ab799eab53ded9afc, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_abbe0d495003fe7ab799eab53ded9afc, type_description_1, par_self ); // Release cached frame. if ( frame_abbe0d495003fe7ab799eab53ded9afc == cache_frame_abbe0d495003fe7ab799eab53ded9afc ) { Py_DECREF( frame_abbe0d495003fe7ab799eab53ded9afc ); } cache_frame_abbe0d495003fe7ab799eab53ded9afc = NULL; assertFrameObject( frame_abbe0d495003fe7ab799eab53ded9afc ); // 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( bs4$element$$$function_91___unicode__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_91___unicode__ ); 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_bs4$element$$$function_92___str__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_b52816b7cb514b69f10f4cb5d9d34571; 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_b52816b7cb514b69f10f4cb5d9d34571 = 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_b52816b7cb514b69f10f4cb5d9d34571, codeobj_b52816b7cb514b69f10f4cb5d9d34571, module_bs4$element, sizeof(void *) ); frame_b52816b7cb514b69f10f4cb5d9d34571 = cache_frame_b52816b7cb514b69f10f4cb5d9d34571; // Push the new frame as the currently active one. pushFrameStack( frame_b52816b7cb514b69f10f4cb5d9d34571 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_b52816b7cb514b69f10f4cb5d9d34571 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_mvar_value_1; int tmp_truth_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PY3K ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PY3K ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PY3K" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1157; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_mvar_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1157; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_called_instance_1; CHECK_OBJECT( par_self ); tmp_called_instance_1 = par_self; frame_b52816b7cb514b69f10f4cb5d9d34571->m_frame.f_lineno = 1158; tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_decode ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1158; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_called_instance_2; CHECK_OBJECT( par_self ); tmp_called_instance_2 = par_self; frame_b52816b7cb514b69f10f4cb5d9d34571->m_frame.f_lineno = 1160; tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_encode ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1160; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_b52816b7cb514b69f10f4cb5d9d34571 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b52816b7cb514b69f10f4cb5d9d34571 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b52816b7cb514b69f10f4cb5d9d34571 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_b52816b7cb514b69f10f4cb5d9d34571, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_b52816b7cb514b69f10f4cb5d9d34571->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_b52816b7cb514b69f10f4cb5d9d34571, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_b52816b7cb514b69f10f4cb5d9d34571, type_description_1, par_self ); // Release cached frame. if ( frame_b52816b7cb514b69f10f4cb5d9d34571 == cache_frame_b52816b7cb514b69f10f4cb5d9d34571 ) { Py_DECREF( frame_b52816b7cb514b69f10f4cb5d9d34571 ); } cache_frame_b52816b7cb514b69f10f4cb5d9d34571 = NULL; assertFrameObject( frame_b52816b7cb514b69f10f4cb5d9d34571 ); // 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( bs4$element$$$function_92___str__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_92___str__ ); 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_bs4$element$$$function_93_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_encoding = python_pars[ 1 ]; PyObject *par_indent_level = python_pars[ 2 ]; PyObject *par_formatter = python_pars[ 3 ]; PyObject *par_errors = python_pars[ 4 ]; PyObject *var_u = NULL; struct Nuitka_FrameObject *frame_53472f2643baf702d9c5a4eff11d583c; 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_53472f2643baf702d9c5a4eff11d583c = 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_53472f2643baf702d9c5a4eff11d583c, codeobj_53472f2643baf702d9c5a4eff11d583c, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_53472f2643baf702d9c5a4eff11d583c = cache_frame_53472f2643baf702d9c5a4eff11d583c; // Push the new frame as the currently active one. pushFrameStack( frame_53472f2643baf702d9c5a4eff11d583c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_53472f2643baf702d9c5a4eff11d583c ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_decode ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1170; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( par_indent_level == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent_level" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1170; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_indent_level; if ( par_encoding == 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", "encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1170; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_encoding; if ( par_formatter == 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", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1170; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_formatter; frame_53472f2643baf702d9c5a4eff11d583c->m_frame.f_lineno = 1170; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS3( 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 = 1170; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert( var_u == NULL ); var_u = tmp_assign_source_1; } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; CHECK_OBJECT( var_u ); tmp_source_name_2 = var_u; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_encode ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1171; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( par_encoding == 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", "encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1171; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_encoding; if ( par_errors == 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", "errors" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1171; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_errors; frame_53472f2643baf702d9c5a4eff11d583c->m_frame.f_lineno = 1171; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1171; type_description_1 = "oooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_53472f2643baf702d9c5a4eff11d583c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_53472f2643baf702d9c5a4eff11d583c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_53472f2643baf702d9c5a4eff11d583c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_53472f2643baf702d9c5a4eff11d583c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_53472f2643baf702d9c5a4eff11d583c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_53472f2643baf702d9c5a4eff11d583c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_53472f2643baf702d9c5a4eff11d583c, type_description_1, par_self, par_encoding, par_indent_level, par_formatter, par_errors, var_u ); // Release cached frame. if ( frame_53472f2643baf702d9c5a4eff11d583c == cache_frame_53472f2643baf702d9c5a4eff11d583c ) { Py_DECREF( frame_53472f2643baf702d9c5a4eff11d583c ); } cache_frame_53472f2643baf702d9c5a4eff11d583c = NULL; assertFrameObject( frame_53472f2643baf702d9c5a4eff11d583c ); // 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( bs4$element$$$function_93_encode ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_encoding ); par_encoding = NULL; } { Py_XDECREF( par_indent_level ); par_indent_level = NULL; } { Py_XDECREF( par_formatter ); par_formatter = NULL; } { Py_XDECREF( par_errors ); par_errors = NULL; } { Py_XDECREF( var_u ); var_u = 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_encoding ); par_encoding = NULL; } { Py_XDECREF( par_indent_level ); par_indent_level = NULL; } { Py_XDECREF( par_formatter ); par_formatter = NULL; } { Py_XDECREF( par_errors ); par_errors = NULL; } { Py_XDECREF( var_u ); var_u = 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( bs4$element$$$function_93_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_bs4$element$$$function_94__should_pretty_print( 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_indent_level = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_0782037b9cedf766d1574980c0290eec; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; static struct Nuitka_FrameObject *cache_frame_0782037b9cedf766d1574980c0290eec = 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_0782037b9cedf766d1574980c0290eec, codeobj_0782037b9cedf766d1574980c0290eec, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_0782037b9cedf766d1574980c0290eec = cache_frame_0782037b9cedf766d1574980c0290eec; // Push the new frame as the currently active one. pushFrameStack( frame_0782037b9cedf766d1574980c0290eec ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_0782037b9cedf766d1574980c0290eec ) == 2 ); // Frame stack // Framed code: { int tmp_and_left_truth_1; PyObject *tmp_and_left_value_1; PyObject *tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; CHECK_OBJECT( par_indent_level ); tmp_compexpr_left_1 = par_indent_level; tmp_compexpr_right_1 = Py_None; tmp_and_left_value_1 = ( tmp_compexpr_left_1 != tmp_compexpr_right_1 ) ? Py_True : Py_False; tmp_and_left_truth_1 = CHECK_IF_TRUE( tmp_and_left_value_1 ); if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1178; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_name ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1178; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_compexpr_left_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 = 1178; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_preserve_whitespace_tags ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_2 ); exception_lineno = 1178; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = PySequence_Contains( tmp_compexpr_right_2, tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1178; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res == 0 ) ? Py_True : Py_False; tmp_return_value = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_return_value = tmp_and_left_value_1; and_end_1:; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_0782037b9cedf766d1574980c0290eec ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0782037b9cedf766d1574980c0290eec ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0782037b9cedf766d1574980c0290eec ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_0782037b9cedf766d1574980c0290eec, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_0782037b9cedf766d1574980c0290eec->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_0782037b9cedf766d1574980c0290eec, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_0782037b9cedf766d1574980c0290eec, type_description_1, par_self, par_indent_level ); // Release cached frame. if ( frame_0782037b9cedf766d1574980c0290eec == cache_frame_0782037b9cedf766d1574980c0290eec ) { Py_DECREF( frame_0782037b9cedf766d1574980c0290eec ); } cache_frame_0782037b9cedf766d1574980c0290eec = NULL; assertFrameObject( frame_0782037b9cedf766d1574980c0290eec ); // 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( bs4$element$$$function_94__should_pretty_print ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_indent_level ); par_indent_level = 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_indent_level ); par_indent_level = 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( bs4$element$$$function_94__should_pretty_print ); 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_bs4$element$$$function_95_decode( 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_indent_level = python_pars[ 1 ]; PyObject *par_eventual_encoding = python_pars[ 2 ]; PyObject *par_formatter = python_pars[ 3 ]; PyObject *var_attrs = NULL; PyObject *var_key = NULL; PyObject *var_val = NULL; PyObject *var_decoded = NULL; PyObject *var_text = NULL; PyObject *var_close = NULL; PyObject *var_closeTag = NULL; PyObject *var_prefix = NULL; PyObject *var_pretty_print = NULL; PyObject *var_space = NULL; PyObject *var_indent_space = NULL; PyObject *var_indent_contents = NULL; PyObject *var_contents = NULL; PyObject *var_s = NULL; PyObject *var_attribute_string = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_e01f26a1f353c67f25e6717a1782a6d6; 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_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; static struct Nuitka_FrameObject *cache_frame_e01f26a1f353c67f25e6717a1782a6d6 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_e01f26a1f353c67f25e6717a1782a6d6, codeobj_e01f26a1f353c67f25e6717a1782a6d6, module_bs4$element, 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 *)+sizeof(void *) ); frame_e01f26a1f353c67f25e6717a1782a6d6 = cache_frame_e01f26a1f353c67f25e6717a1782a6d6; // Push the new frame as the currently active one. pushFrameStack( frame_e01f26a1f353c67f25e6717a1782a6d6 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e01f26a1f353c67f25e6717a1782a6d6 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; PyObject *tmp_operand_name_2; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_formatter ); tmp_isinstance_inst_1 = par_formatter; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Formatter ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Formatter ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1196; type_description_1 = "ooooooooooooooooooo"; 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 = 1196; type_description_1 = "ooooooooooooooooooo"; 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 = 1196; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; tmp_called_name_1 = LOOKUP_BUILTIN( const_str_plain_callable ); assert( tmp_called_name_1 != NULL ); if ( par_formatter == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1196; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_formatter; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1196; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_operand_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_operand_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1196; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); Py_DECREF( tmp_operand_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1196; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_1 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_1; PyObject *tmp_args_element_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 = 1197; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__formatter_for_name ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1197; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } if ( par_formatter == 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", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1197; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_formatter; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1197; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1197; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_formatter; par_formatter = tmp_assign_source_1; Py_XDECREF( old ); } } branch_no_1:; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = PyList_New( 0 ); assert( var_attrs == NULL ); var_attrs = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_source_name_2; 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 = 1199; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_attrs ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1199; type_description_1 = "ooooooooooooooooooo"; 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 = 1199; type_description_1 = "ooooooooooooooooooo"; 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_assign_source_3; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_3; PyObject *tmp_called_instance_1; PyObject *tmp_source_name_3; tmp_called_name_3 = LOOKUP_BUILTIN( const_str_plain_sorted ); assert( tmp_called_name_3 != NULL ); 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 = 1200; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_attrs ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1200; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1200; tmp_args_element_name_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1200; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1200; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_args_element_name_3 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1200; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1200; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_3; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_4 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_4 == 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 = "ooooooooooooooooooo"; exception_lineno = 1200; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_4; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_5; 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_5 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1200; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_3; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_5; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_6 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_6 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooooooooooooo"; exception_lineno = 1200; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_6; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_7; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_7 = UNPACK_NEXT( tmp_unpack_2, 1, 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 = "ooooooooooooooooooo"; exception_lineno = 1200; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_7; 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 = "ooooooooooooooooooo"; exception_lineno = 1200; 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 = "ooooooooooooooooooo"; exception_lineno = 1200; 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_8; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_8 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_key; var_key = tmp_assign_source_8; Py_INCREF( var_key ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_9 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_val; var_val = tmp_assign_source_9; Py_INCREF( var_val ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( var_val == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "val" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1201; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_left_1 = var_val; tmp_compexpr_right_1 = Py_None; tmp_condition_result_3 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? 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_10; if ( var_key == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1202; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_assign_source_10 = var_key; { PyObject *old = var_decoded; var_decoded = tmp_assign_source_10; Py_INCREF( var_decoded ); Py_XDECREF( old ); } } goto branch_end_3; branch_no_3:; { nuitka_bool tmp_condition_result_4; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; PyObject *tmp_isinstance_inst_3; PyObject *tmp_isinstance_cls_3; if ( var_val == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "val" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1204; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_isinstance_inst_2 = var_val; tmp_isinstance_cls_2 = (PyObject *)&PyList_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_2, tmp_isinstance_cls_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1204; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_or_left_value_1 = ( 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 ( var_val == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "val" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1204; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_isinstance_inst_3 = var_val; tmp_isinstance_cls_3 = (PyObject *)&PyTuple_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_3, tmp_isinstance_cls_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1204; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_or_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_4 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_4 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_assign_source_11; PyObject *tmp_called_name_4; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_4; tmp_source_name_4 = const_str_space; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_join ); assert( !(tmp_called_name_4 == NULL) ); if ( var_val == 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", "val" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1205; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_4 = var_val; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1205; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_assign_source_11 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1205; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = var_val; var_val = tmp_assign_source_11; Py_XDECREF( old ); } } goto branch_end_4; branch_no_4:; { nuitka_bool tmp_condition_result_5; PyObject *tmp_operand_name_3; PyObject *tmp_isinstance_inst_4; PyObject *tmp_isinstance_cls_4; if ( var_val == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "val" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1206; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_isinstance_inst_4 = var_val; tmp_isinstance_cls_4 = (PyObject *)&PyUnicode_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_4, tmp_isinstance_cls_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1206; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } 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 = 1206; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { PyObject *tmp_assign_source_12; PyObject *tmp_unicode_arg_1; if ( var_val == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "val" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1207; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_unicode_arg_1 = var_val; tmp_assign_source_12 = PyObject_Unicode( tmp_unicode_arg_1 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1207; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = var_val; var_val = tmp_assign_source_12; Py_XDECREF( old ); } } goto branch_end_5; branch_no_5:; { nuitka_bool tmp_condition_result_6; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_isinstance_inst_5; PyObject *tmp_isinstance_cls_5; PyObject *tmp_mvar_value_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( var_val == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "val" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1209; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_isinstance_inst_5 = var_val; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_AttributeValueWithCharsetSubstitution ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_AttributeValueWithCharsetSubstitution ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "AttributeValueWithCharsetSubstitution" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1209; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_isinstance_cls_5 = tmp_mvar_value_2; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_5, tmp_isinstance_cls_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1209; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_and_left_value_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if ( par_eventual_encoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "eventual_encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1210; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_compexpr_left_2 = par_eventual_encoding; tmp_compexpr_right_2 = Py_None; tmp_and_right_value_2 = ( tmp_compexpr_left_2 != tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_6 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_6 = tmp_and_left_value_2; and_end_2:; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_assign_source_13; PyObject *tmp_called_name_5; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_5; if ( var_val == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "val" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1211; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_5 = var_val; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_encode ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1211; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } if ( par_eventual_encoding == 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", "eventual_encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1211; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_5 = par_eventual_encoding; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1211; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_assign_source_13 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1211; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = var_val; var_val = tmp_assign_source_13; Py_XDECREF( old ); } } branch_no_6:; } branch_end_5:; } branch_end_4:; } { PyObject *tmp_assign_source_14; PyObject *tmp_called_name_6; PyObject *tmp_source_name_6; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; 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 = 1213; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_6 = par_self; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_format_string ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1213; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } if ( var_val == 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", "val" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1213; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_6 = var_val; if ( par_formatter == 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", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1213; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_7 = par_formatter; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1213; { PyObject *call_args[] = { tmp_args_element_name_6, tmp_args_element_name_7 }; tmp_assign_source_14 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1213; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = var_text; var_text = tmp_assign_source_14; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_15; PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_unicode_arg_2; PyObject *tmp_right_name_1; PyObject *tmp_right_name_2; PyObject *tmp_called_name_7; PyObject *tmp_source_name_7; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_8; if ( var_key == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1215; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_unicode_arg_2 = var_key; tmp_left_name_2 = PyObject_Unicode( tmp_unicode_arg_2 ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1215; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_right_name_1 = const_str_chr_61; tmp_left_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_1 ); Py_DECREF( tmp_left_name_2 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1215; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_EntitySubstitution ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EntitySubstitution ); } if ( tmp_mvar_value_3 == NULL ) { Py_DECREF( tmp_left_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EntitySubstitution" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1216; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_7 = tmp_mvar_value_3; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_quoted_attribute_value ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 1216; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } if ( var_text == NULL ) { Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_called_name_7 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1216; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_8 = var_text; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1216; { PyObject *call_args[] = { tmp_args_element_name_8 }; tmp_right_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } Py_DECREF( tmp_called_name_7 ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 1216; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_assign_source_15 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_2 ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1216; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = var_decoded; var_decoded = tmp_assign_source_15; Py_XDECREF( old ); } } branch_end_3:; } { PyObject *tmp_called_name_8; PyObject *tmp_source_name_8; PyObject *tmp_args_element_name_9; if ( var_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1217; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_8 = var_attrs; tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_append ); if ( tmp_called_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1217; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } if ( var_decoded == 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", "decoded" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1217; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_9 = var_decoded; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1217; { PyObject *call_args[] = { tmp_args_element_name_9 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args ); } Py_DECREF( tmp_called_name_8 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1217; type_description_1 = "ooooooooooooooooooo"; 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 = 1200; type_description_1 = "ooooooooooooooooooo"; 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; } branch_no_2:; } { PyObject *tmp_assign_source_16; tmp_assign_source_16 = const_str_empty; assert( var_close == NULL ); Py_INCREF( tmp_assign_source_16 ); var_close = tmp_assign_source_16; } { PyObject *tmp_assign_source_17; tmp_assign_source_17 = const_str_empty; assert( var_closeTag == NULL ); Py_INCREF( tmp_assign_source_17 ); var_closeTag = tmp_assign_source_17; } { PyObject *tmp_assign_source_18; tmp_assign_source_18 = const_str_empty; assert( var_prefix == NULL ); Py_INCREF( tmp_assign_source_18 ); var_prefix = tmp_assign_source_18; } { nuitka_bool tmp_condition_result_7; PyObject *tmp_source_name_9; PyObject *tmp_attribute_value_2; int tmp_truth_name_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1222; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_9 = par_self; tmp_attribute_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_prefix ); if ( tmp_attribute_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1222; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE( tmp_attribute_value_2 ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_2 ); exception_lineno = 1222; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_7 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_2 ); if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_assign_source_19; PyObject *tmp_left_name_3; PyObject *tmp_source_name_10; PyObject *tmp_right_name_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1223; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_10 = par_self; tmp_left_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_prefix ); if ( tmp_left_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1223; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_right_name_3 = const_str_chr_58; tmp_assign_source_19 = BINARY_OPERATION_ADD( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_left_name_3 ); if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1223; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_prefix; var_prefix = tmp_assign_source_19; Py_XDECREF( old ); } } branch_no_7:; } { nuitka_bool tmp_condition_result_8; PyObject *tmp_source_name_11; PyObject *tmp_attribute_value_3; int tmp_truth_name_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1225; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_11 = par_self; tmp_attribute_value_3 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_is_empty_element ); if ( tmp_attribute_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1225; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_3 = CHECK_IF_TRUE( tmp_attribute_value_3 ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_3 ); exception_lineno = 1225; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_8 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_3 ); if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { PyObject *tmp_assign_source_20; tmp_assign_source_20 = const_str_empty; { PyObject *old = var_close; var_close = tmp_assign_source_20; Py_INCREF( var_close ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_9; PyObject *tmp_isinstance_inst_6; PyObject *tmp_isinstance_cls_6; PyObject *tmp_mvar_value_4; if ( par_formatter == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1227; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_6 = par_formatter; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Formatter ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Formatter ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1227; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_6 = tmp_mvar_value_4; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_6, tmp_isinstance_cls_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1227; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_9 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { PyObject *tmp_assign_source_21; int tmp_or_left_truth_2; PyObject *tmp_or_left_value_2; PyObject *tmp_or_right_value_2; PyObject *tmp_source_name_12; if ( par_formatter == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1228; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_12 = par_formatter; tmp_or_left_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_void_element_close_prefix ); if ( tmp_or_left_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1228; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_or_left_truth_2 = CHECK_IF_TRUE( tmp_or_left_value_2 ); if ( tmp_or_left_truth_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_or_left_value_2 ); exception_lineno = 1228; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } if ( tmp_or_left_truth_2 == 1 ) { goto or_left_2; } else { goto or_right_2; } or_right_2:; Py_DECREF( tmp_or_left_value_2 ); if ( var_close == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "close" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1228; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_or_right_value_2 = var_close; Py_INCREF( tmp_or_right_value_2 ); tmp_assign_source_21 = tmp_or_right_value_2; goto or_end_2; or_left_2:; tmp_assign_source_21 = tmp_or_left_value_2; or_end_2:; { PyObject *old = var_close; var_close = tmp_assign_source_21; Py_XDECREF( old ); } } branch_no_9:; } goto branch_end_8; branch_no_8:; { PyObject *tmp_assign_source_22; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_13; tmp_left_name_4 = const_str_digest_b63f4abf4c20ed95c5280f099ca7f649; if ( var_prefix == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prefix" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1230; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = var_prefix; tmp_right_name_4 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_right_name_4, 0, tmp_tuple_element_1 ); if ( par_self == NULL ) { Py_DECREF( tmp_right_name_4 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1230; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_13 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_name ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_4 ); exception_lineno = 1230; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_right_name_4, 1, tmp_tuple_element_1 ); tmp_assign_source_22 = BINARY_OPERATION_REMAINDER( tmp_left_name_4, tmp_right_name_4 ); Py_DECREF( tmp_right_name_4 ); if ( tmp_assign_source_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1230; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_closeTag; var_closeTag = tmp_assign_source_22; Py_XDECREF( old ); } } branch_end_8:; } { PyObject *tmp_assign_source_23; PyObject *tmp_called_name_9; PyObject *tmp_source_name_14; PyObject *tmp_args_element_name_10; 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 = 1232; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_14 = par_self; tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain__should_pretty_print ); if ( tmp_called_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1232; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } if ( par_indent_level == 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", "indent_level" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1232; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_10 = par_indent_level; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1232; { PyObject *call_args[] = { tmp_args_element_name_10 }; tmp_assign_source_23 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args ); } Py_DECREF( tmp_called_name_9 ); if ( tmp_assign_source_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1232; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } assert( var_pretty_print == NULL ); var_pretty_print = tmp_assign_source_23; } { PyObject *tmp_assign_source_24; tmp_assign_source_24 = const_str_empty; assert( var_space == NULL ); Py_INCREF( tmp_assign_source_24 ); var_space = tmp_assign_source_24; } { PyObject *tmp_assign_source_25; tmp_assign_source_25 = const_str_empty; assert( var_indent_space == NULL ); Py_INCREF( tmp_assign_source_25 ); var_indent_space = tmp_assign_source_25; } { nuitka_bool tmp_condition_result_10; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; if ( par_indent_level == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent_level" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1235; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = par_indent_level; tmp_compexpr_right_3 = Py_None; tmp_condition_result_10 = ( tmp_compexpr_left_3 != tmp_compexpr_right_3 ) ? 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:; { PyObject *tmp_assign_source_26; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; tmp_left_name_5 = const_str_space; if ( par_indent_level == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent_level" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1236; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_left_name_6 = par_indent_level; tmp_right_name_6 = const_int_pos_1; tmp_right_name_5 = BINARY_OPERATION_SUB( tmp_left_name_6, tmp_right_name_6 ); if ( tmp_right_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1236; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_26 = BINARY_OPERATION_MUL( tmp_left_name_5, tmp_right_name_5 ); Py_DECREF( tmp_right_name_5 ); if ( tmp_assign_source_26 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1236; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_indent_space; var_indent_space = tmp_assign_source_26; Py_XDECREF( old ); } } branch_no_10:; } { nuitka_bool tmp_condition_result_11; int tmp_truth_name_4; if ( var_pretty_print == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pretty_print" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1237; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_4 = CHECK_IF_TRUE( var_pretty_print ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1237; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_11 = tmp_truth_name_4 == 1 ? 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_assign_source_27; if ( var_indent_space == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent_space" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1238; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_27 = var_indent_space; { PyObject *old = var_space; var_space = tmp_assign_source_27; Py_INCREF( var_space ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_28; PyObject *tmp_left_name_7; PyObject *tmp_right_name_7; if ( par_indent_level == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent_level" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1239; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_left_name_7 = par_indent_level; tmp_right_name_7 = const_int_pos_1; tmp_assign_source_28 = BINARY_OPERATION_ADD( tmp_left_name_7, tmp_right_name_7 ); if ( tmp_assign_source_28 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1239; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } assert( var_indent_contents == NULL ); var_indent_contents = tmp_assign_source_28; } goto branch_end_11; branch_no_11:; { PyObject *tmp_assign_source_29; tmp_assign_source_29 = Py_None; assert( var_indent_contents == NULL ); Py_INCREF( tmp_assign_source_29 ); var_indent_contents = tmp_assign_source_29; } branch_end_11:; } { PyObject *tmp_assign_source_30; PyObject *tmp_called_name_10; PyObject *tmp_source_name_15; PyObject *tmp_args_element_name_11; PyObject *tmp_args_element_name_12; PyObject *tmp_args_element_name_13; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1242; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_15 = par_self; tmp_called_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_decode_contents ); if ( tmp_called_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1242; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } if ( var_indent_contents == NULL ) { Py_DECREF( tmp_called_name_10 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent_contents" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1243; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_11 = var_indent_contents; if ( par_eventual_encoding == NULL ) { Py_DECREF( tmp_called_name_10 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "eventual_encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1243; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_12 = par_eventual_encoding; if ( par_formatter == NULL ) { Py_DECREF( tmp_called_name_10 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1243; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_13 = par_formatter; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1242; { PyObject *call_args[] = { tmp_args_element_name_11, tmp_args_element_name_12, tmp_args_element_name_13 }; tmp_assign_source_30 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_10, call_args ); } Py_DECREF( tmp_called_name_10 ); if ( tmp_assign_source_30 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1242; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } assert( var_contents == NULL ); var_contents = tmp_assign_source_30; } { nuitka_bool tmp_condition_result_12; PyObject *tmp_source_name_16; PyObject *tmp_attribute_value_4; int tmp_truth_name_5; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1245; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_16 = par_self; tmp_attribute_value_4 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_hidden ); if ( tmp_attribute_value_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1245; type_description_1 = "ooooooooooooooooooo"; 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( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_4 ); exception_lineno = 1245; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_12 = tmp_truth_name_5 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_4 ); if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE ) { goto branch_yes_12; } else { goto branch_no_12; } branch_yes_12:; { PyObject *tmp_assign_source_31; if ( var_contents == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "contents" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1247; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_31 = var_contents; assert( var_s == NULL ); Py_INCREF( tmp_assign_source_31 ); var_s = tmp_assign_source_31; } goto branch_end_12; branch_no_12:; { PyObject *tmp_assign_source_32; tmp_assign_source_32 = PyList_New( 0 ); assert( var_s == NULL ); var_s = tmp_assign_source_32; } { PyObject *tmp_assign_source_33; tmp_assign_source_33 = const_str_empty; assert( var_attribute_string == NULL ); Py_INCREF( tmp_assign_source_33 ); var_attribute_string = tmp_assign_source_33; } { nuitka_bool tmp_condition_result_13; int tmp_truth_name_6; if ( var_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1251; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_6 = CHECK_IF_TRUE( var_attrs ); if ( tmp_truth_name_6 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1251; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_13 = tmp_truth_name_6 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE ) { goto branch_yes_13; } else { goto branch_no_13; } branch_yes_13:; { PyObject *tmp_assign_source_34; PyObject *tmp_left_name_8; PyObject *tmp_right_name_8; PyObject *tmp_called_name_11; PyObject *tmp_source_name_17; PyObject *tmp_args_element_name_14; tmp_left_name_8 = const_str_space; tmp_source_name_17 = const_str_space; tmp_called_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain_join ); assert( !(tmp_called_name_11 == NULL) ); if ( var_attrs == NULL ) { Py_DECREF( tmp_called_name_11 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1252; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_14 = var_attrs; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1252; { PyObject *call_args[] = { tmp_args_element_name_14 }; tmp_right_name_8 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_11, call_args ); } Py_DECREF( tmp_called_name_11 ); if ( tmp_right_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1252; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_34 = BINARY_OPERATION_ADD( tmp_left_name_8, tmp_right_name_8 ); Py_DECREF( tmp_right_name_8 ); if ( tmp_assign_source_34 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1252; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_attribute_string; var_attribute_string = tmp_assign_source_34; Py_XDECREF( old ); } } branch_no_13:; } { nuitka_bool tmp_condition_result_14; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; if ( par_indent_level == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent_level" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1253; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_4 = par_indent_level; tmp_compexpr_right_4 = Py_None; tmp_condition_result_14 = ( tmp_compexpr_left_4 != tmp_compexpr_right_4 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE ) { goto branch_yes_14; } else { goto branch_no_14; } branch_yes_14:; { PyObject *tmp_called_name_12; PyObject *tmp_source_name_18; PyObject *tmp_args_element_name_15; if ( var_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1256; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_18 = var_s; tmp_called_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_18, const_str_plain_append ); if ( tmp_called_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1256; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } if ( var_indent_space == NULL ) { Py_DECREF( tmp_called_name_12 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent_space" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1256; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_15 = var_indent_space; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1256; { PyObject *call_args[] = { tmp_args_element_name_15 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_12, call_args ); } Py_DECREF( tmp_called_name_12 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1256; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_14:; } { PyObject *tmp_called_name_13; PyObject *tmp_source_name_19; PyObject *tmp_args_element_name_16; PyObject *tmp_left_name_9; PyObject *tmp_right_name_9; PyObject *tmp_tuple_element_2; PyObject *tmp_source_name_20; if ( var_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1257; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_19 = var_s; tmp_called_name_13 = LOOKUP_ATTRIBUTE( tmp_source_name_19, const_str_plain_append ); if ( tmp_called_name_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1257; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_left_name_9 = const_str_digest_b0c38f7df4c7a5de79b4700d224aa3b6; if ( var_prefix == NULL ) { Py_DECREF( tmp_called_name_13 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prefix" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1258; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_prefix; tmp_right_name_9 = PyTuple_New( 4 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_right_name_9, 0, tmp_tuple_element_2 ); if ( par_self == NULL ) { Py_DECREF( tmp_called_name_13 ); Py_DECREF( tmp_right_name_9 ); 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 = 1258; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_20 = par_self; tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_20, const_str_plain_name ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_13 ); Py_DECREF( tmp_right_name_9 ); exception_lineno = 1258; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_right_name_9, 1, tmp_tuple_element_2 ); if ( var_attribute_string == NULL ) { Py_DECREF( tmp_called_name_13 ); Py_DECREF( tmp_right_name_9 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attribute_string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1258; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_attribute_string; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_right_name_9, 2, tmp_tuple_element_2 ); if ( var_close == NULL ) { Py_DECREF( tmp_called_name_13 ); Py_DECREF( tmp_right_name_9 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "close" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1258; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_close; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_right_name_9, 3, tmp_tuple_element_2 ); tmp_args_element_name_16 = BINARY_OPERATION_REMAINDER( tmp_left_name_9, tmp_right_name_9 ); Py_DECREF( tmp_right_name_9 ); if ( tmp_args_element_name_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_13 ); exception_lineno = 1257; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1257; { PyObject *call_args[] = { tmp_args_element_name_16 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_13, call_args ); } Py_DECREF( tmp_called_name_13 ); Py_DECREF( tmp_args_element_name_16 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1257; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_15; int tmp_truth_name_7; if ( var_pretty_print == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pretty_print" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1259; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_7 = CHECK_IF_TRUE( var_pretty_print ); if ( tmp_truth_name_7 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1259; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_15 = tmp_truth_name_7 == 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_called_instance_2; if ( var_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1260; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = var_s; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1260; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_append, &PyTuple_GET_ITEM( const_tuple_str_newline_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1260; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_15:; } { PyObject *tmp_called_name_14; PyObject *tmp_source_name_21; PyObject *tmp_args_element_name_17; if ( var_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1261; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_21 = var_s; tmp_called_name_14 = LOOKUP_ATTRIBUTE( tmp_source_name_21, const_str_plain_append ); if ( tmp_called_name_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1261; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } if ( var_contents == NULL ) { Py_DECREF( tmp_called_name_14 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "contents" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1261; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_17 = var_contents; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1261; { PyObject *call_args[] = { tmp_args_element_name_17 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_14, call_args ); } Py_DECREF( tmp_called_name_14 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1261; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { 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; int tmp_truth_name_8; int tmp_and_left_truth_4; nuitka_bool tmp_and_left_value_4; nuitka_bool tmp_and_right_value_4; int tmp_truth_name_9; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; if ( var_pretty_print == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pretty_print" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1262; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_8 = CHECK_IF_TRUE( var_pretty_print ); if ( tmp_truth_name_8 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1262; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_3 = tmp_truth_name_8 == 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 ( var_contents == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "contents" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1262; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_9 = CHECK_IF_TRUE( var_contents ); if ( tmp_truth_name_9 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1262; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_4 = tmp_truth_name_9 == 1 ? 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 ( var_contents == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "contents" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1262; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = var_contents; tmp_subscript_name_1 = const_int_neg_1; tmp_compexpr_left_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, -1 ); if ( tmp_compexpr_left_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1262; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_5 = const_str_newline; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_5, tmp_compexpr_right_5 ); Py_DECREF( tmp_compexpr_left_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1262; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_right_value_3 = tmp_and_right_value_4; goto and_end_4; and_left_4:; tmp_and_right_value_3 = tmp_and_left_value_4; and_end_4:; 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_called_instance_3; if ( var_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1263; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_3 = var_s; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1263; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_append, &PyTuple_GET_ITEM( const_tuple_str_newline_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1263; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_16:; } { nuitka_bool tmp_condition_result_17; int tmp_and_left_truth_5; nuitka_bool tmp_and_left_value_5; nuitka_bool tmp_and_right_value_5; int tmp_truth_name_10; int tmp_truth_name_11; if ( var_pretty_print == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pretty_print" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1264; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_10 = CHECK_IF_TRUE( var_pretty_print ); if ( tmp_truth_name_10 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1264; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_5 = tmp_truth_name_10 == 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:; if ( var_closeTag == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "closeTag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1264; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_11 = CHECK_IF_TRUE( var_closeTag ); if ( tmp_truth_name_11 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1264; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_5 = tmp_truth_name_11 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_17 = tmp_and_right_value_5; goto and_end_5; and_left_5:; tmp_condition_result_17 = tmp_and_left_value_5; and_end_5:; if ( tmp_condition_result_17 == NUITKA_BOOL_TRUE ) { goto branch_yes_17; } else { goto branch_no_17; } branch_yes_17:; { PyObject *tmp_called_name_15; PyObject *tmp_source_name_22; PyObject *tmp_args_element_name_18; if ( var_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1265; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_22 = var_s; tmp_called_name_15 = LOOKUP_ATTRIBUTE( tmp_source_name_22, const_str_plain_append ); if ( tmp_called_name_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1265; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } if ( var_space == NULL ) { Py_DECREF( tmp_called_name_15 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "space" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1265; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_18 = var_space; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1265; { PyObject *call_args[] = { tmp_args_element_name_18 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_15, call_args ); } Py_DECREF( tmp_called_name_15 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1265; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_17:; } { PyObject *tmp_called_name_16; PyObject *tmp_source_name_23; PyObject *tmp_args_element_name_19; if ( var_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1266; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_23 = var_s; tmp_called_name_16 = LOOKUP_ATTRIBUTE( tmp_source_name_23, const_str_plain_append ); if ( tmp_called_name_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1266; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } if ( var_closeTag == NULL ) { Py_DECREF( tmp_called_name_16 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "closeTag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1266; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_19 = var_closeTag; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1266; { PyObject *call_args[] = { tmp_args_element_name_19 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_16, call_args ); } Py_DECREF( tmp_called_name_16 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1266; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_18; int tmp_and_left_truth_6; nuitka_bool tmp_and_left_value_6; nuitka_bool tmp_and_right_value_6; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; int tmp_and_left_truth_7; nuitka_bool tmp_and_left_value_7; nuitka_bool tmp_and_right_value_7; int tmp_truth_name_12; PyObject *tmp_source_name_24; PyObject *tmp_attribute_value_5; int tmp_truth_name_13; if ( par_indent_level == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent_level" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1267; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_6 = par_indent_level; tmp_compexpr_right_6 = Py_None; tmp_and_left_value_6 = ( tmp_compexpr_left_6 != tmp_compexpr_right_6 ) ? 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:; if ( var_closeTag == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "closeTag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1267; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_12 = CHECK_IF_TRUE( var_closeTag ); if ( tmp_truth_name_12 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1267; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_7 = tmp_truth_name_12 == 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 ( 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 = 1267; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_24 = par_self; tmp_attribute_value_5 = LOOKUP_ATTRIBUTE( tmp_source_name_24, const_str_plain_next_sibling ); if ( tmp_attribute_value_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1267; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_13 = CHECK_IF_TRUE( tmp_attribute_value_5 ); if ( tmp_truth_name_13 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_5 ); exception_lineno = 1267; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_7 = tmp_truth_name_13 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_5 ); tmp_and_right_value_6 = tmp_and_right_value_7; goto and_end_7; and_left_7:; tmp_and_right_value_6 = tmp_and_left_value_7; and_end_7:; tmp_condition_result_18 = tmp_and_right_value_6; goto and_end_6; and_left_6:; tmp_condition_result_18 = tmp_and_left_value_6; and_end_6:; if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE ) { goto branch_yes_18; } else { goto branch_no_18; } branch_yes_18:; { PyObject *tmp_called_instance_4; if ( var_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1271; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_4 = var_s; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1271; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, const_str_plain_append, &PyTuple_GET_ITEM( const_tuple_str_newline_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1271; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_18:; } { PyObject *tmp_assign_source_35; PyObject *tmp_called_name_17; PyObject *tmp_source_name_25; PyObject *tmp_args_element_name_20; tmp_source_name_25 = const_str_empty; tmp_called_name_17 = LOOKUP_ATTRIBUTE( tmp_source_name_25, const_str_plain_join ); assert( !(tmp_called_name_17 == NULL) ); if ( var_s == NULL ) { Py_DECREF( tmp_called_name_17 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1272; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_20 = var_s; frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame.f_lineno = 1272; { PyObject *call_args[] = { tmp_args_element_name_20 }; tmp_assign_source_35 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_17, call_args ); } Py_DECREF( tmp_called_name_17 ); if ( tmp_assign_source_35 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1272; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_s; var_s = tmp_assign_source_35; Py_XDECREF( old ); } } branch_end_12:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_e01f26a1f353c67f25e6717a1782a6d6 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e01f26a1f353c67f25e6717a1782a6d6 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e01f26a1f353c67f25e6717a1782a6d6, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e01f26a1f353c67f25e6717a1782a6d6->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e01f26a1f353c67f25e6717a1782a6d6, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e01f26a1f353c67f25e6717a1782a6d6, type_description_1, par_self, par_indent_level, par_eventual_encoding, par_formatter, var_attrs, var_key, var_val, var_decoded, var_text, var_close, var_closeTag, var_prefix, var_pretty_print, var_space, var_indent_space, var_indent_contents, var_contents, var_s, var_attribute_string ); // Release cached frame. if ( frame_e01f26a1f353c67f25e6717a1782a6d6 == cache_frame_e01f26a1f353c67f25e6717a1782a6d6 ) { Py_DECREF( frame_e01f26a1f353c67f25e6717a1782a6d6 ); } cache_frame_e01f26a1f353c67f25e6717a1782a6d6 = NULL; assertFrameObject( frame_e01f26a1f353c67f25e6717a1782a6d6 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { CHECK_OBJECT( var_s ); tmp_return_value = var_s; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_95_decode ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_indent_level ); par_indent_level = NULL; } { Py_XDECREF( par_eventual_encoding ); par_eventual_encoding = NULL; } { Py_XDECREF( par_formatter ); par_formatter = NULL; } { Py_XDECREF( var_attrs ); var_attrs = NULL; } { Py_XDECREF( var_key ); var_key = NULL; } { Py_XDECREF( var_val ); var_val = NULL; } { Py_XDECREF( var_decoded ); var_decoded = NULL; } { Py_XDECREF( var_text ); var_text = NULL; } { Py_XDECREF( var_close ); var_close = NULL; } { Py_XDECREF( var_closeTag ); var_closeTag = NULL; } { Py_XDECREF( var_prefix ); var_prefix = NULL; } { Py_XDECREF( var_pretty_print ); var_pretty_print = NULL; } { Py_XDECREF( var_space ); var_space = NULL; } { Py_XDECREF( var_indent_space ); var_indent_space = NULL; } { Py_XDECREF( var_indent_contents ); var_indent_contents = NULL; } { Py_XDECREF( var_contents ); var_contents = NULL; } { Py_XDECREF( var_s ); var_s = NULL; } { Py_XDECREF( var_attribute_string ); var_attribute_string = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_indent_level ); par_indent_level = NULL; } { Py_XDECREF( par_eventual_encoding ); par_eventual_encoding = NULL; } { Py_XDECREF( par_formatter ); par_formatter = NULL; } { Py_XDECREF( var_attrs ); var_attrs = NULL; } { Py_XDECREF( var_key ); var_key = NULL; } { Py_XDECREF( var_val ); var_val = NULL; } { Py_XDECREF( var_decoded ); var_decoded = NULL; } { Py_XDECREF( var_text ); var_text = NULL; } { Py_XDECREF( var_close ); var_close = NULL; } { Py_XDECREF( var_closeTag ); var_closeTag = NULL; } { Py_XDECREF( var_prefix ); var_prefix = NULL; } { Py_XDECREF( var_pretty_print ); var_pretty_print = NULL; } { Py_XDECREF( var_space ); var_space = NULL; } { Py_XDECREF( var_indent_space ); var_indent_space = NULL; } { Py_XDECREF( var_indent_contents ); var_indent_contents = NULL; } { Py_XDECREF( var_contents ); var_contents = NULL; } { Py_XDECREF( var_s ); var_s = NULL; } { Py_XDECREF( var_attribute_string ); var_attribute_string = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_95_decode ); 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_bs4$element$$$function_96_prettify( 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_encoding = python_pars[ 1 ]; PyObject *par_formatter = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_205139df448ca539f73e4d954ee5d3e8; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; static struct Nuitka_FrameObject *cache_frame_205139df448ca539f73e4d954ee5d3e8 = 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_205139df448ca539f73e4d954ee5d3e8, codeobj_205139df448ca539f73e4d954ee5d3e8, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_205139df448ca539f73e4d954ee5d3e8 = cache_frame_205139df448ca539f73e4d954ee5d3e8; // Push the new frame as the currently active one. pushFrameStack( frame_205139df448ca539f73e4d954ee5d3e8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_205139df448ca539f73e4d954ee5d3e8 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_encoding ); tmp_compexpr_left_1 = par_encoding; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_name_1; PyObject *tmp_kw_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_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 = 1277; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_decode ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1277; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_name_1 = const_tuple_true_tuple; tmp_dict_key_1 = const_str_plain_formatter; if ( par_formatter == 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", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1277; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dict_value_1 = par_formatter; tmp_kw_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 ); assert( !(tmp_res != 0) ); frame_205139df448ca539f73e4d954ee5d3e8->m_frame.f_lineno = 1277; tmp_return_value = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_kw_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1277; 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_2; PyObject *tmp_source_name_2; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_1; PyObject *tmp_kw_name_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_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 = 1279; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_encode ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1279; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_encoding == 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", "encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1279; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_encoding; tmp_args_name_2 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_1 ); tmp_tuple_element_1 = Py_True; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_1 ); tmp_dict_key_2 = const_str_plain_formatter; if ( par_formatter == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1279; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dict_value_2 = par_formatter; tmp_kw_name_2 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem( tmp_kw_name_2, tmp_dict_key_2, tmp_dict_value_2 ); assert( !(tmp_res != 0) ); frame_205139df448ca539f73e4d954ee5d3e8->m_frame.f_lineno = 1279; tmp_return_value = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_name_2 ); Py_DECREF( tmp_kw_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1279; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_205139df448ca539f73e4d954ee5d3e8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_205139df448ca539f73e4d954ee5d3e8 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_205139df448ca539f73e4d954ee5d3e8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_205139df448ca539f73e4d954ee5d3e8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_205139df448ca539f73e4d954ee5d3e8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_205139df448ca539f73e4d954ee5d3e8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_205139df448ca539f73e4d954ee5d3e8, type_description_1, par_self, par_encoding, par_formatter ); // Release cached frame. if ( frame_205139df448ca539f73e4d954ee5d3e8 == cache_frame_205139df448ca539f73e4d954ee5d3e8 ) { Py_DECREF( frame_205139df448ca539f73e4d954ee5d3e8 ); } cache_frame_205139df448ca539f73e4d954ee5d3e8 = NULL; assertFrameObject( frame_205139df448ca539f73e4d954ee5d3e8 ); // 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( bs4$element$$$function_96_prettify ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_encoding ); par_encoding = NULL; } { Py_XDECREF( par_formatter ); par_formatter = 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_encoding ); par_encoding = NULL; } { Py_XDECREF( par_formatter ); par_formatter = 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( bs4$element$$$function_96_prettify ); 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_bs4$element$$$function_97_decode_contents( 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_indent_level = python_pars[ 1 ]; PyObject *par_eventual_encoding = python_pars[ 2 ]; PyObject *par_formatter = python_pars[ 3 ]; PyObject *var_pretty_print = NULL; PyObject *var_s = NULL; PyObject *var_c = NULL; PyObject *var_text = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_0d16f9a58b69d82452c3a719fcf3b9fc; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_0d16f9a58b69d82452c3a719fcf3b9fc = 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_0d16f9a58b69d82452c3a719fcf3b9fc, codeobj_0d16f9a58b69d82452c3a719fcf3b9fc, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_0d16f9a58b69d82452c3a719fcf3b9fc = cache_frame_0d16f9a58b69d82452c3a719fcf3b9fc; // Push the new frame as the currently active one. pushFrameStack( frame_0d16f9a58b69d82452c3a719fcf3b9fc ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_0d16f9a58b69d82452c3a719fcf3b9fc ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; PyObject *tmp_operand_name_2; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_formatter ); tmp_isinstance_inst_1 = par_formatter; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Formatter ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Formatter ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1301; type_description_1 = "oooooooo"; 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 = 1301; type_description_1 = "oooooooo"; 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 = 1301; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; tmp_called_name_1 = LOOKUP_BUILTIN( const_str_plain_callable ); assert( tmp_called_name_1 != NULL ); if ( par_formatter == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1301; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_formatter; frame_0d16f9a58b69d82452c3a719fcf3b9fc->m_frame.f_lineno = 1301; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_operand_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_operand_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1301; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); Py_DECREF( tmp_operand_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1301; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_1 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_1; PyObject *tmp_args_element_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 = 1302; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__formatter_for_name ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1302; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_formatter == 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", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1302; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_formatter; frame_0d16f9a58b69d82452c3a719fcf3b9fc->m_frame.f_lineno = 1302; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1302; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_formatter; par_formatter = tmp_assign_source_1; Py_XDECREF( old ); } } branch_no_1:; } { PyObject *tmp_assign_source_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( par_indent_level == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent_level" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1304; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = par_indent_level; tmp_compexpr_right_1 = Py_None; tmp_assign_source_2 = ( tmp_compexpr_left_1 != tmp_compexpr_right_1 ) ? Py_True : Py_False; assert( var_pretty_print == NULL ); Py_INCREF( tmp_assign_source_2 ); var_pretty_print = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = PyList_New( 0 ); assert( var_s == NULL ); var_s = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_iter_arg_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 = 1306; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_iter_arg_1 = par_self; tmp_assign_source_4 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1306; type_description_1 = "oooooooo"; 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 = "oooooooo"; exception_lineno = 1306; 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 ); } } { PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_6 = tmp_for_loop_1__iter_value; { PyObject *old = var_c; var_c = tmp_assign_source_6; Py_INCREF( var_c ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_7; tmp_assign_source_7 = Py_None; { PyObject *old = var_text; var_text = tmp_assign_source_7; Py_INCREF( var_text ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; PyObject *tmp_mvar_value_2; CHECK_OBJECT( var_c ); tmp_isinstance_inst_2 = var_c; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_NavigableString ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NavigableString ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NavigableString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1308; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_isinstance_cls_2 = tmp_mvar_value_2; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_2, tmp_isinstance_cls_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1308; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_8; PyObject *tmp_called_name_3; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_3; CHECK_OBJECT( var_c ); tmp_source_name_2 = var_c; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_output_ready ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1309; type_description_1 = "oooooooo"; goto try_except_handler_2; } if ( par_formatter == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1309; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_args_element_name_3 = par_formatter; frame_0d16f9a58b69d82452c3a719fcf3b9fc->m_frame.f_lineno = 1309; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_assign_source_8 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1309; type_description_1 = "oooooooo"; goto try_except_handler_2; } { PyObject *old = var_text; var_text = tmp_assign_source_8; Py_XDECREF( old ); } } goto branch_end_2; branch_no_2:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_isinstance_inst_3; PyObject *tmp_isinstance_cls_3; PyObject *tmp_mvar_value_3; CHECK_OBJECT( var_c ); tmp_isinstance_inst_3 = var_c; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Tag ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Tag ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1310; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_isinstance_cls_3 = tmp_mvar_value_3; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_3, tmp_isinstance_cls_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1310; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_called_name_4; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_called_name_5; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; if ( var_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1311; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_source_name_3 = var_s; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_append ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1311; type_description_1 = "oooooooo"; goto try_except_handler_2; } if ( var_c == 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", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1311; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_source_name_4 = var_c; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_decode ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 1311; type_description_1 = "oooooooo"; goto try_except_handler_2; } if ( par_indent_level == NULL ) { Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_called_name_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent_level" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1311; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_args_element_name_5 = par_indent_level; if ( par_eventual_encoding == NULL ) { Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_called_name_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "eventual_encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1311; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_args_element_name_6 = par_eventual_encoding; if ( par_formatter == NULL ) { Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_called_name_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1312; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_args_element_name_7 = par_formatter; frame_0d16f9a58b69d82452c3a719fcf3b9fc->m_frame.f_lineno = 1311; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7 }; tmp_args_element_name_4 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); 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 = 1311; type_description_1 = "oooooooo"; goto try_except_handler_2; } frame_0d16f9a58b69d82452c3a719fcf3b9fc->m_frame.f_lineno = 1311; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_4 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1311; type_description_1 = "oooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_3:; } branch_end_2:; } { nuitka_bool tmp_condition_result_4; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; int tmp_truth_name_1; int tmp_and_left_truth_3; nuitka_bool tmp_and_left_value_3; nuitka_bool tmp_and_right_value_3; int tmp_truth_name_2; PyObject *tmp_operand_name_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_5; if ( var_text == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1313; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_truth_name_1 = CHECK_IF_TRUE( var_text ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1313; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_and_left_value_2 = tmp_truth_name_1 == 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 ( par_indent_level == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent_level" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1313; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_truth_name_2 = CHECK_IF_TRUE( par_indent_level ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1313; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_and_left_value_3 = tmp_truth_name_2 == 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 ( 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 = 1313; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_source_name_5 = par_self; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_name ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1313; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_compexpr_right_2 = const_str_plain_pre; tmp_operand_name_3 = RICH_COMPARE_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_operand_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1313; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 ); Py_DECREF( tmp_operand_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1313; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_and_right_value_3 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_right_value_2 = tmp_and_right_value_3; goto and_end_3; and_left_3:; tmp_and_right_value_2 = tmp_and_left_value_3; and_end_3:; tmp_condition_result_4 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_4 = tmp_and_left_value_2; and_end_2:; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_assign_source_9; PyObject *tmp_called_instance_1; if ( var_text == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1314; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_called_instance_1 = var_text; frame_0d16f9a58b69d82452c3a719fcf3b9fc->m_frame.f_lineno = 1314; tmp_assign_source_9 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_strip ); if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1314; type_description_1 = "oooooooo"; goto try_except_handler_2; } { PyObject *old = var_text; var_text = tmp_assign_source_9; Py_XDECREF( old ); } } branch_no_4:; } { nuitka_bool tmp_condition_result_5; int tmp_truth_name_3; if ( var_text == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1315; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_truth_name_3 = CHECK_IF_TRUE( var_text ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1315; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_condition_result_5 = tmp_truth_name_3 == 1 ? 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:; { nuitka_bool tmp_condition_result_6; int tmp_and_left_truth_4; nuitka_bool tmp_and_left_value_4; nuitka_bool tmp_and_right_value_4; int tmp_truth_name_4; PyObject *tmp_operand_name_4; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_source_name_6; if ( var_pretty_print == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pretty_print" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1316; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_truth_name_4 = CHECK_IF_TRUE( var_pretty_print ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1316; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_and_left_value_4 = tmp_truth_name_4 == 1 ? 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 ( 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 = 1316; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_source_name_6 = par_self; tmp_compexpr_left_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_name ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1316; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_compexpr_right_3 = const_str_plain_pre; tmp_operand_name_4 = RICH_COMPARE_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_left_3 ); if ( tmp_operand_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1316; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_4 ); Py_DECREF( tmp_operand_name_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1316; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_and_right_value_4 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_6 = tmp_and_right_value_4; goto and_end_4; and_left_4:; tmp_condition_result_6 = tmp_and_left_value_4; and_end_4:; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_called_name_6; PyObject *tmp_source_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; if ( var_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1317; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_source_name_7 = var_s; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_append ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1317; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_left_name_1 = const_str_space; if ( par_indent_level == NULL ) { Py_DECREF( tmp_called_name_6 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent_level" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1317; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_left_name_2 = par_indent_level; tmp_right_name_2 = const_int_pos_1; tmp_right_name_1 = BINARY_OPERATION_SUB( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_6 ); exception_lineno = 1317; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_args_element_name_8 = BINARY_OPERATION_MUL( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_args_element_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_6 ); exception_lineno = 1317; type_description_1 = "oooooooo"; goto try_except_handler_2; } frame_0d16f9a58b69d82452c3a719fcf3b9fc->m_frame.f_lineno = 1317; { PyObject *call_args[] = { tmp_args_element_name_8 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); Py_DECREF( tmp_args_element_name_8 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1317; type_description_1 = "oooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_6:; } { PyObject *tmp_called_name_7; PyObject *tmp_source_name_8; PyObject *tmp_args_element_name_9; if ( var_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1318; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_source_name_8 = var_s; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_append ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1318; type_description_1 = "oooooooo"; goto try_except_handler_2; } if ( var_text == 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", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1318; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_args_element_name_9 = var_text; frame_0d16f9a58b69d82452c3a719fcf3b9fc->m_frame.f_lineno = 1318; { PyObject *call_args[] = { tmp_args_element_name_9 }; 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 = 1318; type_description_1 = "oooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_7; int tmp_and_left_truth_5; nuitka_bool tmp_and_left_value_5; nuitka_bool tmp_and_right_value_5; int tmp_truth_name_5; PyObject *tmp_operand_name_5; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_source_name_9; if ( var_pretty_print == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pretty_print" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1319; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_truth_name_5 = CHECK_IF_TRUE( var_pretty_print ); if ( tmp_truth_name_5 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1319; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_and_left_value_5 = tmp_truth_name_5 == 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:; 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 = 1319; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_source_name_9 = par_self; tmp_compexpr_left_4 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_name ); if ( tmp_compexpr_left_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1319; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_compexpr_right_4 = const_str_plain_pre; tmp_operand_name_5 = RICH_COMPARE_EQ( tmp_compexpr_left_4, tmp_compexpr_right_4 ); Py_DECREF( tmp_compexpr_left_4 ); if ( tmp_operand_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1319; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_5 ); Py_DECREF( tmp_operand_name_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1319; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_and_right_value_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_7 = tmp_and_right_value_5; goto and_end_5; and_left_5:; tmp_condition_result_7 = tmp_and_left_value_5; and_end_5:; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_called_instance_2; if ( var_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1320; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_called_instance_2 = var_s; frame_0d16f9a58b69d82452c3a719fcf3b9fc->m_frame.f_lineno = 1320; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_append, &PyTuple_GET_ITEM( const_tuple_str_newline_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1320; type_description_1 = "oooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_7:; } branch_no_5:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1306; type_description_1 = "oooooooo"; 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_called_name_8; PyObject *tmp_source_name_10; PyObject *tmp_args_element_name_10; tmp_source_name_10 = const_str_empty; tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_join ); assert( !(tmp_called_name_8 == NULL) ); if ( var_s == 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", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1321; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_10 = var_s; frame_0d16f9a58b69d82452c3a719fcf3b9fc->m_frame.f_lineno = 1321; { PyObject *call_args[] = { tmp_args_element_name_10 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args ); } Py_DECREF( tmp_called_name_8 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1321; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_0d16f9a58b69d82452c3a719fcf3b9fc ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0d16f9a58b69d82452c3a719fcf3b9fc ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0d16f9a58b69d82452c3a719fcf3b9fc ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_0d16f9a58b69d82452c3a719fcf3b9fc, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_0d16f9a58b69d82452c3a719fcf3b9fc->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_0d16f9a58b69d82452c3a719fcf3b9fc, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_0d16f9a58b69d82452c3a719fcf3b9fc, type_description_1, par_self, par_indent_level, par_eventual_encoding, par_formatter, var_pretty_print, var_s, var_c, var_text ); // Release cached frame. if ( frame_0d16f9a58b69d82452c3a719fcf3b9fc == cache_frame_0d16f9a58b69d82452c3a719fcf3b9fc ) { Py_DECREF( frame_0d16f9a58b69d82452c3a719fcf3b9fc ); } cache_frame_0d16f9a58b69d82452c3a719fcf3b9fc = NULL; assertFrameObject( frame_0d16f9a58b69d82452c3a719fcf3b9fc ); // 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( bs4$element$$$function_97_decode_contents ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_indent_level ); par_indent_level = NULL; } { Py_XDECREF( par_eventual_encoding ); par_eventual_encoding = NULL; } { Py_XDECREF( par_formatter ); par_formatter = NULL; } { Py_XDECREF( var_pretty_print ); var_pretty_print = NULL; } { Py_XDECREF( var_s ); var_s = NULL; } { Py_XDECREF( var_c ); var_c = NULL; } { Py_XDECREF( var_text ); var_text = 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_indent_level ); par_indent_level = NULL; } { Py_XDECREF( par_eventual_encoding ); par_eventual_encoding = NULL; } { Py_XDECREF( par_formatter ); par_formatter = NULL; } { Py_XDECREF( var_pretty_print ); var_pretty_print = NULL; } { Py_XDECREF( var_s ); var_s = NULL; } { Py_XDECREF( var_c ); var_c = NULL; } { Py_XDECREF( var_text ); var_text = 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( bs4$element$$$function_97_decode_contents ); 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_bs4$element$$$function_98_encode_contents( 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_indent_level = python_pars[ 1 ]; PyObject *par_encoding = python_pars[ 2 ]; PyObject *par_formatter = python_pars[ 3 ]; PyObject *var_contents = NULL; struct Nuitka_FrameObject *frame_5f2748739a640a9bddd6f77b0f6bc42a; 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_5f2748739a640a9bddd6f77b0f6bc42a = 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_5f2748739a640a9bddd6f77b0f6bc42a, codeobj_5f2748739a640a9bddd6f77b0f6bc42a, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_5f2748739a640a9bddd6f77b0f6bc42a = cache_frame_5f2748739a640a9bddd6f77b0f6bc42a; // Push the new frame as the currently active one. pushFrameStack( frame_5f2748739a640a9bddd6f77b0f6bc42a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5f2748739a640a9bddd6f77b0f6bc42a ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_decode_contents ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1337; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( par_indent_level == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "indent_level" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1337; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_indent_level; if ( par_encoding == 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", "encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1337; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_encoding; if ( par_formatter == 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", "formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1337; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_formatter; frame_5f2748739a640a9bddd6f77b0f6bc42a->m_frame.f_lineno = 1337; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS3( 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 = 1337; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_contents == NULL ); var_contents = tmp_assign_source_1; } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_4; CHECK_OBJECT( var_contents ); tmp_source_name_2 = var_contents; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_encode ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1338; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( par_encoding == 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", "encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1338; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_encoding; frame_5f2748739a640a9bddd6f77b0f6bc42a->m_frame.f_lineno = 1338; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1338; type_description_1 = "ooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_5f2748739a640a9bddd6f77b0f6bc42a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5f2748739a640a9bddd6f77b0f6bc42a ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5f2748739a640a9bddd6f77b0f6bc42a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5f2748739a640a9bddd6f77b0f6bc42a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5f2748739a640a9bddd6f77b0f6bc42a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5f2748739a640a9bddd6f77b0f6bc42a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5f2748739a640a9bddd6f77b0f6bc42a, type_description_1, par_self, par_indent_level, par_encoding, par_formatter, var_contents ); // Release cached frame. if ( frame_5f2748739a640a9bddd6f77b0f6bc42a == cache_frame_5f2748739a640a9bddd6f77b0f6bc42a ) { Py_DECREF( frame_5f2748739a640a9bddd6f77b0f6bc42a ); } cache_frame_5f2748739a640a9bddd6f77b0f6bc42a = NULL; assertFrameObject( frame_5f2748739a640a9bddd6f77b0f6bc42a ); // 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( bs4$element$$$function_98_encode_contents ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_indent_level ); par_indent_level = NULL; } { Py_XDECREF( par_encoding ); par_encoding = NULL; } { Py_XDECREF( par_formatter ); par_formatter = NULL; } { Py_XDECREF( var_contents ); var_contents = 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_indent_level ); par_indent_level = NULL; } { Py_XDECREF( par_encoding ); par_encoding = NULL; } { Py_XDECREF( par_formatter ); par_formatter = NULL; } { Py_XDECREF( var_contents ); var_contents = 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( bs4$element$$$function_98_encode_contents ); 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_bs4$element$$$function_99_renderContents( 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_encoding = python_pars[ 1 ]; PyObject *par_prettyPrint = python_pars[ 2 ]; PyObject *par_indentLevel = python_pars[ 3 ]; struct Nuitka_FrameObject *frame_b173255cae1fb213f4b4b93a3866ef41; 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_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_b173255cae1fb213f4b4b93a3866ef41 = 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_b173255cae1fb213f4b4b93a3866ef41, codeobj_b173255cae1fb213f4b4b93a3866ef41, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_b173255cae1fb213f4b4b93a3866ef41 = cache_frame_b173255cae1fb213f4b4b93a3866ef41; // Push the new frame as the currently active one. pushFrameStack( frame_b173255cae1fb213f4b4b93a3866ef41 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_b173255cae1fb213f4b4b93a3866ef41 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; CHECK_OBJECT( par_prettyPrint ); tmp_operand_name_1 = par_prettyPrint; 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 = 1343; 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_assign_source_1; tmp_assign_source_1 = Py_None; { PyObject *old = par_indentLevel; par_indentLevel = tmp_assign_source_1; Py_INCREF( par_indentLevel ); Py_XDECREF( old ); } } branch_no_1:; } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_kw_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_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 = 1345; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_encode_contents ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1345; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_dict_key_1 = const_str_plain_indent_level; if ( par_indentLevel == 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", "indentLevel" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1346; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_dict_value_1 = par_indentLevel; tmp_kw_name_1 = _PyDict_NewPresized( 2 ); tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 ); assert( !(tmp_res != 0) ); tmp_dict_key_2 = const_str_plain_encoding; if ( par_encoding == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_kw_name_1 ); 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 = 1346; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_dict_value_2 = par_encoding; tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_2, tmp_dict_value_2 ); assert( !(tmp_res != 0) ); frame_b173255cae1fb213f4b4b93a3866ef41->m_frame.f_lineno = 1345; tmp_return_value = CALL_FUNCTION_WITH_KEYARGS( tmp_called_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_kw_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1345; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_b173255cae1fb213f4b4b93a3866ef41 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b173255cae1fb213f4b4b93a3866ef41 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b173255cae1fb213f4b4b93a3866ef41 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_b173255cae1fb213f4b4b93a3866ef41, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_b173255cae1fb213f4b4b93a3866ef41->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_b173255cae1fb213f4b4b93a3866ef41, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_b173255cae1fb213f4b4b93a3866ef41, type_description_1, par_self, par_encoding, par_prettyPrint, par_indentLevel ); // Release cached frame. if ( frame_b173255cae1fb213f4b4b93a3866ef41 == cache_frame_b173255cae1fb213f4b4b93a3866ef41 ) { Py_DECREF( frame_b173255cae1fb213f4b4b93a3866ef41 ); } cache_frame_b173255cae1fb213f4b4b93a3866ef41 = NULL; assertFrameObject( frame_b173255cae1fb213f4b4b93a3866ef41 ); // 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( bs4$element$$$function_99_renderContents ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_encoding ); par_encoding = NULL; } { Py_XDECREF( par_prettyPrint ); par_prettyPrint = NULL; } { Py_XDECREF( par_indentLevel ); par_indentLevel = 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_encoding ); par_encoding = NULL; } { Py_XDECREF( par_prettyPrint ); par_prettyPrint = NULL; } { Py_XDECREF( par_indentLevel ); par_indentLevel = 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( bs4$element$$$function_99_renderContents ); 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_bs4$element$$$function_100_find( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_attrs = python_pars[ 2 ]; PyObject *par_recursive = python_pars[ 3 ]; PyObject *par_text = python_pars[ 4 ]; PyObject *par_kwargs = python_pars[ 5 ]; PyObject *var_r = NULL; PyObject *var_l = NULL; struct Nuitka_FrameObject *frame_7ce0a2b6ae53236f1fc4a93159b4453e; 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_7ce0a2b6ae53236f1fc4a93159b4453e = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; assert( var_r == NULL ); Py_INCREF( tmp_assign_source_1 ); var_r = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_7ce0a2b6ae53236f1fc4a93159b4453e, codeobj_7ce0a2b6ae53236f1fc4a93159b4453e, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_7ce0a2b6ae53236f1fc4a93159b4453e = cache_frame_7ce0a2b6ae53236f1fc4a93159b4453e; // Push the new frame as the currently active one. pushFrameStack( frame_7ce0a2b6ae53236f1fc4a93159b4453e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7ce0a2b6ae53236f1fc4a93159b4453e ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dircall_arg3_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_find_all ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1355; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1355; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_name; tmp_dircall_arg2_1 = PyTuple_New( 5 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( par_attrs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1355; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_attrs; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 1, tmp_tuple_element_1 ); if ( par_recursive == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "recursive" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1355; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_recursive; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 2, tmp_tuple_element_1 ); if ( par_text == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1355; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_text; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 3, tmp_tuple_element_1 ); tmp_tuple_element_1 = const_int_pos_1; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 4, tmp_tuple_element_1 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); 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 = 1355; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_assign_source_2 = impl___internal__$$$function_5_complex_call_helper_pos_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 = 1355; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert( var_l == NULL ); var_l = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT( var_l ); tmp_truth_name_1 = CHECK_IF_TRUE( var_l ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1356; type_description_1 = "oooooooo"; 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_assign_source_3; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( var_l ); tmp_subscribed_name_1 = var_l; tmp_subscript_name_1 = const_int_0; tmp_assign_source_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1357; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_r; var_r = tmp_assign_source_3; Py_XDECREF( old ); } } branch_no_1:; } { if ( var_r == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "r" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1358; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_r; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_7ce0a2b6ae53236f1fc4a93159b4453e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7ce0a2b6ae53236f1fc4a93159b4453e ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7ce0a2b6ae53236f1fc4a93159b4453e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7ce0a2b6ae53236f1fc4a93159b4453e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7ce0a2b6ae53236f1fc4a93159b4453e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7ce0a2b6ae53236f1fc4a93159b4453e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7ce0a2b6ae53236f1fc4a93159b4453e, type_description_1, par_self, par_name, par_attrs, par_recursive, par_text, par_kwargs, var_r, var_l ); // Release cached frame. if ( frame_7ce0a2b6ae53236f1fc4a93159b4453e == cache_frame_7ce0a2b6ae53236f1fc4a93159b4453e ) { Py_DECREF( frame_7ce0a2b6ae53236f1fc4a93159b4453e ); } cache_frame_7ce0a2b6ae53236f1fc4a93159b4453e = NULL; assertFrameObject( frame_7ce0a2b6ae53236f1fc4a93159b4453e ); // 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( bs4$element$$$function_100_find ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_recursive ); par_recursive = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_r ); var_r = NULL; } { Py_XDECREF( var_l ); var_l = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_recursive ); par_recursive = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_r ); var_r = NULL; } { Py_XDECREF( var_l ); var_l = 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( bs4$element$$$function_100_find ); 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_bs4$element$$$function_101_find_all( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_attrs = python_pars[ 2 ]; PyObject *par_recursive = python_pars[ 3 ]; PyObject *par_text = python_pars[ 4 ]; PyObject *par_limit = python_pars[ 5 ]; PyObject *par_kwargs = python_pars[ 6 ]; PyObject *var_generator = NULL; struct Nuitka_FrameObject *frame_5d14bd9a01838689f7e8eecca8ec0825; 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_5d14bd9a01838689f7e8eecca8ec0825 = 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_5d14bd9a01838689f7e8eecca8ec0825, codeobj_5d14bd9a01838689f7e8eecca8ec0825, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_5d14bd9a01838689f7e8eecca8ec0825 = cache_frame_5d14bd9a01838689f7e8eecca8ec0825; // Push the new frame as the currently active one. pushFrameStack( frame_5d14bd9a01838689f7e8eecca8ec0825 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5d14bd9a01838689f7e8eecca8ec0825 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_descendants ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1373; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert( var_generator == NULL ); var_generator = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; if ( par_recursive == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "recursive" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1374; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = par_recursive; 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 = 1374; type_description_1 = "oooooooo"; 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_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 = 1375; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_assign_source_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_children ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1375; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_generator; var_generator = tmp_assign_source_2; Py_XDECREF( old ); } } branch_no_1:; } { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_3; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dircall_arg3_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 = 1376; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__find_all ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1376; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1376; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_name; tmp_dircall_arg2_1 = PyTuple_New( 5 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( par_attrs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1376; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_attrs; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 1, tmp_tuple_element_1 ); if ( par_text == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1376; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_text; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 2, tmp_tuple_element_1 ); if ( par_limit == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1376; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_limit; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 3, tmp_tuple_element_1 ); if ( var_generator == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "generator" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1376; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = var_generator; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 4, tmp_tuple_element_1 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); 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 = 1376; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_5_complex_call_helper_pos_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1376; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_5d14bd9a01838689f7e8eecca8ec0825 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5d14bd9a01838689f7e8eecca8ec0825 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5d14bd9a01838689f7e8eecca8ec0825 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5d14bd9a01838689f7e8eecca8ec0825, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5d14bd9a01838689f7e8eecca8ec0825->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5d14bd9a01838689f7e8eecca8ec0825, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5d14bd9a01838689f7e8eecca8ec0825, type_description_1, par_self, par_name, par_attrs, par_recursive, par_text, par_limit, par_kwargs, var_generator ); // Release cached frame. if ( frame_5d14bd9a01838689f7e8eecca8ec0825 == cache_frame_5d14bd9a01838689f7e8eecca8ec0825 ) { Py_DECREF( frame_5d14bd9a01838689f7e8eecca8ec0825 ); } cache_frame_5d14bd9a01838689f7e8eecca8ec0825 = NULL; assertFrameObject( frame_5d14bd9a01838689f7e8eecca8ec0825 ); // 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( bs4$element$$$function_101_find_all ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_recursive ); par_recursive = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_generator ); var_generator = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_recursive ); par_recursive = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_generator ); var_generator = 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( bs4$element$$$function_101_find_all ); 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_bs4$element$$$function_102_children( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_f6eaa2b092ce92d3ad80416704bf487b; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_f6eaa2b092ce92d3ad80416704bf487b = 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_f6eaa2b092ce92d3ad80416704bf487b, codeobj_f6eaa2b092ce92d3ad80416704bf487b, module_bs4$element, sizeof(void *) ); frame_f6eaa2b092ce92d3ad80416704bf487b = cache_frame_f6eaa2b092ce92d3ad80416704bf487b; // Push the new frame as the currently active one. pushFrameStack( frame_f6eaa2b092ce92d3ad80416704bf487b ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_f6eaa2b092ce92d3ad80416704bf487b ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_iter_arg_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_iter_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_contents ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1384; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1384; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_f6eaa2b092ce92d3ad80416704bf487b ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f6eaa2b092ce92d3ad80416704bf487b ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f6eaa2b092ce92d3ad80416704bf487b ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_f6eaa2b092ce92d3ad80416704bf487b, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_f6eaa2b092ce92d3ad80416704bf487b->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_f6eaa2b092ce92d3ad80416704bf487b, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_f6eaa2b092ce92d3ad80416704bf487b, type_description_1, par_self ); // Release cached frame. if ( frame_f6eaa2b092ce92d3ad80416704bf487b == cache_frame_f6eaa2b092ce92d3ad80416704bf487b ) { Py_DECREF( frame_f6eaa2b092ce92d3ad80416704bf487b ); } cache_frame_f6eaa2b092ce92d3ad80416704bf487b = NULL; assertFrameObject( frame_f6eaa2b092ce92d3ad80416704bf487b ); // 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( bs4$element$$$function_102_children ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_102_children ); 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_bs4$element$$$function_103_descendants( 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 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = bs4$element$$$function_103_descendants$$$genobj_1_descendants_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_self; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_103_descendants ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_103_descendants ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct bs4$element$$$function_103_descendants$$$genobj_1_descendants_locals { PyObject *var_stopNode; PyObject *var_current; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; int tmp_res; PyObject *tmp_return_value; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; }; static PyObject *bs4$element$$$function_103_descendants$$$genobj_1_descendants_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct bs4$element$$$function_103_descendants$$$genobj_1_descendants_locals *generator_heap = (struct bs4$element$$$function_103_descendants$$$genobj_1_descendants_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { 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_stopNode = NULL; generator_heap->var_current = 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; generator_heap->tmp_return_value = NULL; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_55bc36eab384b2662fea682cb918f1c9, module_bs4$element, 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: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_len_arg_1; PyObject *tmp_source_name_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", "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 = 1388; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } tmp_source_name_1 = PyCell_GET( generator->m_closure[0] ); tmp_len_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_contents ); if ( tmp_len_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 1388; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } tmp_operand_name_1 = BUILTIN_LEN( tmp_len_arg_1 ); Py_DECREF( tmp_len_arg_1 ); 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 = 1388; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } 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 = 1388; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( generator_heap->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:; { generator_heap->tmp_return_value = Py_None; Py_INCREF( generator_heap->tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_1; PyObject *tmp_source_name_2; PyObject *tmp_called_instance_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", "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 = 1390; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } tmp_called_instance_1 = PyCell_GET( generator->m_closure[0] ); generator->m_frame->m_frame.f_lineno = 1390; tmp_source_name_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain__last_descendant ); if ( tmp_source_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 = 1390; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_next_element ); Py_DECREF( tmp_source_name_2 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 1390; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } assert( generator_heap->var_stopNode == NULL ); generator_heap->var_stopNode = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_3; PyObject *tmp_subscript_name_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", "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 = 1391; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } tmp_source_name_3 = PyCell_GET( generator->m_closure[0] ); tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_contents ); if ( tmp_subscribed_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 = 1391; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_int_0; tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); Py_DECREF( tmp_subscribed_name_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 = 1391; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } assert( generator_heap->var_current == NULL ); generator_heap->var_current = tmp_assign_source_2; } { loop_start_1:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( generator_heap->var_current == 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", "current" ); 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 = 1392; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = generator_heap->var_current; if ( generator_heap->var_stopNode == 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", "stopNode" ); 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 = 1392; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = generator_heap->var_stopNode; tmp_condition_result_2 = ( tmp_compexpr_left_1 == tmp_compexpr_right_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:; { goto loop_end_1; } branch_no_2:; } { PyObject *tmp_expression_name_1; if ( generator_heap->var_current == 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", "current" ); 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 = 1393; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } tmp_expression_name_1 = generator_heap->var_current; Py_INCREF( tmp_expression_name_1 ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: 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 = 1393; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } tmp_unused = yield_return_value; } { PyObject *tmp_assign_source_3; PyObject *tmp_source_name_4; if ( generator_heap->var_current == 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", "current" ); 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 = 1394; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } tmp_source_name_4 = generator_heap->var_current; tmp_assign_source_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_next_element ); 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 = 1394; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } { PyObject *old = generator_heap->var_current; generator_heap->var_current = tmp_assign_source_3; Py_XDECREF( old ); } } 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 = 1392; generator_heap->type_description_1 = "coo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } 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_return_exit_1:; #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 ); goto function_return_exit; 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[0], generator_heap->var_stopNode, generator_heap->var_current ); // 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_1; // Exception handler code: try_except_handler_1:; 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; { Py_XDECREF( generator_heap->var_stopNode ); generator_heap->var_stopNode = NULL; } { Py_XDECREF( generator_heap->var_current ); generator_heap->var_current = 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 function_exception_exit; } // End of try: try_end_1:; } { Py_XDECREF( generator_heap->var_stopNode ); generator_heap->var_stopNode = NULL; } { Py_XDECREF( generator_heap->var_current ); generator_heap->var_current = 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; // The above won't return, but we need to make it clear to the compiler // as well, or else it will complain and/or generate inferior code. assert(false); return NULL; function_return_exit: #if PYTHON_VERSION >= 300 generator->m_returned = generator_heap->tmp_return_value; #endif return NULL; } static PyObject *bs4$element$$$function_103_descendants$$$genobj_1_descendants_maker( void ) { return Nuitka_Generator_New( bs4$element$$$function_103_descendants$$$genobj_1_descendants_context, module_bs4$element, const_str_plain_descendants, #if PYTHON_VERSION >= 350 const_str_digest_1b67e808b5e37f97cd1f62ae812a0b7c, #endif codeobj_55bc36eab384b2662fea682cb918f1c9, 1, sizeof(struct bs4$element$$$function_103_descendants$$$genobj_1_descendants_locals) ); } static PyObject *impl_bs4$element$$$function_104_select_one( 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_selector = python_pars[ 1 ]; PyObject *var_value = NULL; struct Nuitka_FrameObject *frame_08df507017589681a3b32b6f88ec925b; 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_08df507017589681a3b32b6f88ec925b = 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_08df507017589681a3b32b6f88ec925b, codeobj_08df507017589681a3b32b6f88ec925b, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_08df507017589681a3b32b6f88ec925b = cache_frame_08df507017589681a3b32b6f88ec925b; // Push the new frame as the currently active one. pushFrameStack( frame_08df507017589681a3b32b6f88ec925b ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_08df507017589681a3b32b6f88ec925b ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kw_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_select ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1403; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_selector == 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", "selector" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1403; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_selector; tmp_args_name_1 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 ); tmp_kw_name_1 = PyDict_Copy( const_dict_f22dd43ccca7e02b2f29370abbf82a84 ); frame_08df507017589681a3b32b6f88ec925b->m_frame.f_lineno = 1403; tmp_assign_source_1 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); Py_DECREF( tmp_kw_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1403; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_value == NULL ); var_value = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT( var_value ); tmp_truth_name_1 = CHECK_IF_TRUE( var_value ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1404; 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_subscribed_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( var_value ); tmp_subscribed_name_1 = var_value; tmp_subscript_name_1 = const_int_0; tmp_return_value = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1405; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_08df507017589681a3b32b6f88ec925b ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_08df507017589681a3b32b6f88ec925b ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_08df507017589681a3b32b6f88ec925b ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_08df507017589681a3b32b6f88ec925b, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_08df507017589681a3b32b6f88ec925b->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_08df507017589681a3b32b6f88ec925b, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_08df507017589681a3b32b6f88ec925b, type_description_1, par_self, par_selector, var_value ); // Release cached frame. if ( frame_08df507017589681a3b32b6f88ec925b == cache_frame_08df507017589681a3b32b6f88ec925b ) { Py_DECREF( frame_08df507017589681a3b32b6f88ec925b ); } cache_frame_08df507017589681a3b32b6f88ec925b = NULL; assertFrameObject( frame_08df507017589681a3b32b6f88ec925b ); // 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( bs4$element$$$function_104_select_one ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_selector ); par_selector = NULL; } { Py_XDECREF( var_value ); var_value = 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_selector ); par_selector = NULL; } { Py_XDECREF( var_value ); var_value = 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( bs4$element$$$function_104_select_one ); 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_bs4$element$$$function_105_select( 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 ] ); PyObject *par_selector = python_pars[ 1 ]; PyObject *par__candidate_generator = python_pars[ 2 ]; PyObject *par_limit = python_pars[ 3 ]; PyObject *var_context = NULL; PyObject *var_selectors = NULL; PyObject *var_used_selectors = NULL; PyObject *var_selected_object_ids = NULL; PyObject *var_partial_selector = NULL; PyObject *var_candidates = NULL; PyObject *var_candidate = NULL; PyObject *var_object_id = NULL; PyObject *var_tokens = NULL; PyObject *var_current_context = NULL; PyObject *var_index = NULL; PyObject *var_token = NULL; PyObject *var_new_context = NULL; PyObject *var_new_context_ids = NULL; struct Nuitka_CellObject *var_recursive_candidate_generator = PyCell_EMPTY(); struct Nuitka_CellObject *var_tag_name = PyCell_EMPTY(); PyObject *var_checker = NULL; PyObject *var_m = NULL; PyObject *var_attribute = NULL; PyObject *var_operator = NULL; PyObject *var_value = NULL; struct Nuitka_CellObject *var_tag_id = PyCell_EMPTY(); PyObject *var_id_matches = NULL; PyObject *var_klass = NULL; struct Nuitka_CellObject *var_classes = PyCell_EMPTY(); PyObject *var_classes_match = NULL; PyObject *var_pseudo = NULL; PyObject *var_pseudo_attributes = NULL; PyObject *var_found = NULL; PyObject *var_pseudo_type = NULL; PyObject *var_pseudo_value = NULL; PyObject *var_Counter = NULL; PyObject *var_next_tag_sibling = NULL; struct Nuitka_CellObject *var_next_token = PyCell_EMPTY(); PyObject *var_recursive_select = NULL; PyObject *var__use_candidate_generator = NULL; PyObject *var_check = NULL; PyObject *var_default_candidate_generator = NULL; PyObject *var_count = NULL; PyObject *var_tag = NULL; PyObject *var_result = NULL; PyObject *var_i = NULL; PyObject *outline_0_var_x = NULL; PyObject *outline_1_var___class__ = NULL; PyObject *tmp_class_creation_1__bases = NULL; PyObject *tmp_class_creation_1__bases_orig = 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_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_for_loop_2__for_iterator = NULL; PyObject *tmp_for_loop_2__iter_value = NULL; PyObject *tmp_for_loop_3__for_iterator = NULL; PyObject *tmp_for_loop_3__iter_value = NULL; PyObject *tmp_for_loop_4__for_iterator = NULL; PyObject *tmp_for_loop_4__iter_value = NULL; PyObject *tmp_for_loop_5__for_iterator = NULL; PyObject *tmp_for_loop_5__iter_value = NULL; PyObject *tmp_for_loop_6__for_iterator = NULL; PyObject *tmp_for_loop_6__iter_value = NULL; PyObject *tmp_listcomp_1__$0 = NULL; PyObject *tmp_listcomp_1__contraction = NULL; PyObject *tmp_listcomp_1__iter_value_0 = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__element_3 = NULL; PyObject *tmp_tuple_unpack_2__element_4 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; PyObject *tmp_tuple_unpack_3__element_1 = NULL; PyObject *tmp_tuple_unpack_3__element_2 = NULL; PyObject *tmp_tuple_unpack_3__source_iter = NULL; PyObject *tmp_tuple_unpack_4__element_1 = NULL; PyObject *tmp_tuple_unpack_4__element_2 = NULL; PyObject *tmp_tuple_unpack_4__source_iter = NULL; PyObject *tmp_tuple_unpack_5__element_1 = NULL; PyObject *tmp_tuple_unpack_5__element_2 = NULL; PyObject *tmp_tuple_unpack_5__source_iter = NULL; PyObject *tmp_tuple_unpack_6__element_1 = NULL; PyObject *tmp_tuple_unpack_6__element_2 = NULL; PyObject *tmp_tuple_unpack_6__source_iter = NULL; struct Nuitka_FrameObject *frame_73578e0996899a70851ff82dc61899a5; 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; struct Nuitka_FrameObject *frame_7a85646ff5c11425b451e508eaae9d7e_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = 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; static struct Nuitka_FrameObject *cache_frame_7a85646ff5c11425b451e508eaae9d7e_2 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; 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; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; 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 *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; PyObject *exception_keeper_type_15; PyObject *exception_keeper_value_15; PyTracebackObject *exception_keeper_tb_15; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; PyObject *exception_keeper_type_16; PyObject *exception_keeper_value_16; PyTracebackObject *exception_keeper_tb_16; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16; PyObject *exception_keeper_type_17; PyObject *exception_keeper_value_17; PyTracebackObject *exception_keeper_tb_17; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; PyObject *exception_keeper_type_18; PyObject *exception_keeper_value_18; PyTracebackObject *exception_keeper_tb_18; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; bool tmp_result; PyObject *locals_bs4$element$$$function_105_select_1514 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_ac602065f1302351b6f57bdf666b669a_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; static struct Nuitka_FrameObject *cache_frame_ac602065f1302351b6f57bdf666b669a_3 = NULL; PyObject *exception_keeper_type_19; PyObject *exception_keeper_value_19; PyTracebackObject *exception_keeper_tb_19; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_19; PyObject *exception_keeper_type_20; PyObject *exception_keeper_value_20; PyTracebackObject *exception_keeper_tb_20; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_20; PyObject *exception_keeper_type_21; PyObject *exception_keeper_value_21; PyTracebackObject *exception_keeper_tb_21; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_21; PyObject *exception_keeper_type_22; PyObject *exception_keeper_value_22; PyTracebackObject *exception_keeper_tb_22; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_22; PyObject *exception_preserved_type_2; PyObject *exception_preserved_value_2; PyTracebackObject *exception_preserved_tb_2; PyObject *exception_keeper_type_23; PyObject *exception_keeper_value_23; PyTracebackObject *exception_keeper_tb_23; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_23; PyObject *exception_keeper_type_24; PyObject *exception_keeper_value_24; PyTracebackObject *exception_keeper_tb_24; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_24; PyObject *exception_keeper_type_25; PyObject *exception_keeper_value_25; PyTracebackObject *exception_keeper_tb_25; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_25; PyObject *exception_keeper_type_26; PyObject *exception_keeper_value_26; PyTracebackObject *exception_keeper_tb_26; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_26; PyObject *exception_keeper_type_27; PyObject *exception_keeper_value_27; PyTracebackObject *exception_keeper_tb_27; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_27; static struct Nuitka_FrameObject *cache_frame_73578e0996899a70851ff82dc61899a5 = NULL; PyObject *exception_keeper_type_28; PyObject *exception_keeper_value_28; PyTracebackObject *exception_keeper_tb_28; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_28; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_73578e0996899a70851ff82dc61899a5, codeobj_73578e0996899a70851ff82dc61899a5, module_bs4$element, 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 *)+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 *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_73578e0996899a70851ff82dc61899a5 = cache_frame_73578e0996899a70851ff82dc61899a5; // Push the new frame as the currently active one. pushFrameStack( frame_73578e0996899a70851ff82dc61899a5 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_73578e0996899a70851ff82dc61899a5 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = const_str_chr_44; CHECK_OBJECT( par_selector ); tmp_compexpr_right_1 = par_selector; tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1412; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; tmp_assign_source_1 = PyList_New( 0 ); assert( var_context == NULL ); var_context = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; { // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_1; if ( par_selector == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "selector" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1414; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_2; } tmp_called_instance_1 = par_selector; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1414; tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_44_tuple, 0 ) ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1414; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_2; } tmp_assign_source_3 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1414; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_2; } assert( tmp_listcomp_1__$0 == NULL ); tmp_listcomp_1__$0 = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; tmp_assign_source_4 = PyList_New( 0 ); assert( tmp_listcomp_1__contraction == NULL ); tmp_listcomp_1__contraction = tmp_assign_source_4; } MAKE_OR_REUSE_FRAME( cache_frame_7a85646ff5c11425b451e508eaae9d7e_2, codeobj_7a85646ff5c11425b451e508eaae9d7e, module_bs4$element, sizeof(void *) ); frame_7a85646ff5c11425b451e508eaae9d7e_2 = cache_frame_7a85646ff5c11425b451e508eaae9d7e_2; // Push the new frame as the currently active one. pushFrameStack( frame_7a85646ff5c11425b451e508eaae9d7e_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7a85646ff5c11425b451e508eaae9d7e_2 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_listcomp_1__$0 ); tmp_next_source_1 = tmp_listcomp_1__$0; 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_2 = "o"; exception_lineno = 1414; goto try_except_handler_3; } } { PyObject *old = tmp_listcomp_1__iter_value_0; tmp_listcomp_1__iter_value_0 = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_listcomp_1__iter_value_0 ); tmp_assign_source_6 = tmp_listcomp_1__iter_value_0; { PyObject *old = outline_0_var_x; outline_0_var_x = tmp_assign_source_6; Py_INCREF( outline_0_var_x ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; PyObject *tmp_called_instance_2; CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_append_list_1 = tmp_listcomp_1__contraction; CHECK_OBJECT( outline_0_var_x ); tmp_called_instance_2 = outline_0_var_x; frame_7a85646ff5c11425b451e508eaae9d7e_2->m_frame.f_lineno = 1414; tmp_append_value_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_strip ); if ( tmp_append_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1414; type_description_2 = "o"; goto try_except_handler_3; } assert( PyList_Check( tmp_append_list_1 ) ); tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 ); Py_DECREF( tmp_append_value_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1414; type_description_2 = "o"; goto try_except_handler_3; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1414; type_description_2 = "o"; goto try_except_handler_3; } goto loop_start_1; loop_end_1:; } { CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_assign_source_2 = tmp_listcomp_1__contraction; Py_INCREF( tmp_assign_source_2 ); goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select ); return NULL; // Return handler code: try_return_handler_3:; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { goto frame_return_exit_2; } // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_2; } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_7a85646ff5c11425b451e508eaae9d7e_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7a85646ff5c11425b451e508eaae9d7e_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_2; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7a85646ff5c11425b451e508eaae9d7e_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7a85646ff5c11425b451e508eaae9d7e_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7a85646ff5c11425b451e508eaae9d7e_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7a85646ff5c11425b451e508eaae9d7e_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7a85646ff5c11425b451e508eaae9d7e_2, type_description_2, outline_0_var_x ); // Release cached frame. if ( frame_7a85646ff5c11425b451e508eaae9d7e_2 == cache_frame_7a85646ff5c11425b451e508eaae9d7e_2 ) { Py_DECREF( frame_7a85646ff5c11425b451e508eaae9d7e_2 ); } cache_frame_7a85646ff5c11425b451e508eaae9d7e_2 = NULL; assertFrameObject( frame_7a85646ff5c11425b451e508eaae9d7e_2 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_2; skip_nested_handling_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select ); return NULL; // Return handler code: try_return_handler_2:; { Py_XDECREF( outline_0_var_x ); outline_0_var_x = NULL; } { goto outline_result_1; } // 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; { Py_XDECREF( outline_0_var_x ); outline_0_var_x = 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 outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select ); return NULL; outline_exception_1:; exception_lineno = 1414; goto frame_exception_exit_1; outline_result_1:; assert( var_selectors == NULL ); var_selectors = tmp_assign_source_2; } { PyObject *tmp_assign_source_7; tmp_assign_source_7 = PySet_New( NULL ); assert( var_used_selectors == NULL ); var_used_selectors = tmp_assign_source_7; } { PyObject *tmp_assign_source_8; tmp_assign_source_8 = PySet_New( NULL ); assert( var_selected_object_ids == NULL ); var_selected_object_ids = tmp_assign_source_8; } { PyObject *tmp_assign_source_9; PyObject *tmp_iter_arg_2; CHECK_OBJECT( var_selectors ); tmp_iter_arg_2 = var_selectors; tmp_assign_source_9 = MAKE_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1423; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_9; } { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_10; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_2 = tmp_for_loop_1__for_iterator; tmp_assign_source_10 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_10 == 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1423; goto try_except_handler_4; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_10; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_11; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_11 = tmp_for_loop_1__iter_value; { PyObject *old = var_partial_selector; var_partial_selector = tmp_assign_source_11; Py_INCREF( var_partial_selector ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( var_partial_selector ); tmp_compexpr_left_2 = var_partial_selector; tmp_compexpr_right_2 = const_str_empty; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1424; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; tmp_left_name_1 = const_str_digest_ef195fb3ec97462ded9bfdce00c128db; if ( par_selector == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "selector" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1425; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } tmp_right_name_1 = par_selector; tmp_make_exception_arg_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_make_exception_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1425; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1425; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } Py_DECREF( tmp_make_exception_arg_1 ); assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 1425; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } branch_no_2:; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; if ( var_partial_selector == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "partial_selector" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1426; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } tmp_compexpr_left_3 = var_partial_selector; if ( var_used_selectors == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "used_selectors" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1426; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } tmp_compexpr_right_3 = var_used_selectors; tmp_res = PySequence_Contains( tmp_compexpr_right_3, tmp_compexpr_left_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1426; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } tmp_condition_result_3 = ( tmp_res == 1 ) ? 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:; { goto loop_start_2; } branch_no_3:; } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; if ( var_used_selectors == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "used_selectors" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1428; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } tmp_source_name_1 = var_used_selectors; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_add ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1428; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } if ( var_partial_selector == 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", "partial_selector" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1428; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } tmp_args_element_name_1 = var_partial_selector; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1428; { 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 = 1428; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_12; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kw_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; if ( PyCell_GET( 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 = 1429; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } tmp_source_name_2 = PyCell_GET( par_self ); tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_select ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1429; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } if ( var_partial_selector == 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", "partial_selector" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1429; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } tmp_tuple_element_1 = var_partial_selector; tmp_args_name_1 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 ); tmp_dict_key_1 = const_str_plain_limit; if ( par_limit == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1429; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } tmp_dict_value_1 = par_limit; tmp_kw_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 ); assert( !(tmp_res != 0) ); frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1429; tmp_assign_source_12 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_name_1 ); Py_DECREF( tmp_kw_name_1 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1429; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } { PyObject *old = var_candidates; var_candidates = tmp_assign_source_12; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_13; PyObject *tmp_iter_arg_3; CHECK_OBJECT( var_candidates ); tmp_iter_arg_3 = var_candidates; tmp_assign_source_13 = MAKE_ITERATOR( tmp_iter_arg_3 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1430; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } { PyObject *old = tmp_for_loop_2__for_iterator; tmp_for_loop_2__for_iterator = tmp_assign_source_13; Py_XDECREF( old ); } } { // Tried code: { loop_start_3:; { PyObject *tmp_next_source_3; PyObject *tmp_assign_source_14; CHECK_OBJECT( tmp_for_loop_2__for_iterator ); tmp_next_source_3 = tmp_for_loop_2__for_iterator; tmp_assign_source_14 = ITERATOR_NEXT( tmp_next_source_3 ); if ( tmp_assign_source_14 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_3; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1430; goto try_except_handler_5; } } { PyObject *old = tmp_for_loop_2__iter_value; tmp_for_loop_2__iter_value = tmp_assign_source_14; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_15; CHECK_OBJECT( tmp_for_loop_2__iter_value ); tmp_assign_source_15 = tmp_for_loop_2__iter_value; { PyObject *old = var_candidate; var_candidate = tmp_assign_source_15; Py_INCREF( var_candidate ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_16; PyObject *tmp_id_arg_1; CHECK_OBJECT( var_candidate ); tmp_id_arg_1 = var_candidate; tmp_assign_source_16 = PyLong_FromVoidPtr( tmp_id_arg_1 ); if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1433; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_5; } { PyObject *old = var_object_id; var_object_id = tmp_assign_source_16; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT( var_object_id ); tmp_compexpr_left_4 = var_object_id; if ( var_selected_object_ids == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "selected_object_ids" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1434; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_5; } tmp_compexpr_right_4 = var_selected_object_ids; tmp_res = PySequence_Contains( tmp_compexpr_right_4, tmp_compexpr_left_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1434; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_5; } tmp_condition_result_4 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_2; if ( var_context == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "context" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1435; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_5; } tmp_source_name_3 = var_context; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_append ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1435; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_5; } if ( var_candidate == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "candidate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1435; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_5; } tmp_args_element_name_2 = var_candidate; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1435; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1435; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_5; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_4; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_3; if ( var_selected_object_ids == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "selected_object_ids" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1436; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_5; } tmp_source_name_4 = var_selected_object_ids; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_add ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1436; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_5; } if ( var_object_id == 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", "object_id" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1436; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_5; } tmp_args_element_name_3 = var_object_id; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1436; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1436; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_5; } Py_DECREF( tmp_unused ); } branch_no_4:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1430; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_5; } goto loop_start_3; loop_end_3:; } goto try_end_1; // Exception handler code: try_except_handler_5:; 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_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_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_4; } // End of try: try_end_1:; } { 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; } { nuitka_bool tmp_condition_result_5; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; int tmp_truth_name_1; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_len_arg_1; if ( par_limit == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1437; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } tmp_truth_name_1 = CHECK_IF_TRUE( par_limit ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1437; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } 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 ( var_context == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "context" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1437; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } tmp_len_arg_1 = var_context; tmp_compexpr_left_5 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1437; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } if ( par_limit == NULL ) { Py_DECREF( tmp_compexpr_left_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1437; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } tmp_compexpr_right_5 = par_limit; tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_5, tmp_compexpr_right_5 ); Py_DECREF( tmp_compexpr_left_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1437; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } tmp_and_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_5 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_5 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { goto loop_end_2; } branch_no_5:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1423; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_4; } goto loop_start_2; loop_end_2:; } goto try_end_2; // 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; { 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_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_2:; } { 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; } { if ( var_context == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "context" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1439; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_context; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_17; PyObject *tmp_called_name_5; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_4; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_shlex ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_shlex ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "shlex" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1440; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_1; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_split ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1440; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } if ( par_selector == 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", "selector" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1440; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_selector; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1440; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_assign_source_17 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); if ( tmp_assign_source_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1440; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } assert( var_tokens == NULL ); var_tokens = tmp_assign_source_17; } { PyObject *tmp_assign_source_18; PyObject *tmp_list_element_1; if ( PyCell_GET( 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 = 1441; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_list_element_1 = PyCell_GET( par_self ); tmp_assign_source_18 = PyList_New( 1 ); Py_INCREF( tmp_list_element_1 ); PyList_SET_ITEM( tmp_assign_source_18, 0, tmp_list_element_1 ); assert( var_current_context == NULL ); var_current_context = tmp_assign_source_18; } { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_source_name_6; CHECK_OBJECT( var_tokens ); tmp_subscribed_name_1 = var_tokens; tmp_subscript_name_1 = const_int_neg_1; tmp_compexpr_left_6 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, -1 ); if ( tmp_compexpr_left_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1443; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } if ( PyCell_GET( par_self ) == NULL ) { Py_DECREF( tmp_compexpr_left_6 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1443; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = PyCell_GET( par_self ); tmp_compexpr_right_6 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain__selector_combinators ); if ( tmp_compexpr_right_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_6 ); exception_lineno = 1443; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_res = PySequence_Contains( tmp_compexpr_right_6, tmp_compexpr_left_6 ); Py_DECREF( tmp_compexpr_left_6 ); Py_DECREF( tmp_compexpr_right_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1443; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_condition_result_6 = ( tmp_res == 1 ) ? 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_raise_type_2; PyObject *tmp_make_exception_arg_2; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; tmp_left_name_2 = const_str_digest_bc3a1bdfcd007e6e3cd02fbd436a94c4; if ( var_tokens == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tokens" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1445; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = var_tokens; tmp_subscript_name_2 = const_int_neg_1; tmp_right_name_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, -1 ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1445; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_make_exception_arg_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_make_exception_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1445; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1444; { PyObject *call_args[] = { tmp_make_exception_arg_2 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } Py_DECREF( tmp_make_exception_arg_2 ); assert( !(tmp_raise_type_2 == NULL) ); exception_type = tmp_raise_type_2; exception_lineno = 1444; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } branch_no_6:; } { nuitka_bool tmp_condition_result_7; PyObject *tmp_source_name_7; PyObject *tmp_attribute_value_1; int tmp_truth_name_2; if ( PyCell_GET( 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 = 1447; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_source_name_7 = PyCell_GET( par_self ); tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain__select_debug ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1447; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; 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( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_1 ); exception_lineno = 1447; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_condition_result_7 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_1 ); if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_called_name_6; PyObject *tmp_args_element_name_5; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; tmp_called_name_6 = LOOKUP_BUILTIN( const_str_plain_print ); assert( tmp_called_name_6 != NULL ); tmp_left_name_3 = const_str_digest_a803aeaeff5d56a2f9b888d2c7f7783c; if ( par_selector == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "selector" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1448; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_right_name_3 = par_selector; tmp_args_element_name_5 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 ); if ( tmp_args_element_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1448; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1448; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_args_element_name_5 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1448; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_7:; } { PyObject *tmp_assign_source_19; PyObject *tmp_iter_arg_4; PyObject *tmp_called_name_7; PyObject *tmp_args_element_name_6; tmp_called_name_7 = (PyObject *)&PyEnum_Type; if ( var_tokens == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tokens" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1450; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = var_tokens; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1450; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_iter_arg_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } if ( tmp_iter_arg_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1450; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_assign_source_19 = MAKE_ITERATOR( tmp_iter_arg_4 ); Py_DECREF( tmp_iter_arg_4 ); if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1450; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_3__for_iterator == NULL ); tmp_for_loop_3__for_iterator = tmp_assign_source_19; } { // Tried code: { loop_start_4:; { PyObject *tmp_next_source_4; PyObject *tmp_assign_source_20; CHECK_OBJECT( tmp_for_loop_3__for_iterator ); tmp_next_source_4 = tmp_for_loop_3__for_iterator; tmp_assign_source_20 = ITERATOR_NEXT( tmp_next_source_4 ); if ( tmp_assign_source_20 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_4; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1450; goto try_except_handler_6; } } { PyObject *old = tmp_for_loop_3__iter_value; tmp_for_loop_3__iter_value = tmp_assign_source_20; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_21; PyObject *tmp_iter_arg_5; CHECK_OBJECT( tmp_for_loop_3__iter_value ); tmp_iter_arg_5 = tmp_for_loop_3__iter_value; tmp_assign_source_21 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_5 ); if ( tmp_assign_source_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1450; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_7; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_21; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_22; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_22 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_22 == 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1450; goto try_except_handler_8; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_22; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_23; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_23 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_23 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1450; goto try_except_handler_8; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_23; 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1450; 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 ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1450; goto try_except_handler_8; } } goto try_end_3; // Exception handler code: try_except_handler_8:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { 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_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_7; } // End of try: try_end_3:; } goto try_end_4; // Exception handler code: try_except_handler_7:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { 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_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto try_except_handler_6; } // End of try: try_end_4:; } { 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_24; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_24 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_index; var_index = tmp_assign_source_24; Py_INCREF( var_index ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_25; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_25 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_token; var_token = tmp_assign_source_25; Py_INCREF( var_token ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_assign_source_26; tmp_assign_source_26 = PyList_New( 0 ); { PyObject *old = var_new_context; var_new_context = tmp_assign_source_26; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_27; tmp_assign_source_27 = PySet_New( NULL ); { PyObject *old = var_new_context_ids; var_new_context_ids = tmp_assign_source_27; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_8; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_source_name_8; if ( var_tokens == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tokens" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1454; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_subscribed_name_3 = var_tokens; if ( var_index == NULL ) { 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 = 1454; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_left_name_4 = var_index; tmp_right_name_4 = const_int_pos_1; tmp_subscript_name_3 = BINARY_OPERATION_SUB( tmp_left_name_4, tmp_right_name_4 ); if ( tmp_subscript_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1454; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_compexpr_left_7 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); Py_DECREF( tmp_subscript_name_3 ); if ( tmp_compexpr_left_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1454; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } if ( PyCell_GET( par_self ) == NULL ) { Py_DECREF( tmp_compexpr_left_7 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1454; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_source_name_8 = PyCell_GET( par_self ); tmp_compexpr_right_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain__selector_combinators ); if ( tmp_compexpr_right_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_7 ); exception_lineno = 1454; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_res = PySequence_Contains( tmp_compexpr_right_7, tmp_compexpr_left_7 ); Py_DECREF( tmp_compexpr_left_7 ); Py_DECREF( tmp_compexpr_right_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1454; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_8 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { nuitka_bool tmp_condition_result_9; PyObject *tmp_source_name_9; PyObject *tmp_attribute_value_2; int tmp_truth_name_3; if ( PyCell_GET( 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 = 1456; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_source_name_9 = PyCell_GET( par_self ); tmp_attribute_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain__select_debug ); if ( tmp_attribute_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1456; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_truth_name_3 = CHECK_IF_TRUE( tmp_attribute_value_2 ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_2 ); exception_lineno = 1456; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_9 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_2 ); if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { PyObject *tmp_called_name_8; tmp_called_name_8 = LOOKUP_BUILTIN( const_str_plain_print ); assert( tmp_called_name_8 != NULL ); frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1457; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, &PyTuple_GET_ITEM( const_tuple_str_digest_6bc063f0f9ce8ab6d1903b89e48ee482_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1457; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } Py_DECREF( tmp_unused ); } branch_no_9:; } { goto loop_start_4; } branch_no_8:; } { nuitka_bool tmp_condition_result_10; PyObject *tmp_source_name_10; PyObject *tmp_attribute_value_3; int tmp_truth_name_4; if ( PyCell_GET( 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 = 1460; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_source_name_10 = PyCell_GET( par_self ); tmp_attribute_value_3 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain__select_debug ); if ( tmp_attribute_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1460; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_truth_name_4 = CHECK_IF_TRUE( tmp_attribute_value_3 ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_3 ); exception_lineno = 1460; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_10 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_3 ); if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { PyObject *tmp_called_name_9; PyObject *tmp_args_element_name_7; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; tmp_called_name_9 = LOOKUP_BUILTIN( const_str_plain_print ); assert( tmp_called_name_9 != NULL ); tmp_left_name_5 = const_str_digest_769b1a8bf656b41ab6946e538c79a879; if ( var_token == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1461; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_right_name_5 = var_token; tmp_args_element_name_7 = BINARY_OPERATION_REMAINDER( tmp_left_name_5, tmp_right_name_5 ); if ( tmp_args_element_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1461; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1461; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args ); } Py_DECREF( tmp_args_element_name_7 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1461; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } Py_DECREF( tmp_unused ); } branch_no_10:; } { PyObject *tmp_assign_source_28; tmp_assign_source_28 = Py_None; { PyObject *old = PyCell_GET( var_recursive_candidate_generator ); PyCell_SET( var_recursive_candidate_generator, tmp_assign_source_28 ); Py_INCREF( tmp_assign_source_28 ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_29; tmp_assign_source_29 = Py_None; { PyObject *old = PyCell_GET( var_tag_name ); PyCell_SET( var_tag_name, tmp_assign_source_29 ); Py_INCREF( tmp_assign_source_29 ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_30; tmp_assign_source_30 = Py_None; { PyObject *old = var_checker; var_checker = tmp_assign_source_30; Py_INCREF( var_checker ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_31; PyObject *tmp_called_name_10; PyObject *tmp_source_name_11; PyObject *tmp_source_name_12; PyObject *tmp_args_element_name_8; if ( PyCell_GET( 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 = 1471; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_source_name_12 = PyCell_GET( par_self ); tmp_source_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_attribselect_re ); if ( tmp_source_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1471; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_called_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_match ); Py_DECREF( tmp_source_name_11 ); if ( tmp_called_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1471; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } if ( var_token == NULL ) { Py_DECREF( tmp_called_name_10 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1471; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_args_element_name_8 = var_token; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1471; { PyObject *call_args[] = { tmp_args_element_name_8 }; tmp_assign_source_31 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_10, call_args ); } Py_DECREF( tmp_called_name_10 ); if ( tmp_assign_source_31 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1471; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } { PyObject *old = var_m; var_m = tmp_assign_source_31; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_11; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; CHECK_OBJECT( var_m ); tmp_compexpr_left_8 = var_m; tmp_compexpr_right_8 = Py_None; tmp_condition_result_11 = ( tmp_compexpr_left_8 != tmp_compexpr_right_8 ) ? 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:; { // Tried code: { PyObject *tmp_assign_source_32; PyObject *tmp_iter_arg_6; PyObject *tmp_called_instance_3; if ( var_m == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "m" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1474; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_9; } tmp_called_instance_3 = var_m; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1474; tmp_iter_arg_6 = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_groups ); if ( tmp_iter_arg_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1474; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_9; } tmp_assign_source_32 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_6 ); Py_DECREF( tmp_iter_arg_6 ); if ( tmp_assign_source_32 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1474; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_9; } { PyObject *old = tmp_tuple_unpack_2__source_iter; tmp_tuple_unpack_2__source_iter = tmp_assign_source_32; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_33; PyObject *tmp_unpack_3; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_3 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_33 = UNPACK_NEXT( tmp_unpack_3, 0, 4 ); 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 ); } type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1474; goto try_except_handler_10; } { PyObject *old = tmp_tuple_unpack_2__element_1; tmp_tuple_unpack_2__element_1 = tmp_assign_source_33; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_34; PyObject *tmp_unpack_4; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_34 = UNPACK_NEXT( tmp_unpack_4, 1, 4 ); if ( tmp_assign_source_34 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1474; goto try_except_handler_10; } { PyObject *old = tmp_tuple_unpack_2__element_2; tmp_tuple_unpack_2__element_2 = tmp_assign_source_34; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_35; PyObject *tmp_unpack_5; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_5 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_35 = UNPACK_NEXT( tmp_unpack_5, 2, 4 ); if ( tmp_assign_source_35 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1474; goto try_except_handler_10; } { PyObject *old = tmp_tuple_unpack_2__element_3; tmp_tuple_unpack_2__element_3 = tmp_assign_source_35; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_36; PyObject *tmp_unpack_6; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_6 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_36 = UNPACK_NEXT( tmp_unpack_6, 3, 4 ); if ( tmp_assign_source_36 == 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1474; goto try_except_handler_10; } { PyObject *old = tmp_tuple_unpack_2__element_4; tmp_tuple_unpack_2__element_4 = tmp_assign_source_36; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_2; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_2 ); assert( HAS_ITERNEXT( tmp_iterator_name_2 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_2 )->tp_iternext)( tmp_iterator_name_2 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1474; goto try_except_handler_10; } } } else { Py_DECREF( tmp_iterator_attempt ); // TODO: Could avoid PyErr_Format. #if PYTHON_VERSION < 300 PyErr_Format( PyExc_ValueError, "too many values to unpack" ); #else PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 4)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1474; goto try_except_handler_10; } } goto try_end_5; // Exception handler code: try_except_handler_10:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto try_except_handler_9; } // End of try: try_end_5:; } goto try_end_6; // Exception handler code: try_except_handler_9:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { Py_XDECREF( tmp_tuple_unpack_2__element_3 ); tmp_tuple_unpack_2__element_3 = NULL; } { Py_XDECREF( tmp_tuple_unpack_2__element_4 ); tmp_tuple_unpack_2__element_4 = NULL; } { // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto try_except_handler_6; } // End of try: try_end_6:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { PyObject *tmp_assign_source_37; CHECK_OBJECT( tmp_tuple_unpack_2__element_1 ); tmp_assign_source_37 = tmp_tuple_unpack_2__element_1; { PyObject *old = PyCell_GET( var_tag_name ); PyCell_SET( var_tag_name, tmp_assign_source_37 ); Py_INCREF( tmp_assign_source_37 ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { PyObject *tmp_assign_source_38; CHECK_OBJECT( tmp_tuple_unpack_2__element_2 ); tmp_assign_source_38 = tmp_tuple_unpack_2__element_2; { PyObject *old = var_attribute; var_attribute = tmp_assign_source_38; Py_INCREF( var_attribute ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { PyObject *tmp_assign_source_39; CHECK_OBJECT( tmp_tuple_unpack_2__element_3 ); tmp_assign_source_39 = tmp_tuple_unpack_2__element_3; { PyObject *old = var_operator; var_operator = tmp_assign_source_39; Py_INCREF( var_operator ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_3 ); tmp_tuple_unpack_2__element_3 = NULL; } { PyObject *tmp_assign_source_40; CHECK_OBJECT( tmp_tuple_unpack_2__element_4 ); tmp_assign_source_40 = tmp_tuple_unpack_2__element_4; { PyObject *old = var_value; var_value = tmp_assign_source_40; Py_INCREF( var_value ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_4 ); tmp_tuple_unpack_2__element_4 = NULL; } { PyObject *tmp_assign_source_41; PyObject *tmp_called_name_11; PyObject *tmp_source_name_13; PyObject *tmp_args_element_name_9; PyObject *tmp_args_element_name_10; PyObject *tmp_args_element_name_11; if ( PyCell_GET( 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 = 1475; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_source_name_13 = PyCell_GET( par_self ); tmp_called_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain__attribute_checker ); if ( tmp_called_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1475; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } if ( var_operator == NULL ) { Py_DECREF( tmp_called_name_11 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "operator" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1475; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_args_element_name_9 = var_operator; if ( var_attribute == NULL ) { Py_DECREF( tmp_called_name_11 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attribute" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1475; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_args_element_name_10 = var_attribute; if ( var_value == NULL ) { Py_DECREF( tmp_called_name_11 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1475; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_args_element_name_11 = var_value; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1475; { PyObject *call_args[] = { tmp_args_element_name_9, tmp_args_element_name_10, tmp_args_element_name_11 }; tmp_assign_source_41 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_11, call_args ); } Py_DECREF( tmp_called_name_11 ); if ( tmp_assign_source_41 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1475; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } { PyObject *old = var_checker; var_checker = tmp_assign_source_41; Py_XDECREF( old ); } } goto branch_end_11; branch_no_11:; { nuitka_bool tmp_condition_result_12; PyObject *tmp_compexpr_left_9; PyObject *tmp_compexpr_right_9; tmp_compexpr_left_9 = const_str_chr_35; if ( var_token == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1477; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_compexpr_right_9 = var_token; tmp_res = PySequence_Contains( tmp_compexpr_right_9, tmp_compexpr_left_9 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1477; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_12 = ( 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:; { // Tried code: { PyObject *tmp_assign_source_42; PyObject *tmp_iter_arg_7; PyObject *tmp_called_instance_4; if ( var_token == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1479; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_11; } tmp_called_instance_4 = var_token; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1479; tmp_iter_arg_7 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_4, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_35_int_pos_1_tuple, 0 ) ); if ( tmp_iter_arg_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1479; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_11; } tmp_assign_source_42 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_7 ); Py_DECREF( tmp_iter_arg_7 ); if ( tmp_assign_source_42 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1479; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_11; } { PyObject *old = tmp_tuple_unpack_3__source_iter; tmp_tuple_unpack_3__source_iter = tmp_assign_source_42; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_43; PyObject *tmp_unpack_7; CHECK_OBJECT( tmp_tuple_unpack_3__source_iter ); tmp_unpack_7 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_43 = UNPACK_NEXT( tmp_unpack_7, 0, 2 ); if ( tmp_assign_source_43 == 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1479; goto try_except_handler_12; } { PyObject *old = tmp_tuple_unpack_3__element_1; tmp_tuple_unpack_3__element_1 = tmp_assign_source_43; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_44; PyObject *tmp_unpack_8; CHECK_OBJECT( tmp_tuple_unpack_3__source_iter ); tmp_unpack_8 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_44 = UNPACK_NEXT( tmp_unpack_8, 1, 2 ); if ( tmp_assign_source_44 == 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1479; goto try_except_handler_12; } { PyObject *old = tmp_tuple_unpack_3__element_2; tmp_tuple_unpack_3__element_2 = tmp_assign_source_44; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_3; CHECK_OBJECT( tmp_tuple_unpack_3__source_iter ); tmp_iterator_name_3 = tmp_tuple_unpack_3__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_3 ); assert( HAS_ITERNEXT( tmp_iterator_name_3 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_3 )->tp_iternext)( tmp_iterator_name_3 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1479; goto try_except_handler_12; } } } 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1479; goto try_except_handler_12; } } goto try_end_7; // Exception handler code: try_except_handler_12:; 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; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_3__source_iter ); Py_DECREF( tmp_tuple_unpack_3__source_iter ); tmp_tuple_unpack_3__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_9; exception_value = exception_keeper_value_9; exception_tb = exception_keeper_tb_9; exception_lineno = exception_keeper_lineno_9; goto try_except_handler_11; } // End of try: try_end_7:; } goto try_end_8; // Exception handler code: try_except_handler_11:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_3__element_1 ); tmp_tuple_unpack_3__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_3__element_2 ); tmp_tuple_unpack_3__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto try_except_handler_6; } // End of try: try_end_8:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_3__source_iter ); Py_DECREF( tmp_tuple_unpack_3__source_iter ); tmp_tuple_unpack_3__source_iter = NULL; } { PyObject *tmp_assign_source_45; CHECK_OBJECT( tmp_tuple_unpack_3__element_1 ); tmp_assign_source_45 = tmp_tuple_unpack_3__element_1; { PyObject *old = PyCell_GET( var_tag_name ); PyCell_SET( var_tag_name, tmp_assign_source_45 ); Py_INCREF( tmp_assign_source_45 ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_3__element_1 ); tmp_tuple_unpack_3__element_1 = NULL; } { PyObject *tmp_assign_source_46; CHECK_OBJECT( tmp_tuple_unpack_3__element_2 ); tmp_assign_source_46 = tmp_tuple_unpack_3__element_2; { PyObject *old = PyCell_GET( var_tag_id ); PyCell_SET( var_tag_id, tmp_assign_source_46 ); Py_INCREF( tmp_assign_source_46 ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_3__element_2 ); tmp_tuple_unpack_3__element_2 = NULL; } { PyObject *tmp_assign_source_47; tmp_assign_source_47 = MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_1_id_matches( ); ((struct Nuitka_FunctionObject *)tmp_assign_source_47)->m_closure[0] = var_tag_id; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_47)->m_closure[0] ); { PyObject *old = var_id_matches; var_id_matches = tmp_assign_source_47; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_48; CHECK_OBJECT( var_id_matches ); tmp_assign_source_48 = var_id_matches; { PyObject *old = var_checker; var_checker = tmp_assign_source_48; Py_INCREF( var_checker ); Py_XDECREF( old ); } } goto branch_end_12; branch_no_12:; { nuitka_bool tmp_condition_result_13; PyObject *tmp_compexpr_left_10; PyObject *tmp_compexpr_right_10; tmp_compexpr_left_10 = const_str_dot; if ( var_token == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1484; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_compexpr_right_10 = var_token; tmp_res = PySequence_Contains( tmp_compexpr_right_10, tmp_compexpr_left_10 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1484; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_13 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE ) { goto branch_yes_13; } else { goto branch_no_13; } branch_yes_13:; { // Tried code: { PyObject *tmp_assign_source_49; PyObject *tmp_iter_arg_8; PyObject *tmp_called_instance_5; if ( var_token == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1486; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_13; } tmp_called_instance_5 = var_token; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1486; tmp_iter_arg_8 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_5, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_dot_int_pos_1_tuple, 0 ) ); if ( tmp_iter_arg_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1486; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_13; } tmp_assign_source_49 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_8 ); Py_DECREF( tmp_iter_arg_8 ); if ( tmp_assign_source_49 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1486; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_13; } { PyObject *old = tmp_tuple_unpack_4__source_iter; tmp_tuple_unpack_4__source_iter = tmp_assign_source_49; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_50; PyObject *tmp_unpack_9; CHECK_OBJECT( tmp_tuple_unpack_4__source_iter ); tmp_unpack_9 = tmp_tuple_unpack_4__source_iter; tmp_assign_source_50 = UNPACK_NEXT( tmp_unpack_9, 0, 2 ); if ( tmp_assign_source_50 == 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1486; goto try_except_handler_14; } { PyObject *old = tmp_tuple_unpack_4__element_1; tmp_tuple_unpack_4__element_1 = tmp_assign_source_50; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_51; PyObject *tmp_unpack_10; CHECK_OBJECT( tmp_tuple_unpack_4__source_iter ); tmp_unpack_10 = tmp_tuple_unpack_4__source_iter; tmp_assign_source_51 = UNPACK_NEXT( tmp_unpack_10, 1, 2 ); if ( tmp_assign_source_51 == 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1486; goto try_except_handler_14; } { PyObject *old = tmp_tuple_unpack_4__element_2; tmp_tuple_unpack_4__element_2 = tmp_assign_source_51; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_4; CHECK_OBJECT( tmp_tuple_unpack_4__source_iter ); tmp_iterator_name_4 = tmp_tuple_unpack_4__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_4 ); assert( HAS_ITERNEXT( tmp_iterator_name_4 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_4 )->tp_iternext)( tmp_iterator_name_4 ); 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1486; goto try_except_handler_14; } } } 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1486; goto try_except_handler_14; } } goto try_end_9; // Exception handler code: try_except_handler_14:; 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; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_4__source_iter ); Py_DECREF( tmp_tuple_unpack_4__source_iter ); tmp_tuple_unpack_4__source_iter = 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 try_except_handler_13; } // End of try: try_end_9:; } goto try_end_10; // Exception handler code: try_except_handler_13:; 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_XDECREF( tmp_tuple_unpack_4__element_1 ); tmp_tuple_unpack_4__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_4__element_2 ); tmp_tuple_unpack_4__element_2 = 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_6; } // End of try: try_end_10:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_4__source_iter ); Py_DECREF( tmp_tuple_unpack_4__source_iter ); tmp_tuple_unpack_4__source_iter = NULL; } { PyObject *tmp_assign_source_52; CHECK_OBJECT( tmp_tuple_unpack_4__element_1 ); tmp_assign_source_52 = tmp_tuple_unpack_4__element_1; { PyObject *old = PyCell_GET( var_tag_name ); PyCell_SET( var_tag_name, tmp_assign_source_52 ); Py_INCREF( tmp_assign_source_52 ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_4__element_1 ); tmp_tuple_unpack_4__element_1 = NULL; } { PyObject *tmp_assign_source_53; CHECK_OBJECT( tmp_tuple_unpack_4__element_2 ); tmp_assign_source_53 = tmp_tuple_unpack_4__element_2; { PyObject *old = var_klass; var_klass = tmp_assign_source_53; Py_INCREF( var_klass ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_4__element_2 ); tmp_tuple_unpack_4__element_2 = NULL; } { PyObject *tmp_assign_source_54; PyObject *tmp_set_arg_1; PyObject *tmp_called_instance_6; if ( var_klass == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "klass" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1487; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_called_instance_6 = var_klass; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1487; tmp_set_arg_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_6, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_dot_tuple, 0 ) ); if ( tmp_set_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1487; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_assign_source_54 = PySet_New( tmp_set_arg_1 ); Py_DECREF( tmp_set_arg_1 ); if ( tmp_assign_source_54 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1487; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } { PyObject *old = PyCell_GET( var_classes ); PyCell_SET( var_classes, tmp_assign_source_54 ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_55; tmp_assign_source_55 = MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_2_classes_match( ); ((struct Nuitka_FunctionObject *)tmp_assign_source_55)->m_closure[0] = var_classes; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_55)->m_closure[0] ); { PyObject *old = var_classes_match; var_classes_match = tmp_assign_source_55; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_56; CHECK_OBJECT( var_classes_match ); tmp_assign_source_56 = var_classes_match; { PyObject *old = var_checker; var_checker = tmp_assign_source_56; Py_INCREF( var_checker ); Py_XDECREF( old ); } } goto branch_end_13; branch_no_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; PyObject *tmp_compexpr_left_11; PyObject *tmp_compexpr_right_11; PyObject *tmp_operand_name_1; PyObject *tmp_called_name_12; PyObject *tmp_source_name_14; PyObject *tmp_source_name_15; PyObject *tmp_args_element_name_12; tmp_compexpr_left_11 = const_str_chr_58; if ( var_token == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1492; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_compexpr_right_11 = var_token; tmp_res = PySequence_Contains( tmp_compexpr_right_11, tmp_compexpr_left_11 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1492; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_and_left_value_2 = ( tmp_res == 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 ( PyCell_GET( 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 = 1492; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_source_name_15 = PyCell_GET( par_self ); tmp_source_name_14 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_quoted_colon ); if ( tmp_source_name_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1492; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_called_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_search ); Py_DECREF( tmp_source_name_14 ); if ( tmp_called_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1492; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } if ( var_token == NULL ) { Py_DECREF( tmp_called_name_12 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1492; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_args_element_name_12 = var_token; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1492; { PyObject *call_args[] = { tmp_args_element_name_12 }; tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_12, call_args ); } Py_DECREF( tmp_called_name_12 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1492; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } 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 = 1492; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_and_right_value_2 = ( 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:; { // Tried code: { PyObject *tmp_assign_source_57; PyObject *tmp_iter_arg_9; PyObject *tmp_called_instance_7; if ( var_token == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1494; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_15; } tmp_called_instance_7 = var_token; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1494; tmp_iter_arg_9 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_7, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_58_int_pos_1_tuple, 0 ) ); if ( tmp_iter_arg_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1494; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_15; } tmp_assign_source_57 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_9 ); Py_DECREF( tmp_iter_arg_9 ); if ( tmp_assign_source_57 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1494; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_15; } { PyObject *old = tmp_tuple_unpack_5__source_iter; tmp_tuple_unpack_5__source_iter = tmp_assign_source_57; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_58; PyObject *tmp_unpack_11; CHECK_OBJECT( tmp_tuple_unpack_5__source_iter ); tmp_unpack_11 = tmp_tuple_unpack_5__source_iter; tmp_assign_source_58 = UNPACK_NEXT( tmp_unpack_11, 0, 2 ); if ( tmp_assign_source_58 == 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1494; goto try_except_handler_16; } { PyObject *old = tmp_tuple_unpack_5__element_1; tmp_tuple_unpack_5__element_1 = tmp_assign_source_58; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_59; PyObject *tmp_unpack_12; CHECK_OBJECT( tmp_tuple_unpack_5__source_iter ); tmp_unpack_12 = tmp_tuple_unpack_5__source_iter; tmp_assign_source_59 = UNPACK_NEXT( tmp_unpack_12, 1, 2 ); if ( tmp_assign_source_59 == 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1494; goto try_except_handler_16; } { PyObject *old = tmp_tuple_unpack_5__element_2; tmp_tuple_unpack_5__element_2 = tmp_assign_source_59; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_5; CHECK_OBJECT( tmp_tuple_unpack_5__source_iter ); tmp_iterator_name_5 = tmp_tuple_unpack_5__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_5 ); assert( HAS_ITERNEXT( tmp_iterator_name_5 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_5 )->tp_iternext)( tmp_iterator_name_5 ); 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1494; goto try_except_handler_16; } } } 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1494; goto try_except_handler_16; } } goto try_end_11; // Exception handler code: try_except_handler_16:; 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; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_5__source_iter ); Py_DECREF( tmp_tuple_unpack_5__source_iter ); tmp_tuple_unpack_5__source_iter = NULL; } { // 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 try_except_handler_15; } // End of try: try_end_11:; } goto try_end_12; // Exception handler code: try_except_handler_15:; 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_tuple_unpack_5__element_1 ); tmp_tuple_unpack_5__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_5__element_2 ); tmp_tuple_unpack_5__element_2 = 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 try_except_handler_6; } // End of try: try_end_12:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_5__source_iter ); Py_DECREF( tmp_tuple_unpack_5__source_iter ); tmp_tuple_unpack_5__source_iter = NULL; } { PyObject *tmp_assign_source_60; CHECK_OBJECT( tmp_tuple_unpack_5__element_1 ); tmp_assign_source_60 = tmp_tuple_unpack_5__element_1; { PyObject *old = PyCell_GET( var_tag_name ); PyCell_SET( var_tag_name, tmp_assign_source_60 ); Py_INCREF( tmp_assign_source_60 ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_5__element_1 ); tmp_tuple_unpack_5__element_1 = NULL; } { PyObject *tmp_assign_source_61; CHECK_OBJECT( tmp_tuple_unpack_5__element_2 ); tmp_assign_source_61 = tmp_tuple_unpack_5__element_2; { PyObject *old = var_pseudo; var_pseudo = tmp_assign_source_61; Py_INCREF( var_pseudo ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_5__element_2 ); tmp_tuple_unpack_5__element_2 = NULL; } { nuitka_bool tmp_condition_result_15; PyObject *tmp_compexpr_left_12; PyObject *tmp_compexpr_right_12; if ( PyCell_GET( var_tag_name ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1495; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_compexpr_left_12 = PyCell_GET( var_tag_name ); tmp_compexpr_right_12 = const_str_empty; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_12, tmp_compexpr_right_12 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1495; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_15 = ( tmp_res != 0 ) ? 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_raise_type_3; PyObject *tmp_make_exception_arg_3; tmp_make_exception_arg_3 = const_str_digest_12b7bc2a8ff34d78cbeb5f117447fd2b; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1496; { PyObject *call_args[] = { tmp_make_exception_arg_3 }; tmp_raise_type_3 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_3 == NULL) ); exception_type = tmp_raise_type_3; exception_lineno = 1496; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } branch_no_15:; } { PyObject *tmp_assign_source_62; PyObject *tmp_called_name_13; PyObject *tmp_source_name_16; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_13; PyObject *tmp_args_element_name_14; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (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 = 1498; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_source_name_16 = tmp_mvar_value_2; tmp_called_name_13 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_match ); if ( tmp_called_name_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1498; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_args_element_name_13 = const_str_digest_ffbf7dc82d9a4b9db7ccc636ccdba881; if ( var_pseudo == NULL ) { Py_DECREF( tmp_called_name_13 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pseudo" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1498; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_args_element_name_14 = var_pseudo; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1498; { PyObject *call_args[] = { tmp_args_element_name_13, tmp_args_element_name_14 }; tmp_assign_source_62 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_13, call_args ); } Py_DECREF( tmp_called_name_13 ); if ( tmp_assign_source_62 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1498; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } { PyObject *old = var_pseudo_attributes; var_pseudo_attributes = tmp_assign_source_62; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_63; tmp_assign_source_63 = PyList_New( 0 ); { PyObject *old = var_found; var_found = tmp_assign_source_63; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_16; PyObject *tmp_compexpr_left_13; PyObject *tmp_compexpr_right_13; CHECK_OBJECT( var_pseudo_attributes ); tmp_compexpr_left_13 = var_pseudo_attributes; tmp_compexpr_right_13 = Py_None; tmp_condition_result_16 = ( tmp_compexpr_left_13 == tmp_compexpr_right_13 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE ) { goto branch_yes_16; } else { goto branch_no_16; } branch_yes_16:; { PyObject *tmp_assign_source_64; if ( var_pseudo == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pseudo" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1501; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_assign_source_64 = var_pseudo; { PyObject *old = var_pseudo_type; var_pseudo_type = tmp_assign_source_64; Py_INCREF( var_pseudo_type ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_65; tmp_assign_source_65 = Py_None; { PyObject *old = var_pseudo_value; var_pseudo_value = tmp_assign_source_65; Py_INCREF( var_pseudo_value ); Py_XDECREF( old ); } } goto branch_end_16; branch_no_16:; { // Tried code: { PyObject *tmp_assign_source_66; PyObject *tmp_iter_arg_10; PyObject *tmp_called_instance_8; if ( var_pseudo_attributes == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pseudo_attributes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1504; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_17; } tmp_called_instance_8 = var_pseudo_attributes; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1504; tmp_iter_arg_10 = CALL_METHOD_NO_ARGS( tmp_called_instance_8, const_str_plain_groups ); if ( tmp_iter_arg_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1504; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_17; } tmp_assign_source_66 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_10 ); Py_DECREF( tmp_iter_arg_10 ); if ( tmp_assign_source_66 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1504; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_17; } { PyObject *old = tmp_tuple_unpack_6__source_iter; tmp_tuple_unpack_6__source_iter = tmp_assign_source_66; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_67; PyObject *tmp_unpack_13; CHECK_OBJECT( tmp_tuple_unpack_6__source_iter ); tmp_unpack_13 = tmp_tuple_unpack_6__source_iter; tmp_assign_source_67 = UNPACK_NEXT( tmp_unpack_13, 0, 2 ); if ( tmp_assign_source_67 == 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1504; goto try_except_handler_18; } { PyObject *old = tmp_tuple_unpack_6__element_1; tmp_tuple_unpack_6__element_1 = tmp_assign_source_67; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_68; PyObject *tmp_unpack_14; CHECK_OBJECT( tmp_tuple_unpack_6__source_iter ); tmp_unpack_14 = tmp_tuple_unpack_6__source_iter; tmp_assign_source_68 = UNPACK_NEXT( tmp_unpack_14, 1, 2 ); if ( tmp_assign_source_68 == 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1504; goto try_except_handler_18; } { PyObject *old = tmp_tuple_unpack_6__element_2; tmp_tuple_unpack_6__element_2 = tmp_assign_source_68; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_6; CHECK_OBJECT( tmp_tuple_unpack_6__source_iter ); tmp_iterator_name_6 = tmp_tuple_unpack_6__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_6 ); assert( HAS_ITERNEXT( tmp_iterator_name_6 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_6 )->tp_iternext)( tmp_iterator_name_6 ); 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1504; goto try_except_handler_18; } } } 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 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1504; goto try_except_handler_18; } } goto try_end_13; // Exception handler code: try_except_handler_18:; exception_keeper_type_15 = exception_type; exception_keeper_value_15 = exception_value; exception_keeper_tb_15 = exception_tb; exception_keeper_lineno_15 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_6__source_iter ); Py_DECREF( tmp_tuple_unpack_6__source_iter ); tmp_tuple_unpack_6__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_15; exception_value = exception_keeper_value_15; exception_tb = exception_keeper_tb_15; exception_lineno = exception_keeper_lineno_15; goto try_except_handler_17; } // End of try: try_end_13:; } goto try_end_14; // Exception handler code: try_except_handler_17:; exception_keeper_type_16 = exception_type; exception_keeper_value_16 = exception_value; exception_keeper_tb_16 = exception_tb; exception_keeper_lineno_16 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_6__element_1 ); tmp_tuple_unpack_6__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_6__element_2 ); tmp_tuple_unpack_6__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_16; exception_value = exception_keeper_value_16; exception_tb = exception_keeper_tb_16; exception_lineno = exception_keeper_lineno_16; goto try_except_handler_6; } // End of try: try_end_14:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_6__source_iter ); Py_DECREF( tmp_tuple_unpack_6__source_iter ); tmp_tuple_unpack_6__source_iter = NULL; } { PyObject *tmp_assign_source_69; CHECK_OBJECT( tmp_tuple_unpack_6__element_1 ); tmp_assign_source_69 = tmp_tuple_unpack_6__element_1; { PyObject *old = var_pseudo_type; var_pseudo_type = tmp_assign_source_69; Py_INCREF( var_pseudo_type ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_6__element_1 ); tmp_tuple_unpack_6__element_1 = NULL; } { PyObject *tmp_assign_source_70; CHECK_OBJECT( tmp_tuple_unpack_6__element_2 ); tmp_assign_source_70 = tmp_tuple_unpack_6__element_2; { PyObject *old = var_pseudo_value; var_pseudo_value = tmp_assign_source_70; Py_INCREF( var_pseudo_value ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_6__element_2 ); tmp_tuple_unpack_6__element_2 = NULL; } branch_end_16:; } { nuitka_bool tmp_condition_result_17; PyObject *tmp_compexpr_left_14; PyObject *tmp_compexpr_right_14; if ( var_pseudo_type == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pseudo_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1505; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_compexpr_left_14 = var_pseudo_type; tmp_compexpr_right_14 = const_str_digest_bc241a3f1ceee87df66a7de9c300b6ec; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_14, tmp_compexpr_right_14 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1505; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_17 = ( tmp_res != 0 ) ? 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:; { // Tried code: { PyObject *tmp_assign_source_71; PyObject *tmp_int_arg_1; if ( var_pseudo_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pseudo_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1507; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_19; } tmp_int_arg_1 = var_pseudo_value; tmp_assign_source_71 = PyNumber_Int( tmp_int_arg_1 ); if ( tmp_assign_source_71 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1507; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_19; } { PyObject *old = var_pseudo_value; var_pseudo_value = tmp_assign_source_71; Py_XDECREF( old ); } } goto try_end_15; // Exception handler code: try_except_handler_19:; exception_keeper_type_17 = exception_type; exception_keeper_value_17 = exception_value; exception_keeper_tb_17 = exception_tb; exception_keeper_lineno_17 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Preserve existing published exception. exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_1 ); exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_1 ); exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_1 ); } { if ( exception_keeper_tb_17 == NULL ) { exception_keeper_tb_17 = MAKE_TRACEBACK( frame_73578e0996899a70851ff82dc61899a5, exception_keeper_lineno_17 ); } else if ( exception_keeper_lineno_17 != 0 ) { exception_keeper_tb_17 = ADD_TRACEBACK( exception_keeper_tb_17, frame_73578e0996899a70851ff82dc61899a5, exception_keeper_lineno_17 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_17, &exception_keeper_value_17, &exception_keeper_tb_17 ); PyException_SetTraceback( exception_keeper_value_17, (PyObject *)exception_keeper_tb_17 ); PUBLISH_EXCEPTION( &exception_keeper_type_17, &exception_keeper_value_17, &exception_keeper_tb_17 ); } { // Tried code: { PyObject *tmp_raise_type_4; PyObject *tmp_make_exception_arg_4; tmp_make_exception_arg_4 = const_str_digest_4a94f24ad202330cdb824190a8470f7b; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1509; { PyObject *call_args[] = { tmp_make_exception_arg_4 }; tmp_raise_type_4 = CALL_FUNCTION_WITH_ARGS1( PyExc_NotImplementedError, call_args ); } assert( !(tmp_raise_type_4 == NULL) ); exception_type = tmp_raise_type_4; exception_lineno = 1509; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_20; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select ); return NULL; // Exception handler code: try_except_handler_20:; exception_keeper_type_18 = exception_type; exception_keeper_value_18 = exception_value; exception_keeper_tb_18 = exception_tb; exception_keeper_lineno_18 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // Re-raise. exception_type = exception_keeper_type_18; exception_value = exception_keeper_value_18; exception_tb = exception_keeper_tb_18; exception_lineno = exception_keeper_lineno_18; goto try_except_handler_6; } // End of try: } // End of try: try_end_15:; } { nuitka_bool tmp_condition_result_18; PyObject *tmp_compexpr_left_15; PyObject *tmp_compexpr_right_15; CHECK_OBJECT( var_pseudo_value ); tmp_compexpr_left_15 = var_pseudo_value; tmp_compexpr_right_15 = const_int_pos_1; tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_15, tmp_compexpr_right_15 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1511; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_18 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE ) { goto branch_yes_18; } else { goto branch_no_18; } branch_yes_18:; { PyObject *tmp_raise_type_5; PyObject *tmp_make_exception_arg_5; tmp_make_exception_arg_5 = const_str_digest_b2c0224df028fa10706089366f6f0054; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1512; { PyObject *call_args[] = { tmp_make_exception_arg_5 }; tmp_raise_type_5 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_5 == NULL) ); exception_type = tmp_raise_type_5; exception_lineno = 1512; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } branch_no_18:; } { PyObject *tmp_assign_source_72; tmp_assign_source_72 = const_tuple_type_object_tuple; { PyObject *old = tmp_class_creation_1__bases_orig; tmp_class_creation_1__bases_orig = tmp_assign_source_72; Py_INCREF( tmp_class_creation_1__bases_orig ); Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_73; 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_73 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_73 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } { PyObject *old = tmp_class_creation_1__bases; tmp_class_creation_1__bases = tmp_assign_source_73; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_74; tmp_assign_source_74 = PyDict_New(); { PyObject *old = tmp_class_creation_1__class_decl_dict; tmp_class_creation_1__class_decl_dict = tmp_assign_source_74; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_75; PyObject *tmp_metaclass_name_1; nuitka_bool tmp_condition_result_19; 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_20; int tmp_truth_name_5; PyObject *tmp_type_arg_1; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; 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 = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } tmp_condition_result_19 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_19 == 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 = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_truth_name_5 = CHECK_IF_TRUE( tmp_class_creation_1__bases ); if ( tmp_truth_name_5 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } tmp_condition_result_20 = tmp_truth_name_5 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_20 == 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_4 = tmp_class_creation_1__bases; tmp_subscript_name_4 = const_int_0; tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_4, tmp_subscript_name_4, 0 ); if ( tmp_type_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } 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 = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } 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_75 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_75 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } { PyObject *old = tmp_class_creation_1__metaclass; tmp_class_creation_1__metaclass = tmp_assign_source_75; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_21; 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 = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } tmp_condition_result_21 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_21 == NUITKA_BOOL_TRUE ) { goto branch_yes_19; } else { goto branch_no_19; } branch_yes_19:; { 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 = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } } branch_no_19:; } { nuitka_bool tmp_condition_result_22; PyObject *tmp_source_name_17; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_17 = tmp_class_creation_1__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_17, const_str_plain___prepare__ ); tmp_condition_result_22 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_22 == NUITKA_BOOL_TRUE ) { goto branch_yes_20; } else { goto branch_no_20; } branch_yes_20:; { PyObject *tmp_assign_source_76; PyObject *tmp_called_name_14; PyObject *tmp_source_name_18; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_kw_name_2; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_18 = tmp_class_creation_1__metaclass; tmp_called_name_14 = LOOKUP_ATTRIBUTE( tmp_source_name_18, const_str_plain___prepare__ ); if ( tmp_called_name_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } tmp_tuple_element_2 = const_str_plain_Counter; tmp_args_name_2 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_2 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1514; tmp_assign_source_76 = CALL_FUNCTION( tmp_called_name_14, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_called_name_14 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_76 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } { PyObject *old = tmp_class_creation_1__prepared; tmp_class_creation_1__prepared = tmp_assign_source_76; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_23; PyObject *tmp_operand_name_2; PyObject *tmp_source_name_19; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_source_name_19 = tmp_class_creation_1__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_19, 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 = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } tmp_condition_result_23 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_23 == NUITKA_BOOL_TRUE ) { goto branch_yes_21; } else { goto branch_no_21; } branch_yes_21:; { PyObject *tmp_raise_type_6; PyObject *tmp_raise_value_1; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; PyObject *tmp_tuple_element_3; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; PyObject *tmp_source_name_20; PyObject *tmp_type_arg_2; tmp_raise_type_6 = 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_3 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 ); if ( tmp_tuple_element_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } tmp_right_name_6 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_6, 0, tmp_tuple_element_3 ); CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_type_arg_2 = tmp_class_creation_1__prepared; tmp_source_name_20 = BUILTIN_TYPE1( tmp_type_arg_2 ); assert( !(tmp_source_name_20 == NULL) ); tmp_tuple_element_3 = LOOKUP_ATTRIBUTE( tmp_source_name_20, const_str_plain___name__ ); Py_DECREF( tmp_source_name_20 ); if ( tmp_tuple_element_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_6 ); exception_lineno = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } PyTuple_SET_ITEM( tmp_right_name_6, 1, tmp_tuple_element_3 ); 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 = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } exception_type = tmp_raise_type_6; Py_INCREF( tmp_raise_type_6 ); exception_value = tmp_raise_value_1; exception_lineno = 1514; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_21; } branch_no_21:; } goto branch_end_20; branch_no_20:; { PyObject *tmp_assign_source_77; tmp_assign_source_77 = PyDict_New(); { PyObject *old = tmp_class_creation_1__prepared; tmp_class_creation_1__prepared = tmp_assign_source_77; Py_XDECREF( old ); } } branch_end_20:; } { PyObject *tmp_assign_source_78; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_bs4$element$$$function_105_select_1514 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element$$$function_105_select_1514, 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 = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_23; } } { tmp_dictset_value = const_str_digest_7ca269eaf27c786d6da48f4f230a2159; tmp_res = PyObject_SetItem( locals_bs4$element$$$function_105_select_1514, 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 = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_23; } } MAKE_OR_REUSE_FRAME( cache_frame_ac602065f1302351b6f57bdf666b669a_3, codeobj_ac602065f1302351b6f57bdf666b669a, module_bs4$element, sizeof(void *) ); frame_ac602065f1302351b6f57bdf666b669a_3 = cache_frame_ac602065f1302351b6f57bdf666b669a_3; // Push the new frame as the currently active one. pushFrameStack( frame_ac602065f1302351b6f57bdf666b669a_3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ac602065f1302351b6f57bdf666b669a_3 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_3___init__( ); tmp_res = PyObject_SetItem( locals_bs4$element$$$function_105_select_1514, 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 = 1515; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_4_nth_child_of_type( ); tmp_res = PyObject_SetItem( locals_bs4$element$$$function_105_select_1514, const_str_plain_nth_child_of_type, 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 = 1519; type_description_2 = "o"; goto frame_exception_exit_3; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_ac602065f1302351b6f57bdf666b669a_3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_exception_exit_3:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ac602065f1302351b6f57bdf666b669a_3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ac602065f1302351b6f57bdf666b669a_3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ac602065f1302351b6f57bdf666b669a_3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ac602065f1302351b6f57bdf666b669a_3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ac602065f1302351b6f57bdf666b669a_3, type_description_2, outline_1_var___class__ ); // Release cached frame. if ( frame_ac602065f1302351b6f57bdf666b669a_3 == cache_frame_ac602065f1302351b6f57bdf666b669a_3 ) { Py_DECREF( frame_ac602065f1302351b6f57bdf666b669a_3 ); } cache_frame_ac602065f1302351b6f57bdf666b669a_3 = NULL; assertFrameObject( frame_ac602065f1302351b6f57bdf666b669a_3 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_2; frame_no_exception_2:; goto skip_nested_handling_2; nested_frame_exit_2:; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_23; skip_nested_handling_2:; { nuitka_bool tmp_condition_result_24; PyObject *tmp_compexpr_left_16; PyObject *tmp_compexpr_right_16; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_compexpr_left_16 = tmp_class_creation_1__bases; tmp_compexpr_right_16 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_16, tmp_compexpr_right_16 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_23; } tmp_condition_result_24 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_24 == NUITKA_BOOL_TRUE ) { goto branch_yes_22; } else { goto branch_no_22; } branch_yes_22:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_bs4$element$$$function_105_select_1514, 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 = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_23; } } branch_no_22:; } { PyObject *tmp_assign_source_79; PyObject *tmp_called_name_15; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_4; PyObject *tmp_kw_name_3; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_called_name_15 = tmp_class_creation_1__metaclass; tmp_tuple_element_4 = const_str_plain_Counter; tmp_args_name_3 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_3, 0, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_4 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_3, 1, tmp_tuple_element_4 ); tmp_tuple_element_4 = locals_bs4$element$$$function_105_select_1514; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_3, 2, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_kw_name_3 = tmp_class_creation_1__class_decl_dict; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1514; tmp_assign_source_79 = CALL_FUNCTION( tmp_called_name_15, tmp_args_name_3, tmp_kw_name_3 ); Py_DECREF( tmp_args_name_3 ); if ( tmp_assign_source_79 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1514; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_23; } { PyObject *old = outline_1_var___class__; outline_1_var___class__ = tmp_assign_source_79; Py_XDECREF( old ); } } { CHECK_OBJECT( outline_1_var___class__ ); tmp_assign_source_78 = outline_1_var___class__; Py_INCREF( tmp_assign_source_78 ); goto try_return_handler_23; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select ); return NULL; // Return handler code: try_return_handler_23:; { Py_DECREF( locals_bs4$element$$$function_105_select_1514 ); locals_bs4$element$$$function_105_select_1514 = NULL; } { goto try_return_handler_22; } // Exception handler code: try_except_handler_23:; exception_keeper_type_19 = exception_type; exception_keeper_value_19 = exception_value; exception_keeper_tb_19 = exception_tb; exception_keeper_lineno_19 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element$$$function_105_select_1514 ); locals_bs4$element$$$function_105_select_1514 = NULL; } { // Re-raise. exception_type = exception_keeper_type_19; exception_value = exception_keeper_value_19; exception_tb = exception_keeper_tb_19; exception_lineno = exception_keeper_lineno_19; goto try_except_handler_22; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select ); return NULL; // Return handler code: try_return_handler_22:; { 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_22:; exception_keeper_type_20 = exception_type; exception_keeper_value_20 = exception_value; exception_keeper_tb_20 = exception_tb; exception_keeper_lineno_20 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( outline_1_var___class__ ); outline_1_var___class__ = NULL; } { // Re-raise. exception_type = exception_keeper_type_20; exception_value = exception_keeper_value_20; exception_tb = exception_keeper_tb_20; exception_lineno = exception_keeper_lineno_20; goto outline_exception_2; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select ); return NULL; outline_exception_2:; exception_lineno = 1514; goto try_except_handler_21; outline_result_2:; { PyObject *old = var_Counter; var_Counter = tmp_assign_source_78; Py_XDECREF( old ); } } goto try_end_16; // Exception handler code: try_except_handler_21:; exception_keeper_type_21 = exception_type; exception_keeper_value_21 = exception_value; exception_keeper_tb_21 = exception_tb; exception_keeper_lineno_21 = 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_21; exception_value = exception_keeper_value_21; exception_tb = exception_keeper_tb_21; exception_lineno = exception_keeper_lineno_21; goto try_except_handler_6; } // End of try: try_end_16:; } { 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; } { PyObject *tmp_assign_source_80; PyObject *tmp_source_name_21; PyObject *tmp_called_name_16; PyObject *tmp_args_element_name_15; if ( var_Counter == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "Counter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1525; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_called_name_16 = var_Counter; if ( var_pseudo_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pseudo_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1525; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_args_element_name_15 = var_pseudo_value; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1525; { PyObject *call_args[] = { tmp_args_element_name_15 }; tmp_source_name_21 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_16, call_args ); } if ( tmp_source_name_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1525; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_assign_source_80 = LOOKUP_ATTRIBUTE( tmp_source_name_21, const_str_plain_nth_child_of_type ); Py_DECREF( tmp_source_name_21 ); if ( tmp_assign_source_80 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1525; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } { PyObject *old = var_checker; var_checker = tmp_assign_source_80; Py_XDECREF( old ); } } goto branch_end_17; branch_no_17:; { PyObject *tmp_raise_type_7; PyObject *tmp_make_exception_arg_6; tmp_make_exception_arg_6 = const_str_digest_e730488675b206f14212fd2d3f90da7a; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1527; { PyObject *call_args[] = { tmp_make_exception_arg_6 }; tmp_raise_type_7 = CALL_FUNCTION_WITH_ARGS1( PyExc_NotImplementedError, call_args ); } assert( !(tmp_raise_type_7 == NULL) ); exception_type = tmp_raise_type_7; exception_lineno = 1527; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } branch_end_17:; } goto branch_end_14; branch_no_14:; { nuitka_bool tmp_condition_result_25; PyObject *tmp_operand_name_3; PyObject *tmp_compexpr_left_17; PyObject *tmp_compexpr_right_17; if ( var_token == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1530; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_compexpr_left_17 = var_token; tmp_compexpr_right_17 = const_str_chr_42; tmp_operand_name_3 = RICH_COMPARE_EQ( tmp_compexpr_left_17, tmp_compexpr_right_17 ); if ( tmp_operand_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1530; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 ); Py_DECREF( tmp_operand_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1530; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_25 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_25 == NUITKA_BOOL_TRUE ) { goto branch_yes_23; } else { goto branch_no_23; } branch_yes_23:; { nuitka_bool tmp_condition_result_26; PyObject *tmp_compexpr_left_18; PyObject *tmp_compexpr_right_18; if ( var_token == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1533; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_compexpr_left_18 = var_token; tmp_compexpr_right_18 = const_str_chr_62; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_18, tmp_compexpr_right_18 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1533; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_26 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_26 == NUITKA_BOOL_TRUE ) { goto branch_yes_24; } else { goto branch_no_24; } branch_yes_24:; { PyObject *tmp_assign_source_81; tmp_assign_source_81 = MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_5_lambda( ); { PyObject *old = PyCell_GET( var_recursive_candidate_generator ); PyCell_SET( var_recursive_candidate_generator, tmp_assign_source_81 ); Py_XDECREF( old ); } } goto branch_end_24; branch_no_24:; { nuitka_bool tmp_condition_result_27; PyObject *tmp_compexpr_left_19; PyObject *tmp_compexpr_right_19; if ( var_token == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1537; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_compexpr_left_19 = var_token; tmp_compexpr_right_19 = const_str_chr_126; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_19, tmp_compexpr_right_19 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1537; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_27 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_27 == NUITKA_BOOL_TRUE ) { goto branch_yes_25; } else { goto branch_no_25; } branch_yes_25:; { PyObject *tmp_assign_source_82; tmp_assign_source_82 = MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_6_lambda( ); { PyObject *old = PyCell_GET( var_recursive_candidate_generator ); PyCell_SET( var_recursive_candidate_generator, tmp_assign_source_82 ); Py_XDECREF( old ); } } goto branch_end_25; branch_no_25:; { nuitka_bool tmp_condition_result_28; PyObject *tmp_compexpr_left_20; PyObject *tmp_compexpr_right_20; if ( var_token == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1541; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_compexpr_left_20 = var_token; tmp_compexpr_right_20 = const_str_chr_43; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_20, tmp_compexpr_right_20 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1541; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_28 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_28 == NUITKA_BOOL_TRUE ) { goto branch_yes_26; } else { goto branch_no_26; } branch_yes_26:; { PyObject *tmp_assign_source_83; tmp_assign_source_83 = MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_7_next_tag_sibling( ); { PyObject *old = var_next_tag_sibling; var_next_tag_sibling = tmp_assign_source_83; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_84; CHECK_OBJECT( var_next_tag_sibling ); tmp_assign_source_84 = var_next_tag_sibling; { PyObject *old = PyCell_GET( var_recursive_candidate_generator ); PyCell_SET( var_recursive_candidate_generator, tmp_assign_source_84 ); Py_INCREF( tmp_assign_source_84 ); Py_XDECREF( old ); } } goto branch_end_26; branch_no_26:; { nuitka_bool tmp_condition_result_29; PyObject *tmp_called_name_17; PyObject *tmp_source_name_22; PyObject *tmp_source_name_23; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_16; int tmp_truth_name_6; if ( PyCell_GET( 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 = 1549; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_source_name_23 = PyCell_GET( par_self ); tmp_source_name_22 = LOOKUP_ATTRIBUTE( tmp_source_name_23, const_str_plain_tag_name_re ); if ( tmp_source_name_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1549; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_called_name_17 = LOOKUP_ATTRIBUTE( tmp_source_name_22, const_str_plain_match ); Py_DECREF( tmp_source_name_22 ); if ( tmp_called_name_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1549; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } if ( var_token == NULL ) { Py_DECREF( tmp_called_name_17 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1549; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_args_element_name_16 = var_token; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1549; { PyObject *call_args[] = { tmp_args_element_name_16 }; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_17, call_args ); } Py_DECREF( tmp_called_name_17 ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1549; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_truth_name_6 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_6 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 1549; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_29 = tmp_truth_name_6 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); if ( tmp_condition_result_29 == NUITKA_BOOL_TRUE ) { goto branch_yes_27; } else { goto branch_no_27; } branch_yes_27:; { PyObject *tmp_assign_source_85; if ( var_token == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1551; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_assign_source_85 = var_token; { PyObject *old = PyCell_GET( var_tag_name ); PyCell_SET( var_tag_name, tmp_assign_source_85 ); Py_INCREF( tmp_assign_source_85 ); Py_XDECREF( old ); } } goto branch_end_27; branch_no_27:; { PyObject *tmp_raise_type_8; PyObject *tmp_make_exception_arg_7; PyObject *tmp_left_name_7; PyObject *tmp_right_name_7; tmp_left_name_7 = const_str_digest_a5f41bd7ea9cf5f76bc2a8024c4253a9; if ( var_token == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "token" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1554; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_right_name_7 = var_token; tmp_make_exception_arg_7 = BINARY_OPERATION_REMAINDER( tmp_left_name_7, tmp_right_name_7 ); if ( tmp_make_exception_arg_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1554; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1553; { PyObject *call_args[] = { tmp_make_exception_arg_7 }; tmp_raise_type_8 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } Py_DECREF( tmp_make_exception_arg_7 ); assert( !(tmp_raise_type_8 == NULL) ); exception_type = tmp_raise_type_8; exception_lineno = 1553; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } branch_end_27:; } branch_end_26:; } branch_end_25:; } branch_end_24:; } branch_no_23:; } branch_end_14:; } branch_end_13:; } branch_end_12:; } branch_end_11:; } { nuitka_bool tmp_condition_result_30; int tmp_truth_name_7; if ( PyCell_GET( var_recursive_candidate_generator ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "recursive_candidate_generator" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1555; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_truth_name_7 = CHECK_IF_TRUE( PyCell_GET( var_recursive_candidate_generator ) ); if ( tmp_truth_name_7 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1555; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_30 = tmp_truth_name_7 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_30 == NUITKA_BOOL_TRUE ) { goto branch_yes_28; } else { goto branch_no_28; } branch_yes_28:; { PyObject *tmp_assign_source_86; PyObject *tmp_subscribed_name_5; PyObject *tmp_subscript_name_5; PyObject *tmp_left_name_8; PyObject *tmp_right_name_8; if ( var_tokens == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tokens" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1565; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_subscribed_name_5 = var_tokens; if ( var_index == NULL ) { 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 = 1565; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_left_name_8 = var_index; tmp_right_name_8 = const_int_pos_1; tmp_subscript_name_5 = BINARY_OPERATION_ADD( tmp_left_name_8, tmp_right_name_8 ); if ( tmp_subscript_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1565; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_assign_source_86 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_5, tmp_subscript_name_5 ); Py_DECREF( tmp_subscript_name_5 ); if ( tmp_assign_source_86 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1565; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } { PyObject *old = PyCell_GET( var_next_token ); PyCell_SET( var_next_token, tmp_assign_source_86 ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_87; tmp_assign_source_87 = MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_8_recursive_select( ); ((struct Nuitka_FunctionObject *)tmp_assign_source_87)->m_closure[0] = var_next_token; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_87)->m_closure[0] ); ((struct Nuitka_FunctionObject *)tmp_assign_source_87)->m_closure[1] = var_recursive_candidate_generator; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_87)->m_closure[1] ); ((struct Nuitka_FunctionObject *)tmp_assign_source_87)->m_closure[2] = par_self; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_87)->m_closure[2] ); { PyObject *old = var_recursive_select; var_recursive_select = tmp_assign_source_87; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_88; CHECK_OBJECT( var_recursive_select ); tmp_assign_source_88 = var_recursive_select; { PyObject *old = var__use_candidate_generator; var__use_candidate_generator = tmp_assign_source_88; Py_INCREF( var__use_candidate_generator ); Py_XDECREF( old ); } } goto branch_end_28; branch_no_28:; { nuitka_bool tmp_condition_result_31; PyObject *tmp_compexpr_left_21; PyObject *tmp_compexpr_right_21; if ( par__candidate_generator == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "_candidate_generator" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1577; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_compexpr_left_21 = par__candidate_generator; tmp_compexpr_right_21 = Py_None; tmp_condition_result_31 = ( tmp_compexpr_left_21 == tmp_compexpr_right_21 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_31 == NUITKA_BOOL_TRUE ) { goto branch_yes_29; } else { goto branch_no_29; } branch_yes_29:; { nuitka_bool tmp_condition_result_32; PyObject *tmp_source_name_24; PyObject *tmp_attribute_value_4; int tmp_truth_name_8; if ( PyCell_GET( 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 = 1581; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_source_name_24 = PyCell_GET( par_self ); tmp_attribute_value_4 = LOOKUP_ATTRIBUTE( tmp_source_name_24, const_str_plain__select_debug ); if ( tmp_attribute_value_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1581; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_truth_name_8 = CHECK_IF_TRUE( tmp_attribute_value_4 ); if ( tmp_truth_name_8 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_4 ); exception_lineno = 1581; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_32 = tmp_truth_name_8 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_4 ); if ( tmp_condition_result_32 == NUITKA_BOOL_TRUE ) { goto branch_yes_30; } else { goto branch_no_30; } branch_yes_30:; { nuitka_bool tmp_condition_result_33; int tmp_truth_name_9; if ( PyCell_GET( var_tag_name ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1582; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_truth_name_9 = CHECK_IF_TRUE( PyCell_GET( var_tag_name ) ); if ( tmp_truth_name_9 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1582; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_33 = tmp_truth_name_9 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_33 == NUITKA_BOOL_TRUE ) { goto branch_yes_31; } else { goto branch_no_31; } branch_yes_31:; { PyObject *tmp_assign_source_89; tmp_assign_source_89 = const_str_digest_9ebbf84d19dd70830626a66e23b2df81; { PyObject *old = var_check; var_check = tmp_assign_source_89; Py_INCREF( var_check ); Py_XDECREF( old ); } } goto branch_end_31; branch_no_31:; { PyObject *tmp_assign_source_90; if ( PyCell_GET( var_tag_name ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1585; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_assign_source_90 = PyCell_GET( var_tag_name ); { PyObject *old = var_check; var_check = tmp_assign_source_90; Py_INCREF( var_check ); Py_XDECREF( old ); } } branch_end_31:; } { PyObject *tmp_called_name_18; PyObject *tmp_args_element_name_17; PyObject *tmp_left_name_9; PyObject *tmp_right_name_9; tmp_called_name_18 = LOOKUP_BUILTIN( const_str_plain_print ); assert( tmp_called_name_18 != NULL ); tmp_left_name_9 = const_str_digest_cc2fb2ce9bec8503eb0919aef5b692c6; CHECK_OBJECT( var_check ); tmp_right_name_9 = var_check; tmp_args_element_name_17 = BINARY_OPERATION_REMAINDER( tmp_left_name_9, tmp_right_name_9 ); if ( tmp_args_element_name_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1586; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1586; { PyObject *call_args[] = { tmp_args_element_name_17 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_18, call_args ); } Py_DECREF( tmp_args_element_name_17 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1586; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } Py_DECREF( tmp_unused ); } branch_no_30:; } { nuitka_bool tmp_condition_result_34; PyObject *tmp_source_name_25; PyObject *tmp_attribute_value_5; int tmp_truth_name_10; if ( PyCell_GET( 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 = 1587; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_source_name_25 = PyCell_GET( par_self ); tmp_attribute_value_5 = LOOKUP_ATTRIBUTE( tmp_source_name_25, const_str_plain__select_debug ); if ( tmp_attribute_value_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1587; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_truth_name_10 = CHECK_IF_TRUE( tmp_attribute_value_5 ); if ( tmp_truth_name_10 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_5 ); exception_lineno = 1587; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_condition_result_34 = tmp_truth_name_10 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_5 ); if ( tmp_condition_result_34 == NUITKA_BOOL_TRUE ) { goto branch_yes_32; } else { goto branch_no_32; } branch_yes_32:; { PyObject *tmp_assign_source_91; tmp_assign_source_91 = MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_9_default_candidate_generator( ); ((struct Nuitka_FunctionObject *)tmp_assign_source_91)->m_closure[0] = var_tag_name; Py_INCREF( ((struct Nuitka_FunctionObject *)tmp_assign_source_91)->m_closure[0] ); { PyObject *old = var_default_candidate_generator; var_default_candidate_generator = tmp_assign_source_91; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_92; CHECK_OBJECT( var_default_candidate_generator ); tmp_assign_source_92 = var_default_candidate_generator; { PyObject *old = var__use_candidate_generator; var__use_candidate_generator = tmp_assign_source_92; Py_INCREF( var__use_candidate_generator ); Py_XDECREF( old ); } } goto branch_end_32; branch_no_32:; { PyObject *tmp_assign_source_93; tmp_assign_source_93 = MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_10_lambda( ); { PyObject *old = var__use_candidate_generator; var__use_candidate_generator = tmp_assign_source_93; Py_XDECREF( old ); } } branch_end_32:; } goto branch_end_29; branch_no_29:; { PyObject *tmp_assign_source_94; if ( par__candidate_generator == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "_candidate_generator" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1602; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_assign_source_94 = par__candidate_generator; { PyObject *old = var__use_candidate_generator; var__use_candidate_generator = tmp_assign_source_94; Py_INCREF( var__use_candidate_generator ); Py_XDECREF( old ); } } branch_end_29:; } branch_end_28:; } { PyObject *tmp_assign_source_95; tmp_assign_source_95 = const_int_0; { PyObject *old = var_count; var_count = tmp_assign_source_95; Py_INCREF( var_count ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_96; PyObject *tmp_iter_arg_11; if ( var_current_context == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "current_context" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1605; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_iter_arg_11 = var_current_context; tmp_assign_source_96 = MAKE_ITERATOR( tmp_iter_arg_11 ); if ( tmp_assign_source_96 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1605; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } { PyObject *old = tmp_for_loop_4__for_iterator; tmp_for_loop_4__for_iterator = tmp_assign_source_96; Py_XDECREF( old ); } } { // Tried code: { loop_start_5:; { PyObject *tmp_next_source_5; PyObject *tmp_assign_source_97; CHECK_OBJECT( tmp_for_loop_4__for_iterator ); tmp_next_source_5 = tmp_for_loop_4__for_iterator; tmp_assign_source_97 = ITERATOR_NEXT( tmp_next_source_5 ); if ( tmp_assign_source_97 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_5; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1605; goto try_except_handler_24; } } { PyObject *old = tmp_for_loop_4__iter_value; tmp_for_loop_4__iter_value = tmp_assign_source_97; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_98; CHECK_OBJECT( tmp_for_loop_4__iter_value ); tmp_assign_source_98 = tmp_for_loop_4__iter_value; { PyObject *old = var_tag; var_tag = tmp_assign_source_98; Py_INCREF( var_tag ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_35; PyObject *tmp_source_name_26; PyObject *tmp_attribute_value_6; int tmp_truth_name_11; if ( PyCell_GET( 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 = 1606; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } tmp_source_name_26 = PyCell_GET( par_self ); tmp_attribute_value_6 = LOOKUP_ATTRIBUTE( tmp_source_name_26, const_str_plain__select_debug ); if ( tmp_attribute_value_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1606; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } tmp_truth_name_11 = CHECK_IF_TRUE( tmp_attribute_value_6 ); if ( tmp_truth_name_11 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_6 ); exception_lineno = 1606; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } tmp_condition_result_35 = tmp_truth_name_11 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_6 ); if ( tmp_condition_result_35 == NUITKA_BOOL_TRUE ) { goto branch_yes_33; } else { goto branch_no_33; } branch_yes_33:; { PyObject *tmp_called_name_19; PyObject *tmp_args_element_name_18; PyObject *tmp_left_name_10; PyObject *tmp_right_name_10; PyObject *tmp_tuple_element_5; PyObject *tmp_source_name_27; PyObject *tmp_operand_name_4; PyObject *tmp_source_name_28; tmp_called_name_19 = LOOKUP_BUILTIN( const_str_plain_print ); assert( tmp_called_name_19 != NULL ); tmp_left_name_10 = const_str_digest_86f0379e8abcfc023eb43b62b1ec5136; if ( var_tag == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1608; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } tmp_source_name_27 = var_tag; tmp_tuple_element_5 = LOOKUP_ATTRIBUTE( tmp_source_name_27, const_str_plain_name ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1608; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } tmp_right_name_10 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_10, 0, tmp_tuple_element_5 ); if ( var_tag == NULL ) { Py_DECREF( tmp_right_name_10 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1608; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } tmp_source_name_28 = var_tag; tmp_operand_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_28, const_str_plain_attrs ); if ( tmp_operand_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_10 ); exception_lineno = 1608; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } tmp_tuple_element_5 = UNARY_OPERATION( PyObject_Repr, tmp_operand_name_4 ); Py_DECREF( tmp_operand_name_4 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_10 ); exception_lineno = 1608; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } PyTuple_SET_ITEM( tmp_right_name_10, 1, tmp_tuple_element_5 ); tmp_args_element_name_18 = BINARY_OPERATION_REMAINDER( tmp_left_name_10, tmp_right_name_10 ); Py_DECREF( tmp_right_name_10 ); if ( tmp_args_element_name_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1607; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1607; { PyObject *call_args[] = { tmp_args_element_name_18 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_19, call_args ); } Py_DECREF( tmp_args_element_name_18 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1607; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } Py_DECREF( tmp_unused ); } branch_no_33:; } { PyObject *tmp_assign_source_99; PyObject *tmp_iter_arg_12; PyObject *tmp_called_name_20; PyObject *tmp_args_element_name_19; if ( var__use_candidate_generator == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "_use_candidate_generator" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1609; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } tmp_called_name_20 = var__use_candidate_generator; if ( var_tag == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1609; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } tmp_args_element_name_19 = var_tag; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1609; { PyObject *call_args[] = { tmp_args_element_name_19 }; tmp_iter_arg_12 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_20, call_args ); } if ( tmp_iter_arg_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1609; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } tmp_assign_source_99 = MAKE_ITERATOR( tmp_iter_arg_12 ); Py_DECREF( tmp_iter_arg_12 ); if ( tmp_assign_source_99 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1609; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } { PyObject *old = tmp_for_loop_5__for_iterator; tmp_for_loop_5__for_iterator = tmp_assign_source_99; Py_XDECREF( old ); } } { // Tried code: { loop_start_6:; { PyObject *tmp_next_source_6; PyObject *tmp_assign_source_100; CHECK_OBJECT( tmp_for_loop_5__for_iterator ); tmp_next_source_6 = tmp_for_loop_5__for_iterator; tmp_assign_source_100 = ITERATOR_NEXT( tmp_next_source_6 ); if ( tmp_assign_source_100 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_6; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1609; goto try_except_handler_25; } } { PyObject *old = tmp_for_loop_5__iter_value; tmp_for_loop_5__iter_value = tmp_assign_source_100; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_101; CHECK_OBJECT( tmp_for_loop_5__iter_value ); tmp_assign_source_101 = tmp_for_loop_5__iter_value; { PyObject *old = var_candidate; var_candidate = tmp_assign_source_101; Py_INCREF( var_candidate ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_36; PyObject *tmp_operand_name_5; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_3; CHECK_OBJECT( var_candidate ); tmp_isinstance_inst_1 = var_candidate; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Tag ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Tag ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1610; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_isinstance_cls_1 = tmp_mvar_value_3; 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 = 1610; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_operand_name_5 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1610; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_condition_result_36 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_36 == NUITKA_BOOL_TRUE ) { goto branch_yes_34; } else { goto branch_no_34; } branch_yes_34:; { goto loop_start_6; } branch_no_34:; } { nuitka_bool tmp_condition_result_37; int tmp_and_left_truth_3; nuitka_bool tmp_and_left_value_3; nuitka_bool tmp_and_right_value_3; int tmp_truth_name_12; PyObject *tmp_compexpr_left_22; PyObject *tmp_compexpr_right_22; PyObject *tmp_source_name_29; if ( PyCell_GET( var_tag_name ) == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1612; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_truth_name_12 = CHECK_IF_TRUE( PyCell_GET( var_tag_name ) ); if ( tmp_truth_name_12 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1612; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_and_left_value_3 = tmp_truth_name_12 == 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 ( var_candidate == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "candidate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1612; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_source_name_29 = var_candidate; tmp_compexpr_left_22 = LOOKUP_ATTRIBUTE( tmp_source_name_29, const_str_plain_name ); if ( tmp_compexpr_left_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1612; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } if ( PyCell_GET( var_tag_name ) == NULL ) { Py_DECREF( tmp_compexpr_left_22 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tag_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1612; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_compexpr_right_22 = PyCell_GET( var_tag_name ); tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_22, tmp_compexpr_right_22 ); Py_DECREF( tmp_compexpr_left_22 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1612; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_and_right_value_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_37 = tmp_and_right_value_3; goto and_end_3; and_left_3:; tmp_condition_result_37 = tmp_and_left_value_3; and_end_3:; if ( tmp_condition_result_37 == NUITKA_BOOL_TRUE ) { goto branch_yes_35; } else { goto branch_no_35; } branch_yes_35:; { goto loop_start_6; } branch_no_35:; } { nuitka_bool tmp_condition_result_38; PyObject *tmp_compexpr_left_23; PyObject *tmp_compexpr_right_23; if ( var_checker == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "checker" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1614; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_compexpr_left_23 = var_checker; tmp_compexpr_right_23 = Py_None; tmp_condition_result_38 = ( tmp_compexpr_left_23 != tmp_compexpr_right_23 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_38 == NUITKA_BOOL_TRUE ) { goto branch_yes_36; } else { goto branch_no_36; } branch_yes_36:; { // Tried code: { PyObject *tmp_assign_source_102; PyObject *tmp_called_name_21; PyObject *tmp_args_element_name_20; if ( var_checker == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "checker" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1616; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_26; } tmp_called_name_21 = var_checker; if ( var_candidate == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "candidate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1616; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_26; } tmp_args_element_name_20 = var_candidate; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1616; { PyObject *call_args[] = { tmp_args_element_name_20 }; tmp_assign_source_102 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_21, call_args ); } if ( tmp_assign_source_102 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1616; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_26; } { PyObject *old = var_result; var_result = tmp_assign_source_102; Py_XDECREF( old ); } } goto try_end_17; // Exception handler code: try_except_handler_26:; exception_keeper_type_22 = exception_type; exception_keeper_value_22 = exception_value; exception_keeper_tb_22 = exception_tb; exception_keeper_lineno_22 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Preserve existing published exception. exception_preserved_type_2 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_2 ); exception_preserved_value_2 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_2 ); exception_preserved_tb_2 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_2 ); } { if ( exception_keeper_tb_22 == NULL ) { exception_keeper_tb_22 = MAKE_TRACEBACK( frame_73578e0996899a70851ff82dc61899a5, exception_keeper_lineno_22 ); } else if ( exception_keeper_lineno_22 != 0 ) { exception_keeper_tb_22 = ADD_TRACEBACK( exception_keeper_tb_22, frame_73578e0996899a70851ff82dc61899a5, exception_keeper_lineno_22 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_22, &exception_keeper_value_22, &exception_keeper_tb_22 ); PyException_SetTraceback( exception_keeper_value_22, (PyObject *)exception_keeper_tb_22 ); PUBLISH_EXCEPTION( &exception_keeper_type_22, &exception_keeper_value_22, &exception_keeper_tb_22 ); } { // Tried code: { nuitka_bool tmp_condition_result_39; PyObject *tmp_compexpr_left_24; PyObject *tmp_compexpr_right_24; tmp_compexpr_left_24 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_24 = PyExc_StopIteration; tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_24, tmp_compexpr_right_24 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1617; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_27; } tmp_condition_result_39 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_39 == NUITKA_BOOL_TRUE ) { goto branch_yes_37; } else { goto branch_no_37; } branch_yes_37:; { goto try_break_handler_27; } goto branch_end_37; branch_no_37:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 1615; } if (exception_tb && exception_tb->tb_frame == &frame_73578e0996899a70851ff82dc61899a5->m_frame) frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_27; } branch_end_37:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select ); return NULL; // Exception handler code: try_except_handler_27:; exception_keeper_type_23 = exception_type; exception_keeper_value_23 = exception_value; exception_keeper_tb_23 = exception_tb; exception_keeper_lineno_23 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 ); } { // Re-raise. exception_type = exception_keeper_type_23; exception_value = exception_keeper_value_23; exception_tb = exception_keeper_tb_23; exception_lineno = exception_keeper_lineno_23; goto try_except_handler_25; } // try break handler code: try_break_handler_27:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 ); } { goto loop_end_6; } // End of try: } // End of try: try_end_17:; } branch_no_36:; } { nuitka_bool tmp_condition_result_40; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_compexpr_left_25; PyObject *tmp_compexpr_right_25; int tmp_truth_name_13; if ( var_checker == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "checker" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1621; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_compexpr_left_25 = var_checker; tmp_compexpr_right_25 = Py_None; tmp_or_left_value_1 = ( tmp_compexpr_left_25 == tmp_compexpr_right_25 ) ? 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 ( var_result == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "result" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1621; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_truth_name_13 = CHECK_IF_TRUE( var_result ); if ( tmp_truth_name_13 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1621; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_or_right_value_1 = tmp_truth_name_13 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_40 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_40 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_40 == NUITKA_BOOL_TRUE ) { goto branch_yes_38; } else { goto branch_no_38; } branch_yes_38:; { nuitka_bool tmp_condition_result_41; PyObject *tmp_source_name_30; PyObject *tmp_attribute_value_7; int tmp_truth_name_14; if ( PyCell_GET( 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 = 1622; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_source_name_30 = PyCell_GET( par_self ); tmp_attribute_value_7 = LOOKUP_ATTRIBUTE( tmp_source_name_30, const_str_plain__select_debug ); if ( tmp_attribute_value_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1622; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_truth_name_14 = CHECK_IF_TRUE( tmp_attribute_value_7 ); if ( tmp_truth_name_14 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_7 ); exception_lineno = 1622; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_condition_result_41 = tmp_truth_name_14 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_7 ); if ( tmp_condition_result_41 == NUITKA_BOOL_TRUE ) { goto branch_yes_39; } else { goto branch_no_39; } branch_yes_39:; { PyObject *tmp_called_name_22; PyObject *tmp_args_element_name_21; PyObject *tmp_left_name_11; PyObject *tmp_right_name_11; PyObject *tmp_tuple_element_6; PyObject *tmp_source_name_31; PyObject *tmp_operand_name_6; PyObject *tmp_source_name_32; tmp_called_name_22 = LOOKUP_BUILTIN( const_str_plain_print ); assert( tmp_called_name_22 != NULL ); tmp_left_name_11 = const_str_digest_e5b25601234fe8b476231124b65d95b6; if ( var_candidate == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "candidate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1623; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_source_name_31 = var_candidate; tmp_tuple_element_6 = LOOKUP_ATTRIBUTE( tmp_source_name_31, const_str_plain_name ); if ( tmp_tuple_element_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1623; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_right_name_11 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_11, 0, tmp_tuple_element_6 ); if ( var_candidate == NULL ) { Py_DECREF( tmp_right_name_11 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "candidate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1623; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_source_name_32 = var_candidate; tmp_operand_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_32, const_str_plain_attrs ); if ( tmp_operand_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_11 ); exception_lineno = 1623; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_tuple_element_6 = UNARY_OPERATION( PyObject_Repr, tmp_operand_name_6 ); Py_DECREF( tmp_operand_name_6 ); if ( tmp_tuple_element_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_11 ); exception_lineno = 1623; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } PyTuple_SET_ITEM( tmp_right_name_11, 1, tmp_tuple_element_6 ); tmp_args_element_name_21 = BINARY_OPERATION_REMAINDER( tmp_left_name_11, tmp_right_name_11 ); Py_DECREF( tmp_right_name_11 ); if ( tmp_args_element_name_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1623; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1623; { PyObject *call_args[] = { tmp_args_element_name_21 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_22, call_args ); } Py_DECREF( tmp_args_element_name_21 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1623; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } Py_DECREF( tmp_unused ); } branch_no_39:; } { nuitka_bool tmp_condition_result_42; PyObject *tmp_compexpr_left_26; PyObject *tmp_compexpr_right_26; PyObject *tmp_id_arg_2; if ( var_candidate == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "candidate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1624; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_id_arg_2 = var_candidate; tmp_compexpr_left_26 = PyLong_FromVoidPtr( tmp_id_arg_2 ); if ( tmp_compexpr_left_26 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1624; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } if ( var_new_context_ids == NULL ) { Py_DECREF( tmp_compexpr_left_26 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_context_ids" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1624; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_compexpr_right_26 = var_new_context_ids; tmp_res = PySequence_Contains( tmp_compexpr_right_26, tmp_compexpr_left_26 ); Py_DECREF( tmp_compexpr_left_26 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1624; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_condition_result_42 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_42 == NUITKA_BOOL_TRUE ) { goto branch_yes_40; } else { goto branch_no_40; } branch_yes_40:; { PyObject *tmp_called_name_23; PyObject *tmp_source_name_33; PyObject *tmp_args_element_name_22; if ( var_new_context == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_context" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1627; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_source_name_33 = var_new_context; tmp_called_name_23 = LOOKUP_ATTRIBUTE( tmp_source_name_33, const_str_plain_append ); if ( tmp_called_name_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1627; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } if ( var_candidate == NULL ) { Py_DECREF( tmp_called_name_23 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "candidate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1627; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_args_element_name_22 = var_candidate; frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1627; { PyObject *call_args[] = { tmp_args_element_name_22 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_23, call_args ); } Py_DECREF( tmp_called_name_23 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1627; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_24; PyObject *tmp_source_name_34; PyObject *tmp_args_element_name_23; PyObject *tmp_id_arg_3; if ( var_new_context_ids == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_context_ids" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1628; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_source_name_34 = var_new_context_ids; tmp_called_name_24 = LOOKUP_ATTRIBUTE( tmp_source_name_34, const_str_plain_add ); if ( tmp_called_name_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1628; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } if ( var_candidate == NULL ) { Py_DECREF( tmp_called_name_24 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "candidate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1628; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_id_arg_3 = var_candidate; tmp_args_element_name_23 = PyLong_FromVoidPtr( tmp_id_arg_3 ); if ( tmp_args_element_name_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_24 ); exception_lineno = 1628; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1628; { PyObject *call_args[] = { tmp_args_element_name_23 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_24, call_args ); } Py_DECREF( tmp_called_name_24 ); Py_DECREF( tmp_args_element_name_23 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1628; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } Py_DECREF( tmp_unused ); } branch_no_40:; } goto branch_end_38; branch_no_38:; { nuitka_bool tmp_condition_result_43; PyObject *tmp_source_name_35; PyObject *tmp_attribute_value_8; int tmp_truth_name_15; if ( PyCell_GET( 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 = 1629; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_source_name_35 = PyCell_GET( par_self ); tmp_attribute_value_8 = LOOKUP_ATTRIBUTE( tmp_source_name_35, const_str_plain__select_debug ); if ( tmp_attribute_value_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1629; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_truth_name_15 = CHECK_IF_TRUE( tmp_attribute_value_8 ); if ( tmp_truth_name_15 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_8 ); exception_lineno = 1629; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_condition_result_43 = tmp_truth_name_15 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_8 ); if ( tmp_condition_result_43 == NUITKA_BOOL_TRUE ) { goto branch_yes_41; } else { goto branch_no_41; } branch_yes_41:; { PyObject *tmp_called_name_25; PyObject *tmp_args_element_name_24; PyObject *tmp_left_name_12; PyObject *tmp_right_name_12; PyObject *tmp_tuple_element_7; PyObject *tmp_source_name_36; PyObject *tmp_operand_name_7; PyObject *tmp_source_name_37; tmp_called_name_25 = LOOKUP_BUILTIN( const_str_plain_print ); assert( tmp_called_name_25 != NULL ); tmp_left_name_12 = const_str_digest_c70d03641ebe37e44be59f47eeff292c; if ( var_candidate == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "candidate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1630; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_source_name_36 = var_candidate; tmp_tuple_element_7 = LOOKUP_ATTRIBUTE( tmp_source_name_36, const_str_plain_name ); if ( tmp_tuple_element_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1630; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_right_name_12 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_12, 0, tmp_tuple_element_7 ); if ( var_candidate == NULL ) { Py_DECREF( tmp_right_name_12 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "candidate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1630; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_source_name_37 = var_candidate; tmp_operand_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_37, const_str_plain_attrs ); if ( tmp_operand_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_12 ); exception_lineno = 1630; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } tmp_tuple_element_7 = UNARY_OPERATION( PyObject_Repr, tmp_operand_name_7 ); Py_DECREF( tmp_operand_name_7 ); if ( tmp_tuple_element_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_12 ); exception_lineno = 1630; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } PyTuple_SET_ITEM( tmp_right_name_12, 1, tmp_tuple_element_7 ); tmp_args_element_name_24 = BINARY_OPERATION_REMAINDER( tmp_left_name_12, tmp_right_name_12 ); Py_DECREF( tmp_right_name_12 ); if ( tmp_args_element_name_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1630; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1630; { PyObject *call_args[] = { tmp_args_element_name_24 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_25, call_args ); } Py_DECREF( tmp_args_element_name_24 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1630; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } Py_DECREF( tmp_unused ); } branch_no_41:; } branch_end_38:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1609; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_25; } goto loop_start_6; loop_end_6:; } goto try_end_18; // Exception handler code: try_except_handler_25:; exception_keeper_type_24 = exception_type; exception_keeper_value_24 = exception_value; exception_keeper_tb_24 = exception_tb; exception_keeper_lineno_24 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_5__iter_value ); tmp_for_loop_5__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_5__for_iterator ); Py_DECREF( tmp_for_loop_5__for_iterator ); tmp_for_loop_5__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_24; exception_value = exception_keeper_value_24; exception_tb = exception_keeper_tb_24; exception_lineno = exception_keeper_lineno_24; goto try_except_handler_24; } // End of try: try_end_18:; } { Py_XDECREF( tmp_for_loop_5__iter_value ); tmp_for_loop_5__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_5__for_iterator ); Py_DECREF( tmp_for_loop_5__for_iterator ); tmp_for_loop_5__for_iterator = NULL; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1605; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_24; } goto loop_start_5; loop_end_5:; } goto try_end_19; // Exception handler code: try_except_handler_24:; exception_keeper_type_25 = exception_type; exception_keeper_value_25 = exception_value; exception_keeper_tb_25 = exception_tb; exception_keeper_lineno_25 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_4__iter_value ); tmp_for_loop_4__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_4__for_iterator ); Py_DECREF( tmp_for_loop_4__for_iterator ); tmp_for_loop_4__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_25; exception_value = exception_keeper_value_25; exception_tb = exception_keeper_tb_25; exception_lineno = exception_keeper_lineno_25; goto try_except_handler_6; } // End of try: try_end_19:; } { Py_XDECREF( tmp_for_loop_4__iter_value ); tmp_for_loop_4__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_4__for_iterator ); Py_DECREF( tmp_for_loop_4__for_iterator ); tmp_for_loop_4__for_iterator = NULL; } { PyObject *tmp_assign_source_103; if ( var_new_context == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_context" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1632; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } tmp_assign_source_103 = var_new_context; { PyObject *old = var_current_context; var_current_context = tmp_assign_source_103; Py_INCREF( var_current_context ); Py_XDECREF( old ); } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1450; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_6; } goto loop_start_4; loop_end_4:; } goto try_end_20; // Exception handler code: try_except_handler_6:; exception_keeper_type_26 = exception_type; exception_keeper_value_26 = exception_value; exception_keeper_tb_26 = exception_tb; exception_keeper_lineno_26 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_3__iter_value ); tmp_for_loop_3__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_3__for_iterator ); Py_DECREF( tmp_for_loop_3__for_iterator ); tmp_for_loop_3__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_26; exception_value = exception_keeper_value_26; exception_tb = exception_keeper_tb_26; exception_lineno = exception_keeper_lineno_26; goto frame_exception_exit_1; } // End of try: try_end_20:; } { Py_XDECREF( tmp_for_loop_3__iter_value ); tmp_for_loop_3__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_3__for_iterator ); Py_DECREF( tmp_for_loop_3__for_iterator ); tmp_for_loop_3__for_iterator = NULL; } { nuitka_bool tmp_condition_result_44; int tmp_and_left_truth_4; nuitka_bool tmp_and_left_value_4; nuitka_bool tmp_and_right_value_4; int tmp_truth_name_16; PyObject *tmp_compexpr_left_27; PyObject *tmp_compexpr_right_27; PyObject *tmp_len_arg_2; if ( par_limit == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1633; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_truth_name_16 = CHECK_IF_TRUE( par_limit ); if ( tmp_truth_name_16 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1633; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_4 = tmp_truth_name_16 == 1 ? 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 ( var_current_context == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "current_context" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1633; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_len_arg_2 = var_current_context; tmp_compexpr_left_27 = BUILTIN_LEN( tmp_len_arg_2 ); if ( tmp_compexpr_left_27 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1633; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } if ( par_limit == NULL ) { Py_DECREF( tmp_compexpr_left_27 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1633; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_27 = par_limit; tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_27, tmp_compexpr_right_27 ); Py_DECREF( tmp_compexpr_left_27 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1633; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_44 = tmp_and_right_value_4; goto and_end_4; and_left_4:; tmp_condition_result_44 = tmp_and_left_value_4; and_end_4:; if ( tmp_condition_result_44 == NUITKA_BOOL_TRUE ) { goto branch_yes_42; } else { goto branch_no_42; } branch_yes_42:; { PyObject *tmp_assign_source_104; PyObject *tmp_subscribed_name_6; PyObject *tmp_subscript_name_6; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_step_name_1; if ( var_current_context == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "current_context" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1634; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_6 = var_current_context; tmp_start_name_1 = Py_None; if ( par_limit == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "limit" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1634; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_stop_name_1 = par_limit; tmp_step_name_1 = Py_None; tmp_subscript_name_6 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); assert( !(tmp_subscript_name_6 == NULL) ); tmp_assign_source_104 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_6, tmp_subscript_name_6 ); Py_DECREF( tmp_subscript_name_6 ); if ( tmp_assign_source_104 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1634; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_current_context; var_current_context = tmp_assign_source_104; Py_XDECREF( old ); } } branch_no_42:; } { nuitka_bool tmp_condition_result_45; PyObject *tmp_source_name_38; PyObject *tmp_attribute_value_9; int tmp_truth_name_17; if ( PyCell_GET( 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 = 1636; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_source_name_38 = PyCell_GET( par_self ); tmp_attribute_value_9 = LOOKUP_ATTRIBUTE( tmp_source_name_38, const_str_plain__select_debug ); if ( tmp_attribute_value_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1636; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_truth_name_17 = CHECK_IF_TRUE( tmp_attribute_value_9 ); if ( tmp_truth_name_17 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_9 ); exception_lineno = 1636; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_condition_result_45 = tmp_truth_name_17 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_9 ); if ( tmp_condition_result_45 == NUITKA_BOOL_TRUE ) { goto branch_yes_43; } else { goto branch_no_43; } branch_yes_43:; { PyObject *tmp_called_name_26; tmp_called_name_26 = LOOKUP_BUILTIN( const_str_plain_print ); assert( tmp_called_name_26 != NULL ); frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1637; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_26, &PyTuple_GET_ITEM( const_tuple_str_digest_e273606d4c097599be39501a7a73668e_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1637; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_105; PyObject *tmp_iter_arg_13; if ( var_current_context == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "current_context" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1638; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_iter_arg_13 = var_current_context; tmp_assign_source_105 = MAKE_ITERATOR( tmp_iter_arg_13 ); if ( tmp_assign_source_105 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1638; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_6__for_iterator == NULL ); tmp_for_loop_6__for_iterator = tmp_assign_source_105; } { // Tried code: { loop_start_7:; { PyObject *tmp_next_source_7; PyObject *tmp_assign_source_106; CHECK_OBJECT( tmp_for_loop_6__for_iterator ); tmp_next_source_7 = tmp_for_loop_6__for_iterator; tmp_assign_source_106 = ITERATOR_NEXT( tmp_next_source_7 ); if ( tmp_assign_source_106 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_7; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; exception_lineno = 1638; goto try_except_handler_28; } } { PyObject *old = tmp_for_loop_6__iter_value; tmp_for_loop_6__iter_value = tmp_assign_source_106; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_107; CHECK_OBJECT( tmp_for_loop_6__iter_value ); tmp_assign_source_107 = tmp_for_loop_6__iter_value; { PyObject *old = var_i; var_i = tmp_assign_source_107; Py_INCREF( var_i ); Py_XDECREF( old ); } } { PyObject *tmp_called_name_27; PyObject *tmp_args_element_name_25; PyObject *tmp_left_name_13; PyObject *tmp_right_name_13; PyObject *tmp_tuple_element_8; PyObject *tmp_source_name_39; PyObject *tmp_source_name_40; tmp_called_name_27 = LOOKUP_BUILTIN( const_str_plain_print ); assert( tmp_called_name_27 != NULL ); tmp_left_name_13 = const_str_digest_5736cb45d19b2ad30baee1ce9c2a9a91; CHECK_OBJECT( var_i ); tmp_source_name_39 = var_i; tmp_tuple_element_8 = LOOKUP_ATTRIBUTE( tmp_source_name_39, const_str_plain_name ); if ( tmp_tuple_element_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1639; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_28; } tmp_right_name_13 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_13, 0, tmp_tuple_element_8 ); if ( var_i == NULL ) { Py_DECREF( tmp_right_name_13 ); 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 = 1639; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_28; } tmp_source_name_40 = var_i; tmp_tuple_element_8 = LOOKUP_ATTRIBUTE( tmp_source_name_40, const_str_plain_attrs ); if ( tmp_tuple_element_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_13 ); exception_lineno = 1639; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_28; } PyTuple_SET_ITEM( tmp_right_name_13, 1, tmp_tuple_element_8 ); tmp_args_element_name_25 = BINARY_OPERATION_REMAINDER( tmp_left_name_13, tmp_right_name_13 ); Py_DECREF( tmp_right_name_13 ); if ( tmp_args_element_name_25 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1639; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_28; } frame_73578e0996899a70851ff82dc61899a5->m_frame.f_lineno = 1639; { PyObject *call_args[] = { tmp_args_element_name_25 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_27, call_args ); } Py_DECREF( tmp_args_element_name_25 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1639; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_28; } Py_DECREF( tmp_unused ); } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1638; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto try_except_handler_28; } goto loop_start_7; loop_end_7:; } goto try_end_21; // Exception handler code: try_except_handler_28:; exception_keeper_type_27 = exception_type; exception_keeper_value_27 = exception_value; exception_keeper_tb_27 = exception_tb; exception_keeper_lineno_27 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_6__iter_value ); tmp_for_loop_6__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_6__for_iterator ); Py_DECREF( tmp_for_loop_6__for_iterator ); tmp_for_loop_6__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_27; exception_value = exception_keeper_value_27; exception_tb = exception_keeper_tb_27; exception_lineno = exception_keeper_lineno_27; goto frame_exception_exit_1; } // End of try: try_end_21:; } { Py_XDECREF( tmp_for_loop_6__iter_value ); tmp_for_loop_6__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_6__for_iterator ); Py_DECREF( tmp_for_loop_6__for_iterator ); tmp_for_loop_6__for_iterator = NULL; } branch_no_43:; } { if ( var_current_context == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "current_context" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1640; type_description_1 = "coooooooooooooooooccooooocoocoooooooocoooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_current_context; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_73578e0996899a70851ff82dc61899a5 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_3; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_73578e0996899a70851ff82dc61899a5 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_73578e0996899a70851ff82dc61899a5 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_73578e0996899a70851ff82dc61899a5, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_73578e0996899a70851ff82dc61899a5->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_73578e0996899a70851ff82dc61899a5, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_73578e0996899a70851ff82dc61899a5, type_description_1, par_self, par_selector, par__candidate_generator, par_limit, var_context, var_selectors, var_used_selectors, var_selected_object_ids, var_partial_selector, var_candidates, var_candidate, var_object_id, var_tokens, var_current_context, var_index, var_token, var_new_context, var_new_context_ids, var_recursive_candidate_generator, var_tag_name, var_checker, var_m, var_attribute, var_operator, var_value, var_tag_id, var_id_matches, var_klass, var_classes, var_classes_match, var_pseudo, var_pseudo_attributes, var_found, var_pseudo_type, var_pseudo_value, var_Counter, var_next_tag_sibling, var_next_token, var_recursive_select, var__use_candidate_generator, var_check, var_default_candidate_generator, var_count, var_tag, var_result, var_i ); // Release cached frame. if ( frame_73578e0996899a70851ff82dc61899a5 == cache_frame_73578e0996899a70851ff82dc61899a5 ) { Py_DECREF( frame_73578e0996899a70851ff82dc61899a5 ); } cache_frame_73578e0996899a70851ff82dc61899a5 = NULL; assertFrameObject( frame_73578e0996899a70851ff82dc61899a5 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_3:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_selector ); par_selector = NULL; } { Py_XDECREF( par__candidate_generator ); par__candidate_generator = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( var_context ); var_context = NULL; } { Py_XDECREF( var_selectors ); var_selectors = NULL; } { Py_XDECREF( var_used_selectors ); var_used_selectors = NULL; } { Py_XDECREF( var_selected_object_ids ); var_selected_object_ids = NULL; } { Py_XDECREF( var_partial_selector ); var_partial_selector = NULL; } { Py_XDECREF( var_candidates ); var_candidates = NULL; } { Py_XDECREF( var_candidate ); var_candidate = NULL; } { Py_XDECREF( var_object_id ); var_object_id = NULL; } { Py_XDECREF( var_tokens ); var_tokens = NULL; } { Py_XDECREF( var_current_context ); var_current_context = NULL; } { Py_XDECREF( var_index ); var_index = NULL; } { Py_XDECREF( var_token ); var_token = NULL; } { Py_XDECREF( var_new_context ); var_new_context = NULL; } { Py_XDECREF( var_new_context_ids ); var_new_context_ids = NULL; } { CHECK_OBJECT( (PyObject *)var_recursive_candidate_generator ); Py_DECREF( var_recursive_candidate_generator ); var_recursive_candidate_generator = NULL; } { CHECK_OBJECT( (PyObject *)var_tag_name ); Py_DECREF( var_tag_name ); var_tag_name = NULL; } { Py_XDECREF( var_checker ); var_checker = NULL; } { Py_XDECREF( var_m ); var_m = NULL; } { Py_XDECREF( var_attribute ); var_attribute = NULL; } { Py_XDECREF( var_operator ); var_operator = NULL; } { Py_XDECREF( var_value ); var_value = NULL; } { CHECK_OBJECT( (PyObject *)var_tag_id ); Py_DECREF( var_tag_id ); var_tag_id = NULL; } { Py_XDECREF( var_id_matches ); var_id_matches = NULL; } { Py_XDECREF( var_klass ); var_klass = NULL; } { CHECK_OBJECT( (PyObject *)var_classes ); Py_DECREF( var_classes ); var_classes = NULL; } { Py_XDECREF( var_classes_match ); var_classes_match = NULL; } { Py_XDECREF( var_pseudo ); var_pseudo = NULL; } { Py_XDECREF( var_pseudo_attributes ); var_pseudo_attributes = NULL; } { Py_XDECREF( var_found ); var_found = NULL; } { Py_XDECREF( var_pseudo_type ); var_pseudo_type = NULL; } { Py_XDECREF( var_pseudo_value ); var_pseudo_value = NULL; } { Py_XDECREF( var_Counter ); var_Counter = NULL; } { Py_XDECREF( var_next_tag_sibling ); var_next_tag_sibling = NULL; } { CHECK_OBJECT( (PyObject *)var_next_token ); Py_DECREF( var_next_token ); var_next_token = NULL; } { Py_XDECREF( var_recursive_select ); var_recursive_select = NULL; } { Py_XDECREF( var__use_candidate_generator ); var__use_candidate_generator = NULL; } { Py_XDECREF( var_check ); var_check = NULL; } { Py_XDECREF( var_default_candidate_generator ); var_default_candidate_generator = NULL; } { Py_XDECREF( var_count ); var_count = NULL; } { Py_XDECREF( var_tag ); var_tag = NULL; } { Py_XDECREF( var_result ); var_result = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_28 = exception_type; exception_keeper_value_28 = exception_value; exception_keeper_tb_28 = exception_tb; exception_keeper_lineno_28 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)par_self ); Py_DECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_selector ); par_selector = NULL; } { Py_XDECREF( par__candidate_generator ); par__candidate_generator = NULL; } { Py_XDECREF( par_limit ); par_limit = NULL; } { Py_XDECREF( var_context ); var_context = NULL; } { Py_XDECREF( var_selectors ); var_selectors = NULL; } { Py_XDECREF( var_used_selectors ); var_used_selectors = NULL; } { Py_XDECREF( var_selected_object_ids ); var_selected_object_ids = NULL; } { Py_XDECREF( var_partial_selector ); var_partial_selector = NULL; } { Py_XDECREF( var_candidates ); var_candidates = NULL; } { Py_XDECREF( var_candidate ); var_candidate = NULL; } { Py_XDECREF( var_object_id ); var_object_id = NULL; } { Py_XDECREF( var_tokens ); var_tokens = NULL; } { Py_XDECREF( var_current_context ); var_current_context = NULL; } { Py_XDECREF( var_index ); var_index = NULL; } { Py_XDECREF( var_token ); var_token = NULL; } { Py_XDECREF( var_new_context ); var_new_context = NULL; } { Py_XDECREF( var_new_context_ids ); var_new_context_ids = NULL; } { CHECK_OBJECT( (PyObject *)var_recursive_candidate_generator ); Py_DECREF( var_recursive_candidate_generator ); var_recursive_candidate_generator = NULL; } { CHECK_OBJECT( (PyObject *)var_tag_name ); Py_DECREF( var_tag_name ); var_tag_name = NULL; } { Py_XDECREF( var_checker ); var_checker = NULL; } { Py_XDECREF( var_m ); var_m = NULL; } { Py_XDECREF( var_attribute ); var_attribute = NULL; } { Py_XDECREF( var_operator ); var_operator = NULL; } { Py_XDECREF( var_value ); var_value = NULL; } { CHECK_OBJECT( (PyObject *)var_tag_id ); Py_DECREF( var_tag_id ); var_tag_id = NULL; } { Py_XDECREF( var_id_matches ); var_id_matches = NULL; } { Py_XDECREF( var_klass ); var_klass = NULL; } { CHECK_OBJECT( (PyObject *)var_classes ); Py_DECREF( var_classes ); var_classes = NULL; } { Py_XDECREF( var_classes_match ); var_classes_match = NULL; } { Py_XDECREF( var_pseudo ); var_pseudo = NULL; } { Py_XDECREF( var_pseudo_attributes ); var_pseudo_attributes = NULL; } { Py_XDECREF( var_found ); var_found = NULL; } { Py_XDECREF( var_pseudo_type ); var_pseudo_type = NULL; } { Py_XDECREF( var_pseudo_value ); var_pseudo_value = NULL; } { Py_XDECREF( var_Counter ); var_Counter = NULL; } { Py_XDECREF( var_next_tag_sibling ); var_next_tag_sibling = NULL; } { CHECK_OBJECT( (PyObject *)var_next_token ); Py_DECREF( var_next_token ); var_next_token = NULL; } { Py_XDECREF( var_recursive_select ); var_recursive_select = NULL; } { Py_XDECREF( var__use_candidate_generator ); var__use_candidate_generator = NULL; } { Py_XDECREF( var_check ); var_check = NULL; } { Py_XDECREF( var_default_candidate_generator ); var_default_candidate_generator = NULL; } { Py_XDECREF( var_count ); var_count = NULL; } { Py_XDECREF( var_tag ); var_tag = NULL; } { Py_XDECREF( var_result ); var_result = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { // Re-raise. exception_type = exception_keeper_type_28; exception_value = exception_keeper_value_28; exception_tb = exception_keeper_tb_28; exception_lineno = exception_keeper_lineno_28; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select ); return NULL; function_exception_exit: Py_XDECREF( locals_bs4$element$$$function_105_select_1514 ); assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: Py_XDECREF( locals_bs4$element$$$function_105_select_1514 ); CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_bs4$element$$$function_105_select$$$function_1_id_matches( 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_tag = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_2ea4a8667de875c414651a744472e264; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_2ea4a8667de875c414651a744472e264 = 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_2ea4a8667de875c414651a744472e264, codeobj_2ea4a8667de875c414651a744472e264, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_2ea4a8667de875c414651a744472e264 = cache_frame_2ea4a8667de875c414651a744472e264; // Push the new frame as the currently active one. pushFrameStack( frame_2ea4a8667de875c414651a744472e264 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_2ea4a8667de875c414651a744472e264 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_tag ); tmp_called_instance_1 = par_tag; frame_2ea4a8667de875c414651a744472e264->m_frame.f_lineno = 1481; tmp_compexpr_left_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_plain_id_none_tuple, 0 ) ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1481; type_description_1 = "oc"; goto frame_exception_exit_1; } if ( PyCell_GET( self->m_closure[0] ) == NULL ) { Py_DECREF( tmp_compexpr_left_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "tag_id" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1481; type_description_1 = "oc"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = PyCell_GET( self->m_closure[0] ); tmp_return_value = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1481; type_description_1 = "oc"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_2ea4a8667de875c414651a744472e264 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2ea4a8667de875c414651a744472e264 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2ea4a8667de875c414651a744472e264 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_2ea4a8667de875c414651a744472e264, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_2ea4a8667de875c414651a744472e264->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_2ea4a8667de875c414651a744472e264, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_2ea4a8667de875c414651a744472e264, type_description_1, par_tag, self->m_closure[0] ); // Release cached frame. if ( frame_2ea4a8667de875c414651a744472e264 == cache_frame_2ea4a8667de875c414651a744472e264 ) { Py_DECREF( frame_2ea4a8667de875c414651a744472e264 ); } cache_frame_2ea4a8667de875c414651a744472e264 = NULL; assertFrameObject( frame_2ea4a8667de875c414651a744472e264 ); // 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( bs4$element$$$function_105_select$$$function_1_id_matches ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_tag ); par_tag = 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_tag ); par_tag = 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( bs4$element$$$function_105_select$$$function_1_id_matches ); 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_bs4$element$$$function_105_select$$$function_2_classes_match( 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_candidate = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_a992b85df06a2cd3f7777638f7786b14; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_a992b85df06a2cd3f7777638f7786b14 = 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_a992b85df06a2cd3f7777638f7786b14, codeobj_a992b85df06a2cd3f7777638f7786b14, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_a992b85df06a2cd3f7777638f7786b14 = cache_frame_a992b85df06a2cd3f7777638f7786b14; // Push the new frame as the currently active one. pushFrameStack( frame_a992b85df06a2cd3f7777638f7786b14 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_a992b85df06a2cd3f7777638f7786b14 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_called_instance_1; PyObject *tmp_call_arg_element_1; PyObject *tmp_call_arg_element_2; if ( PyCell_GET( self->m_closure[0] ) == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "classes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1489; type_description_1 = "oc"; goto frame_exception_exit_1; } tmp_source_name_1 = PyCell_GET( self->m_closure[0] ); tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_issubset ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1489; type_description_1 = "oc"; goto frame_exception_exit_1; } if ( par_candidate == 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", "candidate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1489; type_description_1 = "oc"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_candidate; tmp_call_arg_element_1 = const_str_plain_class; tmp_call_arg_element_2 = PyList_New( 0 ); frame_a992b85df06a2cd3f7777638f7786b14->m_frame.f_lineno = 1489; { PyObject *call_args[] = { tmp_call_arg_element_1, tmp_call_arg_element_2 }; tmp_args_element_name_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_get, call_args ); } Py_DECREF( tmp_call_arg_element_2 ); 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 = 1489; type_description_1 = "oc"; goto frame_exception_exit_1; } frame_a992b85df06a2cd3f7777638f7786b14->m_frame.f_lineno = 1489; { 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 = 1489; type_description_1 = "oc"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_a992b85df06a2cd3f7777638f7786b14 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a992b85df06a2cd3f7777638f7786b14 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a992b85df06a2cd3f7777638f7786b14 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_a992b85df06a2cd3f7777638f7786b14, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_a992b85df06a2cd3f7777638f7786b14->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_a992b85df06a2cd3f7777638f7786b14, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_a992b85df06a2cd3f7777638f7786b14, type_description_1, par_candidate, self->m_closure[0] ); // Release cached frame. if ( frame_a992b85df06a2cd3f7777638f7786b14 == cache_frame_a992b85df06a2cd3f7777638f7786b14 ) { Py_DECREF( frame_a992b85df06a2cd3f7777638f7786b14 ); } cache_frame_a992b85df06a2cd3f7777638f7786b14 = NULL; assertFrameObject( frame_a992b85df06a2cd3f7777638f7786b14 ); // 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( bs4$element$$$function_105_select$$$function_2_classes_match ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_candidate ); par_candidate = 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_candidate ); par_candidate = 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( bs4$element$$$function_105_select$$$function_2_classes_match ); 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_bs4$element$$$function_105_select$$$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_destination = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_c88400ee2d1354041ab542dad659f415; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_c88400ee2d1354041ab542dad659f415 = 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_c88400ee2d1354041ab542dad659f415, codeobj_c88400ee2d1354041ab542dad659f415, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_c88400ee2d1354041ab542dad659f415 = cache_frame_c88400ee2d1354041ab542dad659f415; // Push the new frame as the currently active one. pushFrameStack( frame_c88400ee2d1354041ab542dad659f415 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c88400ee2d1354041ab542dad659f415 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; tmp_assattr_name_1 = const_int_0; CHECK_OBJECT( par_self ); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_count, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1516; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; if ( par_destination == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "destination" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1517; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_name_2 = par_destination; 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 = 1517; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_destination, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1517; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_c88400ee2d1354041ab542dad659f415 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c88400ee2d1354041ab542dad659f415 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c88400ee2d1354041ab542dad659f415, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c88400ee2d1354041ab542dad659f415->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c88400ee2d1354041ab542dad659f415, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c88400ee2d1354041ab542dad659f415, type_description_1, par_self, par_destination ); // Release cached frame. if ( frame_c88400ee2d1354041ab542dad659f415 == cache_frame_c88400ee2d1354041ab542dad659f415 ) { Py_DECREF( frame_c88400ee2d1354041ab542dad659f415 ); } cache_frame_c88400ee2d1354041ab542dad659f415 = NULL; assertFrameObject( frame_c88400ee2d1354041ab542dad659f415 ); // 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( bs4$element$$$function_105_select$$$function_3___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_destination ); par_destination = 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_destination ); par_destination = 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( bs4$element$$$function_105_select$$$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_bs4$element$$$function_105_select$$$function_4_nth_child_of_type( 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_tag = python_pars[ 1 ]; PyObject *tmp_inplace_assign_attr_1__end = NULL; PyObject *tmp_inplace_assign_attr_1__start = NULL; struct Nuitka_FrameObject *frame_508da5ad87b8cc5ebb0c038967267d94; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_508da5ad87b8cc5ebb0c038967267d94 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_508da5ad87b8cc5ebb0c038967267d94, codeobj_508da5ad87b8cc5ebb0c038967267d94, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_508da5ad87b8cc5ebb0c038967267d94 = cache_frame_508da5ad87b8cc5ebb0c038967267d94; // Push the new frame as the currently active one. pushFrameStack( frame_508da5ad87b8cc5ebb0c038967267d94 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_508da5ad87b8cc5ebb0c038967267d94 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_count ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1520; type_description_1 = "oo"; goto frame_exception_exit_1; } assert( tmp_inplace_assign_attr_1__start == NULL ); tmp_inplace_assign_attr_1__start = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT( tmp_inplace_assign_attr_1__start ); tmp_left_name_1 = tmp_inplace_assign_attr_1__start; tmp_right_name_1 = const_int_pos_1; tmp_assign_source_2 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_1, tmp_right_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1520; type_description_1 = "oo"; goto try_except_handler_2; } assert( tmp_inplace_assign_attr_1__end == NULL ); tmp_inplace_assign_attr_1__end = tmp_assign_source_2; } { // Tried code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( tmp_inplace_assign_attr_1__end ); tmp_assattr_name_1 = tmp_inplace_assign_attr_1__end; 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 = 1520; type_description_1 = "oo"; goto try_except_handler_3; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_count, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1520; type_description_1 = "oo"; goto try_except_handler_3; } } goto try_end_1; // Exception handler code: try_except_handler_3:; 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_inplace_assign_attr_1__end ); Py_DECREF( tmp_inplace_assign_attr_1__end ); tmp_inplace_assign_attr_1__end = 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_2; } // End of try: try_end_1:; } 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_inplace_assign_attr_1__start ); Py_DECREF( tmp_inplace_assign_attr_1__start ); tmp_inplace_assign_attr_1__start = 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_inplace_assign_attr_1__end ); Py_DECREF( tmp_inplace_assign_attr_1__end ); tmp_inplace_assign_attr_1__end = NULL; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_1__start ); Py_DECREF( tmp_inplace_assign_attr_1__start ); tmp_inplace_assign_attr_1__start = NULL; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1521; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_count ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1521; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_compexpr_left_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 = 1521; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_destination ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_1 ); exception_lineno = 1521; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1521; 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:; { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_508da5ad87b8cc5ebb0c038967267d94 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_508da5ad87b8cc5ebb0c038967267d94 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_508da5ad87b8cc5ebb0c038967267d94 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_508da5ad87b8cc5ebb0c038967267d94, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_508da5ad87b8cc5ebb0c038967267d94->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_508da5ad87b8cc5ebb0c038967267d94, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_508da5ad87b8cc5ebb0c038967267d94, type_description_1, par_self, par_tag ); // Release cached frame. if ( frame_508da5ad87b8cc5ebb0c038967267d94 == cache_frame_508da5ad87b8cc5ebb0c038967267d94 ) { Py_DECREF( frame_508da5ad87b8cc5ebb0c038967267d94 ); } cache_frame_508da5ad87b8cc5ebb0c038967267d94 = NULL; assertFrameObject( frame_508da5ad87b8cc5ebb0c038967267d94 ); // 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( bs4$element$$$function_105_select$$$function_4_nth_child_of_type ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_tag ); par_tag = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; 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( par_self ); par_self = NULL; } { Py_XDECREF( par_tag ); par_tag = 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 function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select$$$function_4_nth_child_of_type ); 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_bs4$element$$$function_105_select$$$function_5_lambda( 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_tag = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_a7d3224942f07febe795b2b771317adc; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_a7d3224942f07febe795b2b771317adc = 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_a7d3224942f07febe795b2b771317adc, codeobj_a7d3224942f07febe795b2b771317adc, module_bs4$element, sizeof(void *) ); frame_a7d3224942f07febe795b2b771317adc = cache_frame_a7d3224942f07febe795b2b771317adc; // Push the new frame as the currently active one. pushFrameStack( frame_a7d3224942f07febe795b2b771317adc ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_a7d3224942f07febe795b2b771317adc ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_tag ); tmp_source_name_1 = par_tag; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_children ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1536; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_a7d3224942f07febe795b2b771317adc ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a7d3224942f07febe795b2b771317adc ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a7d3224942f07febe795b2b771317adc ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_a7d3224942f07febe795b2b771317adc, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_a7d3224942f07febe795b2b771317adc->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_a7d3224942f07febe795b2b771317adc, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_a7d3224942f07febe795b2b771317adc, type_description_1, par_tag ); // Release cached frame. if ( frame_a7d3224942f07febe795b2b771317adc == cache_frame_a7d3224942f07febe795b2b771317adc ) { Py_DECREF( frame_a7d3224942f07febe795b2b771317adc ); } cache_frame_a7d3224942f07febe795b2b771317adc = NULL; assertFrameObject( frame_a7d3224942f07febe795b2b771317adc ); // 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( bs4$element$$$function_105_select$$$function_5_lambda ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_tag ); par_tag = 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_tag ); par_tag = 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( bs4$element$$$function_105_select$$$function_5_lambda ); 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_bs4$element$$$function_105_select$$$function_6_lambda( 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_tag = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_95733d7b944085deb96e9de33b5bd2a3; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_95733d7b944085deb96e9de33b5bd2a3 = 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_95733d7b944085deb96e9de33b5bd2a3, codeobj_95733d7b944085deb96e9de33b5bd2a3, module_bs4$element, sizeof(void *) ); frame_95733d7b944085deb96e9de33b5bd2a3 = cache_frame_95733d7b944085deb96e9de33b5bd2a3; // Push the new frame as the currently active one. pushFrameStack( frame_95733d7b944085deb96e9de33b5bd2a3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_95733d7b944085deb96e9de33b5bd2a3 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_tag ); tmp_source_name_1 = par_tag; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_next_siblings ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1540; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_95733d7b944085deb96e9de33b5bd2a3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_95733d7b944085deb96e9de33b5bd2a3 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_95733d7b944085deb96e9de33b5bd2a3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_95733d7b944085deb96e9de33b5bd2a3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_95733d7b944085deb96e9de33b5bd2a3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_95733d7b944085deb96e9de33b5bd2a3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_95733d7b944085deb96e9de33b5bd2a3, type_description_1, par_tag ); // Release cached frame. if ( frame_95733d7b944085deb96e9de33b5bd2a3 == cache_frame_95733d7b944085deb96e9de33b5bd2a3 ) { Py_DECREF( frame_95733d7b944085deb96e9de33b5bd2a3 ); } cache_frame_95733d7b944085deb96e9de33b5bd2a3 = NULL; assertFrameObject( frame_95733d7b944085deb96e9de33b5bd2a3 ); // 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( bs4$element$$$function_105_select$$$function_6_lambda ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_tag ); par_tag = 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_tag ); par_tag = 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( bs4$element$$$function_105_select$$$function_6_lambda ); 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_bs4$element$$$function_105_select$$$function_7_next_tag_sibling( 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_tag = PyCell_NEW1( python_pars[ 0 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = bs4$element$$$function_105_select$$$function_7_next_tag_sibling$$$genobj_1_next_tag_sibling_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_tag; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select$$$function_7_next_tag_sibling ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_tag ); Py_DECREF( par_tag ); par_tag = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_tag ); Py_DECREF( par_tag ); par_tag = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select$$$function_7_next_tag_sibling ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct bs4$element$$$function_105_select$$$function_7_next_tag_sibling$$$genobj_1_next_tag_sibling_locals { char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; char yield_tmps[1024]; }; static PyObject *bs4$element$$$function_105_select$$$function_7_next_tag_sibling$$$genobj_1_next_tag_sibling_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct bs4$element$$$function_105_select$$$function_7_next_tag_sibling$$$genobj_1_next_tag_sibling_locals *generator_heap = (struct bs4$element$$$function_105_select$$$function_7_next_tag_sibling$$$genobj_1_next_tag_sibling_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { 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->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. MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_9cb785f0762896331987e722af13e325, module_bs4$element, 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_expression_name_1; PyObject *tmp_called_instance_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", "tag" ); 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 = 1546; generator_heap->type_description_1 = "c"; goto frame_exception_exit_1; } tmp_called_instance_1 = PyCell_GET( generator->m_closure[0] ); generator->m_frame->m_frame.f_lineno = 1546; tmp_expression_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_find_next_sibling, &PyTuple_GET_ITEM( const_tuple_true_tuple, 0 ) ); 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 = 1546; generator_heap->type_description_1 = "c"; goto frame_exception_exit_1; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_called_instance_1, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_called_instance_1, 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 = 1546; generator_heap->type_description_1 = "c"; goto frame_exception_exit_1; } tmp_unused = yield_return_value; } 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[0] ); // 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 function_exception_exit; frame_no_exception_1:; 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 *bs4$element$$$function_105_select$$$function_7_next_tag_sibling$$$genobj_1_next_tag_sibling_maker( void ) { return Nuitka_Generator_New( bs4$element$$$function_105_select$$$function_7_next_tag_sibling$$$genobj_1_next_tag_sibling_context, module_bs4$element, const_str_plain_next_tag_sibling, #if PYTHON_VERSION >= 350 const_str_digest_9e7a277d9917e2e9d98ff2c93253b608, #endif codeobj_9cb785f0762896331987e722af13e325, 1, sizeof(struct bs4$element$$$function_105_select$$$function_7_next_tag_sibling$$$genobj_1_next_tag_sibling_locals) ); } static PyObject *impl_bs4$element$$$function_105_select$$$function_8_recursive_select( 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_tag = PyCell_NEW1( python_pars[ 0 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = bs4$element$$$function_105_select$$$function_8_recursive_select$$$genobj_1_recursive_select_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = self->m_closure[0]; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[1] = self->m_closure[1]; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[1] ); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[2] = self->m_closure[2]; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[2] ); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[3] = par_tag; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[3] ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select$$$function_8_recursive_select ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_tag ); Py_DECREF( par_tag ); par_tag = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_tag ); Py_DECREF( par_tag ); par_tag = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select$$$function_8_recursive_select ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct bs4$element$$$function_105_select$$$function_8_recursive_select$$$genobj_1_recursive_select_locals { PyObject *var_i; PyObject *tmp_for_loop_1__for_iterator; PyObject *tmp_for_loop_1__iter_value; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; 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; }; static PyObject *bs4$element$$$function_105_select$$$function_8_recursive_select$$$genobj_1_recursive_select_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct bs4$element$$$function_105_select$$$function_8_recursive_select$$$genobj_1_recursive_select_locals *generator_heap = (struct bs4$element$$$function_105_select$$$function_8_recursive_select$$$genobj_1_recursive_select_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { 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_i = NULL; generator_heap->tmp_for_loop_1__for_iterator = NULL; generator_heap->tmp_for_loop_1__iter_value = 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_72a42c0abddbd72027f45c1c062c6cb4, module_bs4$element, 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: { nuitka_bool tmp_condition_result_1; PyObject *tmp_source_name_1; PyObject *tmp_attribute_value_1; int tmp_truth_name_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", "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 = 1567; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } tmp_source_name_1 = PyCell_GET( generator->m_closure[2] ); tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__select_debug ); 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 = 1567; generator_heap->type_description_1 = "coccc"; 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( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_attribute_value_1 ); generator_heap->exception_lineno = 1567; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_1 ); if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; tmp_called_name_1 = LOOKUP_BUILTIN( const_str_plain_print ); assert( tmp_called_name_1 != NULL ); tmp_left_name_1 = const_str_digest_ccbb947840a4fb4e5eae42a4041b85b1; 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", "next_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 = 1568; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } tmp_tuple_element_1 = PyCell_GET( generator->m_closure[0] ); tmp_right_name_1 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_1 ); if ( PyCell_GET( generator->m_closure[3] ) == NULL ) { Py_DECREF( tmp_right_name_1 ); 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", "tag" ); 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 = 1568; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } tmp_source_name_2 = PyCell_GET( generator->m_closure[3] ); tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_name ); 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_1 ); generator_heap->exception_lineno = 1568; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_1 ); if ( PyCell_GET( generator->m_closure[3] ) == NULL ) { Py_DECREF( tmp_right_name_1 ); 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", "tag" ); 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 = 1568; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } tmp_source_name_3 = PyCell_GET( generator->m_closure[3] ); tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_attrs ); 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_1 ); generator_heap->exception_lineno = 1568; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_right_name_1, 2, tmp_tuple_element_1 ); tmp_args_element_name_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_args_element_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 = 1568; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } generator->m_frame->m_frame.f_lineno = 1568; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_args_element_name_1 ); 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 = 1568; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_2; tmp_called_name_2 = LOOKUP_BUILTIN( const_str_plain_print ); assert( tmp_called_name_2 != NULL ); generator->m_frame->m_frame.f_lineno = 1569; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, &PyTuple_GET_ITEM( const_tuple_str_digest_1f70ae3166f8abcc5a59720728b1b0a3_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 = 1569; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_1:; } { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_3; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; if ( PyCell_GET( generator->m_closure[3] ) == 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", "tag" ); 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 = 1570; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } tmp_source_name_4 = PyCell_GET( generator->m_closure[3] ); tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_select ); if ( tmp_called_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 = 1570; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { Py_DECREF( tmp_called_name_3 ); 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", "next_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 = 1570; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } tmp_args_element_name_2 = PyCell_GET( generator->m_closure[0] ); if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { Py_DECREF( tmp_called_name_3 ); 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", "recursive_candidate_generator" ); 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 = 1570; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } tmp_args_element_name_3 = PyCell_GET( generator->m_closure[1] ); generator->m_frame->m_frame.f_lineno = 1570; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 1570; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 1570; generator_heap->type_description_1 = "coccc"; 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_1; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_2; 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_2 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_2 == 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 = "coccc"; generator_heap->exception_lineno = 1570; 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_2; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_3; CHECK_OBJECT( generator_heap->tmp_for_loop_1__iter_value ); tmp_assign_source_3 = generator_heap->tmp_for_loop_1__iter_value; { PyObject *old = generator_heap->var_i; generator_heap->var_i = tmp_assign_source_3; Py_INCREF( generator_heap->var_i ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_source_name_5; PyObject *tmp_attribute_value_2; int tmp_truth_name_2; 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", "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 = 1571; generator_heap->type_description_1 = "coccc"; goto try_except_handler_2; } tmp_source_name_5 = PyCell_GET( generator->m_closure[2] ); tmp_attribute_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__select_debug ); 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 = 1571; generator_heap->type_description_1 = "coccc"; goto try_except_handler_2; } tmp_truth_name_2 = CHECK_IF_TRUE( tmp_attribute_value_2 ); 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_2 ); generator_heap->exception_lineno = 1571; generator_heap->type_description_1 = "coccc"; goto try_except_handler_2; } tmp_condition_result_2 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_2 ); if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_called_name_4; PyObject *tmp_args_element_name_4; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_source_name_6; PyObject *tmp_source_name_7; tmp_called_name_4 = LOOKUP_BUILTIN( const_str_plain_print ); assert( tmp_called_name_4 != NULL ); tmp_left_name_2 = const_str_digest_c285b35f2c69702515d7fc31396c1836; if ( generator_heap->var_i == 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", "i" ); 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 = 1572; generator_heap->type_description_1 = "coccc"; goto try_except_handler_2; } tmp_source_name_6 = generator_heap->var_i; tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_name ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 1572; generator_heap->type_description_1 = "coccc"; goto try_except_handler_2; } tmp_right_name_2 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_2 ); if ( generator_heap->var_i == NULL ) { Py_DECREF( tmp_right_name_2 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "i" ); 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 = 1572; generator_heap->type_description_1 = "coccc"; goto try_except_handler_2; } tmp_source_name_7 = generator_heap->var_i; tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_attrs ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_right_name_2 ); generator_heap->exception_lineno = 1572; generator_heap->type_description_1 = "coccc"; goto try_except_handler_2; } PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_2 ); tmp_args_element_name_4 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_args_element_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 = 1572; generator_heap->type_description_1 = "coccc"; goto try_except_handler_2; } generator->m_frame->m_frame.f_lineno = 1572; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_args_element_name_4 ); 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 = 1572; generator_heap->type_description_1 = "coccc"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_2:; } { PyObject *tmp_expression_name_1; if ( generator_heap->var_i == 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", "i" ); 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 = 1573; generator_heap->type_description_1 = "coccc"; goto try_except_handler_2; } tmp_expression_name_1 = generator_heap->var_i; Py_INCREF( tmp_expression_name_1 ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: 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 = 1573; generator_heap->type_description_1 = "coccc"; goto try_except_handler_2; } tmp_unused = yield_return_value; } 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 = 1570; generator_heap->type_description_1 = "coccc"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; 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; { 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_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 frame_exception_exit_1; } // End of try: try_end_1:; } { 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; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_source_name_8; PyObject *tmp_attribute_value_3; int tmp_truth_name_3; 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", "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 = 1574; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } tmp_source_name_8 = PyCell_GET( generator->m_closure[2] ); tmp_attribute_value_3 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain__select_debug ); 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 = 1574; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } tmp_truth_name_3 = CHECK_IF_TRUE( tmp_attribute_value_3 ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_attribute_value_3 ); generator_heap->exception_lineno = 1574; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_3 == 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_called_name_5; tmp_called_name_5 = LOOKUP_BUILTIN( const_str_plain_print ); assert( tmp_called_name_5 != NULL ); generator->m_frame->m_frame.f_lineno = 1575; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, &PyTuple_GET_ITEM( const_tuple_str_digest_1f70ae3166f8abcc5a59720728b1b0a3_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 = 1575; generator_heap->type_description_1 = "coccc"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_3:; } 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[3], generator_heap->var_i, generator->m_closure[2], generator->m_closure[0], generator->m_closure[1] ); // 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_2; // Exception handler code: try_except_handler_1:; 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; { Py_XDECREF( generator_heap->var_i ); generator_heap->var_i = 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 function_exception_exit; } // End of try: try_end_2:; } { Py_XDECREF( generator_heap->var_i ); generator_heap->var_i = 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 *bs4$element$$$function_105_select$$$function_8_recursive_select$$$genobj_1_recursive_select_maker( void ) { return Nuitka_Generator_New( bs4$element$$$function_105_select$$$function_8_recursive_select$$$genobj_1_recursive_select_context, module_bs4$element, const_str_plain_recursive_select, #if PYTHON_VERSION >= 350 const_str_digest_25d1348e5f90c099302af2b2e7b53e07, #endif codeobj_72a42c0abddbd72027f45c1c062c6cb4, 4, sizeof(struct bs4$element$$$function_105_select$$$function_8_recursive_select$$$genobj_1_recursive_select_locals) ); } static PyObject *impl_bs4$element$$$function_105_select$$$function_9_default_candidate_generator( 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_tag = PyCell_NEW1( python_pars[ 0 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = bs4$element$$$function_105_select$$$function_9_default_candidate_generator$$$genobj_1_default_candidate_generator_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_tag; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[1] = self->m_closure[0]; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[1] ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select$$$function_9_default_candidate_generator ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_tag ); Py_DECREF( par_tag ); par_tag = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_tag ); Py_DECREF( par_tag ); par_tag = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_105_select$$$function_9_default_candidate_generator ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct bs4$element$$$function_105_select$$$function_9_default_candidate_generator$$$genobj_1_default_candidate_generator_locals { PyObject *var_child; PyObject *tmp_for_loop_1__for_iterator; PyObject *tmp_for_loop_1__iter_value; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; int tmp_res; 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; }; static PyObject *bs4$element$$$function_105_select$$$function_9_default_candidate_generator$$$genobj_1_default_candidate_generator_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct bs4$element$$$function_105_select$$$function_9_default_candidate_generator$$$genobj_1_default_candidate_generator_locals *generator_heap = (struct bs4$element$$$function_105_select$$$function_9_default_candidate_generator$$$genobj_1_default_candidate_generator_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { 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_child = NULL; generator_heap->tmp_for_loop_1__for_iterator = NULL; generator_heap->tmp_for_loop_1__iter_value = 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_45dca3d3953d3822c56c4bd07062a506, module_bs4$element, 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_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_source_name_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", "tag" ); 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 = 1592; generator_heap->type_description_1 = "coc"; goto frame_exception_exit_1; } tmp_source_name_1 = PyCell_GET( generator->m_closure[0] ); tmp_iter_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_descendants ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 1592; generator_heap->type_description_1 = "coc"; goto frame_exception_exit_1; } tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 1592; generator_heap->type_description_1 = "coc"; 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_1; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_2; 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_2 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_2 == 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 = "coc"; generator_heap->exception_lineno = 1592; 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_2; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_3; CHECK_OBJECT( generator_heap->tmp_for_loop_1__iter_value ); tmp_assign_source_3 = generator_heap->tmp_for_loop_1__iter_value; { PyObject *old = generator_heap->var_child; generator_heap->var_child = tmp_assign_source_3; Py_INCREF( generator_heap->var_child ); Py_XDECREF( old ); } } { 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( generator_heap->var_child ); tmp_isinstance_inst_1 = generator_heap->var_child; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Tag ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Tag ); } if ( tmp_mvar_value_1 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Tag" ); 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 = 1593; generator_heap->type_description_1 = "coc"; goto try_except_handler_2; } tmp_isinstance_cls_1 = tmp_mvar_value_1; generator_heap->tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_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 = 1593; generator_heap->type_description_1 = "coc"; goto try_except_handler_2; } tmp_operand_name_1 = ( generator_heap->tmp_res != 0 ) ? Py_True : Py_False; generator_heap->tmp_res = CHECK_IF_TRUE( 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 = 1593; generator_heap->type_description_1 = "coc"; goto try_except_handler_2; } tmp_condition_result_1 = ( generator_heap->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:; { goto loop_start_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; 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_operand_name_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_2; 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", "tag_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 = 1595; generator_heap->type_description_1 = "coc"; goto try_except_handler_2; } tmp_truth_name_1 = CHECK_IF_TRUE( PyCell_GET( generator->m_closure[1] ) ); 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 = 1595; generator_heap->type_description_1 = "coc"; goto try_except_handler_2; } 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 ( generator_heap->var_child == 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", "child" ); 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 = 1595; generator_heap->type_description_1 = "coc"; goto try_except_handler_2; } tmp_source_name_2 = generator_heap->var_child; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_name ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 1595; generator_heap->type_description_1 = "coc"; goto try_except_handler_2; } if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { Py_DECREF( tmp_compexpr_left_1 ); 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", "tag_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 = 1595; generator_heap->type_description_1 = "coc"; goto try_except_handler_2; } tmp_compexpr_right_1 = PyCell_GET( generator->m_closure[1] ); tmp_operand_name_2 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); 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 = 1595; generator_heap->type_description_1 = "coc"; goto try_except_handler_2; } 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 = 1595; generator_heap->type_description_1 = "coc"; goto try_except_handler_2; } tmp_and_right_value_1 = ( generator_heap->tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_2 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_2 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { goto loop_start_1; } branch_no_2:; } { PyObject *tmp_expression_name_1; if ( generator_heap->var_child == 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", "child" ); 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 = 1597; generator_heap->type_description_1 = "coc"; goto try_except_handler_2; } tmp_expression_name_1 = generator_heap->var_child; Py_INCREF( tmp_expression_name_1 ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: 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 = 1597; generator_heap->type_description_1 = "coc"; goto try_except_handler_2; } tmp_unused = yield_return_value; } 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 = 1592; generator_heap->type_description_1 = "coc"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; 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; { 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_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 frame_exception_exit_1; } // End of try: try_end_1:; } 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[0], generator_heap->var_child, generator->m_closure[1] ); // 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_2; // Exception handler code: try_except_handler_1:; 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; { Py_XDECREF( generator_heap->var_child ); generator_heap->var_child = 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 function_exception_exit; } // End of try: try_end_2:; } { 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_child ); generator_heap->var_child = 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 *bs4$element$$$function_105_select$$$function_9_default_candidate_generator$$$genobj_1_default_candidate_generator_maker( void ) { return Nuitka_Generator_New( bs4$element$$$function_105_select$$$function_9_default_candidate_generator$$$genobj_1_default_candidate_generator_context, module_bs4$element, const_str_plain_default_candidate_generator, #if PYTHON_VERSION >= 350 const_str_digest_d94dd02ff29f58ae25b53cad8c58cd04, #endif codeobj_45dca3d3953d3822c56c4bd07062a506, 2, sizeof(struct bs4$element$$$function_105_select$$$function_9_default_candidate_generator$$$genobj_1_default_candidate_generator_locals) ); } static PyObject *impl_bs4$element$$$function_105_select$$$function_10_lambda( 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_tag = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_17a4c764cda8ef8f96cd03d867b6d0b6; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_17a4c764cda8ef8f96cd03d867b6d0b6 = 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_17a4c764cda8ef8f96cd03d867b6d0b6, codeobj_17a4c764cda8ef8f96cd03d867b6d0b6, module_bs4$element, sizeof(void *) ); frame_17a4c764cda8ef8f96cd03d867b6d0b6 = cache_frame_17a4c764cda8ef8f96cd03d867b6d0b6; // Push the new frame as the currently active one. pushFrameStack( frame_17a4c764cda8ef8f96cd03d867b6d0b6 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_17a4c764cda8ef8f96cd03d867b6d0b6 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_tag ); tmp_source_name_1 = par_tag; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_descendants ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1600; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_17a4c764cda8ef8f96cd03d867b6d0b6 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_17a4c764cda8ef8f96cd03d867b6d0b6 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_17a4c764cda8ef8f96cd03d867b6d0b6 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_17a4c764cda8ef8f96cd03d867b6d0b6, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_17a4c764cda8ef8f96cd03d867b6d0b6->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_17a4c764cda8ef8f96cd03d867b6d0b6, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_17a4c764cda8ef8f96cd03d867b6d0b6, type_description_1, par_tag ); // Release cached frame. if ( frame_17a4c764cda8ef8f96cd03d867b6d0b6 == cache_frame_17a4c764cda8ef8f96cd03d867b6d0b6 ) { Py_DECREF( frame_17a4c764cda8ef8f96cd03d867b6d0b6 ); } cache_frame_17a4c764cda8ef8f96cd03d867b6d0b6 = NULL; assertFrameObject( frame_17a4c764cda8ef8f96cd03d867b6d0b6 ); // 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( bs4$element$$$function_105_select$$$function_10_lambda ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_tag ); par_tag = 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_tag ); par_tag = 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( bs4$element$$$function_105_select$$$function_10_lambda ); 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_bs4$element$$$function_106_childGenerator( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_99bb15e6e5d12cf32ea888b190b58524; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_99bb15e6e5d12cf32ea888b190b58524 = 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_99bb15e6e5d12cf32ea888b190b58524, codeobj_99bb15e6e5d12cf32ea888b190b58524, module_bs4$element, sizeof(void *) ); frame_99bb15e6e5d12cf32ea888b190b58524 = cache_frame_99bb15e6e5d12cf32ea888b190b58524; // Push the new frame as the currently active one. pushFrameStack( frame_99bb15e6e5d12cf32ea888b190b58524 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_99bb15e6e5d12cf32ea888b190b58524 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_children ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1644; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_99bb15e6e5d12cf32ea888b190b58524 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_99bb15e6e5d12cf32ea888b190b58524 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_99bb15e6e5d12cf32ea888b190b58524 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_99bb15e6e5d12cf32ea888b190b58524, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_99bb15e6e5d12cf32ea888b190b58524->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_99bb15e6e5d12cf32ea888b190b58524, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_99bb15e6e5d12cf32ea888b190b58524, type_description_1, par_self ); // Release cached frame. if ( frame_99bb15e6e5d12cf32ea888b190b58524 == cache_frame_99bb15e6e5d12cf32ea888b190b58524 ) { Py_DECREF( frame_99bb15e6e5d12cf32ea888b190b58524 ); } cache_frame_99bb15e6e5d12cf32ea888b190b58524 = NULL; assertFrameObject( frame_99bb15e6e5d12cf32ea888b190b58524 ); // 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( bs4$element$$$function_106_childGenerator ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_106_childGenerator ); 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_bs4$element$$$function_107_recursiveChildGenerator( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_43fc6ac21ee1b10665b261d36fe69f50; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_43fc6ac21ee1b10665b261d36fe69f50 = 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_43fc6ac21ee1b10665b261d36fe69f50, codeobj_43fc6ac21ee1b10665b261d36fe69f50, module_bs4$element, sizeof(void *) ); frame_43fc6ac21ee1b10665b261d36fe69f50 = cache_frame_43fc6ac21ee1b10665b261d36fe69f50; // Push the new frame as the currently active one. pushFrameStack( frame_43fc6ac21ee1b10665b261d36fe69f50 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_43fc6ac21ee1b10665b261d36fe69f50 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_descendants ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1647; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_43fc6ac21ee1b10665b261d36fe69f50 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_43fc6ac21ee1b10665b261d36fe69f50 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_43fc6ac21ee1b10665b261d36fe69f50 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_43fc6ac21ee1b10665b261d36fe69f50, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_43fc6ac21ee1b10665b261d36fe69f50->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_43fc6ac21ee1b10665b261d36fe69f50, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_43fc6ac21ee1b10665b261d36fe69f50, type_description_1, par_self ); // Release cached frame. if ( frame_43fc6ac21ee1b10665b261d36fe69f50 == cache_frame_43fc6ac21ee1b10665b261d36fe69f50 ) { Py_DECREF( frame_43fc6ac21ee1b10665b261d36fe69f50 ); } cache_frame_43fc6ac21ee1b10665b261d36fe69f50 = NULL; assertFrameObject( frame_43fc6ac21ee1b10665b261d36fe69f50 ); // 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( bs4$element$$$function_107_recursiveChildGenerator ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_107_recursiveChildGenerator ); 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_bs4$element$$$function_108_has_key( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_key = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_893b39554e1d5e4b396856dd6b92db42; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_893b39554e1d5e4b396856dd6b92db42 = 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_893b39554e1d5e4b396856dd6b92db42, codeobj_893b39554e1d5e4b396856dd6b92db42, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_893b39554e1d5e4b396856dd6b92db42 = cache_frame_893b39554e1d5e4b396856dd6b92db42; // Push the new frame as the currently active one. pushFrameStack( frame_893b39554e1d5e4b396856dd6b92db42 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_893b39554e1d5e4b396856dd6b92db42 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_warnings ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_warnings ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "warnings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1653; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_warn ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1653; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_left_name_1 = const_str_digest_2723f6e7179adb3f95d6ef44f1805134; if ( par_key == 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", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1654; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_right_name_1 = par_key; tmp_args_element_name_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_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 = 1653; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_893b39554e1d5e4b396856dd6b92db42->m_frame.f_lineno = 1653; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1653; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_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 = 1655; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_has_attr ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1655; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_key == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1655; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_key; frame_893b39554e1d5e4b396856dd6b92db42->m_frame.f_lineno = 1655; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1655; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_893b39554e1d5e4b396856dd6b92db42 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_893b39554e1d5e4b396856dd6b92db42 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_893b39554e1d5e4b396856dd6b92db42 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_893b39554e1d5e4b396856dd6b92db42, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_893b39554e1d5e4b396856dd6b92db42->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_893b39554e1d5e4b396856dd6b92db42, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_893b39554e1d5e4b396856dd6b92db42, type_description_1, par_self, par_key ); // Release cached frame. if ( frame_893b39554e1d5e4b396856dd6b92db42 == cache_frame_893b39554e1d5e4b396856dd6b92db42 ) { Py_DECREF( frame_893b39554e1d5e4b396856dd6b92db42 ); } cache_frame_893b39554e1d5e4b396856dd6b92db42 = NULL; assertFrameObject( frame_893b39554e1d5e4b396856dd6b92db42 ); // 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( bs4$element$$$function_108_has_key ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { // 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( bs4$element$$$function_108_has_key ); 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_bs4$element$$$function_109___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_attrs = python_pars[ 2 ]; PyObject *par_text = python_pars[ 3 ]; PyObject *par_kwargs = python_pars[ 4 ]; PyObject *var_normalized_attrs = NULL; PyObject *var_key = NULL; PyObject *var_value = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_e6904df3e4103be41c6cd1d7b304b88d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; static struct Nuitka_FrameObject *cache_frame_e6904df3e4103be41c6cd1d7b304b88d = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_e6904df3e4103be41c6cd1d7b304b88d, codeobj_e6904df3e4103be41c6cd1d7b304b88d, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_e6904df3e4103be41c6cd1d7b304b88d = cache_frame_e6904df3e4103be41c6cd1d7b304b88d; // Push the new frame as the currently active one. pushFrameStack( frame_e6904df3e4103be41c6cd1d7b304b88d ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e6904df3e4103be41c6cd1d7b304b88d ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__normalize_search_value ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1663; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1663; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_name; frame_e6904df3e4103be41c6cd1d7b304b88d->m_frame.f_lineno = 1663; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assattr_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assattr_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1663; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1663; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_name, tmp_assattr_name_1 ); Py_DECREF( tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1663; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; if ( par_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1664; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_1 = par_attrs; tmp_isinstance_cls_1 = (PyObject *)&PyDict_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1664; type_description_1 = "oooooooo"; 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 = 1664; type_description_1 = "oooooooo"; 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_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; if ( par_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1667; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_ass_subvalue_1 = par_attrs; 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 = 1667; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_ass_subscribed_1 = par_kwargs; tmp_ass_subscript_1 = const_str_plain_class; 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 = 1667; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; { PyObject *old = par_attrs; par_attrs = tmp_assign_source_1; Py_INCREF( par_attrs ); Py_XDECREF( old ); } } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = const_str_plain_class_; 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 = 1670; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = par_kwargs; tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1670; type_description_1 = "oooooooo"; 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_ass_subvalue_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_ass_subscribed_2; PyObject *tmp_ass_subscript_2; 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 = 1673; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = par_kwargs; tmp_subscript_name_1 = const_str_plain_class_; tmp_ass_subvalue_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); if ( tmp_ass_subvalue_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1673; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_kwargs == NULL ) { Py_DECREF( tmp_ass_subvalue_2 ); 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 = 1673; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_ass_subscribed_2 = par_kwargs; tmp_ass_subscript_2 = const_str_plain_class; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2 ); Py_DECREF( tmp_ass_subvalue_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1673; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_delsubscr_target_1; PyObject *tmp_delsubscr_subscript_1; 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 = 1674; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_delsubscr_target_1 = par_kwargs; tmp_delsubscr_subscript_1 = const_str_plain_class_; tmp_result = DEL_SUBSCRIPT( tmp_delsubscr_target_1, tmp_delsubscr_subscript_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1674; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } branch_no_2:; } { nuitka_bool tmp_condition_result_3; int tmp_truth_name_1; 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 = 1676; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( par_kwargs ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1676; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_1 == 1 ? 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:; { nuitka_bool tmp_condition_result_4; int tmp_truth_name_2; if ( par_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1677; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE( par_attrs ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1677; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_condition_result_4 = tmp_truth_name_2 == 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_assign_source_2; PyObject *tmp_called_instance_1; if ( par_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1678; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_attrs; frame_e6904df3e4103be41c6cd1d7b304b88d->m_frame.f_lineno = 1678; tmp_assign_source_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_copy ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1678; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_attrs; par_attrs = tmp_assign_source_2; Py_XDECREF( old ); } } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_2; CHECK_OBJECT( par_attrs ); tmp_source_name_2 = par_attrs; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_update ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1679; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_kwargs == 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", "kwargs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1679; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_kwargs; frame_e6904df3e4103be41c6cd1d7b304b88d->m_frame.f_lineno = 1679; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1679; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } goto branch_end_4; branch_no_4:; { PyObject *tmp_assign_source_3; 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 = 1681; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = par_kwargs; { PyObject *old = par_attrs; par_attrs = tmp_assign_source_3; Py_INCREF( par_attrs ); Py_XDECREF( old ); } } branch_end_4:; } branch_no_3:; } { PyObject *tmp_assign_source_4; tmp_assign_source_4 = PyDict_New(); assert( var_normalized_attrs == NULL ); var_normalized_attrs = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_iter_arg_1; PyObject *tmp_list_arg_1; PyObject *tmp_called_instance_2; if ( par_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1683; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_attrs; frame_e6904df3e4103be41c6cd1d7b304b88d->m_frame.f_lineno = 1683; tmp_list_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_items ); if ( tmp_list_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1683; type_description_1 = "oooooooo"; 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 = 1683; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assign_source_5 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1683; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_5; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_6 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_6 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooo"; exception_lineno = 1683; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_6; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_7; 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_7 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1683; type_description_1 = "oooooooo"; goto try_except_handler_3; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_7; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_8; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_8 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_8 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooo"; exception_lineno = 1683; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_8; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_9; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_9 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_9 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooo"; exception_lineno = 1683; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_9; 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 = "oooooooo"; exception_lineno = 1683; 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 = "oooooooo"; exception_lineno = 1683; 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_10; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_10 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_key; var_key = tmp_assign_source_10; Py_INCREF( var_key ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_11; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_11 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_value; var_value = tmp_assign_source_11; Py_INCREF( var_value ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_ass_subvalue_3; PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_3; PyObject *tmp_ass_subscribed_3; PyObject *tmp_ass_subscript_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1684; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_source_name_3 = par_self; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__normalize_search_value ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1684; type_description_1 = "oooooooo"; goto try_except_handler_2; } if ( var_value == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1684; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_args_element_name_3 = var_value; frame_e6904df3e4103be41c6cd1d7b304b88d->m_frame.f_lineno = 1684; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_ass_subvalue_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_ass_subvalue_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1684; type_description_1 = "oooooooo"; goto try_except_handler_2; } if ( var_normalized_attrs == NULL ) { Py_DECREF( tmp_ass_subvalue_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "normalized_attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1684; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_ass_subscribed_3 = var_normalized_attrs; if ( var_key == NULL ) { Py_DECREF( tmp_ass_subvalue_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1684; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_ass_subscript_3 = var_key; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3 ); Py_DECREF( tmp_ass_subvalue_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1684; type_description_1 = "oooooooo"; goto try_except_handler_2; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1683; type_description_1 = "oooooooo"; 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_assattr_name_2; PyObject *tmp_assattr_target_2; if ( var_normalized_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "normalized_attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1686; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_2 = var_normalized_attrs; 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 = 1686; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_attrs, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1686; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_called_name_4; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_4; PyObject *tmp_assattr_target_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1687; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__normalize_search_value ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1687; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_text == 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", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1687; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_text; frame_e6904df3e4103be41c6cd1d7b304b88d->m_frame.f_lineno = 1687; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_assattr_name_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_assattr_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1687; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_3 ); 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 = 1687; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_text, tmp_assattr_name_3 ); Py_DECREF( tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1687; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_e6904df3e4103be41c6cd1d7b304b88d ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e6904df3e4103be41c6cd1d7b304b88d ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e6904df3e4103be41c6cd1d7b304b88d, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e6904df3e4103be41c6cd1d7b304b88d->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e6904df3e4103be41c6cd1d7b304b88d, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e6904df3e4103be41c6cd1d7b304b88d, type_description_1, par_self, par_name, par_attrs, par_text, par_kwargs, var_normalized_attrs, var_key, var_value ); // Release cached frame. if ( frame_e6904df3e4103be41c6cd1d7b304b88d == cache_frame_e6904df3e4103be41c6cd1d7b304b88d ) { Py_DECREF( frame_e6904df3e4103be41c6cd1d7b304b88d ); } cache_frame_e6904df3e4103be41c6cd1d7b304b88d = NULL; assertFrameObject( frame_e6904df3e4103be41c6cd1d7b304b88d ); // 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( bs4$element$$$function_109___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_normalized_attrs ); var_normalized_attrs = NULL; } { Py_XDECREF( var_key ); var_key = NULL; } { Py_XDECREF( var_value ); var_value = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_attrs ); par_attrs = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_normalized_attrs ); var_normalized_attrs = NULL; } { Py_XDECREF( var_key ); var_key = NULL; } { Py_XDECREF( var_value ); var_value = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_109___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_bs4$element$$$function_110__normalize_search_value( 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_value = python_pars[ 1 ]; PyObject *var_new_value = NULL; PyObject *var_v = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_d5794d410a882311621ba3f7ca843e85; 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_return_value = NULL; 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_d5794d410a882311621ba3f7ca843e85 = 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_d5794d410a882311621ba3f7ca843e85, codeobj_d5794d410a882311621ba3f7ca843e85, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_d5794d410a882311621ba3f7ca843e85 = cache_frame_d5794d410a882311621ba3f7ca843e85; // Push the new frame as the currently active one. pushFrameStack( frame_d5794d410a882311621ba3f7ca843e85 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d5794d410a882311621ba3f7ca843e85 ) == 2 ); // Frame stack // Framed code: { 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; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; int tmp_or_left_truth_2; nuitka_bool tmp_or_left_value_2; nuitka_bool tmp_or_right_value_2; PyObject *tmp_called_name_1; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; int tmp_truth_name_1; int tmp_or_left_truth_3; nuitka_bool tmp_or_left_value_3; nuitka_bool tmp_or_right_value_3; PyObject *tmp_source_name_1; PyObject *tmp_attribute_name_1; int tmp_or_left_truth_4; nuitka_bool tmp_or_left_value_4; nuitka_bool tmp_or_right_value_4; PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_value ); tmp_isinstance_inst_1 = par_value; tmp_isinstance_cls_1 = (PyObject *)&PyUnicode_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1692; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_1 = ( 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:; tmp_called_name_1 = LOOKUP_BUILTIN( const_str_plain_callable ); assert( tmp_called_name_1 != NULL ); CHECK_OBJECT( par_value ); tmp_args_element_name_1 = par_value; frame_d5794d410a882311621ba3f7ca843e85->m_frame.f_lineno = 1692; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1692; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 1692; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); 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:; CHECK_OBJECT( par_value ); tmp_source_name_1 = par_value; tmp_attribute_name_1 = const_str_plain_match; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_1, tmp_attribute_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1692; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_3 = ( 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:; CHECK_OBJECT( par_value ); tmp_isinstance_inst_2 = par_value; tmp_isinstance_cls_2 = (PyObject *)&PyBool_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_2, tmp_isinstance_cls_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1693; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_truth_4 = tmp_or_left_value_4 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_4 == 1 ) { goto or_left_4; } else { goto or_right_4; } or_right_4:; CHECK_OBJECT( par_value ); tmp_compexpr_left_1 = par_value; tmp_compexpr_right_1 = Py_None; tmp_or_right_value_4 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_right_value_3 = tmp_or_right_value_4; goto or_end_4; or_left_4:; tmp_or_right_value_3 = tmp_or_left_value_4; or_end_4:; tmp_or_right_value_2 = tmp_or_right_value_3; goto or_end_3; or_left_3:; tmp_or_right_value_2 = tmp_or_left_value_3; or_end_3:; tmp_or_right_value_1 = tmp_or_right_value_2; goto or_end_2; or_left_2:; tmp_or_right_value_1 = tmp_or_left_value_2; or_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:; { if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1694; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = par_value; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_isinstance_inst_3; PyObject *tmp_isinstance_cls_3; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1697; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_3 = par_value; tmp_isinstance_cls_3 = (PyObject *)&PyBytes_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_3, tmp_isinstance_cls_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1697; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_called_instance_1; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1698; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_value; frame_d5794d410a882311621ba3f7ca843e85->m_frame.f_lineno = 1698; tmp_return_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_decode, &PyTuple_GET_ITEM( const_tuple_str_plain_utf8_tuple, 0 ) ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1698; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_2:; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_source_name_2; PyObject *tmp_attribute_name_2; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1701; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_value; tmp_attribute_name_2 = const_str_plain___iter__; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_2, tmp_attribute_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1701; type_description_1 = "oooo"; goto frame_exception_exit_1; } 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_1; tmp_assign_source_1 = PyList_New( 0 ); assert( var_new_value == NULL ); var_new_value = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1703; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_iter_arg_1 = par_value; tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1703; 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 = 1703; 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_v; var_v = tmp_assign_source_4; Py_INCREF( var_v ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_4; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_source_name_3; PyObject *tmp_attribute_name_3; 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_isinstance_inst_4; PyObject *tmp_isinstance_cls_4; PyObject *tmp_operand_name_2; PyObject *tmp_isinstance_inst_5; PyObject *tmp_isinstance_cls_5; CHECK_OBJECT( var_v ); tmp_source_name_3 = var_v; tmp_attribute_name_3 = const_str_plain___iter__; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_3, tmp_attribute_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1704; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; CHECK_OBJECT( var_v ); tmp_isinstance_inst_4 = var_v; tmp_isinstance_cls_4 = (PyObject *)&PyBytes_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_4, tmp_isinstance_cls_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1704; type_description_1 = "oooo"; goto try_except_handler_2; } 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 = 1704; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_and_left_value_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if ( var_v == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1705; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_isinstance_inst_5 = var_v; tmp_isinstance_cls_5 = (PyObject *)&PyUnicode_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_5, tmp_isinstance_cls_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1705; type_description_1 = "oooo"; goto try_except_handler_2; } 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 = 1705; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_and_right_value_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_right_value_1 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_and_right_value_1 = tmp_and_left_value_2; and_end_2:; tmp_condition_result_4 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_4 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_called_name_2; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_2; if ( var_new_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1709; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_source_name_4 = var_new_value; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_append ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1709; type_description_1 = "oooo"; goto try_except_handler_2; } if ( var_v == 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", "v" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1709; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_args_element_name_2 = var_v; frame_d5794d410a882311621ba3f7ca843e85->m_frame.f_lineno = 1709; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1709; type_description_1 = "oooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } goto branch_end_4; branch_no_4:; { PyObject *tmp_called_name_3; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_3; PyObject *tmp_called_name_4; PyObject *tmp_source_name_6; PyObject *tmp_args_element_name_4; if ( var_new_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1711; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_source_name_5 = var_new_value; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_append ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1711; type_description_1 = "oooo"; goto try_except_handler_2; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1711; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_source_name_6 = par_self; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain__normalize_search_value ); 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 = 1711; type_description_1 = "oooo"; goto try_except_handler_2; } if ( var_v == 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", "v" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1711; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_args_element_name_4 = var_v; frame_d5794d410a882311621ba3f7ca843e85->m_frame.f_lineno = 1711; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_args_element_name_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_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 = 1711; type_description_1 = "oooo"; goto try_except_handler_2; } frame_d5794d410a882311621ba3f7ca843e85->m_frame.f_lineno = 1711; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1711; type_description_1 = "oooo"; goto try_except_handler_2; } 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 = 1703; 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; } { if ( var_new_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "new_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1712; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = var_new_value; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_3:; } { PyObject *tmp_unicode_arg_1; PyObject *tmp_unicode_arg_2; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1717; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_unicode_arg_2 = par_value; tmp_unicode_arg_1 = PyObject_Unicode( tmp_unicode_arg_2 ); if ( tmp_unicode_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1717; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = PyObject_Unicode( tmp_unicode_arg_1 ); Py_DECREF( tmp_unicode_arg_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1717; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d5794d410a882311621ba3f7ca843e85 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d5794d410a882311621ba3f7ca843e85 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d5794d410a882311621ba3f7ca843e85 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d5794d410a882311621ba3f7ca843e85, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d5794d410a882311621ba3f7ca843e85->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d5794d410a882311621ba3f7ca843e85, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d5794d410a882311621ba3f7ca843e85, type_description_1, par_self, par_value, var_new_value, var_v ); // Release cached frame. if ( frame_d5794d410a882311621ba3f7ca843e85 == cache_frame_d5794d410a882311621ba3f7ca843e85 ) { Py_DECREF( frame_d5794d410a882311621ba3f7ca843e85 ); } cache_frame_d5794d410a882311621ba3f7ca843e85 = NULL; assertFrameObject( frame_d5794d410a882311621ba3f7ca843e85 ); // 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( bs4$element$$$function_110__normalize_search_value ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_value ); par_value = NULL; } { Py_XDECREF( var_new_value ); var_new_value = NULL; } { Py_XDECREF( var_v ); var_v = 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_value ); par_value = NULL; } { Py_XDECREF( var_new_value ); var_new_value = NULL; } { Py_XDECREF( var_v ); var_v = 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( bs4$element$$$function_110__normalize_search_value ); 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_bs4$element$$$function_111___str__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_996f297d622d98bee25ea364822ad74c; 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_996f297d622d98bee25ea364822ad74c = 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_996f297d622d98bee25ea364822ad74c, codeobj_996f297d622d98bee25ea364822ad74c, module_bs4$element, sizeof(void *) ); frame_996f297d622d98bee25ea364822ad74c = cache_frame_996f297d622d98bee25ea364822ad74c; // Push the new frame as the currently active one. pushFrameStack( frame_996f297d622d98bee25ea364822ad74c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_996f297d622d98bee25ea364822ad74c ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_source_name_1; PyObject *tmp_attribute_value_1; int tmp_truth_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_text ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1720; type_description_1 = "o"; 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 = 1720; type_description_1 = "o"; 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_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 = 1721; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_text ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1721; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_3; PyObject *tmp_source_name_4; tmp_left_name_1 = const_str_digest_2fb35f5b371e4357763cfefa063b5165; 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 = 1723; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_name ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1723; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_right_name_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_1 ); if ( par_self == NULL ) { Py_DECREF( tmp_right_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 = 1723; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_attrs ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_1 ); exception_lineno = 1723; type_description_1 = "o"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_1 ); tmp_return_value = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1723; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_996f297d622d98bee25ea364822ad74c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_996f297d622d98bee25ea364822ad74c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_996f297d622d98bee25ea364822ad74c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_996f297d622d98bee25ea364822ad74c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_996f297d622d98bee25ea364822ad74c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_996f297d622d98bee25ea364822ad74c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_996f297d622d98bee25ea364822ad74c, type_description_1, par_self ); // Release cached frame. if ( frame_996f297d622d98bee25ea364822ad74c == cache_frame_996f297d622d98bee25ea364822ad74c ) { Py_DECREF( frame_996f297d622d98bee25ea364822ad74c ); } cache_frame_996f297d622d98bee25ea364822ad74c = NULL; assertFrameObject( frame_996f297d622d98bee25ea364822ad74c ); // 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( bs4$element$$$function_111___str__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_111___str__ ); 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_bs4$element$$$function_112_search_tag( 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_markup_name = python_pars[ 1 ]; PyObject *par_markup_attrs = python_pars[ 2 ]; PyObject *var_found = NULL; PyObject *var_markup = NULL; PyObject *var_call_function_with_tag_data = NULL; PyObject *var_match = NULL; PyObject *var_markup_attr_map = NULL; PyObject *var_attr = NULL; PyObject *var_match_against = NULL; PyObject *var_k = NULL; PyObject *var_v = NULL; PyObject *var_attr_value = 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; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; struct Nuitka_FrameObject *frame_0aaef0255efd000f361ae0891690de5e; 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_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; bool tmp_result; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_0aaef0255efd000f361ae0891690de5e = NULL; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; assert( var_found == NULL ); Py_INCREF( tmp_assign_source_1 ); var_found = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = Py_None; assert( var_markup == NULL ); Py_INCREF( tmp_assign_source_2 ); var_markup = tmp_assign_source_2; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_0aaef0255efd000f361ae0891690de5e, codeobj_0aaef0255efd000f361ae0891690de5e, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_0aaef0255efd000f361ae0891690de5e = cache_frame_0aaef0255efd000f361ae0891690de5e; // Push the new frame as the currently active one. pushFrameStack( frame_0aaef0255efd000f361ae0891690de5e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_0aaef0255efd000f361ae0891690de5e ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; CHECK_OBJECT( par_markup_name ); tmp_isinstance_inst_1 = par_markup_name; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Tag ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Tag ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1728; type_description_1 = "ooooooooooooo"; 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 = 1728; type_description_1 = "ooooooooooooo"; 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_3; CHECK_OBJECT( par_markup_name ); tmp_assign_source_3 = par_markup_name; { PyObject *old = var_markup; assert( old != NULL ); var_markup = tmp_assign_source_3; Py_INCREF( var_markup ); Py_DECREF( old ); } } { PyObject *tmp_assign_source_4; CHECK_OBJECT( var_markup ); tmp_assign_source_4 = var_markup; { PyObject *old = par_markup_attrs; assert( old != NULL ); par_markup_attrs = tmp_assign_source_4; Py_INCREF( par_markup_attrs ); Py_DECREF( old ); } } branch_no_1:; } { PyObject *tmp_assign_source_5; int tmp_and_left_truth_1; PyObject *tmp_and_left_value_1; PyObject *tmp_and_right_value_1; PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_3; PyObject *tmp_isinstance_cls_3; PyObject *tmp_mvar_value_3; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_isinstance_inst_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_name ); if ( tmp_isinstance_inst_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1732; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Callable ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Callable ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_isinstance_inst_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Callable" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1732; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_2 = tmp_mvar_value_2; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_2, tmp_isinstance_cls_2 ); Py_DECREF( tmp_isinstance_inst_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1732; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_and_left_truth_1 = CHECK_IF_TRUE( tmp_and_left_value_1 ); if ( tmp_and_left_truth_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1733; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if ( par_markup_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1733; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_3 = par_markup_name; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Tag ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Tag ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1733; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_3 = tmp_mvar_value_3; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_3, tmp_isinstance_cls_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1733; type_description_1 = "ooooooooooooo"; 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 = 1733; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res == 0 ) ? Py_True : Py_False; tmp_assign_source_5 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_assign_source_5 = tmp_and_left_value_1; and_end_1:; assert( var_call_function_with_tag_data == NULL ); Py_INCREF( tmp_assign_source_5 ); var_call_function_with_tag_data = tmp_assign_source_5; } { nuitka_bool tmp_condition_result_2; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_operand_name_2; PyObject *tmp_source_name_2; int tmp_or_left_truth_2; nuitka_bool tmp_or_left_value_2; nuitka_bool tmp_or_right_value_2; int tmp_truth_name_1; int tmp_or_left_truth_3; nuitka_bool tmp_or_left_value_3; nuitka_bool tmp_or_right_value_3; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; int tmp_truth_name_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_3; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_4; int tmp_truth_name_3; int tmp_and_left_truth_3; nuitka_bool tmp_and_left_value_3; nuitka_bool tmp_and_right_value_3; PyObject *tmp_operand_name_3; PyObject *tmp_called_name_2; PyObject *tmp_source_name_5; PyObject *tmp_call_result_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_source_name_6; int tmp_truth_name_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1735; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_operand_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_name ); if ( tmp_operand_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1735; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); Py_DECREF( tmp_operand_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1735; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_or_left_value_1 = ( 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 ( var_call_function_with_tag_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "call_function_with_tag_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1736; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( var_call_function_with_tag_data ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1736; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_or_left_value_2 = tmp_truth_name_1 == 1 ? 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 ( var_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1737; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE( var_markup ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1737; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_2 = tmp_truth_name_2 == 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 ( 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 = 1737; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__matches ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1737; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } if ( var_markup == 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", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1737; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = var_markup; 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 = 1737; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_name ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 1737; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } frame_0aaef0255efd000f361ae0891690de5e->m_frame.f_lineno = 1737; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_call_result_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_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1737; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_3 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 1737; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_2 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); tmp_or_left_value_3 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_or_left_value_3 = tmp_and_left_value_2; and_end_2:; 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 ( var_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1738; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_operand_name_3 = var_markup; 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 = 1738; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_3 = ( tmp_res == 0 ) ? 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 ( 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 = 1738; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__matches ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1738; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } if ( par_markup_name == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1738; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_markup_name; if ( par_self == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1738; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_name ); if ( tmp_args_element_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 1738; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } frame_0aaef0255efd000f361ae0891690de5e->m_frame.f_lineno = 1738; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_4 ); if ( tmp_call_result_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1738; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_4 = CHECK_IF_TRUE( tmp_call_result_2 ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_2 ); exception_lineno = 1738; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_3 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_2 ); tmp_or_right_value_3 = tmp_and_right_value_3; goto and_end_3; and_left_3:; tmp_or_right_value_3 = tmp_and_left_value_3; and_end_3:; tmp_or_right_value_2 = tmp_or_right_value_3; goto or_end_3; or_left_3:; tmp_or_right_value_2 = tmp_or_left_value_3; or_end_3:; tmp_or_right_value_1 = tmp_or_right_value_2; goto or_end_2; or_left_2:; tmp_or_right_value_1 = tmp_or_left_value_2; or_end_2:; tmp_condition_result_2 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_2 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { nuitka_bool tmp_condition_result_3; int tmp_truth_name_5; if ( var_call_function_with_tag_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "call_function_with_tag_data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1739; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_5 = CHECK_IF_TRUE( var_call_function_with_tag_data ); if ( tmp_truth_name_5 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1739; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_5 == 1 ? 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_6; PyObject *tmp_called_name_3; PyObject *tmp_source_name_7; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; 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 = 1740; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_self; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_name ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1740; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } if ( par_markup_name == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1740; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_markup_name; if ( par_markup_attrs == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup_attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1740; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_markup_attrs; frame_0aaef0255efd000f361ae0891690de5e->m_frame.f_lineno = 1740; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 }; tmp_assign_source_6 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1740; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } assert( var_match == NULL ); var_match = tmp_assign_source_6; } goto branch_end_3; branch_no_3:; { PyObject *tmp_assign_source_7; tmp_assign_source_7 = Py_True; assert( var_match == NULL ); Py_INCREF( tmp_assign_source_7 ); var_match = tmp_assign_source_7; } { PyObject *tmp_assign_source_8; tmp_assign_source_8 = Py_None; assert( var_markup_attr_map == NULL ); Py_INCREF( tmp_assign_source_8 ); var_markup_attr_map = tmp_assign_source_8; } { PyObject *tmp_assign_source_9; PyObject *tmp_iter_arg_1; PyObject *tmp_list_arg_1; PyObject *tmp_called_instance_1; PyObject *tmp_source_name_8; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1744; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_8 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_attrs ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1744; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } frame_0aaef0255efd000f361ae0891690de5e->m_frame.f_lineno = 1744; tmp_list_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_list_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1744; type_description_1 = "ooooooooooooo"; 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 = 1744; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_9 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1744; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_9; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_10; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_10 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_10 == 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 = "ooooooooooooo"; exception_lineno = 1744; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_10; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_11; 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_11 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1744; type_description_1 = "ooooooooooooo"; goto try_except_handler_3; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_11; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_12; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_12 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_12 == 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 = "ooooooooooooo"; exception_lineno = 1744; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_12; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_13; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_13 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_13 == 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 = "ooooooooooooo"; exception_lineno = 1744; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_13; 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 = "ooooooooooooo"; exception_lineno = 1744; 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 = "ooooooooooooo"; exception_lineno = 1744; 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_14; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_14 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_attr; var_attr = tmp_assign_source_14; Py_INCREF( var_attr ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_15; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_15 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_match_against; var_match_against = tmp_assign_source_15; Py_INCREF( var_match_against ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_operand_name_4; if ( var_markup_attr_map == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup_attr_map" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1745; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } tmp_operand_name_4 = var_markup_attr_map; tmp_res = CHECK_IF_TRUE( tmp_operand_name_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1745; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_4 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { nuitka_bool tmp_condition_result_5; PyObject *tmp_source_name_9; PyObject *tmp_attribute_name_1; if ( par_markup_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup_attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1746; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } tmp_source_name_9 = par_markup_attrs; tmp_attribute_name_1 = const_str_plain_get; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_9, tmp_attribute_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1746; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { PyObject *tmp_assign_source_16; if ( par_markup_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup_attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1747; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } tmp_assign_source_16 = par_markup_attrs; { PyObject *old = var_markup_attr_map; var_markup_attr_map = tmp_assign_source_16; Py_INCREF( var_markup_attr_map ); Py_XDECREF( old ); } } goto branch_end_5; branch_no_5:; { PyObject *tmp_assign_source_17; tmp_assign_source_17 = PyDict_New(); { PyObject *old = var_markup_attr_map; var_markup_attr_map = tmp_assign_source_17; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_18; PyObject *tmp_iter_arg_3; if ( par_markup_attrs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup_attrs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1750; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } tmp_iter_arg_3 = par_markup_attrs; tmp_assign_source_18 = MAKE_ITERATOR( tmp_iter_arg_3 ); if ( tmp_assign_source_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1750; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } { PyObject *old = tmp_for_loop_2__for_iterator; tmp_for_loop_2__for_iterator = tmp_assign_source_18; Py_XDECREF( old ); } } { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_19; CHECK_OBJECT( tmp_for_loop_2__for_iterator ); tmp_next_source_2 = tmp_for_loop_2__for_iterator; tmp_assign_source_19 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_19 == 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 = "ooooooooooooo"; exception_lineno = 1750; goto try_except_handler_5; } } { PyObject *old = tmp_for_loop_2__iter_value; tmp_for_loop_2__iter_value = tmp_assign_source_19; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_20; PyObject *tmp_iter_arg_4; CHECK_OBJECT( tmp_for_loop_2__iter_value ); tmp_iter_arg_4 = tmp_for_loop_2__iter_value; tmp_assign_source_20 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_4 ); if ( tmp_assign_source_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1750; type_description_1 = "ooooooooooooo"; goto try_except_handler_6; } { PyObject *old = tmp_tuple_unpack_2__source_iter; tmp_tuple_unpack_2__source_iter = tmp_assign_source_20; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_21; PyObject *tmp_unpack_3; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_3 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_21 = UNPACK_NEXT( tmp_unpack_3, 0, 2 ); if ( tmp_assign_source_21 == 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 = "ooooooooooooo"; exception_lineno = 1750; goto try_except_handler_7; } { PyObject *old = tmp_tuple_unpack_2__element_1; tmp_tuple_unpack_2__element_1 = tmp_assign_source_21; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_22; PyObject *tmp_unpack_4; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_22 = UNPACK_NEXT( tmp_unpack_4, 1, 2 ); if ( tmp_assign_source_22 == 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 = "ooooooooooooo"; exception_lineno = 1750; goto try_except_handler_7; } { PyObject *old = tmp_tuple_unpack_2__element_2; tmp_tuple_unpack_2__element_2 = tmp_assign_source_22; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_2; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_2 ); assert( HAS_ITERNEXT( tmp_iterator_name_2 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_2 )->tp_iternext)( tmp_iterator_name_2 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooooo"; exception_lineno = 1750; goto try_except_handler_7; } } } else { Py_DECREF( tmp_iterator_attempt ); // TODO: Could avoid PyErr_Format. #if PYTHON_VERSION < 300 PyErr_Format( PyExc_ValueError, "too many values to unpack" ); #else PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooooo"; exception_lineno = 1750; goto try_except_handler_7; } } goto try_end_3; // Exception handler code: try_except_handler_7:; 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_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_6; } // End of try: try_end_3:; } goto try_end_4; // Exception handler code: try_except_handler_6:; 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_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto try_except_handler_5; } // End of try: try_end_4:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { PyObject *tmp_assign_source_23; CHECK_OBJECT( tmp_tuple_unpack_2__element_1 ); tmp_assign_source_23 = tmp_tuple_unpack_2__element_1; { PyObject *old = var_k; var_k = tmp_assign_source_23; Py_INCREF( var_k ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { PyObject *tmp_assign_source_24; CHECK_OBJECT( tmp_tuple_unpack_2__element_2 ); tmp_assign_source_24 = tmp_tuple_unpack_2__element_2; { PyObject *old = var_v; var_v = tmp_assign_source_24; Py_INCREF( var_v ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; if ( var_v == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "v" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1751; type_description_1 = "ooooooooooooo"; goto try_except_handler_5; } tmp_ass_subvalue_1 = var_v; if ( var_markup_attr_map == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup_attr_map" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1751; type_description_1 = "ooooooooooooo"; goto try_except_handler_5; } tmp_ass_subscribed_1 = var_markup_attr_map; if ( var_k == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "k" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1751; type_description_1 = "ooooooooooooo"; goto try_except_handler_5; } tmp_ass_subscript_1 = var_k; 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 = 1751; type_description_1 = "ooooooooooooo"; goto try_except_handler_5; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1750; type_description_1 = "ooooooooooooo"; goto try_except_handler_5; } goto loop_start_2; loop_end_2:; } 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; { 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_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_2; } // End of try: try_end_5:; } { 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; } branch_end_5:; } branch_no_4:; } { PyObject *tmp_assign_source_25; PyObject *tmp_called_name_4; PyObject *tmp_source_name_10; PyObject *tmp_args_element_name_7; if ( var_markup_attr_map == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup_attr_map" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1752; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } tmp_source_name_10 = var_markup_attr_map; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_get ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1752; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } if ( var_attr == 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", "attr" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1752; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_7 = var_attr; frame_0aaef0255efd000f361ae0891690de5e->m_frame.f_lineno = 1752; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_assign_source_25 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_assign_source_25 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1752; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } { PyObject *old = var_attr_value; var_attr_value = tmp_assign_source_25; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_6; PyObject *tmp_operand_name_5; PyObject *tmp_called_name_5; PyObject *tmp_source_name_11; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1753; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } tmp_source_name_11 = par_self; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain__matches ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1753; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } if ( var_attr_value == 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", "attr_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1753; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_8 = var_attr_value; if ( var_match_against == 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", "match_against" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1753; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_9 = var_match_against; frame_0aaef0255efd000f361ae0891690de5e->m_frame.f_lineno = 1753; { PyObject *call_args[] = { tmp_args_element_name_8, tmp_args_element_name_9 }; tmp_operand_name_5 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); if ( tmp_operand_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1753; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_5 ); Py_DECREF( tmp_operand_name_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1753; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } tmp_condition_result_6 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_assign_source_26; tmp_assign_source_26 = Py_False; { PyObject *old = var_match; var_match = tmp_assign_source_26; Py_INCREF( var_match ); Py_XDECREF( old ); } } { goto loop_end_1; } branch_no_6:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1744; type_description_1 = "ooooooooooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_6; // Exception handler code: try_except_handler_2:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_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_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto frame_exception_exit_1; } // End of try: try_end_6:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } branch_end_3:; } { nuitka_bool tmp_condition_result_7; int tmp_truth_name_6; if ( var_match == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "match" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1756; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_6 = CHECK_IF_TRUE( var_match ); if ( tmp_truth_name_6 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1756; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_7 = tmp_truth_name_6 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { nuitka_bool tmp_condition_result_8; int tmp_truth_name_7; if ( var_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1757; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_7 = CHECK_IF_TRUE( var_markup ); if ( tmp_truth_name_7 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1757; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_8 = tmp_truth_name_7 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { PyObject *tmp_assign_source_27; if ( var_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1758; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_27 = var_markup; { PyObject *old = var_found; var_found = tmp_assign_source_27; Py_INCREF( var_found ); Py_XDECREF( old ); } } goto branch_end_8; branch_no_8:; { PyObject *tmp_assign_source_28; if ( par_markup_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1760; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_28 = par_markup_name; { PyObject *old = var_found; var_found = tmp_assign_source_28; Py_INCREF( var_found ); Py_XDECREF( old ); } } branch_end_8:; } branch_no_7:; } branch_no_2:; } { nuitka_bool tmp_condition_result_9; int tmp_and_left_truth_4; nuitka_bool tmp_and_left_value_4; nuitka_bool tmp_and_right_value_4; int tmp_truth_name_8; int tmp_and_left_truth_5; nuitka_bool tmp_and_left_value_5; nuitka_bool tmp_and_right_value_5; PyObject *tmp_source_name_12; PyObject *tmp_attribute_value_1; int tmp_truth_name_9; PyObject *tmp_operand_name_6; PyObject *tmp_called_name_6; PyObject *tmp_source_name_13; PyObject *tmp_args_element_name_10; PyObject *tmp_source_name_14; PyObject *tmp_args_element_name_11; PyObject *tmp_source_name_15; if ( var_found == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "found" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1761; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_8 = CHECK_IF_TRUE( var_found ); if ( tmp_truth_name_8 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1761; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_4 = tmp_truth_name_8 == 1 ? 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 ( 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 = 1761; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_12 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_text ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1761; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_9 = CHECK_IF_TRUE( tmp_attribute_value_1 ); if ( tmp_truth_name_9 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_1 ); exception_lineno = 1761; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_5 = tmp_truth_name_9 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_1 ); 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:; 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 = 1761; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_13 = par_self; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain__matches ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1761; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } if ( var_found == 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", "found" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1761; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_14 = var_found; tmp_args_element_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_string ); if ( tmp_args_element_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_6 ); exception_lineno = 1761; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_6 ); Py_DECREF( tmp_args_element_name_10 ); 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 = 1761; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_15 = par_self; tmp_args_element_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_text ); if ( tmp_args_element_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_6 ); Py_DECREF( tmp_args_element_name_10 ); exception_lineno = 1761; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } frame_0aaef0255efd000f361ae0891690de5e->m_frame.f_lineno = 1761; { PyObject *call_args[] = { tmp_args_element_name_10, tmp_args_element_name_11 }; tmp_operand_name_6 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); Py_DECREF( tmp_args_element_name_10 ); Py_DECREF( tmp_args_element_name_11 ); if ( tmp_operand_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1761; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_6 ); Py_DECREF( tmp_operand_name_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1761; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_right_value_4 = tmp_and_right_value_5; goto and_end_5; and_left_5:; tmp_and_right_value_4 = tmp_and_left_value_5; and_end_5:; tmp_condition_result_9 = tmp_and_right_value_4; goto and_end_4; and_left_4:; tmp_condition_result_9 = tmp_and_left_value_4; and_end_4:; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { PyObject *tmp_assign_source_29; tmp_assign_source_29 = Py_None; { PyObject *old = var_found; var_found = tmp_assign_source_29; Py_INCREF( var_found ); Py_XDECREF( old ); } } branch_no_9:; } { if ( var_found == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "found" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1763; type_description_1 = "ooooooooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_found; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_0aaef0255efd000f361ae0891690de5e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0aaef0255efd000f361ae0891690de5e ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0aaef0255efd000f361ae0891690de5e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_0aaef0255efd000f361ae0891690de5e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_0aaef0255efd000f361ae0891690de5e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_0aaef0255efd000f361ae0891690de5e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_0aaef0255efd000f361ae0891690de5e, type_description_1, par_self, par_markup_name, par_markup_attrs, var_found, var_markup, var_call_function_with_tag_data, var_match, var_markup_attr_map, var_attr, var_match_against, var_k, var_v, var_attr_value ); // Release cached frame. if ( frame_0aaef0255efd000f361ae0891690de5e == cache_frame_0aaef0255efd000f361ae0891690de5e ) { Py_DECREF( frame_0aaef0255efd000f361ae0891690de5e ); } cache_frame_0aaef0255efd000f361ae0891690de5e = NULL; assertFrameObject( frame_0aaef0255efd000f361ae0891690de5e ); // 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( bs4$element$$$function_112_search_tag ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_markup_name ); par_markup_name = NULL; } { Py_XDECREF( par_markup_attrs ); par_markup_attrs = NULL; } { Py_XDECREF( var_found ); var_found = NULL; } { Py_XDECREF( var_markup ); var_markup = NULL; } { Py_XDECREF( var_call_function_with_tag_data ); var_call_function_with_tag_data = NULL; } { Py_XDECREF( var_match ); var_match = NULL; } { Py_XDECREF( var_markup_attr_map ); var_markup_attr_map = NULL; } { Py_XDECREF( var_attr ); var_attr = NULL; } { Py_XDECREF( var_match_against ); var_match_against = NULL; } { Py_XDECREF( var_k ); var_k = NULL; } { Py_XDECREF( var_v ); var_v = NULL; } { Py_XDECREF( var_attr_value ); var_attr_value = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; 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( par_self ); par_self = NULL; } { Py_XDECREF( par_markup_name ); par_markup_name = NULL; } { Py_XDECREF( par_markup_attrs ); par_markup_attrs = NULL; } { Py_XDECREF( var_found ); var_found = NULL; } { Py_XDECREF( var_markup ); var_markup = NULL; } { Py_XDECREF( var_call_function_with_tag_data ); var_call_function_with_tag_data = NULL; } { Py_XDECREF( var_match ); var_match = NULL; } { Py_XDECREF( var_markup_attr_map ); var_markup_attr_map = NULL; } { Py_XDECREF( var_attr ); var_attr = NULL; } { Py_XDECREF( var_match_against ); var_match_against = NULL; } { Py_XDECREF( var_k ); var_k = NULL; } { Py_XDECREF( var_v ); var_v = NULL; } { Py_XDECREF( var_attr_value ); var_attr_value = 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 function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_112_search_tag ); 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_bs4$element$$$function_113_search( 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_markup = python_pars[ 1 ]; PyObject *var_found = NULL; PyObject *var_element = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_cb1042387482761e9c22fb676027a15c; 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 *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_cb1042387482761e9c22fb676027a15c = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; assert( var_found == NULL ); Py_INCREF( tmp_assign_source_1 ); var_found = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_cb1042387482761e9c22fb676027a15c, codeobj_cb1042387482761e9c22fb676027a15c, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_cb1042387482761e9c22fb676027a15c = cache_frame_cb1042387482761e9c22fb676027a15c; // Push the new frame as the currently active one. pushFrameStack( frame_cb1042387482761e9c22fb676027a15c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_cb1042387482761e9c22fb676027a15c ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_source_name_1; PyObject *tmp_attribute_name_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_tuple_element_1; PyObject *tmp_mvar_value_1; CHECK_OBJECT( par_markup ); tmp_source_name_1 = par_markup; tmp_attribute_name_1 = const_str_plain___iter__; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_1, tmp_attribute_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1771; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; CHECK_OBJECT( par_markup ); tmp_isinstance_inst_1 = par_markup; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Tag ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Tag ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1771; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = tmp_mvar_value_1; tmp_isinstance_cls_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_isinstance_cls_1, 0, tmp_tuple_element_1 ); tmp_tuple_element_1 = (PyObject *)&PyUnicode_Type; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_isinstance_cls_1, 1, tmp_tuple_element_1 ); tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); Py_DECREF( tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1771; type_description_1 = "oooo"; 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 = 1771; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_1 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; if ( par_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1772; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_iter_arg_1 = par_markup; tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1772; 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 = 1772; 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_element; var_element = tmp_assign_source_4; Py_INCREF( var_element ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; PyObject *tmp_mvar_value_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; int tmp_truth_name_1; CHECK_OBJECT( var_element ); tmp_isinstance_inst_2 = var_element; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_NavigableString ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NavigableString ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NavigableString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1773; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_isinstance_cls_2 = tmp_mvar_value_2; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_2, tmp_isinstance_cls_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1773; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_and_left_value_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if ( par_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 = 1774; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_source_name_2 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_search ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1774; type_description_1 = "oooo"; goto try_except_handler_2; } if ( var_element == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1774; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_args_element_name_1 = var_element; frame_cb1042387482761e9c22fb676027a15c->m_frame.f_lineno = 1774; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1774; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 1774; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_and_right_value_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); tmp_condition_result_2 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_2 = tmp_and_left_value_2; and_end_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_5; if ( var_element == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1775; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_assign_source_5 = var_element; { PyObject *old = var_found; var_found = tmp_assign_source_5; Py_INCREF( var_found ); Py_XDECREF( old ); } } { goto loop_end_1; } branch_no_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1772; 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; } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_isinstance_inst_3; PyObject *tmp_isinstance_cls_3; PyObject *tmp_mvar_value_3; if ( par_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1779; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_3 = par_markup; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Tag ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Tag ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1779; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_3 = tmp_mvar_value_3; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_3, tmp_isinstance_cls_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1779; type_description_1 = "oooo"; goto frame_exception_exit_1; } 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:; { nuitka_bool tmp_condition_result_4; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_operand_name_2; PyObject *tmp_source_name_3; int tmp_or_left_truth_2; nuitka_bool tmp_or_left_value_2; nuitka_bool tmp_or_right_value_2; PyObject *tmp_source_name_4; PyObject *tmp_attribute_value_1; int tmp_truth_name_2; PyObject *tmp_source_name_5; PyObject *tmp_attribute_value_2; int tmp_truth_name_3; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1780; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_operand_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_text ); if ( tmp_operand_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1780; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); Py_DECREF( tmp_operand_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1780; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_1 = ( 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 ( 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 = 1780; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_name ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1780; type_description_1 = "oooo"; 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( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_1 ); exception_lineno = 1780; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_2 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_1 ); tmp_or_left_truth_2 = tmp_or_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_2 == 1 ) { goto or_left_2; } else { goto or_right_2; } or_right_2:; if ( par_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 = 1780; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_attribute_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_attrs ); if ( tmp_attribute_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1780; type_description_1 = "oooo"; 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( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_2 ); exception_lineno = 1780; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_right_value_2 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_2 ); tmp_or_right_value_1 = tmp_or_right_value_2; goto or_end_2; or_left_2:; tmp_or_right_value_1 = tmp_or_left_value_2; or_end_2:; tmp_condition_result_4 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_4 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_assign_source_6; PyObject *tmp_called_name_2; PyObject *tmp_source_name_6; PyObject *tmp_args_element_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 = 1781; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_search_tag ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1781; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_markup == 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", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1781; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_markup; frame_cb1042387482761e9c22fb676027a15c->m_frame.f_lineno = 1781; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_6 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1781; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = var_found; var_found = tmp_assign_source_6; Py_XDECREF( old ); } } branch_no_4:; } goto branch_end_3; branch_no_3:; { nuitka_bool tmp_condition_result_5; int tmp_or_left_truth_3; nuitka_bool tmp_or_left_value_3; nuitka_bool tmp_or_right_value_3; PyObject *tmp_isinstance_inst_4; PyObject *tmp_isinstance_cls_4; PyObject *tmp_mvar_value_4; PyObject *tmp_isinstance_inst_5; PyObject *tmp_isinstance_cls_5; if ( par_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1783; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_4 = par_markup; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_NavigableString ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NavigableString ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NavigableString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1783; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_4 = tmp_mvar_value_4; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_4, tmp_isinstance_cls_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1783; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_left_value_3 = ( 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 ( par_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1784; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_5 = par_markup; tmp_isinstance_cls_5 = (PyObject *)&PyUnicode_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_5, tmp_isinstance_cls_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1784; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_right_value_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_5 = tmp_or_right_value_3; goto or_end_3; or_left_3:; tmp_condition_result_5 = tmp_or_left_value_3; or_end_3:; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { nuitka_bool tmp_condition_result_6; int tmp_and_left_truth_3; nuitka_bool tmp_and_left_value_3; nuitka_bool tmp_and_right_value_3; PyObject *tmp_operand_name_3; PyObject *tmp_source_name_7; int tmp_and_left_truth_4; nuitka_bool tmp_and_left_value_4; nuitka_bool tmp_and_right_value_4; PyObject *tmp_operand_name_4; PyObject *tmp_source_name_8; PyObject *tmp_called_name_3; PyObject *tmp_source_name_9; PyObject *tmp_call_result_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_source_name_10; int tmp_truth_name_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1785; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_self; tmp_operand_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_name ); if ( tmp_operand_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1785; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 ); Py_DECREF( tmp_operand_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1785; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_and_left_value_3 = ( tmp_res == 0 ) ? 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 ( 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 = 1785; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_8 = par_self; tmp_operand_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_attrs ); if ( tmp_operand_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1785; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_4 ); Py_DECREF( tmp_operand_name_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1785; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_and_left_value_4 = ( 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 ( 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 = 1785; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_9 = par_self; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain__matches ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1785; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_markup == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1785; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_markup; if ( par_self == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1785; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_10 = par_self; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_text ); 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 = 1785; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_cb1042387482761e9c22fb676027a15c->m_frame.f_lineno = 1785; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_4 ); if ( tmp_call_result_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1785; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_truth_name_4 = CHECK_IF_TRUE( tmp_call_result_2 ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_2 ); exception_lineno = 1785; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_and_right_value_4 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_2 ); tmp_and_right_value_3 = tmp_and_right_value_4; goto and_end_4; and_left_4:; tmp_and_right_value_3 = tmp_and_left_value_4; and_end_4:; tmp_condition_result_6 = tmp_and_right_value_3; goto and_end_3; and_left_3:; tmp_condition_result_6 = tmp_and_left_value_3; and_end_3:; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_assign_source_7; if ( par_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1786; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_7 = par_markup; { PyObject *old = var_found; var_found = tmp_assign_source_7; Py_INCREF( var_found ); Py_XDECREF( old ); } } branch_no_6:; } goto branch_end_5; branch_no_5:; { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_source_name_11; tmp_left_name_1 = const_str_digest_a635dc2cd109c09bc1bdcdd8ac24874a; if ( par_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1789; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_11 = par_markup; tmp_right_name_1 = LOOKUP_ATTRIBUTE_CLASS_SLOT( tmp_source_name_11 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1789; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_make_exception_arg_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_make_exception_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1789; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_cb1042387482761e9c22fb676027a15c->m_frame.f_lineno = 1788; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_Exception, call_args ); } Py_DECREF( tmp_make_exception_arg_1 ); assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 1788; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_end_5:; } branch_end_3:; } branch_end_1:; } { if ( var_found == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "found" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1790; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = var_found; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_cb1042387482761e9c22fb676027a15c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cb1042387482761e9c22fb676027a15c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cb1042387482761e9c22fb676027a15c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_cb1042387482761e9c22fb676027a15c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_cb1042387482761e9c22fb676027a15c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_cb1042387482761e9c22fb676027a15c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_cb1042387482761e9c22fb676027a15c, type_description_1, par_self, par_markup, var_found, var_element ); // Release cached frame. if ( frame_cb1042387482761e9c22fb676027a15c == cache_frame_cb1042387482761e9c22fb676027a15c ) { Py_DECREF( frame_cb1042387482761e9c22fb676027a15c ); } cache_frame_cb1042387482761e9c22fb676027a15c = NULL; assertFrameObject( frame_cb1042387482761e9c22fb676027a15c ); // 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( bs4$element$$$function_113_search ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_markup ); par_markup = NULL; } { Py_XDECREF( var_found ); var_found = NULL; } { Py_XDECREF( var_element ); var_element = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_markup ); par_markup = NULL; } { Py_XDECREF( var_found ); var_found = NULL; } { Py_XDECREF( var_element ); var_element = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_113_search ); 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_bs4$element$$$function_114__matches( 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_markup = python_pars[ 1 ]; PyObject *par_match_against = python_pars[ 2 ]; PyObject *par_already_tried = python_pars[ 3 ]; PyObject *var_item = NULL; PyObject *var_original_markup = NULL; PyObject *var_key = NULL; PyObject *var_match = 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; struct Nuitka_FrameObject *frame_d3f3c31464bc11609a7c046d5cf671b4; 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_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; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; static struct Nuitka_FrameObject *cache_frame_d3f3c31464bc11609a7c046d5cf671b4 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_d3f3c31464bc11609a7c046d5cf671b4, codeobj_d3f3c31464bc11609a7c046d5cf671b4, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_d3f3c31464bc11609a7c046d5cf671b4 = cache_frame_d3f3c31464bc11609a7c046d5cf671b4; // Push the new frame as the currently active one. pushFrameStack( frame_d3f3c31464bc11609a7c046d5cf671b4 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d3f3c31464bc11609a7c046d5cf671b4 ) == 2 ); // Frame stack // Framed code: { 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; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; CHECK_OBJECT( par_markup ); tmp_isinstance_inst_1 = par_markup; tmp_isinstance_cls_1 = (PyObject *)&PyList_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1795; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_or_left_value_1 = ( 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:; CHECK_OBJECT( par_markup ); tmp_isinstance_inst_2 = par_markup; tmp_isinstance_cls_2 = (PyObject *)&PyTuple_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_2, tmp_isinstance_cls_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1795; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_or_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; 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:; { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; CHECK_OBJECT( par_markup ); tmp_iter_arg_1 = par_markup; tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1798; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_1; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_2; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_2 == 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 = "ooooNoooo"; exception_lineno = 1798; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_2; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_3; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_3 = tmp_for_loop_1__iter_value; { PyObject *old = var_item; var_item = tmp_assign_source_3; Py_INCREF( var_item ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; 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 = 1799; type_description_1 = "ooooNoooo"; goto try_except_handler_2; } tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__matches ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1799; type_description_1 = "ooooNoooo"; goto try_except_handler_2; } if ( var_item == 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", "item" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1799; type_description_1 = "ooooNoooo"; goto try_except_handler_2; } tmp_args_element_name_1 = var_item; if ( par_match_against == 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", "match_against" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1799; type_description_1 = "ooooNoooo"; goto try_except_handler_2; } tmp_args_element_name_2 = par_match_against; frame_d3f3c31464bc11609a7c046d5cf671b4->m_frame.f_lineno = 1799; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1799; type_description_1 = "ooooNoooo"; goto try_except_handler_2; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 1799; type_description_1 = "ooooNoooo"; goto try_except_handler_2; } tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto try_return_handler_2; } branch_no_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1798; type_description_1 = "ooooNoooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Return handler code: try_return_handler_2:; { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__iter_value ); Py_DECREF( 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; } { goto frame_return_exit_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; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_call_result_2; PyObject *tmp_args_element_name_3; PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; int tmp_truth_name_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1804; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__matches ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1804; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_source_name_3 = const_str_space; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_join ); assert( !(tmp_called_name_3 == NULL) ); if ( par_markup == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1804; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_markup; frame_d3f3c31464bc11609a7c046d5cf671b4->m_frame.f_lineno = 1804; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_args_element_name_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 1804; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } if ( par_match_against == NULL ) { Py_DECREF( tmp_called_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", "match_against" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1804; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_match_against; frame_d3f3c31464bc11609a7c046d5cf671b4->m_frame.f_lineno = 1804; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_5 }; tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_call_result_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1804; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE( tmp_call_result_2 ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_2 ); exception_lineno = 1804; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_2 ); if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_3:; } { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_match_against ); tmp_compexpr_left_1 = par_match_against; tmp_compexpr_right_1 = Py_True; tmp_condition_result_4 = ( tmp_compexpr_left_1 == tmp_compexpr_right_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_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( par_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1810; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = par_markup; tmp_compexpr_right_2 = Py_None; tmp_return_value = ( tmp_compexpr_left_2 != tmp_compexpr_right_2 ) ? Py_True : Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_4:; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_isinstance_inst_3; PyObject *tmp_isinstance_cls_3; PyObject *tmp_mvar_value_1; if ( par_match_against == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "match_against" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1812; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_3 = par_match_against; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Callable ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Callable ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Callable" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1812; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_3 = tmp_mvar_value_1; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_3, tmp_isinstance_cls_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1812; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_condition_result_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { PyObject *tmp_called_name_4; PyObject *tmp_args_element_name_6; if ( par_match_against == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "match_against" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1813; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_called_name_4 = par_match_against; if ( par_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1813; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_markup; frame_d3f3c31464bc11609a7c046d5cf671b4->m_frame.f_lineno = 1813; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1813; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_5:; } { PyObject *tmp_assign_source_4; if ( par_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1817; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_assign_source_4 = par_markup; assert( var_original_markup == NULL ); Py_INCREF( tmp_assign_source_4 ); var_original_markup = tmp_assign_source_4; } { nuitka_bool tmp_condition_result_6; PyObject *tmp_isinstance_inst_4; PyObject *tmp_isinstance_cls_4; PyObject *tmp_mvar_value_2; if ( par_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1818; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_4 = par_markup; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Tag ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Tag ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1818; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_4 = tmp_mvar_value_2; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_4, tmp_isinstance_cls_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1818; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_assign_source_5; PyObject *tmp_source_name_4; if ( par_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1819; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_markup; tmp_assign_source_5 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_name ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1819; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } { PyObject *old = par_markup; par_markup = tmp_assign_source_5; Py_XDECREF( old ); } } branch_no_6:; } { PyObject *tmp_assign_source_6; PyObject *tmp_called_name_5; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_7; 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 = 1822; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__normalize_search_value ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1822; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } if ( par_markup == 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", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1822; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = par_markup; frame_d3f3c31464bc11609a7c046d5cf671b4->m_frame.f_lineno = 1822; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_assign_source_6 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1822; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } { PyObject *old = par_markup; par_markup = tmp_assign_source_6; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_7; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT( par_markup ); tmp_compexpr_left_3 = par_markup; tmp_compexpr_right_3 = Py_None; tmp_condition_result_7 = ( tmp_compexpr_left_3 == tmp_compexpr_right_3 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_operand_name_1; if ( par_match_against == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "match_against" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1826; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = par_match_against; 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 = 1826; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_return_value = ( tmp_res == 0 ) ? Py_True : Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_7:; } { nuitka_bool tmp_condition_result_8; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_source_name_6; PyObject *tmp_attribute_name_1; PyObject *tmp_operand_name_2; PyObject *tmp_isinstance_inst_5; PyObject *tmp_isinstance_cls_5; if ( par_match_against == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "match_against" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1828; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_match_against; tmp_attribute_name_1 = const_str_plain___iter__; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_6, tmp_attribute_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1828; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if ( par_match_against == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "match_against" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1829; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_5 = par_match_against; tmp_isinstance_cls_5 = (PyObject *)&PyUnicode_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_5, tmp_isinstance_cls_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1829; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } 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 = 1829; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_8 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_8 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { nuitka_bool tmp_condition_result_9; PyObject *tmp_operand_name_3; if ( par_already_tried == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "already_tried" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1836; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_operand_name_3 = par_already_tried; 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 = 1836; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_condition_result_9 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { PyObject *tmp_assign_source_7; tmp_assign_source_7 = PySet_New( NULL ); { PyObject *old = par_already_tried; par_already_tried = tmp_assign_source_7; Py_XDECREF( old ); } } branch_no_9:; } { PyObject *tmp_assign_source_8; PyObject *tmp_iter_arg_2; if ( par_match_against == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "match_against" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1838; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_iter_arg_2 = par_match_against; tmp_assign_source_8 = MAKE_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1838; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_2__for_iterator == NULL ); tmp_for_loop_2__for_iterator = tmp_assign_source_8; } { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_for_loop_2__for_iterator ); tmp_next_source_2 = tmp_for_loop_2__for_iterator; tmp_assign_source_9 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_9 == 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 = "ooooNoooo"; exception_lineno = 1838; goto try_except_handler_3; } } { PyObject *old = tmp_for_loop_2__iter_value; tmp_for_loop_2__iter_value = tmp_assign_source_9; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_10; CHECK_OBJECT( tmp_for_loop_2__iter_value ); tmp_assign_source_10 = tmp_for_loop_2__iter_value; { PyObject *old = var_item; var_item = tmp_assign_source_10; Py_INCREF( var_item ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_10; PyObject *tmp_source_name_7; PyObject *tmp_attribute_value_1; int tmp_truth_name_3; CHECK_OBJECT( var_item ); tmp_source_name_7 = var_item; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain___hash__ ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1839; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } tmp_truth_name_3 = CHECK_IF_TRUE( tmp_attribute_value_1 ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_1 ); exception_lineno = 1839; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } tmp_condition_result_10 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_1 ); if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { PyObject *tmp_assign_source_11; if ( var_item == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "item" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1840; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } tmp_assign_source_11 = var_item; { PyObject *old = var_key; var_key = tmp_assign_source_11; Py_INCREF( var_key ); Py_XDECREF( old ); } } goto branch_end_10; branch_no_10:; { PyObject *tmp_assign_source_12; PyObject *tmp_id_arg_1; if ( var_item == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "item" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1842; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } tmp_id_arg_1 = var_item; tmp_assign_source_12 = PyLong_FromVoidPtr( tmp_id_arg_1 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1842; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } { PyObject *old = var_key; var_key = tmp_assign_source_12; Py_XDECREF( old ); } } branch_end_10:; } { nuitka_bool tmp_condition_result_11; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT( var_key ); tmp_compexpr_left_4 = var_key; if ( par_already_tried == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "already_tried" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1843; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } tmp_compexpr_right_4 = par_already_tried; tmp_res = PySequence_Contains( tmp_compexpr_right_4, tmp_compexpr_left_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1843; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } tmp_condition_result_11 = ( tmp_res == 1 ) ? 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:; { goto loop_start_2; } goto branch_end_11; branch_no_11:; { PyObject *tmp_called_name_6; PyObject *tmp_source_name_8; PyObject *tmp_args_element_name_8; if ( par_already_tried == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "already_tried" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1846; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } tmp_source_name_8 = par_already_tried; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_add ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1846; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } if ( var_key == 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", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1846; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } tmp_args_element_name_8 = var_key; frame_d3f3c31464bc11609a7c046d5cf671b4->m_frame.f_lineno = 1846; { PyObject *call_args[] = { tmp_args_element_name_8 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1846; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_12; PyObject *tmp_called_name_7; PyObject *tmp_source_name_9; PyObject *tmp_call_result_3; PyObject *tmp_args_element_name_9; PyObject *tmp_args_element_name_10; PyObject *tmp_args_element_name_11; int tmp_truth_name_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1847; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } tmp_source_name_9 = par_self; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain__matches ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1847; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } if ( var_original_markup == 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", "original_markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1847; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } tmp_args_element_name_9 = var_original_markup; if ( var_item == 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", "item" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1847; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } tmp_args_element_name_10 = var_item; if ( par_already_tried == 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", "already_tried" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1847; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } tmp_args_element_name_11 = par_already_tried; frame_d3f3c31464bc11609a7c046d5cf671b4->m_frame.f_lineno = 1847; { PyObject *call_args[] = { tmp_args_element_name_9, tmp_args_element_name_10, tmp_args_element_name_11 }; tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_7, call_args ); } Py_DECREF( tmp_called_name_7 ); if ( tmp_call_result_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1847; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } tmp_truth_name_4 = CHECK_IF_TRUE( tmp_call_result_3 ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_3 ); exception_lineno = 1847; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } tmp_condition_result_12 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_3 ); if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE ) { goto branch_yes_12; } else { goto branch_no_12; } branch_yes_12:; { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto try_return_handler_3; } branch_no_12:; } branch_end_11:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1838; type_description_1 = "ooooNoooo"; goto try_except_handler_3; } goto loop_start_2; loop_end_2:; } goto try_end_2; // Return handler code: try_return_handler_3:; { CHECK_OBJECT( (PyObject *)tmp_for_loop_2__iter_value ); Py_DECREF( 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; } { goto frame_return_exit_1; } // 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_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_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:; } { 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; } { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_8:; } { PyObject *tmp_assign_source_13; tmp_assign_source_13 = Py_False; assert( var_match == NULL ); Py_INCREF( tmp_assign_source_13 ); var_match = tmp_assign_source_13; } { nuitka_bool tmp_condition_result_13; PyObject *tmp_isinstance_inst_6; PyObject *tmp_isinstance_cls_6; if ( par_match_against == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "match_against" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1856; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_6 = par_match_against; tmp_isinstance_cls_6 = (PyObject *)&PyUnicode_Type; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_6, tmp_isinstance_cls_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1856; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_condition_result_13 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE ) { goto branch_yes_13; } else { goto branch_no_13; } branch_yes_13:; { PyObject *tmp_assign_source_14; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; if ( par_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1858; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_compexpr_left_5 = par_markup; if ( par_match_against == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "match_against" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1858; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_compexpr_right_5 = par_match_against; tmp_assign_source_14 = RICH_COMPARE_EQ( tmp_compexpr_left_5, tmp_compexpr_right_5 ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1858; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } { PyObject *old = var_match; var_match = tmp_assign_source_14; Py_XDECREF( old ); } } branch_no_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; PyObject *tmp_operand_name_4; PyObject *tmp_source_name_10; PyObject *tmp_attribute_name_2; CHECK_OBJECT( var_match ); tmp_operand_name_4 = var_match; tmp_res = CHECK_IF_TRUE( tmp_operand_name_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1860; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_and_left_value_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if ( par_match_against == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "match_against" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1860; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_source_name_10 = par_match_against; tmp_attribute_name_2 = const_str_plain_search; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_10, tmp_attribute_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1860; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_and_right_value_2 = ( 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_name_8; PyObject *tmp_source_name_11; PyObject *tmp_args_element_name_12; if ( par_match_against == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "match_against" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1862; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_source_name_11 = par_match_against; tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_search ); if ( tmp_called_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1862; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } if ( par_markup == 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", "markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1862; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_args_element_name_12 = par_markup; frame_d3f3c31464bc11609a7c046d5cf671b4->m_frame.f_lineno = 1862; { PyObject *call_args[] = { tmp_args_element_name_12 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args ); } Py_DECREF( tmp_called_name_8 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1862; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_14:; } { nuitka_bool tmp_condition_result_15; int tmp_and_left_truth_3; nuitka_bool tmp_and_left_value_3; nuitka_bool tmp_and_right_value_3; PyObject *tmp_operand_name_5; int tmp_and_left_truth_4; nuitka_bool tmp_and_left_value_4; nuitka_bool tmp_and_right_value_4; PyObject *tmp_isinstance_inst_7; PyObject *tmp_isinstance_cls_7; PyObject *tmp_mvar_value_3; PyObject *tmp_source_name_12; PyObject *tmp_attribute_value_2; int tmp_truth_name_5; if ( var_match == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "match" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1864; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_operand_name_5 = var_match; tmp_res = CHECK_IF_TRUE( tmp_operand_name_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1864; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_and_left_value_3 = ( tmp_res == 0 ) ? 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 ( var_original_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "original_markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1865; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_7 = var_original_markup; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Tag ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Tag ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1865; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_7 = tmp_mvar_value_3; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_7, tmp_isinstance_cls_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1865; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_and_left_value_4 = ( 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 ( var_original_markup == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "original_markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1866; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_source_name_12 = var_original_markup; tmp_attribute_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_prefix ); if ( tmp_attribute_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1866; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_truth_name_5 = CHECK_IF_TRUE( tmp_attribute_value_2 ); if ( tmp_truth_name_5 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_2 ); exception_lineno = 1866; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_and_right_value_4 = tmp_truth_name_5 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_2 ); tmp_and_right_value_3 = tmp_and_right_value_4; goto and_end_4; and_left_4:; tmp_and_right_value_3 = tmp_and_left_value_4; and_end_4:; tmp_condition_result_15 = tmp_and_right_value_3; goto and_end_3; and_left_3:; tmp_condition_result_15 = tmp_and_left_value_3; and_end_3:; if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE ) { goto branch_yes_15; } else { goto branch_no_15; } branch_yes_15:; { PyObject *tmp_called_name_9; PyObject *tmp_source_name_13; PyObject *tmp_args_element_name_13; PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_source_name_14; PyObject *tmp_right_name_1; PyObject *tmp_right_name_2; PyObject *tmp_source_name_15; PyObject *tmp_args_element_name_14; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1868; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_source_name_13 = par_self; tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain__matches ); if ( tmp_called_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1868; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } if ( var_original_markup == 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", "original_markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1869; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_source_name_14 = var_original_markup; tmp_left_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_prefix ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_9 ); exception_lineno = 1869; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_right_name_1 = const_str_chr_58; tmp_left_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_1 ); Py_DECREF( tmp_left_name_2 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_9 ); exception_lineno = 1869; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } if ( var_original_markup == NULL ) { Py_DECREF( tmp_called_name_9 ); Py_DECREF( tmp_left_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "original_markup" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1869; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_source_name_15 = var_original_markup; tmp_right_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_name ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_9 ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 1869; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_args_element_name_13 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_2 ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_args_element_name_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_9 ); exception_lineno = 1869; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } if ( par_match_against == NULL ) { Py_DECREF( tmp_called_name_9 ); Py_DECREF( tmp_args_element_name_13 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "match_against" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1869; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_args_element_name_14 = par_match_against; frame_d3f3c31464bc11609a7c046d5cf671b4->m_frame.f_lineno = 1868; { PyObject *call_args[] = { tmp_args_element_name_13, tmp_args_element_name_14 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_9, call_args ); } Py_DECREF( tmp_called_name_9 ); Py_DECREF( tmp_args_element_name_13 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1868; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_15:; } { if ( var_match == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "match" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1872; type_description_1 = "ooooNoooo"; goto frame_exception_exit_1; } tmp_return_value = var_match; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d3f3c31464bc11609a7c046d5cf671b4 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d3f3c31464bc11609a7c046d5cf671b4 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d3f3c31464bc11609a7c046d5cf671b4 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d3f3c31464bc11609a7c046d5cf671b4, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d3f3c31464bc11609a7c046d5cf671b4->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d3f3c31464bc11609a7c046d5cf671b4, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d3f3c31464bc11609a7c046d5cf671b4, type_description_1, par_self, par_markup, par_match_against, par_already_tried, NULL, var_item, var_original_markup, var_key, var_match ); // Release cached frame. if ( frame_d3f3c31464bc11609a7c046d5cf671b4 == cache_frame_d3f3c31464bc11609a7c046d5cf671b4 ) { Py_DECREF( frame_d3f3c31464bc11609a7c046d5cf671b4 ); } cache_frame_d3f3c31464bc11609a7c046d5cf671b4 = NULL; assertFrameObject( frame_d3f3c31464bc11609a7c046d5cf671b4 ); // 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( bs4$element$$$function_114__matches ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_markup ); par_markup = NULL; } { Py_XDECREF( par_match_against ); par_match_against = NULL; } { Py_XDECREF( par_already_tried ); par_already_tried = NULL; } { Py_XDECREF( var_item ); var_item = NULL; } { Py_XDECREF( var_original_markup ); var_original_markup = NULL; } { Py_XDECREF( var_key ); var_key = NULL; } { Py_XDECREF( var_match ); var_match = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; 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( par_self ); par_self = NULL; } { Py_XDECREF( par_markup ); par_markup = NULL; } { Py_XDECREF( par_match_against ); par_match_against = NULL; } { Py_XDECREF( par_already_tried ); par_already_tried = NULL; } { Py_XDECREF( var_item ); var_item = NULL; } { Py_XDECREF( var_original_markup ); var_original_markup = NULL; } { Py_XDECREF( var_key ); var_key = NULL; } { Py_XDECREF( var_match ); var_match = 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 function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element$$$function_114__matches ); 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_bs4$element$$$function_115___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_source = python_pars[ 1 ]; PyObject *par_result = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_0119232f22e0ff77965805377e28ab4d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_0119232f22e0ff77965805377e28ab4d = 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_0119232f22e0ff77965805377e28ab4d, codeobj_0119232f22e0ff77965805377e28ab4d, module_bs4$element, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_0119232f22e0ff77965805377e28ab4d = cache_frame_0119232f22e0ff77965805377e28ab4d; // Push the new frame as the currently active one. pushFrameStack( frame_0119232f22e0ff77965805377e28ab4d ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_0119232f22e0ff77965805377e28ab4d ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_type_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_object_name_1; PyObject *tmp_args_element_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_ResultSet ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ResultSet ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ResultSet" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1879; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_type_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_self ); tmp_object_name_1 = par_self; tmp_source_name_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1879; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___init__ ); 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 = 1879; type_description_1 = "oooN"; goto frame_exception_exit_1; } if ( par_result == 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", "result" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1879; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_result; frame_0119232f22e0ff77965805377e28ab4d->m_frame.f_lineno = 1879; { 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 = 1879; type_description_1 = "oooN"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( par_source == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "source" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1880; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_assattr_name_1 = par_source; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1880; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_source, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1880; type_description_1 = "oooN"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_0119232f22e0ff77965805377e28ab4d ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0119232f22e0ff77965805377e28ab4d ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_0119232f22e0ff77965805377e28ab4d, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_0119232f22e0ff77965805377e28ab4d->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_0119232f22e0ff77965805377e28ab4d, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_0119232f22e0ff77965805377e28ab4d, type_description_1, par_self, par_source, par_result, NULL ); // Release cached frame. if ( frame_0119232f22e0ff77965805377e28ab4d == cache_frame_0119232f22e0ff77965805377e28ab4d ) { Py_DECREF( frame_0119232f22e0ff77965805377e28ab4d ); } cache_frame_0119232f22e0ff77965805377e28ab4d = NULL; assertFrameObject( frame_0119232f22e0ff77965805377e28ab4d ); // 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( bs4$element$$$function_115___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_source ); par_source = NULL; } { Py_XDECREF( par_result ); par_result = 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_source ); par_source = NULL; } { Py_XDECREF( par_result ); par_result = 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( bs4$element$$$function_115___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_bs4$element$$$function_116___getattr__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_key = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_ccefb7ad84122eaec3d5af97a7c83f34; 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; static struct Nuitka_FrameObject *cache_frame_ccefb7ad84122eaec3d5af97a7c83f34 = 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_ccefb7ad84122eaec3d5af97a7c83f34, codeobj_ccefb7ad84122eaec3d5af97a7c83f34, module_bs4$element, sizeof(void *)+sizeof(void *) ); frame_ccefb7ad84122eaec3d5af97a7c83f34 = cache_frame_ccefb7ad84122eaec3d5af97a7c83f34; // Push the new frame as the currently active one. pushFrameStack( frame_ccefb7ad84122eaec3d5af97a7c83f34 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ccefb7ad84122eaec3d5af97a7c83f34 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; tmp_left_name_1 = const_str_digest_5972be3d2e0ae5cffa0313f94447abdb; CHECK_OBJECT( par_key ); tmp_right_name_1 = par_key; tmp_make_exception_arg_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_make_exception_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1884; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_ccefb7ad84122eaec3d5af97a7c83f34->m_frame.f_lineno = 1883; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_AttributeError, call_args ); } Py_DECREF( tmp_make_exception_arg_1 ); assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 1883; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_ccefb7ad84122eaec3d5af97a7c83f34 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ccefb7ad84122eaec3d5af97a7c83f34 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ccefb7ad84122eaec3d5af97a7c83f34, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ccefb7ad84122eaec3d5af97a7c83f34->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ccefb7ad84122eaec3d5af97a7c83f34, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ccefb7ad84122eaec3d5af97a7c83f34, type_description_1, par_self, par_key ); // Release cached frame. if ( frame_ccefb7ad84122eaec3d5af97a7c83f34 == cache_frame_ccefb7ad84122eaec3d5af97a7c83f34 ) { Py_DECREF( frame_ccefb7ad84122eaec3d5af97a7c83f34 ); } cache_frame_ccefb7ad84122eaec3d5af97a7c83f34 = NULL; assertFrameObject( frame_ccefb7ad84122eaec3d5af97a7c83f34 ); // 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( bs4$element$$$function_116___getattr__ ); return NULL; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { // 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( bs4$element$$$function_116___getattr__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_100_find( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_100_find, const_str_plain_find, #if PYTHON_VERSION >= 300 const_str_digest_bfbd2728b25d3175c0fc394f17be3e8e, #endif codeobj_7ce0a2b6ae53236f1fc4a93159b4453e, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_a0f6e9f5acfe56723fdae36afe1e77fb, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_101_find_all( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_101_find_all, const_str_plain_find_all, #if PYTHON_VERSION >= 300 const_str_digest_e33e8d49cbf0fc17428af0f49bdd18ae, #endif codeobj_5d14bd9a01838689f7e8eecca8ec0825, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_345cf92f17033766f082736e15d759aa, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_102_children( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_102_children, const_str_plain_children, #if PYTHON_VERSION >= 300 const_str_digest_ce8ab1d28eb892eeb1db86f8a1e40c7e, #endif codeobj_f6eaa2b092ce92d3ad80416704bf487b, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_103_descendants( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_103_descendants, const_str_plain_descendants, #if PYTHON_VERSION >= 300 const_str_digest_1b67e808b5e37f97cd1f62ae812a0b7c, #endif codeobj_55bc36eab384b2662fea682cb918f1c9, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_104_select_one( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_104_select_one, const_str_plain_select_one, #if PYTHON_VERSION >= 300 const_str_digest_4daed9bc7b28a37d66e00e344fb7f673, #endif codeobj_08df507017589681a3b32b6f88ec925b, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_a6aafb5565cda3049a1405989036800d, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_105_select, const_str_plain_select, #if PYTHON_VERSION >= 300 const_str_digest_3093015a22e9464a97451b699cade8d2, #endif codeobj_73578e0996899a70851ff82dc61899a5, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_a6aafb5565cda3049a1405989036800d, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_10_lambda( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_105_select$$$function_10_lambda, const_str_angle_lambda, #if PYTHON_VERSION >= 300 const_str_digest_b252984ab6611eb752b6c860a2d7a367, #endif codeobj_17a4c764cda8ef8f96cd03d867b6d0b6, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_1_id_matches( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_105_select$$$function_1_id_matches, const_str_plain_id_matches, #if PYTHON_VERSION >= 300 const_str_digest_69bc11e34450b76869d049492a13a5e3, #endif codeobj_2ea4a8667de875c414651a744472e264, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_2_classes_match( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_105_select$$$function_2_classes_match, const_str_plain_classes_match, #if PYTHON_VERSION >= 300 const_str_digest_32f02ba0d5979253c3fb9ee1fc478e93, #endif codeobj_a992b85df06a2cd3f7777638f7786b14, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_3___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_105_select$$$function_3___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_ac8da5c89507c2ed0afc7b93abb08579, #endif codeobj_c88400ee2d1354041ab542dad659f415, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_4_nth_child_of_type( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_105_select$$$function_4_nth_child_of_type, const_str_plain_nth_child_of_type, #if PYTHON_VERSION >= 300 const_str_digest_cdfee3c0096f8be39a68dcf4e68f3fc2, #endif codeobj_508da5ad87b8cc5ebb0c038967267d94, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_5_lambda( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_105_select$$$function_5_lambda, const_str_angle_lambda, #if PYTHON_VERSION >= 300 const_str_digest_b252984ab6611eb752b6c860a2d7a367, #endif codeobj_a7d3224942f07febe795b2b771317adc, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_6_lambda( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_105_select$$$function_6_lambda, const_str_angle_lambda, #if PYTHON_VERSION >= 300 const_str_digest_b252984ab6611eb752b6c860a2d7a367, #endif codeobj_95733d7b944085deb96e9de33b5bd2a3, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_7_next_tag_sibling( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_105_select$$$function_7_next_tag_sibling, const_str_plain_next_tag_sibling, #if PYTHON_VERSION >= 300 const_str_digest_9e7a277d9917e2e9d98ff2c93253b608, #endif codeobj_9cb785f0762896331987e722af13e325, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_8_recursive_select( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_105_select$$$function_8_recursive_select, const_str_plain_recursive_select, #if PYTHON_VERSION >= 300 const_str_digest_25d1348e5f90c099302af2b2e7b53e07, #endif codeobj_72a42c0abddbd72027f45c1c062c6cb4, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 3 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_105_select$$$function_9_default_candidate_generator( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_105_select$$$function_9_default_candidate_generator, const_str_plain_default_candidate_generator, #if PYTHON_VERSION >= 300 const_str_digest_d94dd02ff29f58ae25b53cad8c58cd04, #endif codeobj_45dca3d3953d3822c56c4bd07062a506, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_106_childGenerator( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_106_childGenerator, const_str_plain_childGenerator, #if PYTHON_VERSION >= 300 const_str_digest_38efcf08c20f0c20be944bef6fbd77d1, #endif codeobj_99bb15e6e5d12cf32ea888b190b58524, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_107_recursiveChildGenerator( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_107_recursiveChildGenerator, const_str_plain_recursiveChildGenerator, #if PYTHON_VERSION >= 300 const_str_digest_d9f736ab7dd0b8ba8e324821a81dae5b, #endif codeobj_43fc6ac21ee1b10665b261d36fe69f50, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_108_has_key( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_108_has_key, const_str_plain_has_key, #if PYTHON_VERSION >= 300 const_str_digest_4be8d1f49fd3ae11b2788365ce790598, #endif codeobj_893b39554e1d5e4b396856dd6b92db42, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_28fcfa6b905769882ab971e07fe72510, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_109___init__( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_109___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_f9266cedfd5a068f212dadb70cf35a55, #endif codeobj_e6904df3e4103be41c6cd1d7b304b88d, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_10_substitute_entities( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_10_substitute_entities, const_str_plain_substitute_entities, #if PYTHON_VERSION >= 300 const_str_digest_5cf04d0736f9ec7a90ae576f86fe47fd, #endif codeobj_8e0f1dd0be8123da3f75bdef7b5b3299, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_1c3b497b8a4a3c183134674c43de9ce2, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_110__normalize_search_value( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_110__normalize_search_value, const_str_plain__normalize_search_value, #if PYTHON_VERSION >= 300 const_str_digest_04bfdb1839faf96b56a52e9f70c436a3, #endif codeobj_d5794d410a882311621ba3f7ca843e85, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_111___str__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_111___str__, const_str_plain___str__, #if PYTHON_VERSION >= 300 const_str_digest_375dabe50f2b18b35df9eaaf8dd45fef, #endif codeobj_996f297d622d98bee25ea364822ad74c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_112_search_tag( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_112_search_tag, const_str_plain_search_tag, #if PYTHON_VERSION >= 300 const_str_digest_42d546f685733418ff29403a75796a66, #endif codeobj_0aaef0255efd000f361ae0891690de5e, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_113_search( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_113_search, const_str_plain_search, #if PYTHON_VERSION >= 300 const_str_digest_0b1fa04141a60b90f788201bec2f64cd, #endif codeobj_cb1042387482761e9c22fb676027a15c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_114__matches( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_114__matches, const_str_plain__matches, #if PYTHON_VERSION >= 300 const_str_digest_698039bfb83a176fe6c94146001e9b62, #endif codeobj_d3f3c31464bc11609a7c046d5cf671b4, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_115___init__( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_115___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_ae912026c5c8efb2a6b04b82119a5853, #endif codeobj_0119232f22e0ff77965805377e28ab4d, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_116___getattr__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_116___getattr__, const_str_plain___getattr__, #if PYTHON_VERSION >= 300 const_str_digest_b36e4823c492e96c379e71da4d82635b, #endif codeobj_ccefb7ad84122eaec3d5af97a7c83f34, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_11_substitute( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_11_substitute, const_str_plain_substitute, #if PYTHON_VERSION >= 300 const_str_digest_e93e15e7b09df658abd740e92ef2ec2a, #endif codeobj_5c45d7df7f7665ba7cc22679967112bf, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_12_substitute( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_12_substitute, const_str_plain_substitute, #if PYTHON_VERSION >= 300 const_str_digest_03ac11e86d25bad18a4ea3518818395f, #endif codeobj_6a79a26f7e51735b6c67728179d549c0, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_13_substitute( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_13_substitute, const_str_plain_substitute, #if PYTHON_VERSION >= 300 const_str_digest_dd28c379f1a5b1272a307a0641ac6175, #endif codeobj_441e6c94a379252059ac5a5617b050c2, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_14_substitute( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_14_substitute, const_str_plain_substitute, #if PYTHON_VERSION >= 300 const_str_digest_7bb51df0560e5842f708add19ad1bfac, #endif codeobj_30328e22e5f65f8a5122c3ffc563c6a8, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_15_format_string( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_15_format_string, const_str_plain_format_string, #if PYTHON_VERSION >= 300 const_str_digest_0685591b46f1ff1022b2fd24b4aac922, #endif codeobj_97ba68284dfc5691fe6a0cceae719018, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_4a104383ff48e621ad8c417548c98ea1, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_16__is_xml( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_16__is_xml, const_str_plain__is_xml, #if PYTHON_VERSION >= 300 const_str_digest_0b066cfc867e6f548b17d4d546783ac1, #endif codeobj_f3814657fbcff8715502c0eb9cf589d8, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_fa9ac21a1aecbae9bb5a3c4a16e70ffe, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_17__formatter_for_name( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_17__formatter_for_name, const_str_plain__formatter_for_name, #if PYTHON_VERSION >= 300 const_str_digest_bd303cf0a7f71dde6710e8ac4370b212, #endif codeobj_84722cb5268b352f18eaf34c08590e22, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_dc7919f5f97ce613232f3cbd32e183ff, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_18_setup( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_18_setup, const_str_plain_setup, #if PYTHON_VERSION >= 300 const_str_digest_a3dd9b90bf6e1958ae8850da3b9ccebf, #endif codeobj_c1bb9aa299d57ef72d613e6227ea67aa, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_d30c1fec201318981ba659c44f450ce9, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_19_replace_with( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_19_replace_with, const_str_plain_replace_with, #if PYTHON_VERSION >= 300 const_str_digest_ad602af37291ee123ca579a4adb6638e, #endif codeobj_68198a743b2077f17ee6416293f47a2c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_1__alias( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_1__alias, const_str_plain__alias, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_63d4973b90134921abbbbb587db228fb, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_40d1280f0aef3f3bf11313c57370733c, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_1__alias$$$function_1_alias( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_1__alias$$$function_1_alias, const_str_plain_alias, #if PYTHON_VERSION >= 300 const_str_digest_bc014c333a535597b5d961b6c3c85d62, #endif codeobj_ee2b2685545163715d3351509a457677, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_1__alias$$$function_2_alias( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_1__alias$$$function_2_alias, const_str_plain_alias, #if PYTHON_VERSION >= 300 const_str_digest_bc014c333a535597b5d961b6c3c85d62, #endif codeobj_da5197353f9a497917278f97144e70c0, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_20_unwrap( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_20_unwrap, const_str_plain_unwrap, #if PYTHON_VERSION >= 300 const_str_digest_6365820bb021743edcf367e2c1bcd825, #endif codeobj_affcca277c5f9aa14119821922ee34dc, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_21_wrap( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_21_wrap, const_str_plain_wrap, #if PYTHON_VERSION >= 300 const_str_digest_cf38122a46c1d7b3523fcb29076cdaf6, #endif codeobj_8af4efe251cbc84190fc020fbbf4094b, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_22_extract( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_22_extract, const_str_plain_extract, #if PYTHON_VERSION >= 300 const_str_digest_0b148e8f8ec38f9da52f3c3b1086382f, #endif codeobj_80194037f97e3366fc4f5506f80d408e, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_5019a3250d7d4e2e305907c7346453e1, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_23__last_descendant( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_23__last_descendant, const_str_plain__last_descendant, #if PYTHON_VERSION >= 300 const_str_digest_69df334990d19552a3d7e4a15ffc5ba7, #endif codeobj_e459943332e46df6e47d6b496d72a30c, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_a5e29131f13d71b6ec2d6ad90d15151c, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_24_insert( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_24_insert, const_str_plain_insert, #if PYTHON_VERSION >= 300 const_str_digest_c29393614e018784fb5976f9e5ecdbae, #endif codeobj_e495bbf5f921248a9a2648dbfb152f5d, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_25_append( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_25_append, const_str_plain_append, #if PYTHON_VERSION >= 300 const_str_digest_dfdbff9e44ccf3b0d72c62f2eb1feb85, #endif codeobj_8ef91ea3df7ef7816e362ae137dd2a18, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_e284352cda9140f58b06ed689c06ac6a, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_26_insert_before( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_26_insert_before, const_str_plain_insert_before, #if PYTHON_VERSION >= 300 const_str_digest_4ea40ba033afd2cd1470c389c6eb1f6d, #endif codeobj_0447cb3348c097b1cbf22f026aace830, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_302b0c9d5be44f512531ebaa066b21e4, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_27_insert_after( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_27_insert_after, const_str_plain_insert_after, #if PYTHON_VERSION >= 300 const_str_digest_46bb1036547373667fa3a1d24bead131, #endif codeobj_e8bc482a81565a9c34555e4be729e066, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_90caf7c40b767f058b1c9bd194f972d8, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_28_find_next( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_28_find_next, const_str_plain_find_next, #if PYTHON_VERSION >= 300 const_str_digest_f0264e6a8bd9c2f2f263e27b855963b9, #endif codeobj_156d9f1efa51f3dfa4650407e8270de4, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_8ca5f0d3f3d0b766a3f4cdd946dfac3b, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_29_find_all_next( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_29_find_all_next, const_str_plain_find_all_next, #if PYTHON_VERSION >= 300 const_str_digest_52dbc62b42a8ca77d540a383ab09ed56, #endif codeobj_ccd6f806668e27e878cd52ae621d697d, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_7db7fe37da3c09f0b3a2e370ca362f20, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_2___new__( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_2___new__, const_str_plain___new__, #if PYTHON_VERSION >= 300 const_str_digest_94f02dadd11dd6cb5137530dc3a1fc1a, #endif codeobj_a4c75e81063e4d0c50b7210704599a41, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_30_find_next_sibling( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_30_find_next_sibling, const_str_plain_find_next_sibling, #if PYTHON_VERSION >= 300 const_str_digest_20d97f481b03cfb8c932093ed03991fa, #endif codeobj_3a0cff0ce013f133d5689b307a344b11, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_edf143d4f0a652982e578c671c8f527f, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_31_find_next_siblings( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_31_find_next_siblings, const_str_plain_find_next_siblings, #if PYTHON_VERSION >= 300 const_str_digest_abcaa5f84df1a2bc526d49ac2dda20c4, #endif codeobj_fe7f8d3c6a6934c2f4b678aa141b340a, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_a6d3c5dc186607b5d9991e1833ca2d3a, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_32_find_previous( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_32_find_previous, const_str_plain_find_previous, #if PYTHON_VERSION >= 300 const_str_digest_b92fc20017a3f2603eba39a9112ce15d, #endif codeobj_64539860be2c9afaf5283f5942d8f985, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_c42ac5a4d6fe5208c6039fd3f7e8b4d1, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_33_find_all_previous( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_33_find_all_previous, const_str_plain_find_all_previous, #if PYTHON_VERSION >= 300 const_str_digest_fa55152cf5768e33779c6aadc67f2074, #endif codeobj_7203915b9d47169cf54bea9157e43233, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_687f64809c4be828c127c356e1b6ed7c, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_34_find_previous_sibling( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_34_find_previous_sibling, const_str_plain_find_previous_sibling, #if PYTHON_VERSION >= 300 const_str_digest_4838be2bd5e0c58ff3aeb85b29623734, #endif codeobj_19197c8d617a094fdf2d21476a024be0, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_9a553da68e37fc2c9e871cef1f9a938f, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_35_find_previous_siblings( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_35_find_previous_siblings, const_str_plain_find_previous_siblings, #if PYTHON_VERSION >= 300 const_str_digest_9b63c157b7e3ba6508b232051f499a07, #endif codeobj_31f4fb2abefc19737b20e2914b4ed146, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_5e8296b08c7275b6e9b059066a53a1cb, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_36_find_parent( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_36_find_parent, const_str_plain_find_parent, #if PYTHON_VERSION >= 300 const_str_digest_58f29b9091b9295fe6b362b2a5c1cffc, #endif codeobj_9d85c104cdd7f0aa2d8cc561f43f6ec2, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_fd3697fca90f8714408b4dfe42e76cb5, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_37_find_parents( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_37_find_parents, const_str_plain_find_parents, #if PYTHON_VERSION >= 300 const_str_digest_73fbe63b7f0aff56f40668af7f1667a6, #endif codeobj_d8e1aa0631022667d6695d0244e02893, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_d39d95c610172b34eb52fa6d59d5835e, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_38_next( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_38_next, const_str_plain_next, #if PYTHON_VERSION >= 300 const_str_digest_b22616d8b6beb62acee58774ffcab55e, #endif codeobj_6e6068c2930c44dc05beada272c651ed, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_39_previous( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_39_previous, const_str_plain_previous, #if PYTHON_VERSION >= 300 const_str_digest_e107fb2a715fd343678f69439be13d8c, #endif codeobj_6facbb6a0b7797bff09bbeee0c2d64b1, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_3___new__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_3___new__, const_str_plain___new__, #if PYTHON_VERSION >= 300 const_str_digest_7f562f51a7dcf86c55c1dc37557d0f96, #endif codeobj_2139c8e38639112c68fcbdb532dd01ed, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_40__find_one( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_40__find_one, const_str_plain__find_one, #if PYTHON_VERSION >= 300 const_str_digest_b2c3019ddb9f1e6b0934bca72ffa143d, #endif codeobj_df0dc7bcbf46a9bb4d49a127c6827889, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_41__find_all( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_41__find_all, const_str_plain__find_all, #if PYTHON_VERSION >= 300 const_str_digest_ce9ae618af4165298dca7d007143504c, #endif codeobj_0ba3d6caf3b5c3d1ee77b277fa0a9336, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_dba4300913f590ab70dd3a55a3c580d8, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_42_next_elements( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_42_next_elements, const_str_plain_next_elements, #if PYTHON_VERSION >= 300 const_str_digest_7b5d772369e2304853f18cab6c504630, #endif codeobj_7789fa2403c86d096649a8ae985fb9a1, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_43_next_siblings( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_43_next_siblings, const_str_plain_next_siblings, #if PYTHON_VERSION >= 300 const_str_digest_c39d3790c96cd19498c4533c82e40342, #endif codeobj_56c67731964b5279115e2f383d85829f, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_44_previous_elements( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_44_previous_elements, const_str_plain_previous_elements, #if PYTHON_VERSION >= 300 const_str_digest_9209bcee9de337095ce6b668e33e31ce, #endif codeobj_a473a4204daa78a59ebfe0b036aa8a56, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_45_previous_siblings( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_45_previous_siblings, const_str_plain_previous_siblings, #if PYTHON_VERSION >= 300 const_str_digest_ad84e4242d5a8caad6a338868df5badc, #endif codeobj_97ce4717c41439075463fa0e7a213c1f, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_46_parents( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_46_parents, const_str_plain_parents, #if PYTHON_VERSION >= 300 const_str_digest_757a2fce8a21ac849f1f3934767a43c0, #endif codeobj_d3dca88da02486a0ab25d2a3e0bda0fa, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_47__attr_value_as_string( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_47__attr_value_as_string, const_str_plain__attr_value_as_string, #if PYTHON_VERSION >= 300 const_str_digest_2c5d2687546dd016d865134c82fb2945, #endif codeobj_df315d0e98ee35d4dcc4c5f61ab6f49e, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_6e63a7173cd4f4b861f87b1f68f24083, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_48__tag_name_matches_and( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_48__tag_name_matches_and, const_str_plain__tag_name_matches_and, #if PYTHON_VERSION >= 300 const_str_digest_b7f7f70d63a1284082c5550ade03c53a, #endif codeobj_0687b50ff83bc0f7dbc1a51cd1b81fa8, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_48__tag_name_matches_and$$$function_1__match( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_48__tag_name_matches_and$$$function_1__match, const_str_plain__match, #if PYTHON_VERSION >= 300 const_str_digest_590cc70efffa0fc24bc200183bdfec83, #endif codeobj_70bee86bc35990e86dfc9fcfdd19ddba, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 2 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_49__attribute_checker, const_str_plain__attribute_checker, #if PYTHON_VERSION >= 300 const_str_digest_b1b132473b960d5da44634355a1ebcd0, #endif codeobj_7967b765ab33c929276207289fe6f3a8, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_c6ce98eeee9de07963cbfdcd2b83f2c1, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_1_lambda( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_49__attribute_checker$$$function_1_lambda, const_str_angle_lambda, #if PYTHON_VERSION >= 300 const_str_digest_20b271ddb7bffe4a58ca712908ed043e, #endif codeobj_95cae882095f59dd340378988e49c026, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 2 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_2__includes_value( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_49__attribute_checker$$$function_2__includes_value, const_str_plain__includes_value, #if PYTHON_VERSION >= 300 const_str_digest_5d847db57d0c6475e433c934afe0ea5d, #endif codeobj_949c748c7e97e79632fad1744dd022f3, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 2 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_3_lambda( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_49__attribute_checker$$$function_3_lambda, const_str_angle_lambda, #if PYTHON_VERSION >= 300 const_str_digest_20b271ddb7bffe4a58ca712908ed043e, #endif codeobj_d71607011581f4dcf6ff97e649027795, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 2 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_4_lambda( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_49__attribute_checker$$$function_4_lambda, const_str_angle_lambda, #if PYTHON_VERSION >= 300 const_str_digest_20b271ddb7bffe4a58ca712908ed043e, #endif codeobj_d1724f132f3b5adc65e656c1c409cac8, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 2 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_5_lambda( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_49__attribute_checker$$$function_5_lambda, const_str_angle_lambda, #if PYTHON_VERSION >= 300 const_str_digest_20b271ddb7bffe4a58ca712908ed043e, #endif codeobj_7d26b56ff10cc3737beac52d1f3c2526, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 2 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_6__is_or_starts_with_dash( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_49__attribute_checker$$$function_6__is_or_starts_with_dash, const_str_plain__is_or_starts_with_dash, #if PYTHON_VERSION >= 300 const_str_digest_1d547f36cb81cf900ecd54bb5fde1579, #endif codeobj_36b758aca2688edbdd1b25564f4d5f72, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 2 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker$$$function_7_lambda( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_49__attribute_checker$$$function_7_lambda, const_str_angle_lambda, #if PYTHON_VERSION >= 300 const_str_digest_20b271ddb7bffe4a58ca712908ed043e, #endif codeobj_07768771a9dff1dca7fa5867d8d872f8, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_4_encode( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_4_encode, const_str_plain_encode, #if PYTHON_VERSION >= 300 const_str_digest_682478939f08574fa28e02985fbb79ca, #endif codeobj_255466d76e1c1750de8607470362444a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_50_nextGenerator( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_50_nextGenerator, const_str_plain_nextGenerator, #if PYTHON_VERSION >= 300 const_str_digest_353144c0bf943192926f85ed707a6e16, #endif codeobj_89f9f74b499c88d48a6850bc75fc3b9c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_51_nextSiblingGenerator( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_51_nextSiblingGenerator, const_str_plain_nextSiblingGenerator, #if PYTHON_VERSION >= 300 const_str_digest_d630873aaea86ca64fde902aa85bbf75, #endif codeobj_db408799525830effe488f5864e93341, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_52_previousGenerator( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_52_previousGenerator, const_str_plain_previousGenerator, #if PYTHON_VERSION >= 300 const_str_digest_3d2031d7b7fffec3dc4c339570a1b588, #endif codeobj_258ae2b97b21bb3ab4a0be3666e78453, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_53_previousSiblingGenerator( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_53_previousSiblingGenerator, const_str_plain_previousSiblingGenerator, #if PYTHON_VERSION >= 300 const_str_digest_0be551417e1b01ee588499dfe2e511fa, #endif codeobj_c60bd8b775ef9d752554f066c4250e6d, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_54_parentGenerator( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_54_parentGenerator, const_str_plain_parentGenerator, #if PYTHON_VERSION >= 300 const_str_digest_d93d00c4da1f218cf8d846dbb52a8d50, #endif codeobj_73f01e65f6fa8762c77d98dcf29d3867, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_55___new__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_55___new__, const_str_plain___new__, #if PYTHON_VERSION >= 300 const_str_digest_a461fa1ccb5527a9418bc67c35ef7e92, #endif codeobj_0e6d26d3e5169a6c25ef9f44039001eb, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_fb2a771a9c1c9339fad2ef3c863c3219, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_56___copy__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_56___copy__, const_str_plain___copy__, #if PYTHON_VERSION >= 300 const_str_digest_ff0cd2db1cfca44e00d548b4cede0d4c, #endif codeobj_c812d84c1959f98fd2b2a0d5c40e608f, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_c9d2da40f15d12241238636e3ea4b960, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_57___getnewargs__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_57___getnewargs__, const_str_plain___getnewargs__, #if PYTHON_VERSION >= 300 const_str_digest_c22e06bf4332de7dcedf0005568aa713, #endif codeobj_86e4c69eda9c3b00a842eb0470629ec9, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_58___getattr__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_58___getattr__, const_str_plain___getattr__, #if PYTHON_VERSION >= 300 const_str_digest_d883bd39058262c7b6cc6d59406ebe52, #endif codeobj_76147bc7179527984aad63627e7e5168, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_5806791943ce856d9cfa3df6f3256880, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_59_output_ready( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_59_output_ready, const_str_plain_output_ready, #if PYTHON_VERSION >= 300 const_str_digest_6b252bdc7760b336768b62f7cc67ad11, #endif codeobj_bffd7e0921fb8dace4195b135a7b4fcc, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_5___new__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_5___new__, const_str_plain___new__, #if PYTHON_VERSION >= 300 const_str_digest_41f4d180eae82f75e58ceb4fd30e808c, #endif codeobj_cd573e43528415ebdf1d513e182b54ae, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_60_name( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_60_name, const_str_plain_name, #if PYTHON_VERSION >= 300 const_str_digest_46d5a7b0c14a8b53d5f8055cd3b777a5, #endif codeobj_af581ae9b793a38f8fd5462a2c7df162, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_61_name( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_61_name, const_str_plain_name, #if PYTHON_VERSION >= 300 const_str_digest_46d5a7b0c14a8b53d5f8055cd3b777a5, #endif codeobj_0068b70b6db3f65f3bc0951202835e76, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_62_output_ready( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_62_output_ready, const_str_plain_output_ready, #if PYTHON_VERSION >= 300 const_str_digest_8c7f474933b64c7ef71c1feae0c0ad08, #endif codeobj_1604d6b922955c9ba58e44d42531e843, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_0335416823e683d1ebbe424bdd45a2ca, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_63_for_name_and_ids( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_63_for_name_and_ids, const_str_plain_for_name_and_ids, #if PYTHON_VERSION >= 300 const_str_digest_e031a97a206695681b6eb46f0a111132, #endif codeobj_e315cb934b07b8a22111ee79d19a435f, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_64___init__( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_64___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_0f241caea804b8a525f1d22aef15691e, #endif codeobj_4ad3726740db564e1e83367b3e345ec8, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_d8274aeb344d2374500ebe6784747ede, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_65___copy__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_65___copy__, const_str_plain___copy__, #if PYTHON_VERSION >= 300 const_str_digest_cb5aeacd6eaa9e461bfdc89a441d9582, #endif codeobj_8fea45c635606c8d0d99f27036d7a563, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_150a3ddd6f980f74b974d699bb653243, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_66_is_empty_element( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_66_is_empty_element, const_str_plain_is_empty_element, #if PYTHON_VERSION >= 300 const_str_digest_69e34bd00690a4b895c70e86e4d4da9d, #endif codeobj_3182b5e1e03d93d5a69947693f284b03, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_7b88dc5ab83916f8d7010fa0bb999fa3, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_67_string( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_67_string, const_str_plain_string, #if PYTHON_VERSION >= 300 const_str_digest_665bfb855d6eb80c3fc8f3d0735c5f04, #endif codeobj_664861b911bac5edfea27f3bc54f155a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_2c354f1221e3e09909d06a3dc3c259cb, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_68_string( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_68_string, const_str_plain_string, #if PYTHON_VERSION >= 300 const_str_digest_665bfb855d6eb80c3fc8f3d0735c5f04, #endif codeobj_5ab336b278ac6b260535d1bf41e304e8, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_69__all_strings( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_69__all_strings, const_str_plain__all_strings, #if PYTHON_VERSION >= 300 const_str_digest_39e86dc800163cd6b97aed7a43db29b4, #endif codeobj_ce1c7d51d9278aac0c1e8f91e3e0e1a4, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_5dde75ea46d316ab5ab5d75080f755c4, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_6_encode( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_6_encode, const_str_plain_encode, #if PYTHON_VERSION >= 300 const_str_digest_f9e139f46dd50f44cc7fd067b77cd3a6, #endif codeobj_38dbdeb6dc0225007c26f4882ae11e91, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_6_encode$$$function_1_rewrite( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_6_encode$$$function_1_rewrite, const_str_plain_rewrite, #if PYTHON_VERSION >= 300 const_str_digest_ca50f55a33cc9fd5d939b7cdc4d773d8, #endif codeobj_978b1826bf8f1afeb0862dfb5ffc4203, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 1 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_70_stripped_strings( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_70_stripped_strings, const_str_plain_stripped_strings, #if PYTHON_VERSION >= 300 const_str_digest_b020e6b1418851439328ddb17fd1f136, #endif codeobj_44db1778b7dcf50bdc4185f2e27d3f9e, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_71_get_text( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_71_get_text, const_str_plain_get_text, #if PYTHON_VERSION >= 300 const_str_digest_98146359f95edd1065618becd2b5a359, #endif codeobj_3f9c0ef2a8c74297e6a76e39dd113910, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_f217e48ed4c26f47ac3e1db2e35e3868, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_72_decompose( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_72_decompose, const_str_plain_decompose, #if PYTHON_VERSION >= 300 const_str_digest_0d59bfaa9218188300188b5f9e973e25, #endif codeobj_9b533d4121851bce2a227bf21c0c0512, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_c5639168a5cbc5c4d0956b93b3eb2792, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_73_clear( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_73_clear, const_str_plain_clear, #if PYTHON_VERSION >= 300 const_str_digest_9a4c4553ae799a3f01a78102c1ac7530, #endif codeobj_109154d3647759eb5904814de000cb71, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_979b3c48ae5244d26d6c51e2422468ee, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_74_index( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_74_index, const_str_plain_index, #if PYTHON_VERSION >= 300 const_str_digest_4dbb73066058ff26f1e7993b2b01c5eb, #endif codeobj_97710b69fd5c98269d39a473dacdc9ac, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_9a607885277141d349d6d92be27c1d04, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_75_get( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_75_get, const_str_plain_get, #if PYTHON_VERSION >= 300 const_str_digest_db901e7460e5ae6f33b17694393c4f4b, #endif codeobj_524a37c2c0d86ba0b41dc799b54fe11d, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_530dbdb9b402b3f07d411a938927f2b3, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_76_get_attribute_list( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_76_get_attribute_list, const_str_plain_get_attribute_list, #if PYTHON_VERSION >= 300 const_str_digest_3bd11431c85d0f814c3f9fee8048a221, #endif codeobj_e8a20bb9b440b8537b53ed7f3364c2de, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_12efe66a592585182310e41465bc3228, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_77_has_attr( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_77_has_attr, const_str_plain_has_attr, #if PYTHON_VERSION >= 300 const_str_digest_0932351717e05cd73680d12a5f83383f, #endif codeobj_eaca347d17ccf91ff6a3f44f41afc9f8, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_78___hash__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_78___hash__, const_str_plain___hash__, #if PYTHON_VERSION >= 300 const_str_digest_726de91e6007dda8de03e4cdd816c952, #endif codeobj_83d18e28095f37e035a2456e1f8ef60b, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_79___getitem__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_79___getitem__, const_str_plain___getitem__, #if PYTHON_VERSION >= 300 const_str_digest_342f2f3fc04416211c7651548dd73a63, #endif codeobj_bcaecc0504ca9574b24de4d86ecf1ccd, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_d72d114df8db0ba64be9f314fb3d10ea, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_7__substitute_if_appropriate( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_7__substitute_if_appropriate, const_str_plain__substitute_if_appropriate, #if PYTHON_VERSION >= 300 const_str_digest_ca5f0853bbd74b548855332453de257d, #endif codeobj_324c95006a1075a2f7bba964c8d63dec, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_80___iter__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_80___iter__, const_str_plain___iter__, #if PYTHON_VERSION >= 300 const_str_digest_d88264c5f20958d108ae7501f2b0acfa, #endif codeobj_e3fc98e89cad974e720b39d388b64b8a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_a1252b58837909ad9dc1fcca1e9295d3, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_81___len__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_81___len__, const_str_plain___len__, #if PYTHON_VERSION >= 300 const_str_digest_7809e3011797b1786165665d270db737, #endif codeobj_5115dfd1f9eebe023f2058b83d36d62a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_3efbf8635fb02c14f734f6fa1f903d94, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_82___contains__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_82___contains__, const_str_plain___contains__, #if PYTHON_VERSION >= 300 const_str_digest_14353753bf040a2143c41e1a6b5a528c, #endif codeobj_503b3c26f5cc4215b2fe3dba2ab8e216, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_83___bool__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_83___bool__, const_str_plain___bool__, #if PYTHON_VERSION >= 300 const_str_digest_793475b6ff905c6e5e6e3cfc6a042716, #endif codeobj_b24e5070f5d1501421c431a52b06e4fb, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_2301ed3ad80a75315314e7e55d580eb4, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_84___setitem__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_84___setitem__, const_str_plain___setitem__, #if PYTHON_VERSION >= 300 const_str_digest_01799122f84a03619fa27e337f4bf7c3, #endif codeobj_4d8569e449b8c3af75f10ae63d3003ef, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_996dd8adec957dee57886c3b180eb10e, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_85___delitem__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_85___delitem__, const_str_plain___delitem__, #if PYTHON_VERSION >= 300 const_str_digest_1f83e5e2bdffee57e1283bdded1a32f6, #endif codeobj_2d5339110e04c27d2f691693f06a3a22, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_73e3f65a5e6a0e231abfd780063ee2b0, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_86___call__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_86___call__, const_str_plain___call__, #if PYTHON_VERSION >= 300 const_str_digest_31f659cb35ffa5ba70625102f9962bb1, #endif codeobj_5a02ca1b1d27478979a5d79f5d103e3e, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_b42292186816115aadac41c6428c2b70, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_87___getattr__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_87___getattr__, const_str_plain___getattr__, #if PYTHON_VERSION >= 300 const_str_digest_bfd9123bdabe162ff4c454611798d0c9, #endif codeobj_b5b0f46b66d46165c4a1a536847c6512, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_88___eq__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_88___eq__, const_str_plain___eq__, #if PYTHON_VERSION >= 300 const_str_digest_370faefc9078402240140323291b72d9, #endif codeobj_63c327127eed5eef054c31ea605470f7, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_a8642630e4859aa7595db413203bd4d1, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_89___ne__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_89___ne__, const_str_plain___ne__, #if PYTHON_VERSION >= 300 const_str_digest_12810800dee73c8a2bb79c28a407294a, #endif codeobj_3e3a64de5f110b1ed59f4d5f468a9103, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_51f97402dd7101c57c82d9e47530321c, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_8_substitute_html( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_8_substitute_html, const_str_plain_substitute_html, #if PYTHON_VERSION >= 300 const_str_digest_8e07098f031b423e4c1f067583d036e2, #endif codeobj_6eeb6fe017912b4805c0497b38281403, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_90___repr__( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_90___repr__, const_str_plain___repr__, #if PYTHON_VERSION >= 300 const_str_digest_80d80d533bf8affc33d72b1a18abcd58, #endif codeobj_cdb5c877fd5b674f8408702b48aa1c50, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_29649a9de50f1b949dd54bb0ed0bf2bf, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_91___unicode__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_91___unicode__, const_str_plain___unicode__, #if PYTHON_VERSION >= 300 const_str_digest_1497234d40830769b81fa10a7cfd9b92, #endif codeobj_abbe0d495003fe7ab799eab53ded9afc, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_92___str__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_92___str__, const_str_plain___str__, #if PYTHON_VERSION >= 300 const_str_digest_7a7b71aaf4e5993a57b0b451a24861bc, #endif codeobj_b52816b7cb514b69f10f4cb5d9d34571, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_93_encode( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_93_encode, const_str_plain_encode, #if PYTHON_VERSION >= 300 const_str_digest_9bb37a6fbeda9fc48836f2598f9a11c1, #endif codeobj_53472f2643baf702d9c5a4eff11d583c, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_94__should_pretty_print( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_94__should_pretty_print, const_str_plain__should_pretty_print, #if PYTHON_VERSION >= 300 const_str_digest_7bc7e85dacc6dfb10a05cd09e76bb0df, #endif codeobj_0782037b9cedf766d1574980c0290eec, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_cb7f043884ff2a2610043d53506bac64, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_95_decode( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_95_decode, const_str_plain_decode, #if PYTHON_VERSION >= 300 const_str_digest_44e4e17c20a6befd3195005c4c8c2129, #endif codeobj_e01f26a1f353c67f25e6717a1782a6d6, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_6e295b76c4b27f5a846f1bb005613354, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_96_prettify( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_96_prettify, const_str_plain_prettify, #if PYTHON_VERSION >= 300 const_str_digest_4b06066e3aa553670a91521b3c0c7ec8, #endif codeobj_205139df448ca539f73e4d954ee5d3e8, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_97_decode_contents( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_97_decode_contents, const_str_plain_decode_contents, #if PYTHON_VERSION >= 300 const_str_digest_a5a0199db78f88ebe232c50669b74e60, #endif codeobj_0d16f9a58b69d82452c3a719fcf3b9fc, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_43f42e221dbc99e7846a13559b986b53, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_98_encode_contents( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_98_encode_contents, const_str_plain_encode_contents, #if PYTHON_VERSION >= 300 const_str_digest_27ec0cbd5301fe29c1fec192dcf5c57c, #endif codeobj_5f2748739a640a9bddd6f77b0f6bc42a, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, const_str_digest_74feb09b4e7b5c98ea28f927cc7ad7ec, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_99_renderContents( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_99_renderContents, const_str_plain_renderContents, #if PYTHON_VERSION >= 300 const_str_digest_ca069ce98f9901f907e2ed07f10c23b4, #endif codeobj_b173255cae1fb213f4b4b93a3866ef41, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_bs4$element$$$function_9_substitute_xml( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_bs4$element$$$function_9_substitute_xml, const_str_plain_substitute_xml, #if PYTHON_VERSION >= 300 const_str_digest_d90d6bf72562890a5796691663e1c81f, #endif codeobj_c586ec013c86a80af9dc6a67a37d539e, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_bs4$element, NULL, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_bs4$element = { PyModuleDef_HEAD_INIT, "bs4.element", /* 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( bs4$element ) { #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_bs4$element ); } 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("bs4.element: 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("bs4.element: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("bs4.element: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in initbs4$element" ); // 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_bs4$element = Py_InitModule4( "bs4.element", // 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_bs4$element = PyModule_Create( &mdef_bs4$element ); #endif moduledict_bs4$element = MODULE_DICT( module_bs4$element ); // Update "__package__" value to what it ought to be. { #if 0 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_bs4$element, (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_bs4$element, (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_bs4$element, (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_bs4$element, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_bs4$element ); // 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_a694a1497725bd5d49805e1c282892b9, module_bs4$element ); 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_bs4$element, (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_bs4$element, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_bs4$element, (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_bs4$element, (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_bs4$element, (Nuitka_StringObject *)const_str_plain___spec__, spec_value ); Py_DECREF( module_spec_class ); } #endif #endif // Temp variables if any PyObject *outline_0_var___class__ = NULL; PyObject *outline_1_var___class__ = NULL; PyObject *outline_2_var___class__ = NULL; PyObject *outline_3_var___class__ = NULL; PyObject *outline_4_var___class__ = NULL; PyObject *outline_5_var___class__ = NULL; PyObject *outline_6_var___class__ = NULL; PyObject *outline_7_var___class__ = NULL; PyObject *outline_8_var___class__ = NULL; PyObject *outline_9_var___class__ = NULL; PyObject *outline_10_var___class__ = NULL; PyObject *outline_11_var___class__ = NULL; PyObject *outline_12_var___class__ = NULL; PyObject *outline_13_var___class__ = NULL; PyObject *outline_14_var___class__ = NULL; PyObject *outline_15_var___class__ = NULL; PyObject *outline_16_var___class__ = NULL; PyObject *outline_17_var___class__ = NULL; PyObject *outline_18_var___class__ = NULL; PyObject *outline_19_var___class__ = NULL; PyObject *outline_20_var___class__ = NULL; PyObject *outline_21_var___class__ = NULL; PyObject *outline_22_var___class__ = NULL; PyObject *tmp_Tag$assign_unpack_1__assign_source = NULL; PyObject *tmp_class_creation_10__bases = NULL; PyObject *tmp_class_creation_10__bases_orig = NULL; PyObject *tmp_class_creation_10__class_decl_dict = NULL; PyObject *tmp_class_creation_10__metaclass = NULL; PyObject *tmp_class_creation_10__prepared = NULL; PyObject *tmp_class_creation_11__bases = NULL; PyObject *tmp_class_creation_11__bases_orig = NULL; PyObject *tmp_class_creation_11__class_decl_dict = NULL; PyObject *tmp_class_creation_11__metaclass = NULL; PyObject *tmp_class_creation_11__prepared = NULL; PyObject *tmp_class_creation_12__bases = NULL; PyObject *tmp_class_creation_12__class_decl_dict = NULL; PyObject *tmp_class_creation_12__metaclass = NULL; PyObject *tmp_class_creation_12__prepared = NULL; PyObject *tmp_class_creation_13__bases = NULL; PyObject *tmp_class_creation_13__bases_orig = NULL; PyObject *tmp_class_creation_13__class_decl_dict = NULL; PyObject *tmp_class_creation_13__metaclass = NULL; PyObject *tmp_class_creation_13__prepared = NULL; PyObject *tmp_class_creation_14__bases = NULL; PyObject *tmp_class_creation_14__bases_orig = NULL; PyObject *tmp_class_creation_14__class_decl_dict = NULL; PyObject *tmp_class_creation_14__metaclass = NULL; PyObject *tmp_class_creation_14__prepared = NULL; PyObject *tmp_class_creation_15__bases = NULL; PyObject *tmp_class_creation_15__bases_orig = NULL; PyObject *tmp_class_creation_15__class_decl_dict = NULL; PyObject *tmp_class_creation_15__metaclass = NULL; PyObject *tmp_class_creation_15__prepared = NULL; PyObject *tmp_class_creation_16__bases = NULL; PyObject *tmp_class_creation_16__bases_orig = NULL; PyObject *tmp_class_creation_16__class_decl_dict = NULL; PyObject *tmp_class_creation_16__metaclass = NULL; PyObject *tmp_class_creation_16__prepared = NULL; PyObject *tmp_class_creation_17__bases = NULL; PyObject *tmp_class_creation_17__bases_orig = NULL; PyObject *tmp_class_creation_17__class_decl_dict = NULL; PyObject *tmp_class_creation_17__metaclass = NULL; PyObject *tmp_class_creation_17__prepared = NULL; PyObject *tmp_class_creation_18__bases = NULL; PyObject *tmp_class_creation_18__bases_orig = NULL; PyObject *tmp_class_creation_18__class_decl_dict = NULL; PyObject *tmp_class_creation_18__metaclass = NULL; PyObject *tmp_class_creation_18__prepared = NULL; PyObject *tmp_class_creation_19__bases = NULL; PyObject *tmp_class_creation_19__bases_orig = NULL; PyObject *tmp_class_creation_19__class_decl_dict = NULL; PyObject *tmp_class_creation_19__metaclass = NULL; PyObject *tmp_class_creation_19__prepared = 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_20__bases = NULL; PyObject *tmp_class_creation_20__bases_orig = NULL; PyObject *tmp_class_creation_20__class_decl_dict = NULL; PyObject *tmp_class_creation_20__metaclass = NULL; PyObject *tmp_class_creation_20__prepared = NULL; PyObject *tmp_class_creation_21__bases = NULL; PyObject *tmp_class_creation_21__bases_orig = NULL; PyObject *tmp_class_creation_21__class_decl_dict = NULL; PyObject *tmp_class_creation_21__metaclass = NULL; PyObject *tmp_class_creation_21__prepared = NULL; PyObject *tmp_class_creation_22__bases = NULL; PyObject *tmp_class_creation_22__class_decl_dict = NULL; PyObject *tmp_class_creation_22__metaclass = NULL; PyObject *tmp_class_creation_22__prepared = NULL; PyObject *tmp_class_creation_23__bases = NULL; PyObject *tmp_class_creation_23__class_decl_dict = NULL; PyObject *tmp_class_creation_23__metaclass = NULL; PyObject *tmp_class_creation_23__prepared = NULL; PyObject *tmp_class_creation_2__bases = NULL; PyObject *tmp_class_creation_2__class_decl_dict = NULL; PyObject *tmp_class_creation_2__metaclass = NULL; PyObject *tmp_class_creation_2__prepared = NULL; PyObject *tmp_class_creation_3__bases = NULL; PyObject *tmp_class_creation_3__bases_orig = NULL; PyObject *tmp_class_creation_3__class_decl_dict = NULL; PyObject *tmp_class_creation_3__metaclass = NULL; PyObject *tmp_class_creation_3__prepared = NULL; PyObject *tmp_class_creation_4__bases = NULL; PyObject *tmp_class_creation_4__bases_orig = NULL; PyObject *tmp_class_creation_4__class_decl_dict = NULL; PyObject *tmp_class_creation_4__metaclass = NULL; PyObject *tmp_class_creation_4__prepared = NULL; PyObject *tmp_class_creation_5__bases = NULL; PyObject *tmp_class_creation_5__bases_orig = NULL; PyObject *tmp_class_creation_5__class_decl_dict = NULL; PyObject *tmp_class_creation_5__metaclass = NULL; PyObject *tmp_class_creation_5__prepared = NULL; PyObject *tmp_class_creation_6__bases = NULL; PyObject *tmp_class_creation_6__class_decl_dict = NULL; PyObject *tmp_class_creation_6__metaclass = NULL; PyObject *tmp_class_creation_6__prepared = NULL; PyObject *tmp_class_creation_7__bases = NULL; PyObject *tmp_class_creation_7__bases_orig = NULL; PyObject *tmp_class_creation_7__class_decl_dict = NULL; PyObject *tmp_class_creation_7__metaclass = NULL; PyObject *tmp_class_creation_7__prepared = NULL; PyObject *tmp_class_creation_8__bases = NULL; PyObject *tmp_class_creation_8__bases_orig = NULL; PyObject *tmp_class_creation_8__class_decl_dict = NULL; PyObject *tmp_class_creation_8__metaclass = NULL; PyObject *tmp_class_creation_8__prepared = NULL; PyObject *tmp_class_creation_9__bases = NULL; PyObject *tmp_class_creation_9__bases_orig = NULL; PyObject *tmp_class_creation_9__class_decl_dict = NULL; PyObject *tmp_class_creation_9__metaclass = NULL; PyObject *tmp_class_creation_9__prepared = NULL; struct Nuitka_FrameObject *frame_4ce17d3a177d008653b00d10844e65d5; 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_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; bool tmp_result; 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 *tmp_dictdel_dict; PyObject *tmp_dictdel_key; PyObject *locals_bs4$element_32 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_b39add1aa8348dd39b1965cb3dcdb282_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_b39add1aa8348dd39b1965cb3dcdb282_2 = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; 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 *locals_bs4$element_47 = NULL; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; PyObject *locals_bs4$element_50 = NULL; struct Nuitka_FrameObject *frame_1c2b488d3b14d07e67914bc23de09cca_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; static struct Nuitka_FrameObject *cache_frame_1c2b488d3b14d07e67914bc23de09cca_3 = NULL; 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 *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *locals_bs4$element_66 = NULL; struct Nuitka_FrameObject *frame_ece51f2689b7c94c8e975a33a383f61d_4; NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL; static struct Nuitka_FrameObject *cache_frame_ece51f2689b7c94c8e975a33a383f61d_4 = NULL; 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; PyObject *exception_keeper_type_15; PyObject *exception_keeper_value_15; PyTracebackObject *exception_keeper_tb_15; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; PyObject *locals_bs4$element_92 = NULL; struct Nuitka_FrameObject *frame_5772303f14ec630d1e3dd5c8abf7c00f_5; NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL; static struct Nuitka_FrameObject *cache_frame_5772303f14ec630d1e3dd5c8abf7c00f_5 = NULL; PyObject *exception_keeper_type_16; PyObject *exception_keeper_value_16; PyTracebackObject *exception_keeper_tb_16; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16; PyObject *exception_keeper_type_17; PyObject *exception_keeper_value_17; PyTracebackObject *exception_keeper_tb_17; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17; PyObject *exception_keeper_type_18; PyObject *exception_keeper_value_18; PyTracebackObject *exception_keeper_tb_18; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18; PyObject *locals_bs4$element_129 = NULL; struct Nuitka_FrameObject *frame_3058fae0e33e90d98e79ba79dbc6f232_6; NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL; static struct Nuitka_FrameObject *cache_frame_3058fae0e33e90d98e79ba79dbc6f232_6 = NULL; PyObject *exception_keeper_type_19; PyObject *exception_keeper_value_19; PyTracebackObject *exception_keeper_tb_19; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_19; PyObject *exception_keeper_type_20; PyObject *exception_keeper_value_20; PyTracebackObject *exception_keeper_tb_20; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_20; PyObject *exception_keeper_type_21; PyObject *exception_keeper_value_21; PyTracebackObject *exception_keeper_tb_21; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_21; PyObject *locals_bs4$element_139 = NULL; struct Nuitka_FrameObject *frame_de882dc1284bb1549f115dfe8588bf4d_7; NUITKA_MAY_BE_UNUSED char const *type_description_7 = NULL; static struct Nuitka_FrameObject *cache_frame_de882dc1284bb1549f115dfe8588bf4d_7 = NULL; PyObject *exception_keeper_type_22; PyObject *exception_keeper_value_22; PyTracebackObject *exception_keeper_tb_22; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_22; PyObject *exception_keeper_type_23; PyObject *exception_keeper_value_23; PyTracebackObject *exception_keeper_tb_23; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_23; PyObject *exception_keeper_type_24; PyObject *exception_keeper_value_24; PyTracebackObject *exception_keeper_tb_24; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_24; PyObject *locals_bs4$element_144 = NULL; struct Nuitka_FrameObject *frame_8f8d6a136bdadc5725438d2af52a5d0d_8; NUITKA_MAY_BE_UNUSED char const *type_description_8 = NULL; static struct Nuitka_FrameObject *cache_frame_8f8d6a136bdadc5725438d2af52a5d0d_8 = NULL; PyObject *exception_keeper_type_25; PyObject *exception_keeper_value_25; PyTracebackObject *exception_keeper_tb_25; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_25; PyObject *exception_keeper_type_26; PyObject *exception_keeper_value_26; PyTracebackObject *exception_keeper_tb_26; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_26; PyObject *exception_keeper_type_27; PyObject *exception_keeper_value_27; PyTracebackObject *exception_keeper_tb_27; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_27; PyObject *locals_bs4$element_149 = NULL; struct Nuitka_FrameObject *frame_e0b138e081684a50578d5e63a10479ca_9; NUITKA_MAY_BE_UNUSED char const *type_description_9 = NULL; static struct Nuitka_FrameObject *cache_frame_e0b138e081684a50578d5e63a10479ca_9 = NULL; PyObject *exception_keeper_type_28; PyObject *exception_keeper_value_28; PyTracebackObject *exception_keeper_tb_28; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_28; PyObject *exception_keeper_type_29; PyObject *exception_keeper_value_29; PyTracebackObject *exception_keeper_tb_29; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_29; PyObject *exception_keeper_type_30; PyObject *exception_keeper_value_30; PyTracebackObject *exception_keeper_tb_30; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_30; PyObject *locals_bs4$element_153 = NULL; struct Nuitka_FrameObject *frame_e9a030faa6f76c21f38fa0eb6e3cd515_10; NUITKA_MAY_BE_UNUSED char const *type_description_10 = NULL; static struct Nuitka_FrameObject *cache_frame_e9a030faa6f76c21f38fa0eb6e3cd515_10 = NULL; PyObject *exception_keeper_type_31; PyObject *exception_keeper_value_31; PyTracebackObject *exception_keeper_tb_31; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_31; PyObject *exception_keeper_type_32; PyObject *exception_keeper_value_32; PyTracebackObject *exception_keeper_tb_32; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_32; PyObject *exception_keeper_type_33; PyObject *exception_keeper_value_33; PyTracebackObject *exception_keeper_tb_33; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_33; PyObject *locals_bs4$element_158 = NULL; struct Nuitka_FrameObject *frame_11f961c432121b37f146972cf93e555e_11; NUITKA_MAY_BE_UNUSED char const *type_description_11 = NULL; static struct Nuitka_FrameObject *cache_frame_11f961c432121b37f146972cf93e555e_11 = NULL; PyObject *exception_keeper_type_34; PyObject *exception_keeper_value_34; PyTracebackObject *exception_keeper_tb_34; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_34; PyObject *exception_keeper_type_35; PyObject *exception_keeper_value_35; PyTracebackObject *exception_keeper_tb_35; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_35; PyObject *exception_keeper_type_36; PyObject *exception_keeper_value_36; PyTracebackObject *exception_keeper_tb_36; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_36; PyObject *locals_bs4$element_164 = NULL; struct Nuitka_FrameObject *frame_25c9e71c122c4abb0d99ddaf8a3447f3_12; NUITKA_MAY_BE_UNUSED char const *type_description_12 = NULL; static struct Nuitka_FrameObject *cache_frame_25c9e71c122c4abb0d99ddaf8a3447f3_12 = NULL; PyObject *exception_keeper_type_37; PyObject *exception_keeper_value_37; PyTracebackObject *exception_keeper_tb_37; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_37; PyObject *exception_keeper_type_38; PyObject *exception_keeper_value_38; PyTracebackObject *exception_keeper_tb_38; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_38; PyObject *exception_keeper_type_39; PyObject *exception_keeper_value_39; PyTracebackObject *exception_keeper_tb_39; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_39; PyObject *locals_bs4$element_754 = NULL; struct Nuitka_FrameObject *frame_e7bb2589135598a74075d2595b06b927_13; NUITKA_MAY_BE_UNUSED char const *type_description_13 = NULL; static struct Nuitka_FrameObject *cache_frame_e7bb2589135598a74075d2595b06b927_13 = NULL; PyObject *exception_keeper_type_40; PyObject *exception_keeper_value_40; PyTracebackObject *exception_keeper_tb_40; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_40; PyObject *exception_keeper_type_41; PyObject *exception_keeper_value_41; PyTracebackObject *exception_keeper_tb_41; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_41; PyObject *exception_keeper_type_42; PyObject *exception_keeper_value_42; PyTracebackObject *exception_keeper_tb_42; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_42; PyObject *locals_bs4$element_811 = NULL; struct Nuitka_FrameObject *frame_c4609990f9a41ed0ccbde514662afb75_14; NUITKA_MAY_BE_UNUSED char const *type_description_14 = NULL; static struct Nuitka_FrameObject *cache_frame_c4609990f9a41ed0ccbde514662afb75_14 = NULL; PyObject *exception_keeper_type_43; PyObject *exception_keeper_value_43; PyTracebackObject *exception_keeper_tb_43; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_43; PyObject *exception_keeper_type_44; PyObject *exception_keeper_value_44; PyTracebackObject *exception_keeper_tb_44; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_44; PyObject *exception_keeper_type_45; PyObject *exception_keeper_value_45; PyTracebackObject *exception_keeper_tb_45; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_45; PyObject *locals_bs4$element_824 = NULL; struct Nuitka_FrameObject *frame_4b80cfe4536afc986acea12c2fb342bb_15; NUITKA_MAY_BE_UNUSED char const *type_description_15 = NULL; static struct Nuitka_FrameObject *cache_frame_4b80cfe4536afc986acea12c2fb342bb_15 = NULL; PyObject *exception_keeper_type_46; PyObject *exception_keeper_value_46; PyTracebackObject *exception_keeper_tb_46; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_46; PyObject *exception_keeper_type_47; PyObject *exception_keeper_value_47; PyTracebackObject *exception_keeper_tb_47; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_47; PyObject *exception_keeper_type_48; PyObject *exception_keeper_value_48; PyTracebackObject *exception_keeper_tb_48; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_48; PyObject *locals_bs4$element_829 = NULL; struct Nuitka_FrameObject *frame_f25f0cfba0b00f017bfa1221e0c5d98f_16; NUITKA_MAY_BE_UNUSED char const *type_description_16 = NULL; static struct Nuitka_FrameObject *cache_frame_f25f0cfba0b00f017bfa1221e0c5d98f_16 = NULL; PyObject *exception_keeper_type_49; PyObject *exception_keeper_value_49; PyTracebackObject *exception_keeper_tb_49; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_49; PyObject *exception_keeper_type_50; PyObject *exception_keeper_value_50; PyTracebackObject *exception_keeper_tb_50; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_50; PyObject *exception_keeper_type_51; PyObject *exception_keeper_value_51; PyTracebackObject *exception_keeper_tb_51; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_51; PyObject *locals_bs4$element_835 = NULL; struct Nuitka_FrameObject *frame_3c39fbf0eecc9d5427624a39fef2d444_17; NUITKA_MAY_BE_UNUSED char const *type_description_17 = NULL; static struct Nuitka_FrameObject *cache_frame_3c39fbf0eecc9d5427624a39fef2d444_17 = NULL; PyObject *exception_keeper_type_52; PyObject *exception_keeper_value_52; PyTracebackObject *exception_keeper_tb_52; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_52; PyObject *exception_keeper_type_53; PyObject *exception_keeper_value_53; PyTracebackObject *exception_keeper_tb_53; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_53; PyObject *exception_keeper_type_54; PyObject *exception_keeper_value_54; PyTracebackObject *exception_keeper_tb_54; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_54; PyObject *locals_bs4$element_840 = NULL; struct Nuitka_FrameObject *frame_9e2bf96330a498442c1d54bae9cbca77_18; NUITKA_MAY_BE_UNUSED char const *type_description_18 = NULL; static struct Nuitka_FrameObject *cache_frame_9e2bf96330a498442c1d54bae9cbca77_18 = NULL; PyObject *exception_keeper_type_55; PyObject *exception_keeper_value_55; PyTracebackObject *exception_keeper_tb_55; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_55; PyObject *exception_keeper_type_56; PyObject *exception_keeper_value_56; PyTracebackObject *exception_keeper_tb_56; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_56; PyObject *exception_keeper_type_57; PyObject *exception_keeper_value_57; PyTracebackObject *exception_keeper_tb_57; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_57; PyObject *locals_bs4$element_846 = NULL; struct Nuitka_FrameObject *frame_09f3cc442a3b09d0e80e4b62f05677fc_19; NUITKA_MAY_BE_UNUSED char const *type_description_19 = NULL; static struct Nuitka_FrameObject *cache_frame_09f3cc442a3b09d0e80e4b62f05677fc_19 = NULL; PyObject *exception_keeper_type_58; PyObject *exception_keeper_value_58; PyTracebackObject *exception_keeper_tb_58; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_58; PyObject *exception_keeper_type_59; PyObject *exception_keeper_value_59; PyTracebackObject *exception_keeper_tb_59; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_59; PyObject *exception_keeper_type_60; PyObject *exception_keeper_value_60; PyTracebackObject *exception_keeper_tb_60; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_60; PyObject *locals_bs4$element_851 = NULL; struct Nuitka_FrameObject *frame_b488c24e2a6b7103518f0a1c1ec22379_20; NUITKA_MAY_BE_UNUSED char const *type_description_20 = NULL; static struct Nuitka_FrameObject *cache_frame_b488c24e2a6b7103518f0a1c1ec22379_20 = NULL; PyObject *exception_keeper_type_61; PyObject *exception_keeper_value_61; PyTracebackObject *exception_keeper_tb_61; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_61; PyObject *exception_keeper_type_62; PyObject *exception_keeper_value_62; PyTracebackObject *exception_keeper_tb_62; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_62; PyObject *exception_keeper_type_63; PyObject *exception_keeper_value_63; PyTracebackObject *exception_keeper_tb_63; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_63; PyObject *locals_bs4$element_869 = NULL; struct Nuitka_FrameObject *frame_4609c90faa727a79fc7a65c6e8922c9d_21; NUITKA_MAY_BE_UNUSED char const *type_description_21 = NULL; PyObject *exception_keeper_type_64; PyObject *exception_keeper_value_64; PyTracebackObject *exception_keeper_tb_64; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_64; static struct Nuitka_FrameObject *cache_frame_4609c90faa727a79fc7a65c6e8922c9d_21 = NULL; PyObject *exception_keeper_type_65; PyObject *exception_keeper_value_65; PyTracebackObject *exception_keeper_tb_65; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_65; PyObject *exception_keeper_type_66; PyObject *exception_keeper_value_66; PyTracebackObject *exception_keeper_tb_66; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_66; PyObject *exception_keeper_type_67; PyObject *exception_keeper_value_67; PyTracebackObject *exception_keeper_tb_67; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_67; PyObject *locals_bs4$element_1658 = NULL; struct Nuitka_FrameObject *frame_fd5e8676821a0cc01a6283e697785aac_22; NUITKA_MAY_BE_UNUSED char const *type_description_22 = NULL; static struct Nuitka_FrameObject *cache_frame_fd5e8676821a0cc01a6283e697785aac_22 = NULL; PyObject *exception_keeper_type_68; PyObject *exception_keeper_value_68; PyTracebackObject *exception_keeper_tb_68; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_68; PyObject *exception_keeper_type_69; PyObject *exception_keeper_value_69; PyTracebackObject *exception_keeper_tb_69; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_69; PyObject *exception_keeper_type_70; PyObject *exception_keeper_value_70; PyTracebackObject *exception_keeper_tb_70; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_70; PyObject *locals_bs4$element_1875 = NULL; struct Nuitka_FrameObject *frame_69f0075a71dbac5ca10b4f11e5fbd568_23; NUITKA_MAY_BE_UNUSED char const *type_description_23 = NULL; static struct Nuitka_FrameObject *cache_frame_69f0075a71dbac5ca10b4f11e5fbd568_23 = NULL; PyObject *exception_keeper_type_71; PyObject *exception_keeper_value_71; PyTracebackObject *exception_keeper_tb_71; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_71; PyObject *exception_keeper_type_72; PyObject *exception_keeper_value_72; PyTracebackObject *exception_keeper_tb_72; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_72; PyObject *exception_keeper_type_73; PyObject *exception_keeper_value_73; PyTracebackObject *exception_keeper_tb_73; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_73; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; UPDATE_STRING_DICT0( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_900727e0560906c5ac4df82dba814f02; UPDATE_STRING_DICT0( moduledict_bs4$element, (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_bs4$element, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 ); } { PyObject *tmp_assign_source_4; tmp_assign_source_4 = const_str_plain_MIT; UPDATE_STRING_DICT0( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain___license__, tmp_assign_source_4 ); } // Frame without reuse. frame_4ce17d3a177d008653b00d10844e65d5 = MAKE_MODULE_FRAME( codeobj_4ce17d3a177d008653b00d10844e65d5, module_bs4$element ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_4ce17d3a177d008653b00d10844e65d5 ); assert( Py_REFCNT( frame_4ce17d3a177d008653b00d10844e65d5 ) == 2 ); // Framed code: { // Tried code: { PyObject *tmp_assign_source_5; 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_dc6974bae1533a27ce9599cdf14ca60e; tmp_globals_name_1 = (PyObject *)moduledict_bs4$element; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = const_tuple_str_plain_Callable_tuple; tmp_level_name_1 = const_int_0; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 6; 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( &exception_type, &exception_value, &exception_tb ); exception_lineno = 6; goto try_except_handler_1; } tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_Callable ); Py_DECREF( tmp_import_name_from_1 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 6; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Callable, tmp_assign_source_5 ); } 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; { // Preserve existing published exception. exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_1 ); exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_1 ); exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_1 ); } { if ( exception_keeper_tb_1 == NULL ) { exception_keeper_tb_1 = MAKE_TRACEBACK( frame_4ce17d3a177d008653b00d10844e65d5, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_4ce17d3a177d008653b00d10844e65d5, exception_keeper_lineno_1 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 ); PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 ); PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 ); } { // Tried code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_1 = PyExc_ImportError; tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 7; goto try_except_handler_2; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_6; tmp_assign_source_6 = EXC_VALUE(PyThreadState_GET()); UPDATE_STRING_DICT0( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_e, tmp_assign_source_6 ); } { // Tried code: { PyObject *tmp_assign_source_7; 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_plain_collections; tmp_globals_name_2 = (PyObject *)moduledict_bs4$element; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = const_tuple_str_plain_Callable_tuple; tmp_level_name_2 = const_int_0; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 8; 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( &exception_type, &exception_value, &exception_tb ); exception_lineno = 8; goto try_except_handler_3; } tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_Callable ); Py_DECREF( tmp_import_name_from_2 ); if ( tmp_assign_source_7 == 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_bs4$element, (Nuitka_StringObject *)const_str_plain_Callable, tmp_assign_source_7 ); } 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; { tmp_res = PyDict_DelItem( (PyObject *)moduledict_bs4$element, const_str_plain_e ); if ( tmp_res == -1 ) CLEAR_ERROR_OCCURRED(); } { // 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:; } { tmp_res = PyDict_DelItem( (PyObject *)moduledict_bs4$element, const_str_plain_e ); if ( tmp_res == -1 ) CLEAR_ERROR_OCCURRED(); } goto branch_end_1; branch_no_1:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 5; } if (exception_tb && exception_tb->tb_frame == &frame_4ce17d3a177d008653b00d10844e65d5->m_frame) frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = exception_tb->tb_lineno; goto try_except_handler_2; } branch_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; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // 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:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } goto try_end_1; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // End of try: try_end_1:; } { PyObject *tmp_assign_source_8; 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_re; tmp_globals_name_3 = (PyObject *)moduledict_bs4$element; tmp_locals_name_3 = Py_None; tmp_fromlist_name_3 = Py_None; tmp_level_name_3 = const_int_0; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 9; tmp_assign_source_8 = 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_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 9; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_re, tmp_assign_source_8 ); } { PyObject *tmp_assign_source_9; 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_shlex; tmp_globals_name_4 = (PyObject *)moduledict_bs4$element; tmp_locals_name_4 = Py_None; tmp_fromlist_name_4 = Py_None; tmp_level_name_4 = const_int_0; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 10; tmp_assign_source_9 = 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_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 10; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_shlex, tmp_assign_source_9 ); } { PyObject *tmp_assign_source_10; 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_sys; tmp_globals_name_5 = (PyObject *)moduledict_bs4$element; tmp_locals_name_5 = Py_None; tmp_fromlist_name_5 = Py_None; tmp_level_name_5 = const_int_0; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 11; tmp_assign_source_10 = IMPORT_MODULE5( tmp_name_name_5, tmp_globals_name_5, tmp_locals_name_5, tmp_fromlist_name_5, tmp_level_name_5 ); assert( !(tmp_assign_source_10 == NULL) ); UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_sys, tmp_assign_source_10 ); } { PyObject *tmp_assign_source_11; 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_plain_warnings; tmp_globals_name_6 = (PyObject *)moduledict_bs4$element; tmp_locals_name_6 = Py_None; tmp_fromlist_name_6 = Py_None; tmp_level_name_6 = const_int_0; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 12; tmp_assign_source_11 = 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_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 12; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_warnings, tmp_assign_source_11 ); } { PyObject *tmp_assign_source_12; PyObject *tmp_import_name_from_3; 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_e2405d39d6d616d1c5a0beb6aaa8ef8f; tmp_globals_name_7 = (PyObject *)moduledict_bs4$element; tmp_locals_name_7 = Py_None; tmp_fromlist_name_7 = const_tuple_str_plain_EntitySubstitution_tuple; tmp_level_name_7 = const_int_0; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 13; tmp_import_name_from_3 = 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_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 13; goto frame_exception_exit_1; } tmp_assign_source_12 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_EntitySubstitution ); Py_DECREF( tmp_import_name_from_3 ); if ( tmp_assign_source_12 == 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_bs4$element, (Nuitka_StringObject *)const_str_plain_EntitySubstitution, tmp_assign_source_12 ); } { PyObject *tmp_assign_source_13; tmp_assign_source_13 = const_str_digest_c075052d723d6707083e869a0e3659bb; UPDATE_STRING_DICT0( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_DEFAULT_OUTPUT_ENCODING, tmp_assign_source_13 ); } { PyObject *tmp_assign_source_14; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_subscript_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 16; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_version_info ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 16; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_int_0; tmp_compexpr_left_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 16; goto frame_exception_exit_1; } tmp_compexpr_right_2 = const_int_pos_2; tmp_assign_source_14 = RICH_COMPARE_GT( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 16; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PY3K, tmp_assign_source_14 ); } { PyObject *tmp_assign_source_15; PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (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 = 18; goto frame_exception_exit_1; } tmp_called_instance_1 = tmp_mvar_value_2; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 18; tmp_assign_source_15 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_compile, &PyTuple_GET_ITEM( const_tuple_str_digest_2717a74e8094c62311bf53472f4de0ca_tuple, 0 ) ); if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 18; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_whitespace_re, tmp_assign_source_15 ); } { PyObject *tmp_assign_source_16; tmp_assign_source_16 = MAKE_FUNCTION_bs4$element$$$function_1__alias( ); UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain__alias, tmp_assign_source_16 ); } { // Tried code: { PyObject *tmp_assign_source_17; PyObject *tmp_dircall_arg1_1; tmp_dircall_arg1_1 = const_tuple_type_str_tuple; Py_INCREF( tmp_dircall_arg1_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1}; tmp_assign_source_17 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_4; } assert( tmp_class_creation_1__bases == NULL ); tmp_class_creation_1__bases = tmp_assign_source_17; } { PyObject *tmp_assign_source_18; tmp_assign_source_18 = PyDict_New(); assert( tmp_class_creation_1__class_decl_dict == NULL ); tmp_class_creation_1__class_decl_dict = tmp_assign_source_18; } { PyObject *tmp_assign_source_19; PyObject *tmp_metaclass_name_1; nuitka_bool tmp_condition_result_2; 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_3; int tmp_truth_name_1; PyObject *tmp_type_arg_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; 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 = 32; goto try_except_handler_4; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == 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 = 32; goto try_except_handler_4; } goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_truth_name_1 = CHECK_IF_TRUE( tmp_class_creation_1__bases ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_4; } tmp_condition_result_3 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == 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_2 = tmp_class_creation_1__bases; tmp_subscript_name_2 = const_int_0; tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); if ( tmp_type_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_4; } 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 = 32; goto try_except_handler_4; } 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_19 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_4; } assert( tmp_class_creation_1__metaclass == NULL ); tmp_class_creation_1__metaclass = tmp_assign_source_19; } { nuitka_bool tmp_condition_result_4; 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 = 32; goto try_except_handler_4; } tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { 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 = 32; goto try_except_handler_4; } } branch_no_2:; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_source_name_2; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_2 = tmp_class_creation_1__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_2, const_str_plain___prepare__ ); tmp_condition_result_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_20; PyObject *tmp_called_name_1; PyObject *tmp_source_name_3; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kw_name_1; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_3 = tmp_class_creation_1__metaclass; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain___prepare__ ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_4; } tmp_tuple_element_1 = const_str_plain_NamespacedAttribute; 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_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 32; tmp_assign_source_20 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); if ( tmp_assign_source_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_4; } assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_20; } { nuitka_bool tmp_condition_result_6; PyObject *tmp_operand_name_1; PyObject *tmp_source_name_4; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_source_name_4 = tmp_class_creation_1__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_4, const_str_plain___getitem__ ); tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_4; } tmp_condition_result_6 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_raise_type_1; PyObject *tmp_raise_value_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_2; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; PyObject *tmp_source_name_5; PyObject *tmp_type_arg_2; tmp_raise_type_1 = PyExc_TypeError; tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_getattr_target_1 = tmp_class_creation_1__metaclass; tmp_getattr_attr_1 = const_str_plain___name__; tmp_getattr_default_1 = const_str_angle_metaclass; tmp_tuple_element_2 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_4; } tmp_right_name_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_type_arg_2 = tmp_class_creation_1__prepared; tmp_source_name_5 = BUILTIN_TYPE1( tmp_type_arg_2 ); assert( !(tmp_source_name_5 == NULL) ); tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain___name__ ); Py_DECREF( tmp_source_name_5 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_1 ); exception_lineno = 32; goto try_except_handler_4; } PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_2 ); tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_raise_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_4; } exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_value = tmp_raise_value_1; exception_lineno = 32; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_4; } branch_no_4:; } goto branch_end_3; branch_no_3:; { PyObject *tmp_assign_source_21; tmp_assign_source_21 = PyDict_New(); assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_21; } branch_end_3:; } { PyObject *tmp_assign_source_22; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_bs4$element_32 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_32, 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 = 32; goto try_except_handler_6; } } { tmp_dictset_value = const_str_plain_NamespacedAttribute; tmp_res = PyObject_SetItem( locals_bs4$element_32, 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 = 32; goto try_except_handler_6; } } MAKE_OR_REUSE_FRAME( cache_frame_b39add1aa8348dd39b1965cb3dcdb282_2, codeobj_b39add1aa8348dd39b1965cb3dcdb282, module_bs4$element, sizeof(void *) ); frame_b39add1aa8348dd39b1965cb3dcdb282_2 = cache_frame_b39add1aa8348dd39b1965cb3dcdb282_2; // Push the new frame as the currently active one. pushFrameStack( frame_b39add1aa8348dd39b1965cb3dcdb282_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_b39add1aa8348dd39b1965cb3dcdb282_2 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_defaults_1; tmp_defaults_1 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_1 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_2___new__( tmp_defaults_1 ); tmp_res = PyObject_SetItem( locals_bs4$element_32, const_str_plain___new__, 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 = 34; type_description_2 = "o"; goto frame_exception_exit_2; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_b39add1aa8348dd39b1965cb3dcdb282_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_b39add1aa8348dd39b1965cb3dcdb282_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_b39add1aa8348dd39b1965cb3dcdb282_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_b39add1aa8348dd39b1965cb3dcdb282_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_b39add1aa8348dd39b1965cb3dcdb282_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_b39add1aa8348dd39b1965cb3dcdb282_2, type_description_2, outline_0_var___class__ ); // Release cached frame. if ( frame_b39add1aa8348dd39b1965cb3dcdb282_2 == cache_frame_b39add1aa8348dd39b1965cb3dcdb282_2 ) { Py_DECREF( frame_b39add1aa8348dd39b1965cb3dcdb282_2 ); } cache_frame_b39add1aa8348dd39b1965cb3dcdb282_2 = NULL; assertFrameObject( frame_b39add1aa8348dd39b1965cb3dcdb282_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_6; skip_nested_handling_1:; { nuitka_bool tmp_condition_result_7; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_compexpr_left_3 = tmp_class_creation_1__bases; tmp_compexpr_right_3 = const_tuple_type_str_tuple; 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_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:; { tmp_dictset_value = const_tuple_type_str_tuple; tmp_res = PyObject_SetItem( locals_bs4$element_32, 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 = 32; goto try_except_handler_6; } } branch_no_5:; } { PyObject *tmp_assign_source_23; PyObject *tmp_called_name_2; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_3; PyObject *tmp_kw_name_2; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_called_name_2 = tmp_class_creation_1__metaclass; tmp_tuple_element_3 = const_str_plain_NamespacedAttribute; 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_bs4$element_32; 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_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 32; tmp_assign_source_23 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto try_except_handler_6; } assert( outline_0_var___class__ == NULL ); outline_0_var___class__ = tmp_assign_source_23; } { CHECK_OBJECT( outline_0_var___class__ ); tmp_assign_source_22 = outline_0_var___class__; Py_INCREF( tmp_assign_source_22 ); goto try_return_handler_6; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_6:; { Py_DECREF( locals_bs4$element_32 ); locals_bs4$element_32 = NULL; } { goto try_return_handler_5; } // Exception handler code: try_except_handler_6:; 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_DECREF( locals_bs4$element_32 ); locals_bs4$element_32 = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto try_except_handler_5; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_5:; { 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_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; { // 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 outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_1:; exception_lineno = 32; goto try_except_handler_4; outline_result_1:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_NamespacedAttribute, tmp_assign_source_22 ); } goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_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_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto frame_exception_exit_1; } // End of try: try_end_4:; } { 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_24; PyObject *tmp_dircall_arg1_2; tmp_dircall_arg1_2 = const_tuple_type_str_tuple; Py_INCREF( tmp_dircall_arg1_2 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_24 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; goto try_except_handler_7; } assert( tmp_class_creation_2__bases == NULL ); tmp_class_creation_2__bases = tmp_assign_source_24; } { PyObject *tmp_assign_source_25; tmp_assign_source_25 = PyDict_New(); assert( tmp_class_creation_2__class_decl_dict == NULL ); tmp_class_creation_2__class_decl_dict = tmp_assign_source_25; } { PyObject *tmp_assign_source_26; PyObject *tmp_metaclass_name_2; nuitka_bool tmp_condition_result_8; 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_9; int tmp_truth_name_2; PyObject *tmp_type_arg_3; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; 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 = 47; goto try_except_handler_7; } tmp_condition_result_8 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == 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 = 47; goto try_except_handler_7; } goto condexpr_end_3; condexpr_false_3:; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_truth_name_2 = CHECK_IF_TRUE( tmp_class_creation_2__bases ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; goto try_except_handler_7; } tmp_condition_result_9 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == 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_3 = tmp_class_creation_2__bases; tmp_subscript_name_3 = const_int_0; tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 ); if ( tmp_type_arg_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; goto try_except_handler_7; } 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 = 47; goto try_except_handler_7; } 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_26 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 ); Py_DECREF( tmp_metaclass_name_2 ); if ( tmp_assign_source_26 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; goto try_except_handler_7; } assert( tmp_class_creation_2__metaclass == NULL ); tmp_class_creation_2__metaclass = tmp_assign_source_26; } { nuitka_bool tmp_condition_result_10; 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 = 47; goto try_except_handler_7; } tmp_condition_result_10 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { 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 = 47; goto try_except_handler_7; } } branch_no_6:; } { nuitka_bool tmp_condition_result_11; PyObject *tmp_source_name_6; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_6 = tmp_class_creation_2__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_6, const_str_plain___prepare__ ); tmp_condition_result_11 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_assign_source_27; PyObject *tmp_called_name_3; PyObject *tmp_source_name_7; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_4; PyObject *tmp_kw_name_3; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_7 = tmp_class_creation_2__metaclass; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain___prepare__ ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; goto try_except_handler_7; } tmp_tuple_element_4 = const_str_plain_AttributeValueWithCharsetSubstitution; 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_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 47; tmp_assign_source_27 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_3, tmp_kw_name_3 ); Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_name_3 ); if ( tmp_assign_source_27 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; goto try_except_handler_7; } assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_27; } { nuitka_bool tmp_condition_result_12; PyObject *tmp_operand_name_2; PyObject *tmp_source_name_8; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_source_name_8 = tmp_class_creation_2__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_8, const_str_plain___getitem__ ); tmp_operand_name_2 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; goto try_except_handler_7; } tmp_condition_result_12 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { PyObject *tmp_raise_type_2; PyObject *tmp_raise_value_2; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_tuple_element_5; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; PyObject *tmp_source_name_9; PyObject *tmp_type_arg_4; tmp_raise_type_2 = PyExc_TypeError; tmp_left_name_2 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_getattr_target_2 = tmp_class_creation_2__metaclass; tmp_getattr_attr_2 = const_str_plain___name__; tmp_getattr_default_2 = const_str_angle_metaclass; tmp_tuple_element_5 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; goto try_except_handler_7; } tmp_right_name_2 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_5 ); CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_type_arg_4 = tmp_class_creation_2__prepared; tmp_source_name_9 = BUILTIN_TYPE1( tmp_type_arg_4 ); assert( !(tmp_source_name_9 == NULL) ); tmp_tuple_element_5 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain___name__ ); Py_DECREF( tmp_source_name_9 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_2 ); exception_lineno = 47; goto try_except_handler_7; } PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_5 ); tmp_raise_value_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_raise_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; goto try_except_handler_7; } exception_type = tmp_raise_type_2; Py_INCREF( tmp_raise_type_2 ); exception_value = tmp_raise_value_2; exception_lineno = 47; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_7; } branch_no_8:; } goto branch_end_7; branch_no_7:; { PyObject *tmp_assign_source_28; tmp_assign_source_28 = PyDict_New(); assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_28; } branch_end_7:; } { PyObject *tmp_assign_source_29; { PyObject *tmp_set_locals_2; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_bs4$element_47 = tmp_set_locals_2; Py_INCREF( tmp_set_locals_2 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_47, 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 = 47; goto try_except_handler_9; } } { tmp_dictset_value = const_str_digest_a808f721500ff0677501bf21de1894f0; tmp_res = PyObject_SetItem( locals_bs4$element_47, 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 = 47; goto try_except_handler_9; } } { tmp_dictset_value = const_str_plain_AttributeValueWithCharsetSubstitution; tmp_res = PyObject_SetItem( locals_bs4$element_47, 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 = 47; goto try_except_handler_9; } } { nuitka_bool tmp_condition_result_13; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_compexpr_left_4 = tmp_class_creation_2__bases; tmp_compexpr_right_4 = const_tuple_type_str_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_4, tmp_compexpr_right_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; goto try_except_handler_9; } 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:; { tmp_dictset_value = const_tuple_type_str_tuple; tmp_res = PyObject_SetItem( locals_bs4$element_47, 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 = 47; goto try_except_handler_9; } } branch_no_9:; } { PyObject *tmp_assign_source_30; PyObject *tmp_called_name_4; 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_4 = tmp_class_creation_2__metaclass; tmp_tuple_element_6 = const_str_plain_AttributeValueWithCharsetSubstitution; 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_bs4$element_47; 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_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 47; tmp_assign_source_30 = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_4, tmp_kw_name_4 ); Py_DECREF( tmp_args_name_4 ); if ( tmp_assign_source_30 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; goto try_except_handler_9; } assert( outline_1_var___class__ == NULL ); outline_1_var___class__ = tmp_assign_source_30; } { CHECK_OBJECT( outline_1_var___class__ ); tmp_assign_source_29 = outline_1_var___class__; Py_INCREF( tmp_assign_source_29 ); goto try_return_handler_9; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_9:; { Py_DECREF( locals_bs4$element_47 ); locals_bs4$element_47 = NULL; } { goto try_return_handler_8; } // Exception handler code: try_except_handler_9:; 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_DECREF( locals_bs4$element_47 ); locals_bs4$element_47 = 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_8; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_8:; { 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_8:; 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; { // 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 outline_exception_2; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_2:; exception_lineno = 47; goto try_except_handler_7; outline_result_2:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_AttributeValueWithCharsetSubstitution, tmp_assign_source_29 ); } goto try_end_5; // Exception handler code: try_except_handler_7:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_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_9; exception_value = exception_keeper_value_9; exception_tb = exception_keeper_tb_9; exception_lineno = exception_keeper_lineno_9; goto frame_exception_exit_1; } // End of try: try_end_5:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_2__bases ); Py_DECREF( tmp_class_creation_2__bases ); tmp_class_creation_2__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_2__class_decl_dict ); Py_DECREF( tmp_class_creation_2__class_decl_dict ); tmp_class_creation_2__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_2__metaclass ); Py_DECREF( tmp_class_creation_2__metaclass ); tmp_class_creation_2__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_2__prepared ); Py_DECREF( tmp_class_creation_2__prepared ); tmp_class_creation_2__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_31; PyObject *tmp_tuple_element_7; PyObject *tmp_mvar_value_3; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_AttributeValueWithCharsetSubstitution ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_AttributeValueWithCharsetSubstitution ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "AttributeValueWithCharsetSubstitution" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 50; goto try_except_handler_10; } tmp_tuple_element_7 = tmp_mvar_value_3; tmp_assign_source_31 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_assign_source_31, 0, tmp_tuple_element_7 ); assert( tmp_class_creation_3__bases_orig == NULL ); tmp_class_creation_3__bases_orig = tmp_assign_source_31; } { PyObject *tmp_assign_source_32; PyObject *tmp_dircall_arg1_3; CHECK_OBJECT( tmp_class_creation_3__bases_orig ); tmp_dircall_arg1_3 = tmp_class_creation_3__bases_orig; Py_INCREF( tmp_dircall_arg1_3 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_3}; tmp_assign_source_32 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_32 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_10; } assert( tmp_class_creation_3__bases == NULL ); tmp_class_creation_3__bases = tmp_assign_source_32; } { PyObject *tmp_assign_source_33; tmp_assign_source_33 = PyDict_New(); assert( tmp_class_creation_3__class_decl_dict == NULL ); tmp_class_creation_3__class_decl_dict = tmp_assign_source_33; } { PyObject *tmp_assign_source_34; PyObject *tmp_metaclass_name_3; nuitka_bool tmp_condition_result_14; PyObject *tmp_key_name_7; PyObject *tmp_dict_name_7; PyObject *tmp_dict_name_8; PyObject *tmp_key_name_8; nuitka_bool tmp_condition_result_15; int tmp_truth_name_3; PyObject *tmp_type_arg_5; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; PyObject *tmp_bases_name_3; tmp_key_name_7 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_7 = tmp_class_creation_3__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_7, tmp_key_name_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_10; } tmp_condition_result_14 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE ) { goto condexpr_true_5; } else { goto condexpr_false_5; } condexpr_true_5:; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_8 = tmp_class_creation_3__class_decl_dict; tmp_key_name_8 = const_str_plain_metaclass; tmp_metaclass_name_3 = DICT_GET_ITEM( tmp_dict_name_8, tmp_key_name_8 ); if ( tmp_metaclass_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_10; } goto condexpr_end_5; condexpr_false_5:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_truth_name_3 = CHECK_IF_TRUE( tmp_class_creation_3__bases ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_10; } tmp_condition_result_15 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE ) { goto condexpr_true_6; } else { goto condexpr_false_6; } condexpr_true_6:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_subscribed_name_4 = tmp_class_creation_3__bases; tmp_subscript_name_4 = const_int_0; tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_4, tmp_subscript_name_4, 0 ); if ( tmp_type_arg_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_10; } tmp_metaclass_name_3 = BUILTIN_TYPE1( tmp_type_arg_5 ); Py_DECREF( tmp_type_arg_5 ); if ( tmp_metaclass_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_10; } goto condexpr_end_6; condexpr_false_6:; tmp_metaclass_name_3 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_3 ); condexpr_end_6:; condexpr_end_5:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_bases_name_3 = tmp_class_creation_3__bases; tmp_assign_source_34 = SELECT_METACLASS( tmp_metaclass_name_3, tmp_bases_name_3 ); Py_DECREF( tmp_metaclass_name_3 ); if ( tmp_assign_source_34 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_10; } assert( tmp_class_creation_3__metaclass == NULL ); tmp_class_creation_3__metaclass = tmp_assign_source_34; } { nuitka_bool tmp_condition_result_16; PyObject *tmp_key_name_9; PyObject *tmp_dict_name_9; tmp_key_name_9 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_9 = tmp_class_creation_3__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_9, tmp_key_name_9 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_10; } tmp_condition_result_16 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_10; } } branch_no_10:; } { nuitka_bool tmp_condition_result_17; PyObject *tmp_source_name_10; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_source_name_10 = tmp_class_creation_3__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_10, const_str_plain___prepare__ ); tmp_condition_result_17 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_17 == NUITKA_BOOL_TRUE ) { goto branch_yes_11; } else { goto branch_no_11; } branch_yes_11:; { PyObject *tmp_assign_source_35; PyObject *tmp_called_name_5; PyObject *tmp_source_name_11; PyObject *tmp_args_name_5; PyObject *tmp_tuple_element_8; PyObject *tmp_kw_name_5; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_source_name_11 = tmp_class_creation_3__metaclass; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain___prepare__ ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_10; } tmp_tuple_element_8 = const_str_plain_CharsetMetaAttributeValue; tmp_args_name_5 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_8 ); PyTuple_SET_ITEM( tmp_args_name_5, 0, tmp_tuple_element_8 ); CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_tuple_element_8 = tmp_class_creation_3__bases; Py_INCREF( tmp_tuple_element_8 ); PyTuple_SET_ITEM( tmp_args_name_5, 1, tmp_tuple_element_8 ); CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_kw_name_5 = tmp_class_creation_3__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 50; tmp_assign_source_35 = CALL_FUNCTION( tmp_called_name_5, tmp_args_name_5, tmp_kw_name_5 ); Py_DECREF( tmp_called_name_5 ); Py_DECREF( tmp_args_name_5 ); if ( tmp_assign_source_35 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_10; } assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_35; } { nuitka_bool tmp_condition_result_18; PyObject *tmp_operand_name_3; PyObject *tmp_source_name_12; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_source_name_12 = tmp_class_creation_3__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_12, 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 = 50; goto try_except_handler_10; } tmp_condition_result_18 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE ) { goto branch_yes_12; } else { goto branch_no_12; } branch_yes_12:; { PyObject *tmp_raise_type_3; PyObject *tmp_raise_value_3; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_tuple_element_9; PyObject *tmp_getattr_target_3; PyObject *tmp_getattr_attr_3; PyObject *tmp_getattr_default_3; PyObject *tmp_source_name_13; PyObject *tmp_type_arg_6; tmp_raise_type_3 = PyExc_TypeError; tmp_left_name_3 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_getattr_target_3 = tmp_class_creation_3__metaclass; tmp_getattr_attr_3 = const_str_plain___name__; tmp_getattr_default_3 = const_str_angle_metaclass; tmp_tuple_element_9 = BUILTIN_GETATTR( tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3 ); if ( tmp_tuple_element_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_10; } tmp_right_name_3 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_9 ); CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_type_arg_6 = tmp_class_creation_3__prepared; tmp_source_name_13 = BUILTIN_TYPE1( tmp_type_arg_6 ); assert( !(tmp_source_name_13 == NULL) ); tmp_tuple_element_9 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain___name__ ); Py_DECREF( tmp_source_name_13 ); if ( tmp_tuple_element_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_3 ); exception_lineno = 50; goto try_except_handler_10; } PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_9 ); tmp_raise_value_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_raise_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_10; } exception_type = tmp_raise_type_3; Py_INCREF( tmp_raise_type_3 ); exception_value = tmp_raise_value_3; exception_lineno = 50; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_10; } branch_no_12:; } goto branch_end_11; branch_no_11:; { PyObject *tmp_assign_source_36; tmp_assign_source_36 = PyDict_New(); assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_36; } branch_end_11:; } { PyObject *tmp_assign_source_37; { PyObject *tmp_set_locals_3; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_set_locals_3 = tmp_class_creation_3__prepared; locals_bs4$element_50 = tmp_set_locals_3; Py_INCREF( tmp_set_locals_3 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_50, 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 = 50; goto try_except_handler_12; } } { tmp_dictset_value = const_str_digest_e457b16160571c2a0063096a0b61fed9; tmp_res = PyObject_SetItem( locals_bs4$element_50, 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 = 50; goto try_except_handler_12; } } { tmp_dictset_value = const_str_plain_CharsetMetaAttributeValue; tmp_res = PyObject_SetItem( locals_bs4$element_50, 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 = 50; goto try_except_handler_12; } } MAKE_OR_REUSE_FRAME( cache_frame_1c2b488d3b14d07e67914bc23de09cca_3, codeobj_1c2b488d3b14d07e67914bc23de09cca, module_bs4$element, sizeof(void *) ); frame_1c2b488d3b14d07e67914bc23de09cca_3 = cache_frame_1c2b488d3b14d07e67914bc23de09cca_3; // Push the new frame as the currently active one. pushFrameStack( frame_1c2b488d3b14d07e67914bc23de09cca_3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_1c2b488d3b14d07e67914bc23de09cca_3 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_3___new__( ); tmp_res = PyObject_SetItem( locals_bs4$element_50, const_str_plain___new__, 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 = 57; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_4_encode( ); tmp_res = PyObject_SetItem( locals_bs4$element_50, 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 = 62; type_description_2 = "o"; goto frame_exception_exit_3; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_1c2b488d3b14d07e67914bc23de09cca_3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_exception_exit_3:; #if 0 RESTORE_FRAME_EXCEPTION( frame_1c2b488d3b14d07e67914bc23de09cca_3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_1c2b488d3b14d07e67914bc23de09cca_3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_1c2b488d3b14d07e67914bc23de09cca_3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_1c2b488d3b14d07e67914bc23de09cca_3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_1c2b488d3b14d07e67914bc23de09cca_3, type_description_2, outline_2_var___class__ ); // Release cached frame. if ( frame_1c2b488d3b14d07e67914bc23de09cca_3 == cache_frame_1c2b488d3b14d07e67914bc23de09cca_3 ) { Py_DECREF( frame_1c2b488d3b14d07e67914bc23de09cca_3 ); } cache_frame_1c2b488d3b14d07e67914bc23de09cca_3 = NULL; assertFrameObject( frame_1c2b488d3b14d07e67914bc23de09cca_3 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_2; frame_no_exception_2:; goto skip_nested_handling_2; nested_frame_exit_2:; goto try_except_handler_12; skip_nested_handling_2:; { nuitka_bool tmp_condition_result_19; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_compexpr_left_5 = tmp_class_creation_3__bases; CHECK_OBJECT( tmp_class_creation_3__bases_orig ); tmp_compexpr_right_5 = tmp_class_creation_3__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_5, tmp_compexpr_right_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_12; } tmp_condition_result_19 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_19 == NUITKA_BOOL_TRUE ) { goto branch_yes_13; } else { goto branch_no_13; } branch_yes_13:; { CHECK_OBJECT( tmp_class_creation_3__bases_orig ); tmp_dictset_value = tmp_class_creation_3__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_50, 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 = 50; goto try_except_handler_12; } } branch_no_13:; } { PyObject *tmp_assign_source_38; PyObject *tmp_called_name_6; PyObject *tmp_args_name_6; PyObject *tmp_tuple_element_10; PyObject *tmp_kw_name_6; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_called_name_6 = tmp_class_creation_3__metaclass; tmp_tuple_element_10 = const_str_plain_CharsetMetaAttributeValue; tmp_args_name_6 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_10 ); PyTuple_SET_ITEM( tmp_args_name_6, 0, tmp_tuple_element_10 ); CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_tuple_element_10 = tmp_class_creation_3__bases; Py_INCREF( tmp_tuple_element_10 ); PyTuple_SET_ITEM( tmp_args_name_6, 1, tmp_tuple_element_10 ); tmp_tuple_element_10 = locals_bs4$element_50; Py_INCREF( tmp_tuple_element_10 ); PyTuple_SET_ITEM( tmp_args_name_6, 2, tmp_tuple_element_10 ); CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_kw_name_6 = tmp_class_creation_3__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 50; tmp_assign_source_38 = CALL_FUNCTION( tmp_called_name_6, tmp_args_name_6, tmp_kw_name_6 ); Py_DECREF( tmp_args_name_6 ); if ( tmp_assign_source_38 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; goto try_except_handler_12; } assert( outline_2_var___class__ == NULL ); outline_2_var___class__ = tmp_assign_source_38; } { CHECK_OBJECT( outline_2_var___class__ ); tmp_assign_source_37 = outline_2_var___class__; Py_INCREF( tmp_assign_source_37 ); goto try_return_handler_12; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_12:; { Py_DECREF( locals_bs4$element_50 ); locals_bs4$element_50 = NULL; } { goto try_return_handler_11; } // Exception handler code: try_except_handler_12:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_50 ); locals_bs4$element_50 = NULL; } { // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto try_except_handler_11; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_11:; { CHECK_OBJECT( (PyObject *)outline_2_var___class__ ); Py_DECREF( outline_2_var___class__ ); outline_2_var___class__ = NULL; } { goto outline_result_3; } // Exception handler code: try_except_handler_11:; 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; { // 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 outline_exception_3; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_3:; exception_lineno = 50; goto try_except_handler_10; outline_result_3:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_CharsetMetaAttributeValue, tmp_assign_source_37 ); } goto try_end_6; // Exception handler code: try_except_handler_10:; 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_XDECREF( tmp_class_creation_3__bases ); tmp_class_creation_3__bases = NULL; } { Py_XDECREF( tmp_class_creation_3__class_decl_dict ); tmp_class_creation_3__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_3__metaclass ); tmp_class_creation_3__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_3__prepared ); tmp_class_creation_3__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto frame_exception_exit_1; } // End of try: try_end_6:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__bases ); Py_DECREF( tmp_class_creation_3__bases ); tmp_class_creation_3__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__class_decl_dict ); Py_DECREF( tmp_class_creation_3__class_decl_dict ); tmp_class_creation_3__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__metaclass ); Py_DECREF( tmp_class_creation_3__metaclass ); tmp_class_creation_3__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__prepared ); Py_DECREF( tmp_class_creation_3__prepared ); tmp_class_creation_3__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_39; PyObject *tmp_tuple_element_11; PyObject *tmp_mvar_value_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_AttributeValueWithCharsetSubstitution ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_AttributeValueWithCharsetSubstitution ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "AttributeValueWithCharsetSubstitution" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 66; goto try_except_handler_13; } tmp_tuple_element_11 = tmp_mvar_value_4; tmp_assign_source_39 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_11 ); PyTuple_SET_ITEM( tmp_assign_source_39, 0, tmp_tuple_element_11 ); assert( tmp_class_creation_4__bases_orig == NULL ); tmp_class_creation_4__bases_orig = tmp_assign_source_39; } { PyObject *tmp_assign_source_40; PyObject *tmp_dircall_arg1_4; CHECK_OBJECT( tmp_class_creation_4__bases_orig ); tmp_dircall_arg1_4 = tmp_class_creation_4__bases_orig; Py_INCREF( tmp_dircall_arg1_4 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_4}; tmp_assign_source_40 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_40 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_13; } assert( tmp_class_creation_4__bases == NULL ); tmp_class_creation_4__bases = tmp_assign_source_40; } { PyObject *tmp_assign_source_41; tmp_assign_source_41 = PyDict_New(); assert( tmp_class_creation_4__class_decl_dict == NULL ); tmp_class_creation_4__class_decl_dict = tmp_assign_source_41; } { PyObject *tmp_assign_source_42; PyObject *tmp_metaclass_name_4; nuitka_bool tmp_condition_result_20; PyObject *tmp_key_name_10; PyObject *tmp_dict_name_10; PyObject *tmp_dict_name_11; PyObject *tmp_key_name_11; nuitka_bool tmp_condition_result_21; int tmp_truth_name_4; PyObject *tmp_type_arg_7; PyObject *tmp_subscribed_name_5; PyObject *tmp_subscript_name_5; PyObject *tmp_bases_name_4; tmp_key_name_10 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dict_name_10 = tmp_class_creation_4__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_10, tmp_key_name_10 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_13; } tmp_condition_result_20 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_20 == NUITKA_BOOL_TRUE ) { goto condexpr_true_7; } else { goto condexpr_false_7; } condexpr_true_7:; CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dict_name_11 = tmp_class_creation_4__class_decl_dict; tmp_key_name_11 = const_str_plain_metaclass; tmp_metaclass_name_4 = DICT_GET_ITEM( tmp_dict_name_11, tmp_key_name_11 ); if ( tmp_metaclass_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_13; } goto condexpr_end_7; condexpr_false_7:; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_truth_name_4 = CHECK_IF_TRUE( tmp_class_creation_4__bases ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_13; } tmp_condition_result_21 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_21 == NUITKA_BOOL_TRUE ) { goto condexpr_true_8; } else { goto condexpr_false_8; } condexpr_true_8:; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_subscribed_name_5 = tmp_class_creation_4__bases; tmp_subscript_name_5 = const_int_0; tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_5, tmp_subscript_name_5, 0 ); if ( tmp_type_arg_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_13; } tmp_metaclass_name_4 = BUILTIN_TYPE1( tmp_type_arg_7 ); Py_DECREF( tmp_type_arg_7 ); if ( tmp_metaclass_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_13; } goto condexpr_end_8; condexpr_false_8:; tmp_metaclass_name_4 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_4 ); condexpr_end_8:; condexpr_end_7:; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_bases_name_4 = tmp_class_creation_4__bases; tmp_assign_source_42 = SELECT_METACLASS( tmp_metaclass_name_4, tmp_bases_name_4 ); Py_DECREF( tmp_metaclass_name_4 ); if ( tmp_assign_source_42 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_13; } assert( tmp_class_creation_4__metaclass == NULL ); tmp_class_creation_4__metaclass = tmp_assign_source_42; } { nuitka_bool tmp_condition_result_22; PyObject *tmp_key_name_12; PyObject *tmp_dict_name_12; tmp_key_name_12 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dict_name_12 = tmp_class_creation_4__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_12, tmp_key_name_12 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_13; } tmp_condition_result_22 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_22 == NUITKA_BOOL_TRUE ) { goto branch_yes_14; } else { goto branch_no_14; } branch_yes_14:; { CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_4__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 = 66; goto try_except_handler_13; } } branch_no_14:; } { nuitka_bool tmp_condition_result_23; PyObject *tmp_source_name_14; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_source_name_14 = tmp_class_creation_4__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_14, const_str_plain___prepare__ ); tmp_condition_result_23 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_23 == NUITKA_BOOL_TRUE ) { goto branch_yes_15; } else { goto branch_no_15; } branch_yes_15:; { PyObject *tmp_assign_source_43; PyObject *tmp_called_name_7; PyObject *tmp_source_name_15; PyObject *tmp_args_name_7; PyObject *tmp_tuple_element_12; PyObject *tmp_kw_name_7; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_source_name_15 = tmp_class_creation_4__metaclass; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain___prepare__ ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_13; } tmp_tuple_element_12 = const_str_plain_ContentMetaAttributeValue; tmp_args_name_7 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_12 ); PyTuple_SET_ITEM( tmp_args_name_7, 0, tmp_tuple_element_12 ); CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_tuple_element_12 = tmp_class_creation_4__bases; Py_INCREF( tmp_tuple_element_12 ); PyTuple_SET_ITEM( tmp_args_name_7, 1, tmp_tuple_element_12 ); CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_kw_name_7 = tmp_class_creation_4__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 66; tmp_assign_source_43 = CALL_FUNCTION( tmp_called_name_7, tmp_args_name_7, tmp_kw_name_7 ); Py_DECREF( tmp_called_name_7 ); Py_DECREF( tmp_args_name_7 ); if ( tmp_assign_source_43 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_13; } assert( tmp_class_creation_4__prepared == NULL ); tmp_class_creation_4__prepared = tmp_assign_source_43; } { nuitka_bool tmp_condition_result_24; PyObject *tmp_operand_name_4; PyObject *tmp_source_name_16; CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_source_name_16 = tmp_class_creation_4__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_16, const_str_plain___getitem__ ); tmp_operand_name_4 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_13; } tmp_condition_result_24 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_24 == NUITKA_BOOL_TRUE ) { goto branch_yes_16; } else { goto branch_no_16; } branch_yes_16:; { PyObject *tmp_raise_type_4; PyObject *tmp_raise_value_4; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_tuple_element_13; PyObject *tmp_getattr_target_4; PyObject *tmp_getattr_attr_4; PyObject *tmp_getattr_default_4; PyObject *tmp_source_name_17; PyObject *tmp_type_arg_8; tmp_raise_type_4 = PyExc_TypeError; tmp_left_name_4 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_getattr_target_4 = tmp_class_creation_4__metaclass; tmp_getattr_attr_4 = const_str_plain___name__; tmp_getattr_default_4 = const_str_angle_metaclass; tmp_tuple_element_13 = BUILTIN_GETATTR( tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4 ); if ( tmp_tuple_element_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_13; } tmp_right_name_4 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_4, 0, tmp_tuple_element_13 ); CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_type_arg_8 = tmp_class_creation_4__prepared; tmp_source_name_17 = BUILTIN_TYPE1( tmp_type_arg_8 ); assert( !(tmp_source_name_17 == NULL) ); tmp_tuple_element_13 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain___name__ ); Py_DECREF( tmp_source_name_17 ); if ( tmp_tuple_element_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_4 ); exception_lineno = 66; goto try_except_handler_13; } PyTuple_SET_ITEM( tmp_right_name_4, 1, tmp_tuple_element_13 ); tmp_raise_value_4 = BINARY_OPERATION_REMAINDER( tmp_left_name_4, tmp_right_name_4 ); Py_DECREF( tmp_right_name_4 ); if ( tmp_raise_value_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_13; } exception_type = tmp_raise_type_4; Py_INCREF( tmp_raise_type_4 ); exception_value = tmp_raise_value_4; exception_lineno = 66; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_13; } branch_no_16:; } goto branch_end_15; branch_no_15:; { PyObject *tmp_assign_source_44; tmp_assign_source_44 = PyDict_New(); assert( tmp_class_creation_4__prepared == NULL ); tmp_class_creation_4__prepared = tmp_assign_source_44; } branch_end_15:; } { PyObject *tmp_assign_source_45; { PyObject *tmp_set_locals_4; CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_set_locals_4 = tmp_class_creation_4__prepared; locals_bs4$element_66 = tmp_set_locals_4; Py_INCREF( tmp_set_locals_4 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_66, 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 = 66; goto try_except_handler_15; } } { tmp_dictset_value = const_str_digest_3001d417e4f50c846776bdf1db22299b; tmp_res = PyObject_SetItem( locals_bs4$element_66, 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 = 66; goto try_except_handler_15; } } { tmp_dictset_value = const_str_plain_ContentMetaAttributeValue; tmp_res = PyObject_SetItem( locals_bs4$element_66, 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 = 66; goto try_except_handler_15; } } MAKE_OR_REUSE_FRAME( cache_frame_ece51f2689b7c94c8e975a33a383f61d_4, codeobj_ece51f2689b7c94c8e975a33a383f61d, module_bs4$element, sizeof(void *) ); frame_ece51f2689b7c94c8e975a33a383f61d_4 = cache_frame_ece51f2689b7c94c8e975a33a383f61d_4; // Push the new frame as the currently active one. pushFrameStack( frame_ece51f2689b7c94c8e975a33a383f61d_4 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ece51f2689b7c94c8e975a33a383f61d_4 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_8; PyObject *tmp_source_name_18; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_19; PyObject *tmp_mvar_value_6; tmp_source_name_18 = PyObject_GetItem( locals_bs4$element_66, const_str_plain_re ); if ( tmp_source_name_18 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_5 == 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 = 75; type_description_2 = "o"; goto frame_exception_exit_4; } tmp_source_name_18 = tmp_mvar_value_5; Py_INCREF( tmp_source_name_18 ); } } tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_18, const_str_plain_compile ); Py_DECREF( tmp_source_name_18 ); if ( tmp_called_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 75; type_description_2 = "o"; goto frame_exception_exit_4; } tmp_args_element_name_1 = const_str_digest_b246a21da0bf0d1ecd21a222430c1e19; tmp_source_name_19 = PyObject_GetItem( locals_bs4$element_66, const_str_plain_re ); if ( tmp_source_name_19 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_6 == NULL ) { Py_DECREF( tmp_called_name_8 ); 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 = 75; type_description_2 = "o"; goto frame_exception_exit_4; } tmp_source_name_19 = tmp_mvar_value_6; Py_INCREF( tmp_source_name_19 ); } } tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_19, const_str_plain_M ); Py_DECREF( tmp_source_name_19 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_8 ); exception_lineno = 75; type_description_2 = "o"; goto frame_exception_exit_4; } frame_ece51f2689b7c94c8e975a33a383f61d_4->m_frame.f_lineno = 75; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_8, call_args ); } Py_DECREF( tmp_called_name_8 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 75; type_description_2 = "o"; goto frame_exception_exit_4; } tmp_res = PyObject_SetItem( locals_bs4$element_66, const_str_plain_CHARSET_RE, 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 = 75; type_description_2 = "o"; goto frame_exception_exit_4; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_5___new__( ); tmp_res = PyObject_SetItem( locals_bs4$element_66, const_str_plain___new__, 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 = 77; type_description_2 = "o"; goto frame_exception_exit_4; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_6_encode( ); tmp_res = PyObject_SetItem( locals_bs4$element_66, 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 = 87; type_description_2 = "o"; goto frame_exception_exit_4; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_ece51f2689b7c94c8e975a33a383f61d_4 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_3; frame_exception_exit_4:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ece51f2689b7c94c8e975a33a383f61d_4 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ece51f2689b7c94c8e975a33a383f61d_4, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ece51f2689b7c94c8e975a33a383f61d_4->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ece51f2689b7c94c8e975a33a383f61d_4, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ece51f2689b7c94c8e975a33a383f61d_4, type_description_2, outline_3_var___class__ ); // Release cached frame. if ( frame_ece51f2689b7c94c8e975a33a383f61d_4 == cache_frame_ece51f2689b7c94c8e975a33a383f61d_4 ) { Py_DECREF( frame_ece51f2689b7c94c8e975a33a383f61d_4 ); } cache_frame_ece51f2689b7c94c8e975a33a383f61d_4 = NULL; assertFrameObject( frame_ece51f2689b7c94c8e975a33a383f61d_4 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_3; frame_no_exception_3:; goto skip_nested_handling_3; nested_frame_exit_3:; goto try_except_handler_15; skip_nested_handling_3:; { nuitka_bool tmp_condition_result_25; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_compexpr_left_6 = tmp_class_creation_4__bases; CHECK_OBJECT( tmp_class_creation_4__bases_orig ); tmp_compexpr_right_6 = tmp_class_creation_4__bases_orig; 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 = 66; goto try_except_handler_15; } tmp_condition_result_25 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_25 == NUITKA_BOOL_TRUE ) { goto branch_yes_17; } else { goto branch_no_17; } branch_yes_17:; { CHECK_OBJECT( tmp_class_creation_4__bases_orig ); tmp_dictset_value = tmp_class_creation_4__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_66, 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 = 66; goto try_except_handler_15; } } branch_no_17:; } { PyObject *tmp_assign_source_46; PyObject *tmp_called_name_9; PyObject *tmp_args_name_8; PyObject *tmp_tuple_element_14; PyObject *tmp_kw_name_8; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_called_name_9 = tmp_class_creation_4__metaclass; tmp_tuple_element_14 = const_str_plain_ContentMetaAttributeValue; tmp_args_name_8 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_14 ); PyTuple_SET_ITEM( tmp_args_name_8, 0, tmp_tuple_element_14 ); CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_tuple_element_14 = tmp_class_creation_4__bases; Py_INCREF( tmp_tuple_element_14 ); PyTuple_SET_ITEM( tmp_args_name_8, 1, tmp_tuple_element_14 ); tmp_tuple_element_14 = locals_bs4$element_66; Py_INCREF( tmp_tuple_element_14 ); PyTuple_SET_ITEM( tmp_args_name_8, 2, tmp_tuple_element_14 ); CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_kw_name_8 = tmp_class_creation_4__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 66; tmp_assign_source_46 = CALL_FUNCTION( tmp_called_name_9, tmp_args_name_8, tmp_kw_name_8 ); Py_DECREF( tmp_args_name_8 ); if ( tmp_assign_source_46 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto try_except_handler_15; } assert( outline_3_var___class__ == NULL ); outline_3_var___class__ = tmp_assign_source_46; } { CHECK_OBJECT( outline_3_var___class__ ); tmp_assign_source_45 = outline_3_var___class__; Py_INCREF( tmp_assign_source_45 ); goto try_return_handler_15; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_15:; { Py_DECREF( locals_bs4$element_66 ); locals_bs4$element_66 = NULL; } { goto try_return_handler_14; } // Exception handler code: try_except_handler_15:; 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; { Py_DECREF( locals_bs4$element_66 ); locals_bs4$element_66 = NULL; } { // 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 try_except_handler_14; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_14:; { CHECK_OBJECT( (PyObject *)outline_3_var___class__ ); Py_DECREF( outline_3_var___class__ ); outline_3_var___class__ = NULL; } { goto outline_result_4; } // Exception handler code: try_except_handler_14:; 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; { // 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 outline_exception_4; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_4:; exception_lineno = 66; goto try_except_handler_13; outline_result_4:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_ContentMetaAttributeValue, tmp_assign_source_45 ); } goto try_end_7; // Exception handler code: try_except_handler_13:; exception_keeper_type_15 = exception_type; exception_keeper_value_15 = exception_value; exception_keeper_tb_15 = exception_tb; exception_keeper_lineno_15 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_4__bases ); tmp_class_creation_4__bases = NULL; } { Py_XDECREF( tmp_class_creation_4__class_decl_dict ); tmp_class_creation_4__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_4__metaclass ); tmp_class_creation_4__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_4__prepared ); tmp_class_creation_4__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_15; exception_value = exception_keeper_value_15; exception_tb = exception_keeper_tb_15; exception_lineno = exception_keeper_lineno_15; goto frame_exception_exit_1; } // End of try: try_end_7:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__bases ); Py_DECREF( tmp_class_creation_4__bases ); tmp_class_creation_4__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__class_decl_dict ); Py_DECREF( tmp_class_creation_4__class_decl_dict ); tmp_class_creation_4__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__metaclass ); Py_DECREF( tmp_class_creation_4__metaclass ); tmp_class_creation_4__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__prepared ); Py_DECREF( tmp_class_creation_4__prepared ); tmp_class_creation_4__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_47; PyObject *tmp_tuple_element_15; PyObject *tmp_mvar_value_7; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_EntitySubstitution ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EntitySubstitution ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EntitySubstitution" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 92; goto try_except_handler_16; } tmp_tuple_element_15 = tmp_mvar_value_7; tmp_assign_source_47 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_15 ); PyTuple_SET_ITEM( tmp_assign_source_47, 0, tmp_tuple_element_15 ); assert( tmp_class_creation_5__bases_orig == NULL ); tmp_class_creation_5__bases_orig = tmp_assign_source_47; } { PyObject *tmp_assign_source_48; PyObject *tmp_dircall_arg1_5; CHECK_OBJECT( tmp_class_creation_5__bases_orig ); tmp_dircall_arg1_5 = tmp_class_creation_5__bases_orig; Py_INCREF( tmp_dircall_arg1_5 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_5}; 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 = 92; goto try_except_handler_16; } assert( tmp_class_creation_5__bases == NULL ); tmp_class_creation_5__bases = tmp_assign_source_48; } { PyObject *tmp_assign_source_49; tmp_assign_source_49 = PyDict_New(); assert( tmp_class_creation_5__class_decl_dict == NULL ); tmp_class_creation_5__class_decl_dict = tmp_assign_source_49; } { PyObject *tmp_assign_source_50; PyObject *tmp_metaclass_name_5; nuitka_bool tmp_condition_result_26; PyObject *tmp_key_name_13; PyObject *tmp_dict_name_13; PyObject *tmp_dict_name_14; PyObject *tmp_key_name_14; nuitka_bool tmp_condition_result_27; int tmp_truth_name_5; PyObject *tmp_type_arg_9; PyObject *tmp_subscribed_name_6; PyObject *tmp_subscript_name_6; PyObject *tmp_bases_name_5; tmp_key_name_13 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_dict_name_13 = tmp_class_creation_5__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_13, tmp_key_name_13 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; goto try_except_handler_16; } tmp_condition_result_26 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_26 == NUITKA_BOOL_TRUE ) { goto condexpr_true_9; } else { goto condexpr_false_9; } condexpr_true_9:; CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_dict_name_14 = tmp_class_creation_5__class_decl_dict; tmp_key_name_14 = const_str_plain_metaclass; tmp_metaclass_name_5 = DICT_GET_ITEM( tmp_dict_name_14, tmp_key_name_14 ); if ( tmp_metaclass_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; goto try_except_handler_16; } goto condexpr_end_9; condexpr_false_9:; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_truth_name_5 = CHECK_IF_TRUE( tmp_class_creation_5__bases ); if ( tmp_truth_name_5 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; goto try_except_handler_16; } tmp_condition_result_27 = tmp_truth_name_5 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_27 == NUITKA_BOOL_TRUE ) { goto condexpr_true_10; } else { goto condexpr_false_10; } condexpr_true_10:; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_subscribed_name_6 = tmp_class_creation_5__bases; tmp_subscript_name_6 = const_int_0; tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_6, tmp_subscript_name_6, 0 ); if ( tmp_type_arg_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; goto try_except_handler_16; } tmp_metaclass_name_5 = BUILTIN_TYPE1( tmp_type_arg_9 ); Py_DECREF( tmp_type_arg_9 ); if ( tmp_metaclass_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; goto try_except_handler_16; } goto condexpr_end_10; condexpr_false_10:; tmp_metaclass_name_5 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_5 ); condexpr_end_10:; condexpr_end_9:; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_bases_name_5 = tmp_class_creation_5__bases; tmp_assign_source_50 = SELECT_METACLASS( tmp_metaclass_name_5, tmp_bases_name_5 ); Py_DECREF( tmp_metaclass_name_5 ); if ( tmp_assign_source_50 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; goto try_except_handler_16; } assert( tmp_class_creation_5__metaclass == NULL ); tmp_class_creation_5__metaclass = tmp_assign_source_50; } { nuitka_bool tmp_condition_result_28; PyObject *tmp_key_name_15; PyObject *tmp_dict_name_15; tmp_key_name_15 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_dict_name_15 = tmp_class_creation_5__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_15, tmp_key_name_15 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; goto try_except_handler_16; } tmp_condition_result_28 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_28 == NUITKA_BOOL_TRUE ) { goto branch_yes_18; } else { goto branch_no_18; } branch_yes_18:; { CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_5__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 = 92; goto try_except_handler_16; } } branch_no_18:; } { nuitka_bool tmp_condition_result_29; PyObject *tmp_source_name_20; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_source_name_20 = tmp_class_creation_5__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_20, const_str_plain___prepare__ ); tmp_condition_result_29 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_29 == NUITKA_BOOL_TRUE ) { goto branch_yes_19; } else { goto branch_no_19; } branch_yes_19:; { PyObject *tmp_assign_source_51; PyObject *tmp_called_name_10; PyObject *tmp_source_name_21; PyObject *tmp_args_name_9; PyObject *tmp_tuple_element_16; PyObject *tmp_kw_name_9; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_source_name_21 = tmp_class_creation_5__metaclass; tmp_called_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_21, const_str_plain___prepare__ ); if ( tmp_called_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; goto try_except_handler_16; } tmp_tuple_element_16 = const_str_plain_HTMLAwareEntitySubstitution; tmp_args_name_9 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_16 ); PyTuple_SET_ITEM( tmp_args_name_9, 0, tmp_tuple_element_16 ); CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_tuple_element_16 = tmp_class_creation_5__bases; Py_INCREF( tmp_tuple_element_16 ); PyTuple_SET_ITEM( tmp_args_name_9, 1, tmp_tuple_element_16 ); CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_kw_name_9 = tmp_class_creation_5__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 92; tmp_assign_source_51 = CALL_FUNCTION( tmp_called_name_10, tmp_args_name_9, tmp_kw_name_9 ); Py_DECREF( tmp_called_name_10 ); Py_DECREF( tmp_args_name_9 ); if ( tmp_assign_source_51 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; goto try_except_handler_16; } assert( tmp_class_creation_5__prepared == NULL ); tmp_class_creation_5__prepared = tmp_assign_source_51; } { nuitka_bool tmp_condition_result_30; PyObject *tmp_operand_name_5; PyObject *tmp_source_name_22; CHECK_OBJECT( tmp_class_creation_5__prepared ); tmp_source_name_22 = tmp_class_creation_5__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_22, const_str_plain___getitem__ ); tmp_operand_name_5 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; goto try_except_handler_16; } tmp_condition_result_30 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_30 == NUITKA_BOOL_TRUE ) { goto branch_yes_20; } else { goto branch_no_20; } branch_yes_20:; { PyObject *tmp_raise_type_5; PyObject *tmp_raise_value_5; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; PyObject *tmp_tuple_element_17; PyObject *tmp_getattr_target_5; PyObject *tmp_getattr_attr_5; PyObject *tmp_getattr_default_5; PyObject *tmp_source_name_23; PyObject *tmp_type_arg_10; tmp_raise_type_5 = PyExc_TypeError; tmp_left_name_5 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_getattr_target_5 = tmp_class_creation_5__metaclass; tmp_getattr_attr_5 = const_str_plain___name__; tmp_getattr_default_5 = const_str_angle_metaclass; tmp_tuple_element_17 = BUILTIN_GETATTR( tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5 ); if ( tmp_tuple_element_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; goto try_except_handler_16; } tmp_right_name_5 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_5, 0, tmp_tuple_element_17 ); CHECK_OBJECT( tmp_class_creation_5__prepared ); tmp_type_arg_10 = tmp_class_creation_5__prepared; tmp_source_name_23 = BUILTIN_TYPE1( tmp_type_arg_10 ); assert( !(tmp_source_name_23 == NULL) ); tmp_tuple_element_17 = LOOKUP_ATTRIBUTE( tmp_source_name_23, const_str_plain___name__ ); Py_DECREF( tmp_source_name_23 ); if ( tmp_tuple_element_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_5 ); exception_lineno = 92; goto try_except_handler_16; } PyTuple_SET_ITEM( tmp_right_name_5, 1, tmp_tuple_element_17 ); tmp_raise_value_5 = BINARY_OPERATION_REMAINDER( tmp_left_name_5, tmp_right_name_5 ); Py_DECREF( tmp_right_name_5 ); if ( tmp_raise_value_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; goto try_except_handler_16; } exception_type = tmp_raise_type_5; Py_INCREF( tmp_raise_type_5 ); exception_value = tmp_raise_value_5; exception_lineno = 92; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_16; } branch_no_20:; } goto branch_end_19; branch_no_19:; { PyObject *tmp_assign_source_52; tmp_assign_source_52 = PyDict_New(); assert( tmp_class_creation_5__prepared == NULL ); tmp_class_creation_5__prepared = tmp_assign_source_52; } branch_end_19:; } { PyObject *tmp_assign_source_53; { PyObject *tmp_set_locals_5; CHECK_OBJECT( tmp_class_creation_5__prepared ); tmp_set_locals_5 = tmp_class_creation_5__prepared; locals_bs4$element_92 = tmp_set_locals_5; Py_INCREF( tmp_set_locals_5 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_92, 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 = 92; goto try_except_handler_18; } } { tmp_dictset_value = const_str_digest_1017197213f46afeb9536ec49b2f35a5; tmp_res = PyObject_SetItem( locals_bs4$element_92, 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 = 92; goto try_except_handler_18; } } { tmp_dictset_value = const_str_plain_HTMLAwareEntitySubstitution; tmp_res = PyObject_SetItem( locals_bs4$element_92, 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 = 92; goto try_except_handler_18; } } MAKE_OR_REUSE_FRAME( cache_frame_5772303f14ec630d1e3dd5c8abf7c00f_5, codeobj_5772303f14ec630d1e3dd5c8abf7c00f, module_bs4$element, sizeof(void *) ); frame_5772303f14ec630d1e3dd5c8abf7c00f_5 = cache_frame_5772303f14ec630d1e3dd5c8abf7c00f_5; // Push the new frame as the currently active one. pushFrameStack( frame_5772303f14ec630d1e3dd5c8abf7c00f_5 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5772303f14ec630d1e3dd5c8abf7c00f_5 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_31; PyObject *tmp_called_name_11; PyObject *tmp_call_arg_element_1; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_92, const_str_plain_set ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_condition_result_31 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_31 == NUITKA_BOOL_TRUE ) { goto condexpr_true_11; } else { goto condexpr_false_11; } condexpr_true_11:; tmp_called_name_11 = PyObject_GetItem( locals_bs4$element_92, const_str_plain_set ); if ( tmp_called_name_11 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "set" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 103; type_description_2 = "o"; goto frame_exception_exit_5; } if ( tmp_called_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_call_arg_element_1 = LIST_COPY( const_list_str_plain_script_str_plain_style_list ); frame_5772303f14ec630d1e3dd5c8abf7c00f_5->m_frame.f_lineno = 103; { PyObject *call_args[] = { tmp_call_arg_element_1 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_11, call_args ); } Py_DECREF( tmp_called_name_11 ); Py_DECREF( tmp_call_arg_element_1 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_2 = "o"; goto frame_exception_exit_5; } goto condexpr_end_11; condexpr_false_11:; tmp_dictset_value = PySet_New( const_set_6e0044aee998208018007aabc247d790 ); condexpr_end_11:; tmp_res = PyObject_SetItem( locals_bs4$element_92, const_str_plain_cdata_containing_tags, 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 = 103; type_description_2 = "o"; goto frame_exception_exit_5; } } { nuitka_bool tmp_condition_result_32; PyObject *tmp_called_name_12; PyObject *tmp_call_arg_element_2; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_92, const_str_plain_set ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 105; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_condition_result_32 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_32 == NUITKA_BOOL_TRUE ) { goto condexpr_true_12; } else { goto condexpr_false_12; } condexpr_true_12:; tmp_called_name_12 = PyObject_GetItem( locals_bs4$element_92, const_str_plain_set ); if ( tmp_called_name_12 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "set" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 105; type_description_2 = "o"; goto frame_exception_exit_5; } if ( tmp_called_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 105; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_call_arg_element_2 = LIST_COPY( const_list_str_plain_pre_list ); frame_5772303f14ec630d1e3dd5c8abf7c00f_5->m_frame.f_lineno = 105; { PyObject *call_args[] = { tmp_call_arg_element_2 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_12, call_args ); } Py_DECREF( tmp_called_name_12 ); Py_DECREF( tmp_call_arg_element_2 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 105; type_description_2 = "o"; goto frame_exception_exit_5; } goto condexpr_end_12; condexpr_false_12:; tmp_dictset_value = PySet_New( const_set_dfe38449ad9ee46affeecfe69855e46c ); condexpr_end_12:; tmp_res = PyObject_SetItem( locals_bs4$element_92, const_str_plain_preformatted_tags, 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 = 105; type_description_2 = "o"; goto frame_exception_exit_5; } } { nuitka_bool tmp_condition_result_33; PyObject *tmp_called_name_13; PyObject *tmp_call_arg_element_3; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_92, const_str_plain_set ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 107; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_condition_result_33 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_33 == NUITKA_BOOL_TRUE ) { goto condexpr_true_13; } else { goto condexpr_false_13; } condexpr_true_13:; tmp_called_name_13 = PyObject_GetItem( locals_bs4$element_92, const_str_plain_set ); if ( tmp_called_name_13 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "set" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 107; type_description_2 = "o"; goto frame_exception_exit_5; } if ( tmp_called_name_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 107; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_call_arg_element_3 = LIST_COPY( const_list_str_plain_pre_str_plain_textarea_list ); frame_5772303f14ec630d1e3dd5c8abf7c00f_5->m_frame.f_lineno = 107; { PyObject *call_args[] = { tmp_call_arg_element_3 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_13, call_args ); } Py_DECREF( tmp_called_name_13 ); Py_DECREF( tmp_call_arg_element_3 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 107; type_description_2 = "o"; goto frame_exception_exit_5; } goto condexpr_end_13; condexpr_false_13:; tmp_dictset_value = PySet_New( const_set_0d1c20bbcf73c732dbad4737caa163fe ); condexpr_end_13:; tmp_res = PyObject_SetItem( locals_bs4$element_92, const_str_plain_preserve_whitespace_tags, 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 = 107; type_description_2 = "o"; goto frame_exception_exit_5; } } { nuitka_bool tmp_condition_result_34; PyObject *tmp_called_name_14; PyObject *tmp_args_element_name_3; PyObject *tmp_classmethod_arg_1; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_92, const_str_plain_classmethod ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_condition_result_34 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_34 == NUITKA_BOOL_TRUE ) { goto condexpr_true_14; } else { goto condexpr_false_14; } condexpr_true_14:; tmp_called_name_14 = PyObject_GetItem( locals_bs4$element_92, const_str_plain_classmethod ); if ( tmp_called_name_14 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "classmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 109; type_description_2 = "o"; goto frame_exception_exit_5; } if ( tmp_called_name_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_args_element_name_3 = MAKE_FUNCTION_bs4$element$$$function_7__substitute_if_appropriate( ); frame_5772303f14ec630d1e3dd5c8abf7c00f_5->m_frame.f_lineno = 109; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_14, call_args ); } Py_DECREF( tmp_called_name_14 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; type_description_2 = "o"; goto frame_exception_exit_5; } goto condexpr_end_14; condexpr_false_14:; tmp_classmethod_arg_1 = MAKE_FUNCTION_bs4$element$$$function_7__substitute_if_appropriate( ); tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_1 ); Py_DECREF( tmp_classmethod_arg_1 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; type_description_2 = "o"; goto frame_exception_exit_5; } condexpr_end_14:; tmp_res = PyObject_SetItem( locals_bs4$element_92, const_str_plain__substitute_if_appropriate, 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 = 109; type_description_2 = "o"; goto frame_exception_exit_5; } } { nuitka_bool tmp_condition_result_35; PyObject *tmp_called_name_15; PyObject *tmp_args_element_name_4; PyObject *tmp_classmethod_arg_2; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_92, const_str_plain_classmethod ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 119; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_condition_result_35 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_35 == NUITKA_BOOL_TRUE ) { goto condexpr_true_15; } else { goto condexpr_false_15; } condexpr_true_15:; tmp_called_name_15 = PyObject_GetItem( locals_bs4$element_92, const_str_plain_classmethod ); if ( tmp_called_name_15 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "classmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 119; type_description_2 = "o"; goto frame_exception_exit_5; } if ( tmp_called_name_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 119; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_args_element_name_4 = MAKE_FUNCTION_bs4$element$$$function_8_substitute_html( ); frame_5772303f14ec630d1e3dd5c8abf7c00f_5->m_frame.f_lineno = 119; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_15, call_args ); } Py_DECREF( tmp_called_name_15 ); Py_DECREF( tmp_args_element_name_4 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 119; type_description_2 = "o"; goto frame_exception_exit_5; } goto condexpr_end_15; condexpr_false_15:; tmp_classmethod_arg_2 = MAKE_FUNCTION_bs4$element$$$function_8_substitute_html( ); tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_2 ); Py_DECREF( tmp_classmethod_arg_2 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 119; type_description_2 = "o"; goto frame_exception_exit_5; } condexpr_end_15:; tmp_res = PyObject_SetItem( locals_bs4$element_92, const_str_plain_substitute_html, 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 = 119; type_description_2 = "o"; goto frame_exception_exit_5; } } { nuitka_bool tmp_condition_result_36; PyObject *tmp_called_name_16; PyObject *tmp_args_element_name_5; PyObject *tmp_classmethod_arg_3; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_92, const_str_plain_classmethod ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 124; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_condition_result_36 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_36 == NUITKA_BOOL_TRUE ) { goto condexpr_true_16; } else { goto condexpr_false_16; } condexpr_true_16:; tmp_called_name_16 = PyObject_GetItem( locals_bs4$element_92, const_str_plain_classmethod ); if ( tmp_called_name_16 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "classmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 124; type_description_2 = "o"; goto frame_exception_exit_5; } if ( tmp_called_name_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 124; type_description_2 = "o"; goto frame_exception_exit_5; } tmp_args_element_name_5 = MAKE_FUNCTION_bs4$element$$$function_9_substitute_xml( ); frame_5772303f14ec630d1e3dd5c8abf7c00f_5->m_frame.f_lineno = 124; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_16, call_args ); } Py_DECREF( tmp_called_name_16 ); Py_DECREF( tmp_args_element_name_5 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 124; type_description_2 = "o"; goto frame_exception_exit_5; } goto condexpr_end_16; condexpr_false_16:; tmp_classmethod_arg_3 = MAKE_FUNCTION_bs4$element$$$function_9_substitute_xml( ); tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_3 ); Py_DECREF( tmp_classmethod_arg_3 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 124; type_description_2 = "o"; goto frame_exception_exit_5; } condexpr_end_16:; tmp_res = PyObject_SetItem( locals_bs4$element_92, const_str_plain_substitute_xml, 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 = 124; type_description_2 = "o"; goto frame_exception_exit_5; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_5772303f14ec630d1e3dd5c8abf7c00f_5 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_4; frame_exception_exit_5:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5772303f14ec630d1e3dd5c8abf7c00f_5 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5772303f14ec630d1e3dd5c8abf7c00f_5, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5772303f14ec630d1e3dd5c8abf7c00f_5->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5772303f14ec630d1e3dd5c8abf7c00f_5, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5772303f14ec630d1e3dd5c8abf7c00f_5, type_description_2, outline_4_var___class__ ); // Release cached frame. if ( frame_5772303f14ec630d1e3dd5c8abf7c00f_5 == cache_frame_5772303f14ec630d1e3dd5c8abf7c00f_5 ) { Py_DECREF( frame_5772303f14ec630d1e3dd5c8abf7c00f_5 ); } cache_frame_5772303f14ec630d1e3dd5c8abf7c00f_5 = NULL; assertFrameObject( frame_5772303f14ec630d1e3dd5c8abf7c00f_5 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_4; frame_no_exception_4:; goto skip_nested_handling_4; nested_frame_exit_4:; goto try_except_handler_18; skip_nested_handling_4:; { nuitka_bool tmp_condition_result_37; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_compexpr_left_7 = tmp_class_creation_5__bases; CHECK_OBJECT( tmp_class_creation_5__bases_orig ); tmp_compexpr_right_7 = tmp_class_creation_5__bases_orig; 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 = 92; goto try_except_handler_18; } tmp_condition_result_37 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_37 == NUITKA_BOOL_TRUE ) { goto branch_yes_21; } else { goto branch_no_21; } branch_yes_21:; { CHECK_OBJECT( tmp_class_creation_5__bases_orig ); tmp_dictset_value = tmp_class_creation_5__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_92, 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 = 92; goto try_except_handler_18; } } branch_no_21:; } { PyObject *tmp_assign_source_54; PyObject *tmp_called_name_17; PyObject *tmp_args_name_10; PyObject *tmp_tuple_element_18; PyObject *tmp_kw_name_10; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_called_name_17 = tmp_class_creation_5__metaclass; tmp_tuple_element_18 = const_str_plain_HTMLAwareEntitySubstitution; tmp_args_name_10 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_18 ); PyTuple_SET_ITEM( tmp_args_name_10, 0, tmp_tuple_element_18 ); CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_tuple_element_18 = tmp_class_creation_5__bases; Py_INCREF( tmp_tuple_element_18 ); PyTuple_SET_ITEM( tmp_args_name_10, 1, tmp_tuple_element_18 ); tmp_tuple_element_18 = locals_bs4$element_92; Py_INCREF( tmp_tuple_element_18 ); PyTuple_SET_ITEM( tmp_args_name_10, 2, tmp_tuple_element_18 ); CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_kw_name_10 = tmp_class_creation_5__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 92; tmp_assign_source_54 = CALL_FUNCTION( tmp_called_name_17, tmp_args_name_10, tmp_kw_name_10 ); Py_DECREF( tmp_args_name_10 ); if ( tmp_assign_source_54 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; goto try_except_handler_18; } assert( outline_4_var___class__ == NULL ); outline_4_var___class__ = tmp_assign_source_54; } { CHECK_OBJECT( outline_4_var___class__ ); tmp_assign_source_53 = outline_4_var___class__; Py_INCREF( tmp_assign_source_53 ); goto try_return_handler_18; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_18:; { Py_DECREF( locals_bs4$element_92 ); locals_bs4$element_92 = NULL; } { goto try_return_handler_17; } // Exception handler code: try_except_handler_18:; exception_keeper_type_16 = exception_type; exception_keeper_value_16 = exception_value; exception_keeper_tb_16 = exception_tb; exception_keeper_lineno_16 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_92 ); locals_bs4$element_92 = NULL; } { // Re-raise. exception_type = exception_keeper_type_16; exception_value = exception_keeper_value_16; exception_tb = exception_keeper_tb_16; exception_lineno = exception_keeper_lineno_16; goto try_except_handler_17; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_17:; { CHECK_OBJECT( (PyObject *)outline_4_var___class__ ); Py_DECREF( outline_4_var___class__ ); outline_4_var___class__ = NULL; } { goto outline_result_5; } // Exception handler code: try_except_handler_17:; exception_keeper_type_17 = exception_type; exception_keeper_value_17 = exception_value; exception_keeper_tb_17 = exception_tb; exception_keeper_lineno_17 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_17; exception_value = exception_keeper_value_17; exception_tb = exception_keeper_tb_17; exception_lineno = exception_keeper_lineno_17; goto outline_exception_5; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_5:; exception_lineno = 92; goto try_except_handler_16; outline_result_5:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_HTMLAwareEntitySubstitution, tmp_assign_source_53 ); } goto try_end_8; // Exception handler code: try_except_handler_16:; exception_keeper_type_18 = exception_type; exception_keeper_value_18 = exception_value; exception_keeper_tb_18 = exception_tb; exception_keeper_lineno_18 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_5__bases ); tmp_class_creation_5__bases = NULL; } { Py_XDECREF( tmp_class_creation_5__class_decl_dict ); tmp_class_creation_5__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_5__metaclass ); tmp_class_creation_5__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_5__prepared ); tmp_class_creation_5__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_18; exception_value = exception_keeper_value_18; exception_tb = exception_keeper_tb_18; exception_lineno = exception_keeper_lineno_18; goto frame_exception_exit_1; } // End of try: try_end_8:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_5__bases ); Py_DECREF( tmp_class_creation_5__bases ); tmp_class_creation_5__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_5__class_decl_dict ); Py_DECREF( tmp_class_creation_5__class_decl_dict ); tmp_class_creation_5__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_5__metaclass ); Py_DECREF( tmp_class_creation_5__metaclass ); tmp_class_creation_5__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_5__prepared ); Py_DECREF( tmp_class_creation_5__prepared ); tmp_class_creation_5__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_55; PyObject *tmp_dircall_arg1_6; tmp_dircall_arg1_6 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_6 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_6}; tmp_assign_source_55 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_55 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_19; } assert( tmp_class_creation_6__bases == NULL ); tmp_class_creation_6__bases = tmp_assign_source_55; } { PyObject *tmp_assign_source_56; tmp_assign_source_56 = PyDict_New(); assert( tmp_class_creation_6__class_decl_dict == NULL ); tmp_class_creation_6__class_decl_dict = tmp_assign_source_56; } { PyObject *tmp_assign_source_57; PyObject *tmp_metaclass_name_6; nuitka_bool tmp_condition_result_38; PyObject *tmp_key_name_16; PyObject *tmp_dict_name_16; PyObject *tmp_dict_name_17; PyObject *tmp_key_name_17; nuitka_bool tmp_condition_result_39; int tmp_truth_name_6; PyObject *tmp_type_arg_11; PyObject *tmp_subscribed_name_7; PyObject *tmp_subscript_name_7; PyObject *tmp_bases_name_6; tmp_key_name_16 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_dict_name_16 = tmp_class_creation_6__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_16, tmp_key_name_16 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_19; } tmp_condition_result_38 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_38 == NUITKA_BOOL_TRUE ) { goto condexpr_true_17; } else { goto condexpr_false_17; } condexpr_true_17:; CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_dict_name_17 = tmp_class_creation_6__class_decl_dict; tmp_key_name_17 = const_str_plain_metaclass; tmp_metaclass_name_6 = DICT_GET_ITEM( tmp_dict_name_17, tmp_key_name_17 ); if ( tmp_metaclass_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_19; } goto condexpr_end_17; condexpr_false_17:; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_truth_name_6 = CHECK_IF_TRUE( tmp_class_creation_6__bases ); if ( tmp_truth_name_6 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_19; } tmp_condition_result_39 = tmp_truth_name_6 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_39 == NUITKA_BOOL_TRUE ) { goto condexpr_true_18; } else { goto condexpr_false_18; } condexpr_true_18:; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_subscribed_name_7 = tmp_class_creation_6__bases; tmp_subscript_name_7 = const_int_0; tmp_type_arg_11 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_7, tmp_subscript_name_7, 0 ); if ( tmp_type_arg_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_19; } tmp_metaclass_name_6 = BUILTIN_TYPE1( tmp_type_arg_11 ); Py_DECREF( tmp_type_arg_11 ); if ( tmp_metaclass_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_19; } goto condexpr_end_18; condexpr_false_18:; tmp_metaclass_name_6 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_6 ); condexpr_end_18:; condexpr_end_17:; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_bases_name_6 = tmp_class_creation_6__bases; tmp_assign_source_57 = SELECT_METACLASS( tmp_metaclass_name_6, tmp_bases_name_6 ); Py_DECREF( tmp_metaclass_name_6 ); if ( tmp_assign_source_57 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_19; } assert( tmp_class_creation_6__metaclass == NULL ); tmp_class_creation_6__metaclass = tmp_assign_source_57; } { nuitka_bool tmp_condition_result_40; PyObject *tmp_key_name_18; PyObject *tmp_dict_name_18; tmp_key_name_18 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_dict_name_18 = tmp_class_creation_6__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_18, tmp_key_name_18 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_19; } tmp_condition_result_40 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_40 == NUITKA_BOOL_TRUE ) { goto branch_yes_22; } else { goto branch_no_22; } branch_yes_22:; { CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_6__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 = 129; goto try_except_handler_19; } } branch_no_22:; } { nuitka_bool tmp_condition_result_41; PyObject *tmp_source_name_24; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_source_name_24 = tmp_class_creation_6__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_24, const_str_plain___prepare__ ); tmp_condition_result_41 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_41 == NUITKA_BOOL_TRUE ) { goto branch_yes_23; } else { goto branch_no_23; } branch_yes_23:; { PyObject *tmp_assign_source_58; PyObject *tmp_called_name_18; PyObject *tmp_source_name_25; PyObject *tmp_args_name_11; PyObject *tmp_tuple_element_19; PyObject *tmp_kw_name_11; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_source_name_25 = tmp_class_creation_6__metaclass; tmp_called_name_18 = LOOKUP_ATTRIBUTE( tmp_source_name_25, const_str_plain___prepare__ ); if ( tmp_called_name_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_19; } tmp_tuple_element_19 = const_str_plain_Formatter; tmp_args_name_11 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_19 ); PyTuple_SET_ITEM( tmp_args_name_11, 0, tmp_tuple_element_19 ); CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_tuple_element_19 = tmp_class_creation_6__bases; Py_INCREF( tmp_tuple_element_19 ); PyTuple_SET_ITEM( tmp_args_name_11, 1, tmp_tuple_element_19 ); CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_kw_name_11 = tmp_class_creation_6__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 129; tmp_assign_source_58 = CALL_FUNCTION( tmp_called_name_18, tmp_args_name_11, tmp_kw_name_11 ); Py_DECREF( tmp_called_name_18 ); Py_DECREF( tmp_args_name_11 ); if ( tmp_assign_source_58 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_19; } assert( tmp_class_creation_6__prepared == NULL ); tmp_class_creation_6__prepared = tmp_assign_source_58; } { nuitka_bool tmp_condition_result_42; PyObject *tmp_operand_name_6; PyObject *tmp_source_name_26; CHECK_OBJECT( tmp_class_creation_6__prepared ); tmp_source_name_26 = tmp_class_creation_6__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_26, const_str_plain___getitem__ ); tmp_operand_name_6 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_19; } tmp_condition_result_42 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_42 == NUITKA_BOOL_TRUE ) { goto branch_yes_24; } else { goto branch_no_24; } branch_yes_24:; { PyObject *tmp_raise_type_6; PyObject *tmp_raise_value_6; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; PyObject *tmp_tuple_element_20; PyObject *tmp_getattr_target_6; PyObject *tmp_getattr_attr_6; PyObject *tmp_getattr_default_6; PyObject *tmp_source_name_27; PyObject *tmp_type_arg_12; tmp_raise_type_6 = PyExc_TypeError; tmp_left_name_6 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_getattr_target_6 = tmp_class_creation_6__metaclass; tmp_getattr_attr_6 = const_str_plain___name__; tmp_getattr_default_6 = const_str_angle_metaclass; tmp_tuple_element_20 = BUILTIN_GETATTR( tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6 ); if ( tmp_tuple_element_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_19; } tmp_right_name_6 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_6, 0, tmp_tuple_element_20 ); CHECK_OBJECT( tmp_class_creation_6__prepared ); tmp_type_arg_12 = tmp_class_creation_6__prepared; tmp_source_name_27 = BUILTIN_TYPE1( tmp_type_arg_12 ); assert( !(tmp_source_name_27 == NULL) ); tmp_tuple_element_20 = LOOKUP_ATTRIBUTE( tmp_source_name_27, const_str_plain___name__ ); Py_DECREF( tmp_source_name_27 ); if ( tmp_tuple_element_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_6 ); exception_lineno = 129; goto try_except_handler_19; } PyTuple_SET_ITEM( tmp_right_name_6, 1, tmp_tuple_element_20 ); tmp_raise_value_6 = BINARY_OPERATION_REMAINDER( tmp_left_name_6, tmp_right_name_6 ); Py_DECREF( tmp_right_name_6 ); if ( tmp_raise_value_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_19; } exception_type = tmp_raise_type_6; Py_INCREF( tmp_raise_type_6 ); exception_value = tmp_raise_value_6; exception_lineno = 129; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_19; } branch_no_24:; } goto branch_end_23; branch_no_23:; { PyObject *tmp_assign_source_59; tmp_assign_source_59 = PyDict_New(); assert( tmp_class_creation_6__prepared == NULL ); tmp_class_creation_6__prepared = tmp_assign_source_59; } branch_end_23:; } { PyObject *tmp_assign_source_60; { PyObject *tmp_set_locals_6; CHECK_OBJECT( tmp_class_creation_6__prepared ); tmp_set_locals_6 = tmp_class_creation_6__prepared; locals_bs4$element_129 = tmp_set_locals_6; Py_INCREF( tmp_set_locals_6 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_129, 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 = 129; goto try_except_handler_21; } } { tmp_dictset_value = const_str_digest_16edbedf290760e205b7c3d404645ec6; tmp_res = PyObject_SetItem( locals_bs4$element_129, 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 = 129; goto try_except_handler_21; } } { tmp_dictset_value = const_str_plain_Formatter; tmp_res = PyObject_SetItem( locals_bs4$element_129, 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 = 129; goto try_except_handler_21; } } MAKE_OR_REUSE_FRAME( cache_frame_3058fae0e33e90d98e79ba79dbc6f232_6, codeobj_3058fae0e33e90d98e79ba79dbc6f232, module_bs4$element, sizeof(void *) ); frame_3058fae0e33e90d98e79ba79dbc6f232_6 = cache_frame_3058fae0e33e90d98e79ba79dbc6f232_6; // Push the new frame as the currently active one. pushFrameStack( frame_3058fae0e33e90d98e79ba79dbc6f232_6 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_3058fae0e33e90d98e79ba79dbc6f232_6 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_str_chr_47; tmp_res = PyObject_SetItem( locals_bs4$element_129, const_str_plain_void_element_close_prefix, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 133; type_description_2 = "o"; goto frame_exception_exit_6; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_10_substitute_entities( ); tmp_res = PyObject_SetItem( locals_bs4$element_129, const_str_plain_substitute_entities, 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_6; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_3058fae0e33e90d98e79ba79dbc6f232_6 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_5; frame_exception_exit_6:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3058fae0e33e90d98e79ba79dbc6f232_6 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_3058fae0e33e90d98e79ba79dbc6f232_6, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_3058fae0e33e90d98e79ba79dbc6f232_6->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_3058fae0e33e90d98e79ba79dbc6f232_6, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_3058fae0e33e90d98e79ba79dbc6f232_6, type_description_2, outline_5_var___class__ ); // Release cached frame. if ( frame_3058fae0e33e90d98e79ba79dbc6f232_6 == cache_frame_3058fae0e33e90d98e79ba79dbc6f232_6 ) { Py_DECREF( frame_3058fae0e33e90d98e79ba79dbc6f232_6 ); } cache_frame_3058fae0e33e90d98e79ba79dbc6f232_6 = NULL; assertFrameObject( frame_3058fae0e33e90d98e79ba79dbc6f232_6 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_5; frame_no_exception_5:; goto skip_nested_handling_5; nested_frame_exit_5:; goto try_except_handler_21; skip_nested_handling_5:; { nuitka_bool tmp_condition_result_43; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_compexpr_left_8 = tmp_class_creation_6__bases; tmp_compexpr_right_8 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_8, tmp_compexpr_right_8 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_21; } tmp_condition_result_43 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_43 == NUITKA_BOOL_TRUE ) { goto branch_yes_25; } else { goto branch_no_25; } branch_yes_25:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_bs4$element_129, 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 = 129; goto try_except_handler_21; } } branch_no_25:; } { PyObject *tmp_assign_source_61; PyObject *tmp_called_name_19; PyObject *tmp_args_name_12; PyObject *tmp_tuple_element_21; PyObject *tmp_kw_name_12; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_called_name_19 = tmp_class_creation_6__metaclass; tmp_tuple_element_21 = const_str_plain_Formatter; tmp_args_name_12 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_21 ); PyTuple_SET_ITEM( tmp_args_name_12, 0, tmp_tuple_element_21 ); CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_tuple_element_21 = tmp_class_creation_6__bases; Py_INCREF( tmp_tuple_element_21 ); PyTuple_SET_ITEM( tmp_args_name_12, 1, tmp_tuple_element_21 ); tmp_tuple_element_21 = locals_bs4$element_129; Py_INCREF( tmp_tuple_element_21 ); PyTuple_SET_ITEM( tmp_args_name_12, 2, tmp_tuple_element_21 ); CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_kw_name_12 = tmp_class_creation_6__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 129; tmp_assign_source_61 = CALL_FUNCTION( tmp_called_name_19, tmp_args_name_12, tmp_kw_name_12 ); Py_DECREF( tmp_args_name_12 ); if ( tmp_assign_source_61 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; goto try_except_handler_21; } assert( outline_5_var___class__ == NULL ); outline_5_var___class__ = tmp_assign_source_61; } { CHECK_OBJECT( outline_5_var___class__ ); tmp_assign_source_60 = outline_5_var___class__; Py_INCREF( tmp_assign_source_60 ); goto try_return_handler_21; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_21:; { Py_DECREF( locals_bs4$element_129 ); locals_bs4$element_129 = NULL; } { goto try_return_handler_20; } // Exception handler code: try_except_handler_21:; exception_keeper_type_19 = exception_type; exception_keeper_value_19 = exception_value; exception_keeper_tb_19 = exception_tb; exception_keeper_lineno_19 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_129 ); locals_bs4$element_129 = NULL; } { // Re-raise. exception_type = exception_keeper_type_19; exception_value = exception_keeper_value_19; exception_tb = exception_keeper_tb_19; exception_lineno = exception_keeper_lineno_19; goto try_except_handler_20; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_20:; { CHECK_OBJECT( (PyObject *)outline_5_var___class__ ); Py_DECREF( outline_5_var___class__ ); outline_5_var___class__ = NULL; } { goto outline_result_6; } // Exception handler code: try_except_handler_20:; exception_keeper_type_20 = exception_type; exception_keeper_value_20 = exception_value; exception_keeper_tb_20 = exception_tb; exception_keeper_lineno_20 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_20; exception_value = exception_keeper_value_20; exception_tb = exception_keeper_tb_20; exception_lineno = exception_keeper_lineno_20; goto outline_exception_6; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_6:; exception_lineno = 129; goto try_except_handler_19; outline_result_6:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Formatter, tmp_assign_source_60 ); } goto try_end_9; // Exception handler code: try_except_handler_19:; exception_keeper_type_21 = exception_type; exception_keeper_value_21 = exception_value; exception_keeper_tb_21 = exception_tb; exception_keeper_lineno_21 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_6__bases ); tmp_class_creation_6__bases = NULL; } { Py_XDECREF( tmp_class_creation_6__class_decl_dict ); tmp_class_creation_6__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_6__metaclass ); tmp_class_creation_6__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_6__prepared ); tmp_class_creation_6__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_21; exception_value = exception_keeper_value_21; exception_tb = exception_keeper_tb_21; exception_lineno = exception_keeper_lineno_21; goto frame_exception_exit_1; } // End of try: try_end_9:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_6__bases ); Py_DECREF( tmp_class_creation_6__bases ); tmp_class_creation_6__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_6__class_decl_dict ); Py_DECREF( tmp_class_creation_6__class_decl_dict ); tmp_class_creation_6__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_6__metaclass ); Py_DECREF( tmp_class_creation_6__metaclass ); tmp_class_creation_6__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_6__prepared ); Py_DECREF( tmp_class_creation_6__prepared ); tmp_class_creation_6__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_62; PyObject *tmp_tuple_element_22; PyObject *tmp_mvar_value_8; tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Formatter ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Formatter ); } if ( tmp_mvar_value_8 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 139; goto try_except_handler_22; } tmp_tuple_element_22 = tmp_mvar_value_8; tmp_assign_source_62 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_22 ); PyTuple_SET_ITEM( tmp_assign_source_62, 0, tmp_tuple_element_22 ); assert( tmp_class_creation_7__bases_orig == NULL ); tmp_class_creation_7__bases_orig = tmp_assign_source_62; } { PyObject *tmp_assign_source_63; PyObject *tmp_dircall_arg1_7; CHECK_OBJECT( tmp_class_creation_7__bases_orig ); tmp_dircall_arg1_7 = tmp_class_creation_7__bases_orig; Py_INCREF( tmp_dircall_arg1_7 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_7}; tmp_assign_source_63 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_63 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_22; } assert( tmp_class_creation_7__bases == NULL ); tmp_class_creation_7__bases = tmp_assign_source_63; } { PyObject *tmp_assign_source_64; tmp_assign_source_64 = PyDict_New(); assert( tmp_class_creation_7__class_decl_dict == NULL ); tmp_class_creation_7__class_decl_dict = tmp_assign_source_64; } { PyObject *tmp_assign_source_65; PyObject *tmp_metaclass_name_7; nuitka_bool tmp_condition_result_44; PyObject *tmp_key_name_19; PyObject *tmp_dict_name_19; PyObject *tmp_dict_name_20; PyObject *tmp_key_name_20; nuitka_bool tmp_condition_result_45; int tmp_truth_name_7; PyObject *tmp_type_arg_13; PyObject *tmp_subscribed_name_8; PyObject *tmp_subscript_name_8; PyObject *tmp_bases_name_7; tmp_key_name_19 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_dict_name_19 = tmp_class_creation_7__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_19, tmp_key_name_19 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_22; } tmp_condition_result_44 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_44 == NUITKA_BOOL_TRUE ) { goto condexpr_true_19; } else { goto condexpr_false_19; } condexpr_true_19:; CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_dict_name_20 = tmp_class_creation_7__class_decl_dict; tmp_key_name_20 = const_str_plain_metaclass; tmp_metaclass_name_7 = DICT_GET_ITEM( tmp_dict_name_20, tmp_key_name_20 ); if ( tmp_metaclass_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_22; } goto condexpr_end_19; condexpr_false_19:; CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_truth_name_7 = CHECK_IF_TRUE( tmp_class_creation_7__bases ); if ( tmp_truth_name_7 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_22; } tmp_condition_result_45 = tmp_truth_name_7 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_45 == NUITKA_BOOL_TRUE ) { goto condexpr_true_20; } else { goto condexpr_false_20; } condexpr_true_20:; CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_subscribed_name_8 = tmp_class_creation_7__bases; tmp_subscript_name_8 = const_int_0; tmp_type_arg_13 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_8, tmp_subscript_name_8, 0 ); if ( tmp_type_arg_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_22; } tmp_metaclass_name_7 = BUILTIN_TYPE1( tmp_type_arg_13 ); Py_DECREF( tmp_type_arg_13 ); if ( tmp_metaclass_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_22; } goto condexpr_end_20; condexpr_false_20:; tmp_metaclass_name_7 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_7 ); condexpr_end_20:; condexpr_end_19:; CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_bases_name_7 = tmp_class_creation_7__bases; tmp_assign_source_65 = SELECT_METACLASS( tmp_metaclass_name_7, tmp_bases_name_7 ); Py_DECREF( tmp_metaclass_name_7 ); if ( tmp_assign_source_65 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_22; } assert( tmp_class_creation_7__metaclass == NULL ); tmp_class_creation_7__metaclass = tmp_assign_source_65; } { nuitka_bool tmp_condition_result_46; PyObject *tmp_key_name_21; PyObject *tmp_dict_name_21; tmp_key_name_21 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_dict_name_21 = tmp_class_creation_7__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_21, tmp_key_name_21 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_22; } tmp_condition_result_46 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_46 == NUITKA_BOOL_TRUE ) { goto branch_yes_26; } else { goto branch_no_26; } branch_yes_26:; { CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_7__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 = 139; goto try_except_handler_22; } } branch_no_26:; } { nuitka_bool tmp_condition_result_47; PyObject *tmp_source_name_28; CHECK_OBJECT( tmp_class_creation_7__metaclass ); tmp_source_name_28 = tmp_class_creation_7__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_28, const_str_plain___prepare__ ); tmp_condition_result_47 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_47 == NUITKA_BOOL_TRUE ) { goto branch_yes_27; } else { goto branch_no_27; } branch_yes_27:; { PyObject *tmp_assign_source_66; PyObject *tmp_called_name_20; PyObject *tmp_source_name_29; PyObject *tmp_args_name_13; PyObject *tmp_tuple_element_23; PyObject *tmp_kw_name_13; CHECK_OBJECT( tmp_class_creation_7__metaclass ); tmp_source_name_29 = tmp_class_creation_7__metaclass; tmp_called_name_20 = LOOKUP_ATTRIBUTE( tmp_source_name_29, const_str_plain___prepare__ ); if ( tmp_called_name_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_22; } tmp_tuple_element_23 = const_str_plain_HTMLFormatter; tmp_args_name_13 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_23 ); PyTuple_SET_ITEM( tmp_args_name_13, 0, tmp_tuple_element_23 ); CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_tuple_element_23 = tmp_class_creation_7__bases; Py_INCREF( tmp_tuple_element_23 ); PyTuple_SET_ITEM( tmp_args_name_13, 1, tmp_tuple_element_23 ); CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_kw_name_13 = tmp_class_creation_7__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 139; tmp_assign_source_66 = CALL_FUNCTION( tmp_called_name_20, tmp_args_name_13, tmp_kw_name_13 ); Py_DECREF( tmp_called_name_20 ); Py_DECREF( tmp_args_name_13 ); if ( tmp_assign_source_66 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_22; } assert( tmp_class_creation_7__prepared == NULL ); tmp_class_creation_7__prepared = tmp_assign_source_66; } { nuitka_bool tmp_condition_result_48; PyObject *tmp_operand_name_7; PyObject *tmp_source_name_30; CHECK_OBJECT( tmp_class_creation_7__prepared ); tmp_source_name_30 = tmp_class_creation_7__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_30, const_str_plain___getitem__ ); tmp_operand_name_7 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_22; } tmp_condition_result_48 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_48 == NUITKA_BOOL_TRUE ) { goto branch_yes_28; } else { goto branch_no_28; } branch_yes_28:; { PyObject *tmp_raise_type_7; PyObject *tmp_raise_value_7; PyObject *tmp_left_name_7; PyObject *tmp_right_name_7; PyObject *tmp_tuple_element_24; PyObject *tmp_getattr_target_7; PyObject *tmp_getattr_attr_7; PyObject *tmp_getattr_default_7; PyObject *tmp_source_name_31; PyObject *tmp_type_arg_14; tmp_raise_type_7 = PyExc_TypeError; tmp_left_name_7 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_7__metaclass ); tmp_getattr_target_7 = tmp_class_creation_7__metaclass; tmp_getattr_attr_7 = const_str_plain___name__; tmp_getattr_default_7 = const_str_angle_metaclass; tmp_tuple_element_24 = BUILTIN_GETATTR( tmp_getattr_target_7, tmp_getattr_attr_7, tmp_getattr_default_7 ); if ( tmp_tuple_element_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_22; } tmp_right_name_7 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_7, 0, tmp_tuple_element_24 ); CHECK_OBJECT( tmp_class_creation_7__prepared ); tmp_type_arg_14 = tmp_class_creation_7__prepared; tmp_source_name_31 = BUILTIN_TYPE1( tmp_type_arg_14 ); assert( !(tmp_source_name_31 == NULL) ); tmp_tuple_element_24 = LOOKUP_ATTRIBUTE( tmp_source_name_31, const_str_plain___name__ ); Py_DECREF( tmp_source_name_31 ); if ( tmp_tuple_element_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_7 ); exception_lineno = 139; goto try_except_handler_22; } PyTuple_SET_ITEM( tmp_right_name_7, 1, tmp_tuple_element_24 ); tmp_raise_value_7 = BINARY_OPERATION_REMAINDER( tmp_left_name_7, tmp_right_name_7 ); Py_DECREF( tmp_right_name_7 ); if ( tmp_raise_value_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_22; } exception_type = tmp_raise_type_7; Py_INCREF( tmp_raise_type_7 ); exception_value = tmp_raise_value_7; exception_lineno = 139; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_22; } branch_no_28:; } goto branch_end_27; branch_no_27:; { PyObject *tmp_assign_source_67; tmp_assign_source_67 = PyDict_New(); assert( tmp_class_creation_7__prepared == NULL ); tmp_class_creation_7__prepared = tmp_assign_source_67; } branch_end_27:; } { PyObject *tmp_assign_source_68; { PyObject *tmp_set_locals_7; CHECK_OBJECT( tmp_class_creation_7__prepared ); tmp_set_locals_7 = tmp_class_creation_7__prepared; locals_bs4$element_139 = tmp_set_locals_7; Py_INCREF( tmp_set_locals_7 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_139, 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 = 139; goto try_except_handler_24; } } { tmp_dictset_value = const_str_digest_683058e4e72e5e683458d44dcd762604; tmp_res = PyObject_SetItem( locals_bs4$element_139, 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 = 139; goto try_except_handler_24; } } { tmp_dictset_value = const_str_plain_HTMLFormatter; tmp_res = PyObject_SetItem( locals_bs4$element_139, 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 = 139; goto try_except_handler_24; } } MAKE_OR_REUSE_FRAME( cache_frame_de882dc1284bb1549f115dfe8588bf4d_7, codeobj_de882dc1284bb1549f115dfe8588bf4d, module_bs4$element, sizeof(void *) ); frame_de882dc1284bb1549f115dfe8588bf4d_7 = cache_frame_de882dc1284bb1549f115dfe8588bf4d_7; // Push the new frame as the currently active one. pushFrameStack( frame_de882dc1284bb1549f115dfe8588bf4d_7 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_de882dc1284bb1549f115dfe8588bf4d_7 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_11_substitute( ); tmp_res = PyObject_SetItem( locals_bs4$element_139, const_str_plain_substitute, 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 = 141; type_description_2 = "o"; goto frame_exception_exit_7; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_de882dc1284bb1549f115dfe8588bf4d_7 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_6; frame_exception_exit_7:; #if 0 RESTORE_FRAME_EXCEPTION( frame_de882dc1284bb1549f115dfe8588bf4d_7 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_de882dc1284bb1549f115dfe8588bf4d_7, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_de882dc1284bb1549f115dfe8588bf4d_7->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_de882dc1284bb1549f115dfe8588bf4d_7, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_de882dc1284bb1549f115dfe8588bf4d_7, type_description_2, outline_6_var___class__ ); // Release cached frame. if ( frame_de882dc1284bb1549f115dfe8588bf4d_7 == cache_frame_de882dc1284bb1549f115dfe8588bf4d_7 ) { Py_DECREF( frame_de882dc1284bb1549f115dfe8588bf4d_7 ); } cache_frame_de882dc1284bb1549f115dfe8588bf4d_7 = NULL; assertFrameObject( frame_de882dc1284bb1549f115dfe8588bf4d_7 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_6; frame_no_exception_6:; goto skip_nested_handling_6; nested_frame_exit_6:; goto try_except_handler_24; skip_nested_handling_6:; { nuitka_bool tmp_condition_result_49; PyObject *tmp_compexpr_left_9; PyObject *tmp_compexpr_right_9; CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_compexpr_left_9 = tmp_class_creation_7__bases; CHECK_OBJECT( tmp_class_creation_7__bases_orig ); tmp_compexpr_right_9 = tmp_class_creation_7__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_9, tmp_compexpr_right_9 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_24; } tmp_condition_result_49 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_49 == NUITKA_BOOL_TRUE ) { goto branch_yes_29; } else { goto branch_no_29; } branch_yes_29:; { CHECK_OBJECT( tmp_class_creation_7__bases_orig ); tmp_dictset_value = tmp_class_creation_7__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_139, 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 = 139; goto try_except_handler_24; } } branch_no_29:; } { PyObject *tmp_assign_source_69; PyObject *tmp_called_name_21; PyObject *tmp_args_name_14; PyObject *tmp_tuple_element_25; PyObject *tmp_kw_name_14; CHECK_OBJECT( tmp_class_creation_7__metaclass ); tmp_called_name_21 = tmp_class_creation_7__metaclass; tmp_tuple_element_25 = const_str_plain_HTMLFormatter; tmp_args_name_14 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_25 ); PyTuple_SET_ITEM( tmp_args_name_14, 0, tmp_tuple_element_25 ); CHECK_OBJECT( tmp_class_creation_7__bases ); tmp_tuple_element_25 = tmp_class_creation_7__bases; Py_INCREF( tmp_tuple_element_25 ); PyTuple_SET_ITEM( tmp_args_name_14, 1, tmp_tuple_element_25 ); tmp_tuple_element_25 = locals_bs4$element_139; Py_INCREF( tmp_tuple_element_25 ); PyTuple_SET_ITEM( tmp_args_name_14, 2, tmp_tuple_element_25 ); CHECK_OBJECT( tmp_class_creation_7__class_decl_dict ); tmp_kw_name_14 = tmp_class_creation_7__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 139; tmp_assign_source_69 = CALL_FUNCTION( tmp_called_name_21, tmp_args_name_14, tmp_kw_name_14 ); Py_DECREF( tmp_args_name_14 ); if ( tmp_assign_source_69 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 139; goto try_except_handler_24; } assert( outline_6_var___class__ == NULL ); outline_6_var___class__ = tmp_assign_source_69; } { CHECK_OBJECT( outline_6_var___class__ ); tmp_assign_source_68 = outline_6_var___class__; Py_INCREF( tmp_assign_source_68 ); goto try_return_handler_24; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_24:; { Py_DECREF( locals_bs4$element_139 ); locals_bs4$element_139 = NULL; } { goto try_return_handler_23; } // Exception handler code: try_except_handler_24:; exception_keeper_type_22 = exception_type; exception_keeper_value_22 = exception_value; exception_keeper_tb_22 = exception_tb; exception_keeper_lineno_22 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_139 ); locals_bs4$element_139 = NULL; } { // Re-raise. exception_type = exception_keeper_type_22; exception_value = exception_keeper_value_22; exception_tb = exception_keeper_tb_22; exception_lineno = exception_keeper_lineno_22; goto try_except_handler_23; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_23:; { CHECK_OBJECT( (PyObject *)outline_6_var___class__ ); Py_DECREF( outline_6_var___class__ ); outline_6_var___class__ = NULL; } { goto outline_result_7; } // Exception handler code: try_except_handler_23:; exception_keeper_type_23 = exception_type; exception_keeper_value_23 = exception_value; exception_keeper_tb_23 = exception_tb; exception_keeper_lineno_23 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_23; exception_value = exception_keeper_value_23; exception_tb = exception_keeper_tb_23; exception_lineno = exception_keeper_lineno_23; goto outline_exception_7; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_7:; exception_lineno = 139; goto try_except_handler_22; outline_result_7:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_HTMLFormatter, tmp_assign_source_68 ); } goto try_end_10; // Exception handler code: try_except_handler_22:; exception_keeper_type_24 = exception_type; exception_keeper_value_24 = exception_value; exception_keeper_tb_24 = exception_tb; exception_keeper_lineno_24 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_7__bases ); tmp_class_creation_7__bases = NULL; } { Py_XDECREF( tmp_class_creation_7__class_decl_dict ); tmp_class_creation_7__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_7__metaclass ); tmp_class_creation_7__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_7__prepared ); tmp_class_creation_7__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_24; exception_value = exception_keeper_value_24; exception_tb = exception_keeper_tb_24; exception_lineno = exception_keeper_lineno_24; goto frame_exception_exit_1; } // End of try: try_end_10:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_7__bases ); Py_DECREF( tmp_class_creation_7__bases ); tmp_class_creation_7__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_7__class_decl_dict ); Py_DECREF( tmp_class_creation_7__class_decl_dict ); tmp_class_creation_7__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_7__metaclass ); Py_DECREF( tmp_class_creation_7__metaclass ); tmp_class_creation_7__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_7__prepared ); Py_DECREF( tmp_class_creation_7__prepared ); tmp_class_creation_7__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_70; PyObject *tmp_tuple_element_26; PyObject *tmp_mvar_value_9; tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Formatter ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Formatter ); } if ( tmp_mvar_value_9 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 144; goto try_except_handler_25; } tmp_tuple_element_26 = tmp_mvar_value_9; tmp_assign_source_70 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_26 ); PyTuple_SET_ITEM( tmp_assign_source_70, 0, tmp_tuple_element_26 ); assert( tmp_class_creation_8__bases_orig == NULL ); tmp_class_creation_8__bases_orig = tmp_assign_source_70; } { PyObject *tmp_assign_source_71; PyObject *tmp_dircall_arg1_8; CHECK_OBJECT( tmp_class_creation_8__bases_orig ); tmp_dircall_arg1_8 = tmp_class_creation_8__bases_orig; Py_INCREF( tmp_dircall_arg1_8 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_8}; tmp_assign_source_71 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_71 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_25; } assert( tmp_class_creation_8__bases == NULL ); tmp_class_creation_8__bases = tmp_assign_source_71; } { PyObject *tmp_assign_source_72; tmp_assign_source_72 = PyDict_New(); assert( tmp_class_creation_8__class_decl_dict == NULL ); tmp_class_creation_8__class_decl_dict = tmp_assign_source_72; } { PyObject *tmp_assign_source_73; PyObject *tmp_metaclass_name_8; nuitka_bool tmp_condition_result_50; PyObject *tmp_key_name_22; PyObject *tmp_dict_name_22; PyObject *tmp_dict_name_23; PyObject *tmp_key_name_23; nuitka_bool tmp_condition_result_51; int tmp_truth_name_8; PyObject *tmp_type_arg_15; PyObject *tmp_subscribed_name_9; PyObject *tmp_subscript_name_9; PyObject *tmp_bases_name_8; tmp_key_name_22 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_8__class_decl_dict ); tmp_dict_name_22 = tmp_class_creation_8__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_22, tmp_key_name_22 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_25; } tmp_condition_result_50 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_50 == NUITKA_BOOL_TRUE ) { goto condexpr_true_21; } else { goto condexpr_false_21; } condexpr_true_21:; CHECK_OBJECT( tmp_class_creation_8__class_decl_dict ); tmp_dict_name_23 = tmp_class_creation_8__class_decl_dict; tmp_key_name_23 = const_str_plain_metaclass; tmp_metaclass_name_8 = DICT_GET_ITEM( tmp_dict_name_23, tmp_key_name_23 ); if ( tmp_metaclass_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_25; } goto condexpr_end_21; condexpr_false_21:; CHECK_OBJECT( tmp_class_creation_8__bases ); tmp_truth_name_8 = CHECK_IF_TRUE( tmp_class_creation_8__bases ); if ( tmp_truth_name_8 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_25; } tmp_condition_result_51 = tmp_truth_name_8 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_51 == NUITKA_BOOL_TRUE ) { goto condexpr_true_22; } else { goto condexpr_false_22; } condexpr_true_22:; CHECK_OBJECT( tmp_class_creation_8__bases ); tmp_subscribed_name_9 = tmp_class_creation_8__bases; tmp_subscript_name_9 = const_int_0; tmp_type_arg_15 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_9, tmp_subscript_name_9, 0 ); if ( tmp_type_arg_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_25; } tmp_metaclass_name_8 = BUILTIN_TYPE1( tmp_type_arg_15 ); Py_DECREF( tmp_type_arg_15 ); if ( tmp_metaclass_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_25; } goto condexpr_end_22; condexpr_false_22:; tmp_metaclass_name_8 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_8 ); condexpr_end_22:; condexpr_end_21:; CHECK_OBJECT( tmp_class_creation_8__bases ); tmp_bases_name_8 = tmp_class_creation_8__bases; tmp_assign_source_73 = SELECT_METACLASS( tmp_metaclass_name_8, tmp_bases_name_8 ); Py_DECREF( tmp_metaclass_name_8 ); if ( tmp_assign_source_73 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_25; } assert( tmp_class_creation_8__metaclass == NULL ); tmp_class_creation_8__metaclass = tmp_assign_source_73; } { nuitka_bool tmp_condition_result_52; PyObject *tmp_key_name_24; PyObject *tmp_dict_name_24; tmp_key_name_24 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_8__class_decl_dict ); tmp_dict_name_24 = tmp_class_creation_8__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_24, tmp_key_name_24 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_25; } tmp_condition_result_52 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_52 == NUITKA_BOOL_TRUE ) { goto branch_yes_30; } else { goto branch_no_30; } branch_yes_30:; { CHECK_OBJECT( tmp_class_creation_8__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_8__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 = 144; goto try_except_handler_25; } } branch_no_30:; } { nuitka_bool tmp_condition_result_53; PyObject *tmp_source_name_32; CHECK_OBJECT( tmp_class_creation_8__metaclass ); tmp_source_name_32 = tmp_class_creation_8__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_32, const_str_plain___prepare__ ); tmp_condition_result_53 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_53 == NUITKA_BOOL_TRUE ) { goto branch_yes_31; } else { goto branch_no_31; } branch_yes_31:; { PyObject *tmp_assign_source_74; PyObject *tmp_called_name_22; PyObject *tmp_source_name_33; PyObject *tmp_args_name_15; PyObject *tmp_tuple_element_27; PyObject *tmp_kw_name_15; CHECK_OBJECT( tmp_class_creation_8__metaclass ); tmp_source_name_33 = tmp_class_creation_8__metaclass; tmp_called_name_22 = LOOKUP_ATTRIBUTE( tmp_source_name_33, const_str_plain___prepare__ ); if ( tmp_called_name_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_25; } tmp_tuple_element_27 = const_str_plain_MinimalHTMLFormatter; tmp_args_name_15 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_27 ); PyTuple_SET_ITEM( tmp_args_name_15, 0, tmp_tuple_element_27 ); CHECK_OBJECT( tmp_class_creation_8__bases ); tmp_tuple_element_27 = tmp_class_creation_8__bases; Py_INCREF( tmp_tuple_element_27 ); PyTuple_SET_ITEM( tmp_args_name_15, 1, tmp_tuple_element_27 ); CHECK_OBJECT( tmp_class_creation_8__class_decl_dict ); tmp_kw_name_15 = tmp_class_creation_8__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 144; tmp_assign_source_74 = CALL_FUNCTION( tmp_called_name_22, tmp_args_name_15, tmp_kw_name_15 ); Py_DECREF( tmp_called_name_22 ); Py_DECREF( tmp_args_name_15 ); if ( tmp_assign_source_74 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_25; } assert( tmp_class_creation_8__prepared == NULL ); tmp_class_creation_8__prepared = tmp_assign_source_74; } { nuitka_bool tmp_condition_result_54; PyObject *tmp_operand_name_8; PyObject *tmp_source_name_34; CHECK_OBJECT( tmp_class_creation_8__prepared ); tmp_source_name_34 = tmp_class_creation_8__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_34, const_str_plain___getitem__ ); tmp_operand_name_8 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_8 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_25; } tmp_condition_result_54 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_54 == NUITKA_BOOL_TRUE ) { goto branch_yes_32; } else { goto branch_no_32; } branch_yes_32:; { PyObject *tmp_raise_type_8; PyObject *tmp_raise_value_8; PyObject *tmp_left_name_8; PyObject *tmp_right_name_8; PyObject *tmp_tuple_element_28; PyObject *tmp_getattr_target_8; PyObject *tmp_getattr_attr_8; PyObject *tmp_getattr_default_8; PyObject *tmp_source_name_35; PyObject *tmp_type_arg_16; tmp_raise_type_8 = PyExc_TypeError; tmp_left_name_8 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_8__metaclass ); tmp_getattr_target_8 = tmp_class_creation_8__metaclass; tmp_getattr_attr_8 = const_str_plain___name__; tmp_getattr_default_8 = const_str_angle_metaclass; tmp_tuple_element_28 = BUILTIN_GETATTR( tmp_getattr_target_8, tmp_getattr_attr_8, tmp_getattr_default_8 ); if ( tmp_tuple_element_28 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_25; } tmp_right_name_8 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_8, 0, tmp_tuple_element_28 ); CHECK_OBJECT( tmp_class_creation_8__prepared ); tmp_type_arg_16 = tmp_class_creation_8__prepared; tmp_source_name_35 = BUILTIN_TYPE1( tmp_type_arg_16 ); assert( !(tmp_source_name_35 == NULL) ); tmp_tuple_element_28 = LOOKUP_ATTRIBUTE( tmp_source_name_35, const_str_plain___name__ ); Py_DECREF( tmp_source_name_35 ); if ( tmp_tuple_element_28 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_8 ); exception_lineno = 144; goto try_except_handler_25; } PyTuple_SET_ITEM( tmp_right_name_8, 1, tmp_tuple_element_28 ); tmp_raise_value_8 = BINARY_OPERATION_REMAINDER( tmp_left_name_8, tmp_right_name_8 ); Py_DECREF( tmp_right_name_8 ); if ( tmp_raise_value_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_25; } exception_type = tmp_raise_type_8; Py_INCREF( tmp_raise_type_8 ); exception_value = tmp_raise_value_8; exception_lineno = 144; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_25; } branch_no_32:; } goto branch_end_31; branch_no_31:; { PyObject *tmp_assign_source_75; tmp_assign_source_75 = PyDict_New(); assert( tmp_class_creation_8__prepared == NULL ); tmp_class_creation_8__prepared = tmp_assign_source_75; } branch_end_31:; } { PyObject *tmp_assign_source_76; { PyObject *tmp_set_locals_8; CHECK_OBJECT( tmp_class_creation_8__prepared ); tmp_set_locals_8 = tmp_class_creation_8__prepared; locals_bs4$element_144 = tmp_set_locals_8; Py_INCREF( tmp_set_locals_8 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_144, 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 = 144; goto try_except_handler_27; } } { tmp_dictset_value = const_str_digest_66fede51f6d2599d31cae6b2824d49fe; tmp_res = PyObject_SetItem( locals_bs4$element_144, 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 = 144; goto try_except_handler_27; } } { tmp_dictset_value = const_str_plain_MinimalHTMLFormatter; tmp_res = PyObject_SetItem( locals_bs4$element_144, 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 = 144; goto try_except_handler_27; } } MAKE_OR_REUSE_FRAME( cache_frame_8f8d6a136bdadc5725438d2af52a5d0d_8, codeobj_8f8d6a136bdadc5725438d2af52a5d0d, module_bs4$element, sizeof(void *) ); frame_8f8d6a136bdadc5725438d2af52a5d0d_8 = cache_frame_8f8d6a136bdadc5725438d2af52a5d0d_8; // Push the new frame as the currently active one. pushFrameStack( frame_8f8d6a136bdadc5725438d2af52a5d0d_8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8f8d6a136bdadc5725438d2af52a5d0d_8 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_12_substitute( ); tmp_res = PyObject_SetItem( locals_bs4$element_144, const_str_plain_substitute, 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 = 146; type_description_2 = "o"; goto frame_exception_exit_8; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_8f8d6a136bdadc5725438d2af52a5d0d_8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_7; frame_exception_exit_8:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8f8d6a136bdadc5725438d2af52a5d0d_8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8f8d6a136bdadc5725438d2af52a5d0d_8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8f8d6a136bdadc5725438d2af52a5d0d_8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8f8d6a136bdadc5725438d2af52a5d0d_8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8f8d6a136bdadc5725438d2af52a5d0d_8, type_description_2, outline_7_var___class__ ); // Release cached frame. if ( frame_8f8d6a136bdadc5725438d2af52a5d0d_8 == cache_frame_8f8d6a136bdadc5725438d2af52a5d0d_8 ) { Py_DECREF( frame_8f8d6a136bdadc5725438d2af52a5d0d_8 ); } cache_frame_8f8d6a136bdadc5725438d2af52a5d0d_8 = NULL; assertFrameObject( frame_8f8d6a136bdadc5725438d2af52a5d0d_8 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_7; frame_no_exception_7:; goto skip_nested_handling_7; nested_frame_exit_7:; goto try_except_handler_27; skip_nested_handling_7:; { nuitka_bool tmp_condition_result_55; PyObject *tmp_compexpr_left_10; PyObject *tmp_compexpr_right_10; CHECK_OBJECT( tmp_class_creation_8__bases ); tmp_compexpr_left_10 = tmp_class_creation_8__bases; CHECK_OBJECT( tmp_class_creation_8__bases_orig ); tmp_compexpr_right_10 = tmp_class_creation_8__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_10, tmp_compexpr_right_10 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_27; } tmp_condition_result_55 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_55 == NUITKA_BOOL_TRUE ) { goto branch_yes_33; } else { goto branch_no_33; } branch_yes_33:; { CHECK_OBJECT( tmp_class_creation_8__bases_orig ); tmp_dictset_value = tmp_class_creation_8__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_144, 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 = 144; goto try_except_handler_27; } } branch_no_33:; } { PyObject *tmp_assign_source_77; PyObject *tmp_called_name_23; PyObject *tmp_args_name_16; PyObject *tmp_tuple_element_29; PyObject *tmp_kw_name_16; CHECK_OBJECT( tmp_class_creation_8__metaclass ); tmp_called_name_23 = tmp_class_creation_8__metaclass; tmp_tuple_element_29 = const_str_plain_MinimalHTMLFormatter; tmp_args_name_16 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_29 ); PyTuple_SET_ITEM( tmp_args_name_16, 0, tmp_tuple_element_29 ); CHECK_OBJECT( tmp_class_creation_8__bases ); tmp_tuple_element_29 = tmp_class_creation_8__bases; Py_INCREF( tmp_tuple_element_29 ); PyTuple_SET_ITEM( tmp_args_name_16, 1, tmp_tuple_element_29 ); tmp_tuple_element_29 = locals_bs4$element_144; Py_INCREF( tmp_tuple_element_29 ); PyTuple_SET_ITEM( tmp_args_name_16, 2, tmp_tuple_element_29 ); CHECK_OBJECT( tmp_class_creation_8__class_decl_dict ); tmp_kw_name_16 = tmp_class_creation_8__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 144; tmp_assign_source_77 = CALL_FUNCTION( tmp_called_name_23, tmp_args_name_16, tmp_kw_name_16 ); Py_DECREF( tmp_args_name_16 ); if ( tmp_assign_source_77 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; goto try_except_handler_27; } assert( outline_7_var___class__ == NULL ); outline_7_var___class__ = tmp_assign_source_77; } { CHECK_OBJECT( outline_7_var___class__ ); tmp_assign_source_76 = outline_7_var___class__; Py_INCREF( tmp_assign_source_76 ); goto try_return_handler_27; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_27:; { Py_DECREF( locals_bs4$element_144 ); locals_bs4$element_144 = NULL; } { goto try_return_handler_26; } // Exception handler code: try_except_handler_27:; exception_keeper_type_25 = exception_type; exception_keeper_value_25 = exception_value; exception_keeper_tb_25 = exception_tb; exception_keeper_lineno_25 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_144 ); locals_bs4$element_144 = NULL; } { // Re-raise. exception_type = exception_keeper_type_25; exception_value = exception_keeper_value_25; exception_tb = exception_keeper_tb_25; exception_lineno = exception_keeper_lineno_25; goto try_except_handler_26; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_26:; { CHECK_OBJECT( (PyObject *)outline_7_var___class__ ); Py_DECREF( outline_7_var___class__ ); outline_7_var___class__ = NULL; } { goto outline_result_8; } // Exception handler code: try_except_handler_26:; exception_keeper_type_26 = exception_type; exception_keeper_value_26 = exception_value; exception_keeper_tb_26 = exception_tb; exception_keeper_lineno_26 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_26; exception_value = exception_keeper_value_26; exception_tb = exception_keeper_tb_26; exception_lineno = exception_keeper_lineno_26; goto outline_exception_8; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_8:; exception_lineno = 144; goto try_except_handler_25; outline_result_8:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_MinimalHTMLFormatter, tmp_assign_source_76 ); } goto try_end_11; // Exception handler code: try_except_handler_25:; exception_keeper_type_27 = exception_type; exception_keeper_value_27 = exception_value; exception_keeper_tb_27 = exception_tb; exception_keeper_lineno_27 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_8__bases ); tmp_class_creation_8__bases = NULL; } { Py_XDECREF( tmp_class_creation_8__class_decl_dict ); tmp_class_creation_8__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_8__metaclass ); tmp_class_creation_8__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_8__prepared ); tmp_class_creation_8__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_27; exception_value = exception_keeper_value_27; exception_tb = exception_keeper_tb_27; exception_lineno = exception_keeper_lineno_27; goto frame_exception_exit_1; } // End of try: try_end_11:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_8__bases ); Py_DECREF( tmp_class_creation_8__bases ); tmp_class_creation_8__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_8__class_decl_dict ); Py_DECREF( tmp_class_creation_8__class_decl_dict ); tmp_class_creation_8__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_8__metaclass ); Py_DECREF( tmp_class_creation_8__metaclass ); tmp_class_creation_8__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_8__prepared ); Py_DECREF( tmp_class_creation_8__prepared ); tmp_class_creation_8__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_78; PyObject *tmp_tuple_element_30; PyObject *tmp_mvar_value_10; tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_HTMLFormatter ); if (unlikely( tmp_mvar_value_10 == NULL )) { tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTMLFormatter ); } if ( tmp_mvar_value_10 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTMLFormatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 149; goto try_except_handler_28; } tmp_tuple_element_30 = tmp_mvar_value_10; tmp_assign_source_78 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_30 ); PyTuple_SET_ITEM( tmp_assign_source_78, 0, tmp_tuple_element_30 ); assert( tmp_class_creation_9__bases_orig == NULL ); tmp_class_creation_9__bases_orig = tmp_assign_source_78; } { PyObject *tmp_assign_source_79; PyObject *tmp_dircall_arg1_9; CHECK_OBJECT( tmp_class_creation_9__bases_orig ); tmp_dircall_arg1_9 = tmp_class_creation_9__bases_orig; Py_INCREF( tmp_dircall_arg1_9 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_9}; tmp_assign_source_79 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_79 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_28; } assert( tmp_class_creation_9__bases == NULL ); tmp_class_creation_9__bases = tmp_assign_source_79; } { PyObject *tmp_assign_source_80; tmp_assign_source_80 = PyDict_New(); assert( tmp_class_creation_9__class_decl_dict == NULL ); tmp_class_creation_9__class_decl_dict = tmp_assign_source_80; } { PyObject *tmp_assign_source_81; PyObject *tmp_metaclass_name_9; nuitka_bool tmp_condition_result_56; PyObject *tmp_key_name_25; PyObject *tmp_dict_name_25; PyObject *tmp_dict_name_26; PyObject *tmp_key_name_26; nuitka_bool tmp_condition_result_57; int tmp_truth_name_9; PyObject *tmp_type_arg_17; PyObject *tmp_subscribed_name_10; PyObject *tmp_subscript_name_10; PyObject *tmp_bases_name_9; tmp_key_name_25 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_9__class_decl_dict ); tmp_dict_name_25 = tmp_class_creation_9__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_25, tmp_key_name_25 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_28; } tmp_condition_result_56 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_56 == NUITKA_BOOL_TRUE ) { goto condexpr_true_23; } else { goto condexpr_false_23; } condexpr_true_23:; CHECK_OBJECT( tmp_class_creation_9__class_decl_dict ); tmp_dict_name_26 = tmp_class_creation_9__class_decl_dict; tmp_key_name_26 = const_str_plain_metaclass; tmp_metaclass_name_9 = DICT_GET_ITEM( tmp_dict_name_26, tmp_key_name_26 ); if ( tmp_metaclass_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_28; } goto condexpr_end_23; condexpr_false_23:; CHECK_OBJECT( tmp_class_creation_9__bases ); tmp_truth_name_9 = CHECK_IF_TRUE( tmp_class_creation_9__bases ); if ( tmp_truth_name_9 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_28; } tmp_condition_result_57 = tmp_truth_name_9 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_57 == NUITKA_BOOL_TRUE ) { goto condexpr_true_24; } else { goto condexpr_false_24; } condexpr_true_24:; CHECK_OBJECT( tmp_class_creation_9__bases ); tmp_subscribed_name_10 = tmp_class_creation_9__bases; tmp_subscript_name_10 = const_int_0; tmp_type_arg_17 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_10, tmp_subscript_name_10, 0 ); if ( tmp_type_arg_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_28; } tmp_metaclass_name_9 = BUILTIN_TYPE1( tmp_type_arg_17 ); Py_DECREF( tmp_type_arg_17 ); if ( tmp_metaclass_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_28; } goto condexpr_end_24; condexpr_false_24:; tmp_metaclass_name_9 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_9 ); condexpr_end_24:; condexpr_end_23:; CHECK_OBJECT( tmp_class_creation_9__bases ); tmp_bases_name_9 = tmp_class_creation_9__bases; tmp_assign_source_81 = SELECT_METACLASS( tmp_metaclass_name_9, tmp_bases_name_9 ); Py_DECREF( tmp_metaclass_name_9 ); if ( tmp_assign_source_81 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_28; } assert( tmp_class_creation_9__metaclass == NULL ); tmp_class_creation_9__metaclass = tmp_assign_source_81; } { nuitka_bool tmp_condition_result_58; PyObject *tmp_key_name_27; PyObject *tmp_dict_name_27; tmp_key_name_27 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_9__class_decl_dict ); tmp_dict_name_27 = tmp_class_creation_9__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_27, tmp_key_name_27 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_28; } tmp_condition_result_58 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_58 == NUITKA_BOOL_TRUE ) { goto branch_yes_34; } else { goto branch_no_34; } branch_yes_34:; { CHECK_OBJECT( tmp_class_creation_9__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_9__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 = 149; goto try_except_handler_28; } } branch_no_34:; } { nuitka_bool tmp_condition_result_59; PyObject *tmp_source_name_36; CHECK_OBJECT( tmp_class_creation_9__metaclass ); tmp_source_name_36 = tmp_class_creation_9__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_36, const_str_plain___prepare__ ); tmp_condition_result_59 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_59 == NUITKA_BOOL_TRUE ) { goto branch_yes_35; } else { goto branch_no_35; } branch_yes_35:; { PyObject *tmp_assign_source_82; PyObject *tmp_called_name_24; PyObject *tmp_source_name_37; PyObject *tmp_args_name_17; PyObject *tmp_tuple_element_31; PyObject *tmp_kw_name_17; CHECK_OBJECT( tmp_class_creation_9__metaclass ); tmp_source_name_37 = tmp_class_creation_9__metaclass; tmp_called_name_24 = LOOKUP_ATTRIBUTE( tmp_source_name_37, const_str_plain___prepare__ ); if ( tmp_called_name_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_28; } tmp_tuple_element_31 = const_str_plain_HTML5Formatter; tmp_args_name_17 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_31 ); PyTuple_SET_ITEM( tmp_args_name_17, 0, tmp_tuple_element_31 ); CHECK_OBJECT( tmp_class_creation_9__bases ); tmp_tuple_element_31 = tmp_class_creation_9__bases; Py_INCREF( tmp_tuple_element_31 ); PyTuple_SET_ITEM( tmp_args_name_17, 1, tmp_tuple_element_31 ); CHECK_OBJECT( tmp_class_creation_9__class_decl_dict ); tmp_kw_name_17 = tmp_class_creation_9__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 149; tmp_assign_source_82 = CALL_FUNCTION( tmp_called_name_24, tmp_args_name_17, tmp_kw_name_17 ); Py_DECREF( tmp_called_name_24 ); Py_DECREF( tmp_args_name_17 ); if ( tmp_assign_source_82 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_28; } assert( tmp_class_creation_9__prepared == NULL ); tmp_class_creation_9__prepared = tmp_assign_source_82; } { nuitka_bool tmp_condition_result_60; PyObject *tmp_operand_name_9; PyObject *tmp_source_name_38; CHECK_OBJECT( tmp_class_creation_9__prepared ); tmp_source_name_38 = tmp_class_creation_9__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_38, const_str_plain___getitem__ ); tmp_operand_name_9 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_9 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_28; } tmp_condition_result_60 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_60 == NUITKA_BOOL_TRUE ) { goto branch_yes_36; } else { goto branch_no_36; } branch_yes_36:; { PyObject *tmp_raise_type_9; PyObject *tmp_raise_value_9; PyObject *tmp_left_name_9; PyObject *tmp_right_name_9; PyObject *tmp_tuple_element_32; PyObject *tmp_getattr_target_9; PyObject *tmp_getattr_attr_9; PyObject *tmp_getattr_default_9; PyObject *tmp_source_name_39; PyObject *tmp_type_arg_18; tmp_raise_type_9 = PyExc_TypeError; tmp_left_name_9 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_9__metaclass ); tmp_getattr_target_9 = tmp_class_creation_9__metaclass; tmp_getattr_attr_9 = const_str_plain___name__; tmp_getattr_default_9 = const_str_angle_metaclass; tmp_tuple_element_32 = BUILTIN_GETATTR( tmp_getattr_target_9, tmp_getattr_attr_9, tmp_getattr_default_9 ); if ( tmp_tuple_element_32 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_28; } tmp_right_name_9 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_9, 0, tmp_tuple_element_32 ); CHECK_OBJECT( tmp_class_creation_9__prepared ); tmp_type_arg_18 = tmp_class_creation_9__prepared; tmp_source_name_39 = BUILTIN_TYPE1( tmp_type_arg_18 ); assert( !(tmp_source_name_39 == NULL) ); tmp_tuple_element_32 = LOOKUP_ATTRIBUTE( tmp_source_name_39, const_str_plain___name__ ); Py_DECREF( tmp_source_name_39 ); if ( tmp_tuple_element_32 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_9 ); exception_lineno = 149; goto try_except_handler_28; } PyTuple_SET_ITEM( tmp_right_name_9, 1, tmp_tuple_element_32 ); tmp_raise_value_9 = BINARY_OPERATION_REMAINDER( tmp_left_name_9, tmp_right_name_9 ); Py_DECREF( tmp_right_name_9 ); if ( tmp_raise_value_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_28; } exception_type = tmp_raise_type_9; Py_INCREF( tmp_raise_type_9 ); exception_value = tmp_raise_value_9; exception_lineno = 149; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_28; } branch_no_36:; } goto branch_end_35; branch_no_35:; { PyObject *tmp_assign_source_83; tmp_assign_source_83 = PyDict_New(); assert( tmp_class_creation_9__prepared == NULL ); tmp_class_creation_9__prepared = tmp_assign_source_83; } branch_end_35:; } { PyObject *tmp_assign_source_84; { PyObject *tmp_set_locals_9; CHECK_OBJECT( tmp_class_creation_9__prepared ); tmp_set_locals_9 = tmp_class_creation_9__prepared; locals_bs4$element_149 = tmp_set_locals_9; Py_INCREF( tmp_set_locals_9 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_149, 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 = 149; goto try_except_handler_30; } } { tmp_dictset_value = const_str_digest_f6bcba6ba3fa9e79445ecc6dd89d522b; tmp_res = PyObject_SetItem( locals_bs4$element_149, 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 = 149; goto try_except_handler_30; } } { tmp_dictset_value = const_str_plain_HTML5Formatter; tmp_res = PyObject_SetItem( locals_bs4$element_149, 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 = 149; goto try_except_handler_30; } } MAKE_OR_REUSE_FRAME( cache_frame_e0b138e081684a50578d5e63a10479ca_9, codeobj_e0b138e081684a50578d5e63a10479ca, module_bs4$element, sizeof(void *) ); frame_e0b138e081684a50578d5e63a10479ca_9 = cache_frame_e0b138e081684a50578d5e63a10479ca_9; // Push the new frame as the currently active one. pushFrameStack( frame_e0b138e081684a50578d5e63a10479ca_9 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e0b138e081684a50578d5e63a10479ca_9 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = Py_None; tmp_res = PyObject_SetItem( locals_bs4$element_149, const_str_plain_void_element_close_prefix, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 151; type_description_2 = "o"; goto frame_exception_exit_9; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_e0b138e081684a50578d5e63a10479ca_9 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_8; frame_exception_exit_9:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e0b138e081684a50578d5e63a10479ca_9 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e0b138e081684a50578d5e63a10479ca_9, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e0b138e081684a50578d5e63a10479ca_9->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e0b138e081684a50578d5e63a10479ca_9, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e0b138e081684a50578d5e63a10479ca_9, type_description_2, outline_8_var___class__ ); // Release cached frame. if ( frame_e0b138e081684a50578d5e63a10479ca_9 == cache_frame_e0b138e081684a50578d5e63a10479ca_9 ) { Py_DECREF( frame_e0b138e081684a50578d5e63a10479ca_9 ); } cache_frame_e0b138e081684a50578d5e63a10479ca_9 = NULL; assertFrameObject( frame_e0b138e081684a50578d5e63a10479ca_9 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_8; frame_no_exception_8:; goto skip_nested_handling_8; nested_frame_exit_8:; goto try_except_handler_30; skip_nested_handling_8:; { nuitka_bool tmp_condition_result_61; PyObject *tmp_compexpr_left_11; PyObject *tmp_compexpr_right_11; CHECK_OBJECT( tmp_class_creation_9__bases ); tmp_compexpr_left_11 = tmp_class_creation_9__bases; CHECK_OBJECT( tmp_class_creation_9__bases_orig ); tmp_compexpr_right_11 = tmp_class_creation_9__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_11, tmp_compexpr_right_11 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_30; } tmp_condition_result_61 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_61 == NUITKA_BOOL_TRUE ) { goto branch_yes_37; } else { goto branch_no_37; } branch_yes_37:; { CHECK_OBJECT( tmp_class_creation_9__bases_orig ); tmp_dictset_value = tmp_class_creation_9__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_149, 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 = 149; goto try_except_handler_30; } } branch_no_37:; } { PyObject *tmp_assign_source_85; PyObject *tmp_called_name_25; PyObject *tmp_args_name_18; PyObject *tmp_tuple_element_33; PyObject *tmp_kw_name_18; CHECK_OBJECT( tmp_class_creation_9__metaclass ); tmp_called_name_25 = tmp_class_creation_9__metaclass; tmp_tuple_element_33 = const_str_plain_HTML5Formatter; tmp_args_name_18 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_33 ); PyTuple_SET_ITEM( tmp_args_name_18, 0, tmp_tuple_element_33 ); CHECK_OBJECT( tmp_class_creation_9__bases ); tmp_tuple_element_33 = tmp_class_creation_9__bases; Py_INCREF( tmp_tuple_element_33 ); PyTuple_SET_ITEM( tmp_args_name_18, 1, tmp_tuple_element_33 ); tmp_tuple_element_33 = locals_bs4$element_149; Py_INCREF( tmp_tuple_element_33 ); PyTuple_SET_ITEM( tmp_args_name_18, 2, tmp_tuple_element_33 ); CHECK_OBJECT( tmp_class_creation_9__class_decl_dict ); tmp_kw_name_18 = tmp_class_creation_9__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 149; tmp_assign_source_85 = CALL_FUNCTION( tmp_called_name_25, tmp_args_name_18, tmp_kw_name_18 ); Py_DECREF( tmp_args_name_18 ); if ( tmp_assign_source_85 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 149; goto try_except_handler_30; } assert( outline_8_var___class__ == NULL ); outline_8_var___class__ = tmp_assign_source_85; } { CHECK_OBJECT( outline_8_var___class__ ); tmp_assign_source_84 = outline_8_var___class__; Py_INCREF( tmp_assign_source_84 ); goto try_return_handler_30; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_30:; { Py_DECREF( locals_bs4$element_149 ); locals_bs4$element_149 = NULL; } { goto try_return_handler_29; } // Exception handler code: try_except_handler_30:; exception_keeper_type_28 = exception_type; exception_keeper_value_28 = exception_value; exception_keeper_tb_28 = exception_tb; exception_keeper_lineno_28 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_149 ); locals_bs4$element_149 = NULL; } { // Re-raise. exception_type = exception_keeper_type_28; exception_value = exception_keeper_value_28; exception_tb = exception_keeper_tb_28; exception_lineno = exception_keeper_lineno_28; goto try_except_handler_29; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_29:; { CHECK_OBJECT( (PyObject *)outline_8_var___class__ ); Py_DECREF( outline_8_var___class__ ); outline_8_var___class__ = NULL; } { goto outline_result_9; } // Exception handler code: try_except_handler_29:; exception_keeper_type_29 = exception_type; exception_keeper_value_29 = exception_value; exception_keeper_tb_29 = exception_tb; exception_keeper_lineno_29 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_29; exception_value = exception_keeper_value_29; exception_tb = exception_keeper_tb_29; exception_lineno = exception_keeper_lineno_29; goto outline_exception_9; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_9:; exception_lineno = 149; goto try_except_handler_28; outline_result_9:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_HTML5Formatter, tmp_assign_source_84 ); } goto try_end_12; // Exception handler code: try_except_handler_28:; exception_keeper_type_30 = exception_type; exception_keeper_value_30 = exception_value; exception_keeper_tb_30 = exception_tb; exception_keeper_lineno_30 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_9__bases ); tmp_class_creation_9__bases = NULL; } { Py_XDECREF( tmp_class_creation_9__class_decl_dict ); tmp_class_creation_9__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_9__metaclass ); tmp_class_creation_9__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_9__prepared ); tmp_class_creation_9__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_30; exception_value = exception_keeper_value_30; exception_tb = exception_keeper_tb_30; exception_lineno = exception_keeper_lineno_30; goto frame_exception_exit_1; } // End of try: try_end_12:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_9__bases ); Py_DECREF( tmp_class_creation_9__bases ); tmp_class_creation_9__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_9__class_decl_dict ); Py_DECREF( tmp_class_creation_9__class_decl_dict ); tmp_class_creation_9__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_9__metaclass ); Py_DECREF( tmp_class_creation_9__metaclass ); tmp_class_creation_9__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_9__prepared ); Py_DECREF( tmp_class_creation_9__prepared ); tmp_class_creation_9__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_86; PyObject *tmp_tuple_element_34; PyObject *tmp_mvar_value_11; tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Formatter ); if (unlikely( tmp_mvar_value_11 == NULL )) { tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Formatter ); } if ( tmp_mvar_value_11 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 153; goto try_except_handler_31; } tmp_tuple_element_34 = tmp_mvar_value_11; tmp_assign_source_86 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_34 ); PyTuple_SET_ITEM( tmp_assign_source_86, 0, tmp_tuple_element_34 ); assert( tmp_class_creation_10__bases_orig == NULL ); tmp_class_creation_10__bases_orig = tmp_assign_source_86; } { PyObject *tmp_assign_source_87; PyObject *tmp_dircall_arg1_10; CHECK_OBJECT( tmp_class_creation_10__bases_orig ); tmp_dircall_arg1_10 = tmp_class_creation_10__bases_orig; Py_INCREF( tmp_dircall_arg1_10 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_10}; tmp_assign_source_87 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_87 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_31; } assert( tmp_class_creation_10__bases == NULL ); tmp_class_creation_10__bases = tmp_assign_source_87; } { PyObject *tmp_assign_source_88; tmp_assign_source_88 = PyDict_New(); assert( tmp_class_creation_10__class_decl_dict == NULL ); tmp_class_creation_10__class_decl_dict = tmp_assign_source_88; } { PyObject *tmp_assign_source_89; PyObject *tmp_metaclass_name_10; nuitka_bool tmp_condition_result_62; PyObject *tmp_key_name_28; PyObject *tmp_dict_name_28; PyObject *tmp_dict_name_29; PyObject *tmp_key_name_29; nuitka_bool tmp_condition_result_63; int tmp_truth_name_10; PyObject *tmp_type_arg_19; PyObject *tmp_subscribed_name_11; PyObject *tmp_subscript_name_11; PyObject *tmp_bases_name_10; tmp_key_name_28 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_10__class_decl_dict ); tmp_dict_name_28 = tmp_class_creation_10__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_28, tmp_key_name_28 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_31; } tmp_condition_result_62 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_62 == NUITKA_BOOL_TRUE ) { goto condexpr_true_25; } else { goto condexpr_false_25; } condexpr_true_25:; CHECK_OBJECT( tmp_class_creation_10__class_decl_dict ); tmp_dict_name_29 = tmp_class_creation_10__class_decl_dict; tmp_key_name_29 = const_str_plain_metaclass; tmp_metaclass_name_10 = DICT_GET_ITEM( tmp_dict_name_29, tmp_key_name_29 ); if ( tmp_metaclass_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_31; } goto condexpr_end_25; condexpr_false_25:; CHECK_OBJECT( tmp_class_creation_10__bases ); tmp_truth_name_10 = CHECK_IF_TRUE( tmp_class_creation_10__bases ); if ( tmp_truth_name_10 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_31; } tmp_condition_result_63 = tmp_truth_name_10 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_63 == NUITKA_BOOL_TRUE ) { goto condexpr_true_26; } else { goto condexpr_false_26; } condexpr_true_26:; CHECK_OBJECT( tmp_class_creation_10__bases ); tmp_subscribed_name_11 = tmp_class_creation_10__bases; tmp_subscript_name_11 = const_int_0; tmp_type_arg_19 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_11, tmp_subscript_name_11, 0 ); if ( tmp_type_arg_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_31; } tmp_metaclass_name_10 = BUILTIN_TYPE1( tmp_type_arg_19 ); Py_DECREF( tmp_type_arg_19 ); if ( tmp_metaclass_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_31; } goto condexpr_end_26; condexpr_false_26:; tmp_metaclass_name_10 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_10 ); condexpr_end_26:; condexpr_end_25:; CHECK_OBJECT( tmp_class_creation_10__bases ); tmp_bases_name_10 = tmp_class_creation_10__bases; tmp_assign_source_89 = SELECT_METACLASS( tmp_metaclass_name_10, tmp_bases_name_10 ); Py_DECREF( tmp_metaclass_name_10 ); if ( tmp_assign_source_89 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_31; } assert( tmp_class_creation_10__metaclass == NULL ); tmp_class_creation_10__metaclass = tmp_assign_source_89; } { nuitka_bool tmp_condition_result_64; PyObject *tmp_key_name_30; PyObject *tmp_dict_name_30; tmp_key_name_30 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_10__class_decl_dict ); tmp_dict_name_30 = tmp_class_creation_10__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_30, tmp_key_name_30 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_31; } tmp_condition_result_64 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_64 == NUITKA_BOOL_TRUE ) { goto branch_yes_38; } else { goto branch_no_38; } branch_yes_38:; { CHECK_OBJECT( tmp_class_creation_10__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_10__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 = 153; goto try_except_handler_31; } } branch_no_38:; } { nuitka_bool tmp_condition_result_65; PyObject *tmp_source_name_40; CHECK_OBJECT( tmp_class_creation_10__metaclass ); tmp_source_name_40 = tmp_class_creation_10__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_40, const_str_plain___prepare__ ); tmp_condition_result_65 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_65 == NUITKA_BOOL_TRUE ) { goto branch_yes_39; } else { goto branch_no_39; } branch_yes_39:; { PyObject *tmp_assign_source_90; PyObject *tmp_called_name_26; PyObject *tmp_source_name_41; PyObject *tmp_args_name_19; PyObject *tmp_tuple_element_35; PyObject *tmp_kw_name_19; CHECK_OBJECT( tmp_class_creation_10__metaclass ); tmp_source_name_41 = tmp_class_creation_10__metaclass; tmp_called_name_26 = LOOKUP_ATTRIBUTE( tmp_source_name_41, const_str_plain___prepare__ ); if ( tmp_called_name_26 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_31; } tmp_tuple_element_35 = const_str_plain_XMLFormatter; tmp_args_name_19 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_35 ); PyTuple_SET_ITEM( tmp_args_name_19, 0, tmp_tuple_element_35 ); CHECK_OBJECT( tmp_class_creation_10__bases ); tmp_tuple_element_35 = tmp_class_creation_10__bases; Py_INCREF( tmp_tuple_element_35 ); PyTuple_SET_ITEM( tmp_args_name_19, 1, tmp_tuple_element_35 ); CHECK_OBJECT( tmp_class_creation_10__class_decl_dict ); tmp_kw_name_19 = tmp_class_creation_10__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 153; tmp_assign_source_90 = CALL_FUNCTION( tmp_called_name_26, tmp_args_name_19, tmp_kw_name_19 ); Py_DECREF( tmp_called_name_26 ); Py_DECREF( tmp_args_name_19 ); if ( tmp_assign_source_90 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_31; } assert( tmp_class_creation_10__prepared == NULL ); tmp_class_creation_10__prepared = tmp_assign_source_90; } { nuitka_bool tmp_condition_result_66; PyObject *tmp_operand_name_10; PyObject *tmp_source_name_42; CHECK_OBJECT( tmp_class_creation_10__prepared ); tmp_source_name_42 = tmp_class_creation_10__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_42, const_str_plain___getitem__ ); tmp_operand_name_10 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_10 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_31; } tmp_condition_result_66 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_66 == NUITKA_BOOL_TRUE ) { goto branch_yes_40; } else { goto branch_no_40; } branch_yes_40:; { PyObject *tmp_raise_type_10; PyObject *tmp_raise_value_10; PyObject *tmp_left_name_10; PyObject *tmp_right_name_10; PyObject *tmp_tuple_element_36; PyObject *tmp_getattr_target_10; PyObject *tmp_getattr_attr_10; PyObject *tmp_getattr_default_10; PyObject *tmp_source_name_43; PyObject *tmp_type_arg_20; tmp_raise_type_10 = PyExc_TypeError; tmp_left_name_10 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_10__metaclass ); tmp_getattr_target_10 = tmp_class_creation_10__metaclass; tmp_getattr_attr_10 = const_str_plain___name__; tmp_getattr_default_10 = const_str_angle_metaclass; tmp_tuple_element_36 = BUILTIN_GETATTR( tmp_getattr_target_10, tmp_getattr_attr_10, tmp_getattr_default_10 ); if ( tmp_tuple_element_36 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_31; } tmp_right_name_10 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_10, 0, tmp_tuple_element_36 ); CHECK_OBJECT( tmp_class_creation_10__prepared ); tmp_type_arg_20 = tmp_class_creation_10__prepared; tmp_source_name_43 = BUILTIN_TYPE1( tmp_type_arg_20 ); assert( !(tmp_source_name_43 == NULL) ); tmp_tuple_element_36 = LOOKUP_ATTRIBUTE( tmp_source_name_43, const_str_plain___name__ ); Py_DECREF( tmp_source_name_43 ); if ( tmp_tuple_element_36 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_10 ); exception_lineno = 153; goto try_except_handler_31; } PyTuple_SET_ITEM( tmp_right_name_10, 1, tmp_tuple_element_36 ); tmp_raise_value_10 = BINARY_OPERATION_REMAINDER( tmp_left_name_10, tmp_right_name_10 ); Py_DECREF( tmp_right_name_10 ); if ( tmp_raise_value_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_31; } exception_type = tmp_raise_type_10; Py_INCREF( tmp_raise_type_10 ); exception_value = tmp_raise_value_10; exception_lineno = 153; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_31; } branch_no_40:; } goto branch_end_39; branch_no_39:; { PyObject *tmp_assign_source_91; tmp_assign_source_91 = PyDict_New(); assert( tmp_class_creation_10__prepared == NULL ); tmp_class_creation_10__prepared = tmp_assign_source_91; } branch_end_39:; } { PyObject *tmp_assign_source_92; { PyObject *tmp_set_locals_10; CHECK_OBJECT( tmp_class_creation_10__prepared ); tmp_set_locals_10 = tmp_class_creation_10__prepared; locals_bs4$element_153 = tmp_set_locals_10; Py_INCREF( tmp_set_locals_10 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_153, 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 = 153; goto try_except_handler_33; } } { tmp_dictset_value = const_str_digest_6fafb2efdc26996459dc0ccdbcddbdf7; tmp_res = PyObject_SetItem( locals_bs4$element_153, 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 = 153; goto try_except_handler_33; } } { tmp_dictset_value = const_str_plain_XMLFormatter; tmp_res = PyObject_SetItem( locals_bs4$element_153, 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 = 153; goto try_except_handler_33; } } MAKE_OR_REUSE_FRAME( cache_frame_e9a030faa6f76c21f38fa0eb6e3cd515_10, codeobj_e9a030faa6f76c21f38fa0eb6e3cd515, module_bs4$element, sizeof(void *) ); frame_e9a030faa6f76c21f38fa0eb6e3cd515_10 = cache_frame_e9a030faa6f76c21f38fa0eb6e3cd515_10; // Push the new frame as the currently active one. pushFrameStack( frame_e9a030faa6f76c21f38fa0eb6e3cd515_10 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e9a030faa6f76c21f38fa0eb6e3cd515_10 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_13_substitute( ); tmp_res = PyObject_SetItem( locals_bs4$element_153, const_str_plain_substitute, 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 = 155; type_description_2 = "o"; goto frame_exception_exit_10; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_e9a030faa6f76c21f38fa0eb6e3cd515_10 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_9; frame_exception_exit_10:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e9a030faa6f76c21f38fa0eb6e3cd515_10 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e9a030faa6f76c21f38fa0eb6e3cd515_10, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e9a030faa6f76c21f38fa0eb6e3cd515_10->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e9a030faa6f76c21f38fa0eb6e3cd515_10, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e9a030faa6f76c21f38fa0eb6e3cd515_10, type_description_2, outline_9_var___class__ ); // Release cached frame. if ( frame_e9a030faa6f76c21f38fa0eb6e3cd515_10 == cache_frame_e9a030faa6f76c21f38fa0eb6e3cd515_10 ) { Py_DECREF( frame_e9a030faa6f76c21f38fa0eb6e3cd515_10 ); } cache_frame_e9a030faa6f76c21f38fa0eb6e3cd515_10 = NULL; assertFrameObject( frame_e9a030faa6f76c21f38fa0eb6e3cd515_10 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_9; frame_no_exception_9:; goto skip_nested_handling_9; nested_frame_exit_9:; goto try_except_handler_33; skip_nested_handling_9:; { nuitka_bool tmp_condition_result_67; PyObject *tmp_compexpr_left_12; PyObject *tmp_compexpr_right_12; CHECK_OBJECT( tmp_class_creation_10__bases ); tmp_compexpr_left_12 = tmp_class_creation_10__bases; CHECK_OBJECT( tmp_class_creation_10__bases_orig ); tmp_compexpr_right_12 = tmp_class_creation_10__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_12, tmp_compexpr_right_12 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_33; } tmp_condition_result_67 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_67 == NUITKA_BOOL_TRUE ) { goto branch_yes_41; } else { goto branch_no_41; } branch_yes_41:; { CHECK_OBJECT( tmp_class_creation_10__bases_orig ); tmp_dictset_value = tmp_class_creation_10__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_153, 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 = 153; goto try_except_handler_33; } } branch_no_41:; } { PyObject *tmp_assign_source_93; PyObject *tmp_called_name_27; PyObject *tmp_args_name_20; PyObject *tmp_tuple_element_37; PyObject *tmp_kw_name_20; CHECK_OBJECT( tmp_class_creation_10__metaclass ); tmp_called_name_27 = tmp_class_creation_10__metaclass; tmp_tuple_element_37 = const_str_plain_XMLFormatter; tmp_args_name_20 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_37 ); PyTuple_SET_ITEM( tmp_args_name_20, 0, tmp_tuple_element_37 ); CHECK_OBJECT( tmp_class_creation_10__bases ); tmp_tuple_element_37 = tmp_class_creation_10__bases; Py_INCREF( tmp_tuple_element_37 ); PyTuple_SET_ITEM( tmp_args_name_20, 1, tmp_tuple_element_37 ); tmp_tuple_element_37 = locals_bs4$element_153; Py_INCREF( tmp_tuple_element_37 ); PyTuple_SET_ITEM( tmp_args_name_20, 2, tmp_tuple_element_37 ); CHECK_OBJECT( tmp_class_creation_10__class_decl_dict ); tmp_kw_name_20 = tmp_class_creation_10__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 153; tmp_assign_source_93 = CALL_FUNCTION( tmp_called_name_27, tmp_args_name_20, tmp_kw_name_20 ); Py_DECREF( tmp_args_name_20 ); if ( tmp_assign_source_93 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 153; goto try_except_handler_33; } assert( outline_9_var___class__ == NULL ); outline_9_var___class__ = tmp_assign_source_93; } { CHECK_OBJECT( outline_9_var___class__ ); tmp_assign_source_92 = outline_9_var___class__; Py_INCREF( tmp_assign_source_92 ); goto try_return_handler_33; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_33:; { Py_DECREF( locals_bs4$element_153 ); locals_bs4$element_153 = NULL; } { goto try_return_handler_32; } // Exception handler code: try_except_handler_33:; exception_keeper_type_31 = exception_type; exception_keeper_value_31 = exception_value; exception_keeper_tb_31 = exception_tb; exception_keeper_lineno_31 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_153 ); locals_bs4$element_153 = NULL; } { // Re-raise. exception_type = exception_keeper_type_31; exception_value = exception_keeper_value_31; exception_tb = exception_keeper_tb_31; exception_lineno = exception_keeper_lineno_31; goto try_except_handler_32; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_32:; { CHECK_OBJECT( (PyObject *)outline_9_var___class__ ); Py_DECREF( outline_9_var___class__ ); outline_9_var___class__ = NULL; } { goto outline_result_10; } // Exception handler code: try_except_handler_32:; exception_keeper_type_32 = exception_type; exception_keeper_value_32 = exception_value; exception_keeper_tb_32 = exception_tb; exception_keeper_lineno_32 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_32; exception_value = exception_keeper_value_32; exception_tb = exception_keeper_tb_32; exception_lineno = exception_keeper_lineno_32; goto outline_exception_10; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_10:; exception_lineno = 153; goto try_except_handler_31; outline_result_10:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_XMLFormatter, tmp_assign_source_92 ); } goto try_end_13; // Exception handler code: try_except_handler_31:; exception_keeper_type_33 = exception_type; exception_keeper_value_33 = exception_value; exception_keeper_tb_33 = exception_tb; exception_keeper_lineno_33 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_10__bases ); tmp_class_creation_10__bases = NULL; } { Py_XDECREF( tmp_class_creation_10__class_decl_dict ); tmp_class_creation_10__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_10__metaclass ); tmp_class_creation_10__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_10__prepared ); tmp_class_creation_10__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_33; exception_value = exception_keeper_value_33; exception_tb = exception_keeper_tb_33; exception_lineno = exception_keeper_lineno_33; goto frame_exception_exit_1; } // End of try: try_end_13:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_10__bases ); Py_DECREF( tmp_class_creation_10__bases ); tmp_class_creation_10__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_10__class_decl_dict ); Py_DECREF( tmp_class_creation_10__class_decl_dict ); tmp_class_creation_10__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_10__metaclass ); Py_DECREF( tmp_class_creation_10__metaclass ); tmp_class_creation_10__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_10__prepared ); Py_DECREF( tmp_class_creation_10__prepared ); tmp_class_creation_10__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_94; PyObject *tmp_tuple_element_38; PyObject *tmp_mvar_value_12; tmp_mvar_value_12 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Formatter ); if (unlikely( tmp_mvar_value_12 == NULL )) { tmp_mvar_value_12 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Formatter ); } if ( tmp_mvar_value_12 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 158; goto try_except_handler_34; } tmp_tuple_element_38 = tmp_mvar_value_12; tmp_assign_source_94 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_38 ); PyTuple_SET_ITEM( tmp_assign_source_94, 0, tmp_tuple_element_38 ); assert( tmp_class_creation_11__bases_orig == NULL ); tmp_class_creation_11__bases_orig = tmp_assign_source_94; } { PyObject *tmp_assign_source_95; PyObject *tmp_dircall_arg1_11; CHECK_OBJECT( tmp_class_creation_11__bases_orig ); tmp_dircall_arg1_11 = tmp_class_creation_11__bases_orig; Py_INCREF( tmp_dircall_arg1_11 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_11}; tmp_assign_source_95 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_95 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_34; } assert( tmp_class_creation_11__bases == NULL ); tmp_class_creation_11__bases = tmp_assign_source_95; } { PyObject *tmp_assign_source_96; tmp_assign_source_96 = PyDict_New(); assert( tmp_class_creation_11__class_decl_dict == NULL ); tmp_class_creation_11__class_decl_dict = tmp_assign_source_96; } { PyObject *tmp_assign_source_97; PyObject *tmp_metaclass_name_11; nuitka_bool tmp_condition_result_68; PyObject *tmp_key_name_31; PyObject *tmp_dict_name_31; PyObject *tmp_dict_name_32; PyObject *tmp_key_name_32; nuitka_bool tmp_condition_result_69; int tmp_truth_name_11; PyObject *tmp_type_arg_21; PyObject *tmp_subscribed_name_12; PyObject *tmp_subscript_name_12; PyObject *tmp_bases_name_11; tmp_key_name_31 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_11__class_decl_dict ); tmp_dict_name_31 = tmp_class_creation_11__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_31, tmp_key_name_31 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_34; } tmp_condition_result_68 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_68 == NUITKA_BOOL_TRUE ) { goto condexpr_true_27; } else { goto condexpr_false_27; } condexpr_true_27:; CHECK_OBJECT( tmp_class_creation_11__class_decl_dict ); tmp_dict_name_32 = tmp_class_creation_11__class_decl_dict; tmp_key_name_32 = const_str_plain_metaclass; tmp_metaclass_name_11 = DICT_GET_ITEM( tmp_dict_name_32, tmp_key_name_32 ); if ( tmp_metaclass_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_34; } goto condexpr_end_27; condexpr_false_27:; CHECK_OBJECT( tmp_class_creation_11__bases ); tmp_truth_name_11 = CHECK_IF_TRUE( tmp_class_creation_11__bases ); if ( tmp_truth_name_11 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_34; } tmp_condition_result_69 = tmp_truth_name_11 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_69 == NUITKA_BOOL_TRUE ) { goto condexpr_true_28; } else { goto condexpr_false_28; } condexpr_true_28:; CHECK_OBJECT( tmp_class_creation_11__bases ); tmp_subscribed_name_12 = tmp_class_creation_11__bases; tmp_subscript_name_12 = const_int_0; tmp_type_arg_21 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_12, tmp_subscript_name_12, 0 ); if ( tmp_type_arg_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_34; } tmp_metaclass_name_11 = BUILTIN_TYPE1( tmp_type_arg_21 ); Py_DECREF( tmp_type_arg_21 ); if ( tmp_metaclass_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_34; } goto condexpr_end_28; condexpr_false_28:; tmp_metaclass_name_11 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_11 ); condexpr_end_28:; condexpr_end_27:; CHECK_OBJECT( tmp_class_creation_11__bases ); tmp_bases_name_11 = tmp_class_creation_11__bases; tmp_assign_source_97 = SELECT_METACLASS( tmp_metaclass_name_11, tmp_bases_name_11 ); Py_DECREF( tmp_metaclass_name_11 ); if ( tmp_assign_source_97 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_34; } assert( tmp_class_creation_11__metaclass == NULL ); tmp_class_creation_11__metaclass = tmp_assign_source_97; } { nuitka_bool tmp_condition_result_70; PyObject *tmp_key_name_33; PyObject *tmp_dict_name_33; tmp_key_name_33 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_11__class_decl_dict ); tmp_dict_name_33 = tmp_class_creation_11__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_33, tmp_key_name_33 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_34; } tmp_condition_result_70 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_70 == NUITKA_BOOL_TRUE ) { goto branch_yes_42; } else { goto branch_no_42; } branch_yes_42:; { CHECK_OBJECT( tmp_class_creation_11__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_11__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 = 158; goto try_except_handler_34; } } branch_no_42:; } { nuitka_bool tmp_condition_result_71; PyObject *tmp_source_name_44; CHECK_OBJECT( tmp_class_creation_11__metaclass ); tmp_source_name_44 = tmp_class_creation_11__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_44, const_str_plain___prepare__ ); tmp_condition_result_71 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_71 == NUITKA_BOOL_TRUE ) { goto branch_yes_43; } else { goto branch_no_43; } branch_yes_43:; { PyObject *tmp_assign_source_98; PyObject *tmp_called_name_28; PyObject *tmp_source_name_45; PyObject *tmp_args_name_21; PyObject *tmp_tuple_element_39; PyObject *tmp_kw_name_21; CHECK_OBJECT( tmp_class_creation_11__metaclass ); tmp_source_name_45 = tmp_class_creation_11__metaclass; tmp_called_name_28 = LOOKUP_ATTRIBUTE( tmp_source_name_45, const_str_plain___prepare__ ); if ( tmp_called_name_28 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_34; } tmp_tuple_element_39 = const_str_plain_HTMLXMLFormatter; tmp_args_name_21 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_39 ); PyTuple_SET_ITEM( tmp_args_name_21, 0, tmp_tuple_element_39 ); CHECK_OBJECT( tmp_class_creation_11__bases ); tmp_tuple_element_39 = tmp_class_creation_11__bases; Py_INCREF( tmp_tuple_element_39 ); PyTuple_SET_ITEM( tmp_args_name_21, 1, tmp_tuple_element_39 ); CHECK_OBJECT( tmp_class_creation_11__class_decl_dict ); tmp_kw_name_21 = tmp_class_creation_11__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 158; tmp_assign_source_98 = CALL_FUNCTION( tmp_called_name_28, tmp_args_name_21, tmp_kw_name_21 ); Py_DECREF( tmp_called_name_28 ); Py_DECREF( tmp_args_name_21 ); if ( tmp_assign_source_98 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_34; } assert( tmp_class_creation_11__prepared == NULL ); tmp_class_creation_11__prepared = tmp_assign_source_98; } { nuitka_bool tmp_condition_result_72; PyObject *tmp_operand_name_11; PyObject *tmp_source_name_46; CHECK_OBJECT( tmp_class_creation_11__prepared ); tmp_source_name_46 = tmp_class_creation_11__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_46, const_str_plain___getitem__ ); tmp_operand_name_11 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_11 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_34; } tmp_condition_result_72 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_72 == NUITKA_BOOL_TRUE ) { goto branch_yes_44; } else { goto branch_no_44; } branch_yes_44:; { PyObject *tmp_raise_type_11; PyObject *tmp_raise_value_11; PyObject *tmp_left_name_11; PyObject *tmp_right_name_11; PyObject *tmp_tuple_element_40; PyObject *tmp_getattr_target_11; PyObject *tmp_getattr_attr_11; PyObject *tmp_getattr_default_11; PyObject *tmp_source_name_47; PyObject *tmp_type_arg_22; tmp_raise_type_11 = PyExc_TypeError; tmp_left_name_11 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_11__metaclass ); tmp_getattr_target_11 = tmp_class_creation_11__metaclass; tmp_getattr_attr_11 = const_str_plain___name__; tmp_getattr_default_11 = const_str_angle_metaclass; tmp_tuple_element_40 = BUILTIN_GETATTR( tmp_getattr_target_11, tmp_getattr_attr_11, tmp_getattr_default_11 ); if ( tmp_tuple_element_40 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_34; } tmp_right_name_11 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_11, 0, tmp_tuple_element_40 ); CHECK_OBJECT( tmp_class_creation_11__prepared ); tmp_type_arg_22 = tmp_class_creation_11__prepared; tmp_source_name_47 = BUILTIN_TYPE1( tmp_type_arg_22 ); assert( !(tmp_source_name_47 == NULL) ); tmp_tuple_element_40 = LOOKUP_ATTRIBUTE( tmp_source_name_47, const_str_plain___name__ ); Py_DECREF( tmp_source_name_47 ); if ( tmp_tuple_element_40 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_11 ); exception_lineno = 158; goto try_except_handler_34; } PyTuple_SET_ITEM( tmp_right_name_11, 1, tmp_tuple_element_40 ); tmp_raise_value_11 = BINARY_OPERATION_REMAINDER( tmp_left_name_11, tmp_right_name_11 ); Py_DECREF( tmp_right_name_11 ); if ( tmp_raise_value_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_34; } exception_type = tmp_raise_type_11; Py_INCREF( tmp_raise_type_11 ); exception_value = tmp_raise_value_11; exception_lineno = 158; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_34; } branch_no_44:; } goto branch_end_43; branch_no_43:; { PyObject *tmp_assign_source_99; tmp_assign_source_99 = PyDict_New(); assert( tmp_class_creation_11__prepared == NULL ); tmp_class_creation_11__prepared = tmp_assign_source_99; } branch_end_43:; } { PyObject *tmp_assign_source_100; { PyObject *tmp_set_locals_11; CHECK_OBJECT( tmp_class_creation_11__prepared ); tmp_set_locals_11 = tmp_class_creation_11__prepared; locals_bs4$element_158 = tmp_set_locals_11; Py_INCREF( tmp_set_locals_11 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_158, 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 = 158; goto try_except_handler_36; } } { tmp_dictset_value = const_str_digest_c658d19634e753d4f72ac98fd801f3f1; tmp_res = PyObject_SetItem( locals_bs4$element_158, 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 = 158; goto try_except_handler_36; } } { tmp_dictset_value = const_str_plain_HTMLXMLFormatter; tmp_res = PyObject_SetItem( locals_bs4$element_158, 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 = 158; goto try_except_handler_36; } } MAKE_OR_REUSE_FRAME( cache_frame_11f961c432121b37f146972cf93e555e_11, codeobj_11f961c432121b37f146972cf93e555e, module_bs4$element, sizeof(void *) ); frame_11f961c432121b37f146972cf93e555e_11 = cache_frame_11f961c432121b37f146972cf93e555e_11; // Push the new frame as the currently active one. pushFrameStack( frame_11f961c432121b37f146972cf93e555e_11 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_11f961c432121b37f146972cf93e555e_11 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_14_substitute( ); tmp_res = PyObject_SetItem( locals_bs4$element_158, const_str_plain_substitute, 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 = 160; type_description_2 = "o"; goto frame_exception_exit_11; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_11f961c432121b37f146972cf93e555e_11 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_10; frame_exception_exit_11:; #if 0 RESTORE_FRAME_EXCEPTION( frame_11f961c432121b37f146972cf93e555e_11 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_11f961c432121b37f146972cf93e555e_11, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_11f961c432121b37f146972cf93e555e_11->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_11f961c432121b37f146972cf93e555e_11, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_11f961c432121b37f146972cf93e555e_11, type_description_2, outline_10_var___class__ ); // Release cached frame. if ( frame_11f961c432121b37f146972cf93e555e_11 == cache_frame_11f961c432121b37f146972cf93e555e_11 ) { Py_DECREF( frame_11f961c432121b37f146972cf93e555e_11 ); } cache_frame_11f961c432121b37f146972cf93e555e_11 = NULL; assertFrameObject( frame_11f961c432121b37f146972cf93e555e_11 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_10; frame_no_exception_10:; goto skip_nested_handling_10; nested_frame_exit_10:; goto try_except_handler_36; skip_nested_handling_10:; { nuitka_bool tmp_condition_result_73; PyObject *tmp_compexpr_left_13; PyObject *tmp_compexpr_right_13; CHECK_OBJECT( tmp_class_creation_11__bases ); tmp_compexpr_left_13 = tmp_class_creation_11__bases; CHECK_OBJECT( tmp_class_creation_11__bases_orig ); tmp_compexpr_right_13 = tmp_class_creation_11__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_13, tmp_compexpr_right_13 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_36; } tmp_condition_result_73 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_73 == NUITKA_BOOL_TRUE ) { goto branch_yes_45; } else { goto branch_no_45; } branch_yes_45:; { CHECK_OBJECT( tmp_class_creation_11__bases_orig ); tmp_dictset_value = tmp_class_creation_11__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_158, 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 = 158; goto try_except_handler_36; } } branch_no_45:; } { PyObject *tmp_assign_source_101; PyObject *tmp_called_name_29; PyObject *tmp_args_name_22; PyObject *tmp_tuple_element_41; PyObject *tmp_kw_name_22; CHECK_OBJECT( tmp_class_creation_11__metaclass ); tmp_called_name_29 = tmp_class_creation_11__metaclass; tmp_tuple_element_41 = const_str_plain_HTMLXMLFormatter; tmp_args_name_22 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_41 ); PyTuple_SET_ITEM( tmp_args_name_22, 0, tmp_tuple_element_41 ); CHECK_OBJECT( tmp_class_creation_11__bases ); tmp_tuple_element_41 = tmp_class_creation_11__bases; Py_INCREF( tmp_tuple_element_41 ); PyTuple_SET_ITEM( tmp_args_name_22, 1, tmp_tuple_element_41 ); tmp_tuple_element_41 = locals_bs4$element_158; Py_INCREF( tmp_tuple_element_41 ); PyTuple_SET_ITEM( tmp_args_name_22, 2, tmp_tuple_element_41 ); CHECK_OBJECT( tmp_class_creation_11__class_decl_dict ); tmp_kw_name_22 = tmp_class_creation_11__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 158; tmp_assign_source_101 = CALL_FUNCTION( tmp_called_name_29, tmp_args_name_22, tmp_kw_name_22 ); Py_DECREF( tmp_args_name_22 ); if ( tmp_assign_source_101 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 158; goto try_except_handler_36; } assert( outline_10_var___class__ == NULL ); outline_10_var___class__ = tmp_assign_source_101; } { CHECK_OBJECT( outline_10_var___class__ ); tmp_assign_source_100 = outline_10_var___class__; Py_INCREF( tmp_assign_source_100 ); goto try_return_handler_36; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_36:; { Py_DECREF( locals_bs4$element_158 ); locals_bs4$element_158 = NULL; } { goto try_return_handler_35; } // Exception handler code: try_except_handler_36:; exception_keeper_type_34 = exception_type; exception_keeper_value_34 = exception_value; exception_keeper_tb_34 = exception_tb; exception_keeper_lineno_34 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_158 ); locals_bs4$element_158 = NULL; } { // Re-raise. exception_type = exception_keeper_type_34; exception_value = exception_keeper_value_34; exception_tb = exception_keeper_tb_34; exception_lineno = exception_keeper_lineno_34; goto try_except_handler_35; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_35:; { CHECK_OBJECT( (PyObject *)outline_10_var___class__ ); Py_DECREF( outline_10_var___class__ ); outline_10_var___class__ = NULL; } { goto outline_result_11; } // Exception handler code: try_except_handler_35:; exception_keeper_type_35 = exception_type; exception_keeper_value_35 = exception_value; exception_keeper_tb_35 = exception_tb; exception_keeper_lineno_35 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_35; exception_value = exception_keeper_value_35; exception_tb = exception_keeper_tb_35; exception_lineno = exception_keeper_lineno_35; goto outline_exception_11; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_11:; exception_lineno = 158; goto try_except_handler_34; outline_result_11:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_HTMLXMLFormatter, tmp_assign_source_100 ); } goto try_end_14; // Exception handler code: try_except_handler_34:; exception_keeper_type_36 = exception_type; exception_keeper_value_36 = exception_value; exception_keeper_tb_36 = exception_tb; exception_keeper_lineno_36 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_11__bases ); tmp_class_creation_11__bases = NULL; } { Py_XDECREF( tmp_class_creation_11__class_decl_dict ); tmp_class_creation_11__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_11__metaclass ); tmp_class_creation_11__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_11__prepared ); tmp_class_creation_11__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_36; exception_value = exception_keeper_value_36; exception_tb = exception_keeper_tb_36; exception_lineno = exception_keeper_lineno_36; goto frame_exception_exit_1; } // End of try: try_end_14:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_11__bases ); Py_DECREF( tmp_class_creation_11__bases ); tmp_class_creation_11__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_11__class_decl_dict ); Py_DECREF( tmp_class_creation_11__class_decl_dict ); tmp_class_creation_11__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_11__metaclass ); Py_DECREF( tmp_class_creation_11__metaclass ); tmp_class_creation_11__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_11__prepared ); Py_DECREF( tmp_class_creation_11__prepared ); tmp_class_creation_11__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_102; PyObject *tmp_dircall_arg1_12; tmp_dircall_arg1_12 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_12 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_12}; tmp_assign_source_102 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_102 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_37; } assert( tmp_class_creation_12__bases == NULL ); tmp_class_creation_12__bases = tmp_assign_source_102; } { PyObject *tmp_assign_source_103; tmp_assign_source_103 = PyDict_New(); assert( tmp_class_creation_12__class_decl_dict == NULL ); tmp_class_creation_12__class_decl_dict = tmp_assign_source_103; } { PyObject *tmp_assign_source_104; PyObject *tmp_metaclass_name_12; nuitka_bool tmp_condition_result_74; PyObject *tmp_key_name_34; PyObject *tmp_dict_name_34; PyObject *tmp_dict_name_35; PyObject *tmp_key_name_35; nuitka_bool tmp_condition_result_75; int tmp_truth_name_12; PyObject *tmp_type_arg_23; PyObject *tmp_subscribed_name_13; PyObject *tmp_subscript_name_13; PyObject *tmp_bases_name_12; tmp_key_name_34 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_12__class_decl_dict ); tmp_dict_name_34 = tmp_class_creation_12__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_34, tmp_key_name_34 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_37; } tmp_condition_result_74 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_74 == NUITKA_BOOL_TRUE ) { goto condexpr_true_29; } else { goto condexpr_false_29; } condexpr_true_29:; CHECK_OBJECT( tmp_class_creation_12__class_decl_dict ); tmp_dict_name_35 = tmp_class_creation_12__class_decl_dict; tmp_key_name_35 = const_str_plain_metaclass; tmp_metaclass_name_12 = DICT_GET_ITEM( tmp_dict_name_35, tmp_key_name_35 ); if ( tmp_metaclass_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_37; } goto condexpr_end_29; condexpr_false_29:; CHECK_OBJECT( tmp_class_creation_12__bases ); tmp_truth_name_12 = CHECK_IF_TRUE( tmp_class_creation_12__bases ); if ( tmp_truth_name_12 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_37; } tmp_condition_result_75 = tmp_truth_name_12 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_75 == NUITKA_BOOL_TRUE ) { goto condexpr_true_30; } else { goto condexpr_false_30; } condexpr_true_30:; CHECK_OBJECT( tmp_class_creation_12__bases ); tmp_subscribed_name_13 = tmp_class_creation_12__bases; tmp_subscript_name_13 = const_int_0; tmp_type_arg_23 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_13, tmp_subscript_name_13, 0 ); if ( tmp_type_arg_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_37; } tmp_metaclass_name_12 = BUILTIN_TYPE1( tmp_type_arg_23 ); Py_DECREF( tmp_type_arg_23 ); if ( tmp_metaclass_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_37; } goto condexpr_end_30; condexpr_false_30:; tmp_metaclass_name_12 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_12 ); condexpr_end_30:; condexpr_end_29:; CHECK_OBJECT( tmp_class_creation_12__bases ); tmp_bases_name_12 = tmp_class_creation_12__bases; tmp_assign_source_104 = SELECT_METACLASS( tmp_metaclass_name_12, tmp_bases_name_12 ); Py_DECREF( tmp_metaclass_name_12 ); if ( tmp_assign_source_104 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_37; } assert( tmp_class_creation_12__metaclass == NULL ); tmp_class_creation_12__metaclass = tmp_assign_source_104; } { nuitka_bool tmp_condition_result_76; PyObject *tmp_key_name_36; PyObject *tmp_dict_name_36; tmp_key_name_36 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_12__class_decl_dict ); tmp_dict_name_36 = tmp_class_creation_12__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_36, tmp_key_name_36 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_37; } tmp_condition_result_76 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_76 == NUITKA_BOOL_TRUE ) { goto branch_yes_46; } else { goto branch_no_46; } branch_yes_46:; { CHECK_OBJECT( tmp_class_creation_12__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_12__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 = 164; goto try_except_handler_37; } } branch_no_46:; } { nuitka_bool tmp_condition_result_77; PyObject *tmp_source_name_48; CHECK_OBJECT( tmp_class_creation_12__metaclass ); tmp_source_name_48 = tmp_class_creation_12__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_48, const_str_plain___prepare__ ); tmp_condition_result_77 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_77 == NUITKA_BOOL_TRUE ) { goto branch_yes_47; } else { goto branch_no_47; } branch_yes_47:; { PyObject *tmp_assign_source_105; PyObject *tmp_called_name_30; PyObject *tmp_source_name_49; PyObject *tmp_args_name_23; PyObject *tmp_tuple_element_42; PyObject *tmp_kw_name_23; CHECK_OBJECT( tmp_class_creation_12__metaclass ); tmp_source_name_49 = tmp_class_creation_12__metaclass; tmp_called_name_30 = LOOKUP_ATTRIBUTE( tmp_source_name_49, const_str_plain___prepare__ ); if ( tmp_called_name_30 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_37; } tmp_tuple_element_42 = const_str_plain_PageElement; tmp_args_name_23 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_42 ); PyTuple_SET_ITEM( tmp_args_name_23, 0, tmp_tuple_element_42 ); CHECK_OBJECT( tmp_class_creation_12__bases ); tmp_tuple_element_42 = tmp_class_creation_12__bases; Py_INCREF( tmp_tuple_element_42 ); PyTuple_SET_ITEM( tmp_args_name_23, 1, tmp_tuple_element_42 ); CHECK_OBJECT( tmp_class_creation_12__class_decl_dict ); tmp_kw_name_23 = tmp_class_creation_12__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 164; tmp_assign_source_105 = CALL_FUNCTION( tmp_called_name_30, tmp_args_name_23, tmp_kw_name_23 ); Py_DECREF( tmp_called_name_30 ); Py_DECREF( tmp_args_name_23 ); if ( tmp_assign_source_105 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_37; } assert( tmp_class_creation_12__prepared == NULL ); tmp_class_creation_12__prepared = tmp_assign_source_105; } { nuitka_bool tmp_condition_result_78; PyObject *tmp_operand_name_12; PyObject *tmp_source_name_50; CHECK_OBJECT( tmp_class_creation_12__prepared ); tmp_source_name_50 = tmp_class_creation_12__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_50, const_str_plain___getitem__ ); tmp_operand_name_12 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_12 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_37; } tmp_condition_result_78 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_78 == NUITKA_BOOL_TRUE ) { goto branch_yes_48; } else { goto branch_no_48; } branch_yes_48:; { PyObject *tmp_raise_type_12; PyObject *tmp_raise_value_12; PyObject *tmp_left_name_12; PyObject *tmp_right_name_12; PyObject *tmp_tuple_element_43; PyObject *tmp_getattr_target_12; PyObject *tmp_getattr_attr_12; PyObject *tmp_getattr_default_12; PyObject *tmp_source_name_51; PyObject *tmp_type_arg_24; tmp_raise_type_12 = PyExc_TypeError; tmp_left_name_12 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_12__metaclass ); tmp_getattr_target_12 = tmp_class_creation_12__metaclass; tmp_getattr_attr_12 = const_str_plain___name__; tmp_getattr_default_12 = const_str_angle_metaclass; tmp_tuple_element_43 = BUILTIN_GETATTR( tmp_getattr_target_12, tmp_getattr_attr_12, tmp_getattr_default_12 ); if ( tmp_tuple_element_43 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_37; } tmp_right_name_12 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_12, 0, tmp_tuple_element_43 ); CHECK_OBJECT( tmp_class_creation_12__prepared ); tmp_type_arg_24 = tmp_class_creation_12__prepared; tmp_source_name_51 = BUILTIN_TYPE1( tmp_type_arg_24 ); assert( !(tmp_source_name_51 == NULL) ); tmp_tuple_element_43 = LOOKUP_ATTRIBUTE( tmp_source_name_51, const_str_plain___name__ ); Py_DECREF( tmp_source_name_51 ); if ( tmp_tuple_element_43 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_12 ); exception_lineno = 164; goto try_except_handler_37; } PyTuple_SET_ITEM( tmp_right_name_12, 1, tmp_tuple_element_43 ); tmp_raise_value_12 = BINARY_OPERATION_REMAINDER( tmp_left_name_12, tmp_right_name_12 ); Py_DECREF( tmp_right_name_12 ); if ( tmp_raise_value_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_37; } exception_type = tmp_raise_type_12; Py_INCREF( tmp_raise_type_12 ); exception_value = tmp_raise_value_12; exception_lineno = 164; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_37; } branch_no_48:; } goto branch_end_47; branch_no_47:; { PyObject *tmp_assign_source_106; tmp_assign_source_106 = PyDict_New(); assert( tmp_class_creation_12__prepared == NULL ); tmp_class_creation_12__prepared = tmp_assign_source_106; } branch_end_47:; } { PyObject *tmp_assign_source_107; { PyObject *tmp_set_locals_12; CHECK_OBJECT( tmp_class_creation_12__prepared ); tmp_set_locals_12 = tmp_class_creation_12__prepared; locals_bs4$element_164 = tmp_set_locals_12; Py_INCREF( tmp_set_locals_12 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_164, 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 = 164; goto try_except_handler_39; } } { tmp_dictset_value = const_str_digest_d73614277c6d61645b151d81f183d780; tmp_res = PyObject_SetItem( locals_bs4$element_164, 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 = 164; goto try_except_handler_39; } } { tmp_dictset_value = const_str_plain_PageElement; tmp_res = PyObject_SetItem( locals_bs4$element_164, 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 = 164; goto try_except_handler_39; } } MAKE_OR_REUSE_FRAME( cache_frame_25c9e71c122c4abb0d99ddaf8a3447f3_12, codeobj_25c9e71c122c4abb0d99ddaf8a3447f3, module_bs4$element, sizeof(void *) ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12 = cache_frame_25c9e71c122c4abb0d99ddaf8a3447f3_12; // Push the new frame as the currently active one. pushFrameStack( frame_25c9e71c122c4abb0d99ddaf8a3447f3_12 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_25c9e71c122c4abb0d99ddaf8a3447f3_12 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_called_name_31; PyObject *tmp_mvar_value_13; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_called_name_32; PyObject *tmp_mvar_value_14; PyObject *tmp_dict_key_3; PyObject *tmp_dict_value_3; PyObject *tmp_called_name_33; PyObject *tmp_mvar_value_15; PyObject *tmp_dict_key_4; PyObject *tmp_dict_value_4; tmp_dict_key_1 = const_str_plain_html; tmp_called_name_31 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_HTMLFormatter ); if ( tmp_called_name_31 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_13 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_HTMLFormatter ); if (unlikely( tmp_mvar_value_13 == NULL )) { tmp_mvar_value_13 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTMLFormatter ); } if ( tmp_mvar_value_13 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTMLFormatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 191; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_called_name_31 = tmp_mvar_value_13; Py_INCREF( tmp_called_name_31 ); } } frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 191; tmp_dict_value_1 = CALL_FUNCTION_NO_ARGS( tmp_called_name_31 ); Py_DECREF( tmp_called_name_31 ); if ( tmp_dict_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 191; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_dictset_value = _PyDict_NewPresized( 4 ); tmp_res = PyDict_SetItem( tmp_dictset_value, tmp_dict_key_1, tmp_dict_value_1 ); Py_DECREF( tmp_dict_value_1 ); assert( !(tmp_res != 0) ); tmp_dict_key_2 = const_str_plain_html5; tmp_called_name_32 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_HTML5Formatter ); if ( tmp_called_name_32 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_14 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_HTML5Formatter ); if (unlikely( tmp_mvar_value_14 == NULL )) { tmp_mvar_value_14 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTML5Formatter ); } if ( tmp_mvar_value_14 == NULL ) { Py_DECREF( tmp_dictset_value ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTML5Formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 192; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_called_name_32 = tmp_mvar_value_14; Py_INCREF( tmp_called_name_32 ); } } frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 192; tmp_dict_value_2 = CALL_FUNCTION_NO_ARGS( tmp_called_name_32 ); Py_DECREF( tmp_called_name_32 ); if ( tmp_dict_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dictset_value ); exception_lineno = 192; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyDict_SetItem( tmp_dictset_value, tmp_dict_key_2, tmp_dict_value_2 ); Py_DECREF( tmp_dict_value_2 ); assert( !(tmp_res != 0) ); tmp_dict_key_3 = const_str_plain_minimal; tmp_called_name_33 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_MinimalHTMLFormatter ); if ( tmp_called_name_33 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_15 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_MinimalHTMLFormatter ); if (unlikely( tmp_mvar_value_15 == NULL )) { tmp_mvar_value_15 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_MinimalHTMLFormatter ); } if ( tmp_mvar_value_15 == NULL ) { Py_DECREF( tmp_dictset_value ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "MinimalHTMLFormatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 193; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_called_name_33 = tmp_mvar_value_15; Py_INCREF( tmp_called_name_33 ); } } frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 193; tmp_dict_value_3 = CALL_FUNCTION_NO_ARGS( tmp_called_name_33 ); Py_DECREF( tmp_called_name_33 ); if ( tmp_dict_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dictset_value ); exception_lineno = 193; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyDict_SetItem( tmp_dictset_value, tmp_dict_key_3, tmp_dict_value_3 ); Py_DECREF( tmp_dict_value_3 ); assert( !(tmp_res != 0) ); tmp_dict_key_4 = Py_None; tmp_dict_value_4 = Py_None; tmp_res = PyDict_SetItem( tmp_dictset_value, tmp_dict_key_4, tmp_dict_value_4 ); assert( !(tmp_res != 0) ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_HTML_FORMATTERS, 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 = 190; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_dict_key_5; PyObject *tmp_dict_value_5; PyObject *tmp_called_name_34; PyObject *tmp_mvar_value_16; PyObject *tmp_dict_key_6; PyObject *tmp_dict_value_6; PyObject *tmp_called_name_35; PyObject *tmp_mvar_value_17; PyObject *tmp_dict_key_7; PyObject *tmp_dict_value_7; tmp_dict_key_5 = const_str_plain_html; tmp_called_name_34 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_HTMLXMLFormatter ); if ( tmp_called_name_34 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_16 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_HTMLXMLFormatter ); if (unlikely( tmp_mvar_value_16 == NULL )) { tmp_mvar_value_16 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTMLXMLFormatter ); } if ( tmp_mvar_value_16 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTMLXMLFormatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 198; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_called_name_34 = tmp_mvar_value_16; Py_INCREF( tmp_called_name_34 ); } } frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 198; tmp_dict_value_5 = CALL_FUNCTION_NO_ARGS( tmp_called_name_34 ); Py_DECREF( tmp_called_name_34 ); if ( tmp_dict_value_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 198; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_dictset_value = _PyDict_NewPresized( 3 ); tmp_res = PyDict_SetItem( tmp_dictset_value, tmp_dict_key_5, tmp_dict_value_5 ); Py_DECREF( tmp_dict_value_5 ); assert( !(tmp_res != 0) ); tmp_dict_key_6 = const_str_plain_minimal; tmp_called_name_35 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_XMLFormatter ); if ( tmp_called_name_35 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_17 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_XMLFormatter ); if (unlikely( tmp_mvar_value_17 == NULL )) { tmp_mvar_value_17 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_XMLFormatter ); } if ( tmp_mvar_value_17 == NULL ) { Py_DECREF( tmp_dictset_value ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "XMLFormatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 199; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_called_name_35 = tmp_mvar_value_17; Py_INCREF( tmp_called_name_35 ); } } frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 199; tmp_dict_value_6 = CALL_FUNCTION_NO_ARGS( tmp_called_name_35 ); Py_DECREF( tmp_called_name_35 ); if ( tmp_dict_value_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dictset_value ); exception_lineno = 199; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyDict_SetItem( tmp_dictset_value, tmp_dict_key_6, tmp_dict_value_6 ); Py_DECREF( tmp_dict_value_6 ); assert( !(tmp_res != 0) ); tmp_dict_key_7 = Py_None; tmp_dict_value_7 = Py_None; tmp_res = PyDict_SetItem( tmp_dictset_value, tmp_dict_key_7, tmp_dict_value_7 ); assert( !(tmp_res != 0) ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_XML_FORMATTERS, 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 = 197; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_2; tmp_defaults_2 = const_tuple_str_plain_minimal_tuple; Py_INCREF( tmp_defaults_2 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_15_format_string( tmp_defaults_2 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_format_string, 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 = 203; type_description_2 = "o"; goto frame_exception_exit_12; } } { nuitka_bool tmp_condition_result_79; PyObject *tmp_called_name_36; PyObject *tmp_args_element_name_6; PyObject *tmp_called_name_37; PyObject *tmp_args_element_name_7; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_164, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_condition_result_79 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_79 == NUITKA_BOOL_TRUE ) { goto condexpr_true_31; } else { goto condexpr_false_31; } condexpr_true_31:; tmp_called_name_36 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_property ); if ( tmp_called_name_36 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 217; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_called_name_36 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_args_element_name_6 = MAKE_FUNCTION_bs4$element$$$function_16__is_xml( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 217; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_36, call_args ); } Py_DECREF( tmp_called_name_36 ); Py_DECREF( tmp_args_element_name_6 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; type_description_2 = "o"; goto frame_exception_exit_12; } goto condexpr_end_31; condexpr_false_31:; tmp_called_name_37 = (PyObject *)&PyProperty_Type; tmp_args_element_name_7 = MAKE_FUNCTION_bs4$element$$$function_16__is_xml( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 217; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_37, call_args ); } Py_DECREF( tmp_args_element_name_7 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 217; type_description_2 = "o"; goto frame_exception_exit_12; } condexpr_end_31:; tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain__is_xml, 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 = 217; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_17__formatter_for_name( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain__formatter_for_name, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 241; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_3; tmp_defaults_3 = const_tuple_none_none_none_none_none_tuple; Py_INCREF( tmp_defaults_3 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_18_setup( tmp_defaults_3 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_setup, 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 = 248; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_called_name_38; PyObject *tmp_mvar_value_18; tmp_called_name_38 = PyObject_GetItem( locals_bs4$element_164, const_str_plain__alias ); if ( tmp_called_name_38 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_18 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain__alias ); if (unlikely( tmp_mvar_value_18 == NULL )) { tmp_mvar_value_18 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__alias ); } if ( tmp_mvar_value_18 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_alias" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 274; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_called_name_38 = tmp_mvar_value_18; Py_INCREF( tmp_called_name_38 ); } } frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 274; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_38, &PyTuple_GET_ITEM( const_tuple_str_plain_next_sibling_tuple, 0 ) ); Py_DECREF( tmp_called_name_38 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 274; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_nextSibling, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 274; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_called_name_39; PyObject *tmp_mvar_value_19; tmp_called_name_39 = PyObject_GetItem( locals_bs4$element_164, const_str_plain__alias ); if ( tmp_called_name_39 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_19 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain__alias ); if (unlikely( tmp_mvar_value_19 == NULL )) { tmp_mvar_value_19 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__alias ); } if ( tmp_mvar_value_19 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_alias" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 275; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_called_name_39 = tmp_mvar_value_19; Py_INCREF( tmp_called_name_39 ); } } frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 275; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_39, &PyTuple_GET_ITEM( const_tuple_str_plain_previous_sibling_tuple, 0 ) ); Py_DECREF( tmp_called_name_39 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 275; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_previousSibling, 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 = 275; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_19_replace_with( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_replace_with, 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 = 277; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_replace_with ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "replace_with" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 291; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 291; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_replaceWith, 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 = 291; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_20_unwrap( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_unwrap, 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 = 293; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_unwrap ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "unwrap" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 304; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 304; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_replace_with_children, 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 = 304; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_unwrap ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "unwrap" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 305; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 305; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_replaceWithChildren, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 305; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_21_wrap( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_wrap, 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 = 307; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_22_extract( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_extract, 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 = 312; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_4; tmp_defaults_4 = const_tuple_true_true_tuple; Py_INCREF( tmp_defaults_4 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_23__last_descendant( tmp_defaults_4 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain__last_descendant, 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 = 341; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain__last_descendant ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_last_descendant" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 353; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 353; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain__lastRecursiveChild, 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 = 353; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_24_insert( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_insert, 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 = 355; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_25_append( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_append, 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 = 429; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_26_insert_before( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_insert_before, 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 = 433; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_27_insert_after( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_insert_after, 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 = 452; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_5; PyObject *tmp_tuple_element_44; tmp_tuple_element_44 = Py_None; tmp_defaults_5 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_44 ); PyTuple_SET_ITEM( tmp_defaults_5, 0, tmp_tuple_element_44 ); tmp_tuple_element_44 = PyDict_New(); PyTuple_SET_ITEM( tmp_defaults_5, 1, tmp_tuple_element_44 ); tmp_tuple_element_44 = Py_None; Py_INCREF( tmp_tuple_element_44 ); PyTuple_SET_ITEM( tmp_defaults_5, 2, tmp_tuple_element_44 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_28_find_next( tmp_defaults_5 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_find_next, 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 = 471; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_find_next ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_next" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 475; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 475; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_findNext, 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 = 475; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_6; PyObject *tmp_tuple_element_45; tmp_tuple_element_45 = Py_None; tmp_defaults_6 = PyTuple_New( 4 ); Py_INCREF( tmp_tuple_element_45 ); PyTuple_SET_ITEM( tmp_defaults_6, 0, tmp_tuple_element_45 ); tmp_tuple_element_45 = PyDict_New(); PyTuple_SET_ITEM( tmp_defaults_6, 1, tmp_tuple_element_45 ); tmp_tuple_element_45 = Py_None; Py_INCREF( tmp_tuple_element_45 ); PyTuple_SET_ITEM( tmp_defaults_6, 2, tmp_tuple_element_45 ); tmp_tuple_element_45 = Py_None; Py_INCREF( tmp_tuple_element_45 ); PyTuple_SET_ITEM( tmp_defaults_6, 3, tmp_tuple_element_45 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_29_find_all_next( tmp_defaults_6 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_find_all_next, 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 = 477; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_find_all_next ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_all_next" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 483; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 483; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_findAllNext, 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 = 483; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_7; PyObject *tmp_tuple_element_46; tmp_tuple_element_46 = Py_None; tmp_defaults_7 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_46 ); PyTuple_SET_ITEM( tmp_defaults_7, 0, tmp_tuple_element_46 ); tmp_tuple_element_46 = PyDict_New(); PyTuple_SET_ITEM( tmp_defaults_7, 1, tmp_tuple_element_46 ); tmp_tuple_element_46 = Py_None; Py_INCREF( tmp_tuple_element_46 ); PyTuple_SET_ITEM( tmp_defaults_7, 2, tmp_tuple_element_46 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_30_find_next_sibling( tmp_defaults_7 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_find_next_sibling, 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 = 485; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_find_next_sibling ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_next_sibling" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 490; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 490; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_findNextSibling, 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 = 490; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_8; PyObject *tmp_tuple_element_47; tmp_tuple_element_47 = Py_None; tmp_defaults_8 = PyTuple_New( 4 ); Py_INCREF( tmp_tuple_element_47 ); PyTuple_SET_ITEM( tmp_defaults_8, 0, tmp_tuple_element_47 ); tmp_tuple_element_47 = PyDict_New(); PyTuple_SET_ITEM( tmp_defaults_8, 1, tmp_tuple_element_47 ); tmp_tuple_element_47 = Py_None; Py_INCREF( tmp_tuple_element_47 ); PyTuple_SET_ITEM( tmp_defaults_8, 2, tmp_tuple_element_47 ); tmp_tuple_element_47 = Py_None; Py_INCREF( tmp_tuple_element_47 ); PyTuple_SET_ITEM( tmp_defaults_8, 3, tmp_tuple_element_47 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_31_find_next_siblings( tmp_defaults_8 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_find_next_siblings, 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 = 492; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_find_next_siblings ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_next_siblings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 498; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 498; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_findNextSiblings, 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 = 498; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_find_next_siblings ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_next_siblings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 499; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 499; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_fetchNextSiblings, 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 = 499; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_9; PyObject *tmp_tuple_element_48; tmp_tuple_element_48 = Py_None; tmp_defaults_9 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_48 ); PyTuple_SET_ITEM( tmp_defaults_9, 0, tmp_tuple_element_48 ); tmp_tuple_element_48 = PyDict_New(); PyTuple_SET_ITEM( tmp_defaults_9, 1, tmp_tuple_element_48 ); tmp_tuple_element_48 = Py_None; Py_INCREF( tmp_tuple_element_48 ); PyTuple_SET_ITEM( tmp_defaults_9, 2, tmp_tuple_element_48 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_32_find_previous( tmp_defaults_9 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_find_previous, 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 = 501; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_find_previous ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_previous" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 506; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 506; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_findPrevious, 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 = 506; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_10; PyObject *tmp_tuple_element_49; tmp_tuple_element_49 = Py_None; tmp_defaults_10 = PyTuple_New( 4 ); Py_INCREF( tmp_tuple_element_49 ); PyTuple_SET_ITEM( tmp_defaults_10, 0, tmp_tuple_element_49 ); tmp_tuple_element_49 = PyDict_New(); PyTuple_SET_ITEM( tmp_defaults_10, 1, tmp_tuple_element_49 ); tmp_tuple_element_49 = Py_None; Py_INCREF( tmp_tuple_element_49 ); PyTuple_SET_ITEM( tmp_defaults_10, 2, tmp_tuple_element_49 ); tmp_tuple_element_49 = Py_None; Py_INCREF( tmp_tuple_element_49 ); PyTuple_SET_ITEM( tmp_defaults_10, 3, tmp_tuple_element_49 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_33_find_all_previous( tmp_defaults_10 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_find_all_previous, 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 = 508; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_find_all_previous ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_all_previous" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 514; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 514; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_findAllPrevious, 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 = 514; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_find_all_previous ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_all_previous" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 515; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 515; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_fetchPrevious, 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 = 515; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_11; PyObject *tmp_tuple_element_50; tmp_tuple_element_50 = Py_None; tmp_defaults_11 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_50 ); PyTuple_SET_ITEM( tmp_defaults_11, 0, tmp_tuple_element_50 ); tmp_tuple_element_50 = PyDict_New(); PyTuple_SET_ITEM( tmp_defaults_11, 1, tmp_tuple_element_50 ); tmp_tuple_element_50 = Py_None; Py_INCREF( tmp_tuple_element_50 ); PyTuple_SET_ITEM( tmp_defaults_11, 2, tmp_tuple_element_50 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_34_find_previous_sibling( tmp_defaults_11 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_find_previous_sibling, 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 = 517; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_find_previous_sibling ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_previous_sibling" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 522; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 522; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_findPreviousSibling, 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 = 522; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_12; PyObject *tmp_tuple_element_51; tmp_tuple_element_51 = Py_None; tmp_defaults_12 = PyTuple_New( 4 ); Py_INCREF( tmp_tuple_element_51 ); PyTuple_SET_ITEM( tmp_defaults_12, 0, tmp_tuple_element_51 ); tmp_tuple_element_51 = PyDict_New(); PyTuple_SET_ITEM( tmp_defaults_12, 1, tmp_tuple_element_51 ); tmp_tuple_element_51 = Py_None; Py_INCREF( tmp_tuple_element_51 ); PyTuple_SET_ITEM( tmp_defaults_12, 2, tmp_tuple_element_51 ); tmp_tuple_element_51 = Py_None; Py_INCREF( tmp_tuple_element_51 ); PyTuple_SET_ITEM( tmp_defaults_12, 3, tmp_tuple_element_51 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_35_find_previous_siblings( tmp_defaults_12 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_find_previous_siblings, 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 = 524; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_find_previous_siblings ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_previous_siblings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 530; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 530; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_findPreviousSiblings, 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 = 530; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_find_previous_siblings ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_previous_siblings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 531; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 531; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_fetchPreviousSiblings, 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 = 531; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_13; PyObject *tmp_tuple_element_52; tmp_tuple_element_52 = Py_None; tmp_defaults_13 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_52 ); PyTuple_SET_ITEM( tmp_defaults_13, 0, tmp_tuple_element_52 ); tmp_tuple_element_52 = PyDict_New(); PyTuple_SET_ITEM( tmp_defaults_13, 1, tmp_tuple_element_52 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_36_find_parent( tmp_defaults_13 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_find_parent, 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 = 533; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_find_parent ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_parent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 543; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 543; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_findParent, 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 = 543; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_14; PyObject *tmp_tuple_element_53; tmp_tuple_element_53 = Py_None; tmp_defaults_14 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_53 ); PyTuple_SET_ITEM( tmp_defaults_14, 0, tmp_tuple_element_53 ); tmp_tuple_element_53 = PyDict_New(); PyTuple_SET_ITEM( tmp_defaults_14, 1, tmp_tuple_element_53 ); tmp_tuple_element_53 = Py_None; Py_INCREF( tmp_tuple_element_53 ); PyTuple_SET_ITEM( tmp_defaults_14, 2, tmp_tuple_element_53 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_37_find_parents( tmp_defaults_14 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_find_parents, 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 = 545; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_find_parents ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_parents" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 551; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 551; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_findParents, 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 = 551; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_164, const_str_plain_find_parents ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_parents" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 552; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 552; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_fetchParents, 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 = 552; type_description_2 = "o"; goto frame_exception_exit_12; } } { nuitka_bool tmp_condition_result_80; PyObject *tmp_called_name_40; PyObject *tmp_args_element_name_8; PyObject *tmp_called_name_41; PyObject *tmp_args_element_name_9; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_164, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 554; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_condition_result_80 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_80 == NUITKA_BOOL_TRUE ) { goto condexpr_true_32; } else { goto condexpr_false_32; } condexpr_true_32:; tmp_called_name_40 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_property ); if ( tmp_called_name_40 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 554; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_called_name_40 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 554; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_args_element_name_8 = MAKE_FUNCTION_bs4$element$$$function_38_next( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 554; { PyObject *call_args[] = { tmp_args_element_name_8 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_40, call_args ); } Py_DECREF( tmp_called_name_40 ); Py_DECREF( tmp_args_element_name_8 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 554; type_description_2 = "o"; goto frame_exception_exit_12; } goto condexpr_end_32; condexpr_false_32:; tmp_called_name_41 = (PyObject *)&PyProperty_Type; tmp_args_element_name_9 = MAKE_FUNCTION_bs4$element$$$function_38_next( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 554; { PyObject *call_args[] = { tmp_args_element_name_9 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_41, call_args ); } Py_DECREF( tmp_args_element_name_9 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 554; type_description_2 = "o"; goto frame_exception_exit_12; } condexpr_end_32:; tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_next, 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 = 554; type_description_2 = "o"; goto frame_exception_exit_12; } } { nuitka_bool tmp_condition_result_81; PyObject *tmp_called_name_42; PyObject *tmp_args_element_name_10; PyObject *tmp_called_name_43; PyObject *tmp_args_element_name_11; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_164, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 558; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_condition_result_81 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_81 == NUITKA_BOOL_TRUE ) { goto condexpr_true_33; } else { goto condexpr_false_33; } condexpr_true_33:; tmp_called_name_42 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_property ); if ( tmp_called_name_42 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 558; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_called_name_42 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 558; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_args_element_name_10 = MAKE_FUNCTION_bs4$element$$$function_39_previous( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 558; { PyObject *call_args[] = { tmp_args_element_name_10 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_42, call_args ); } Py_DECREF( tmp_called_name_42 ); Py_DECREF( tmp_args_element_name_10 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 558; type_description_2 = "o"; goto frame_exception_exit_12; } goto condexpr_end_33; condexpr_false_33:; tmp_called_name_43 = (PyObject *)&PyProperty_Type; tmp_args_element_name_11 = MAKE_FUNCTION_bs4$element$$$function_39_previous( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 558; { PyObject *call_args[] = { tmp_args_element_name_11 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_43, call_args ); } Py_DECREF( tmp_args_element_name_11 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 558; type_description_2 = "o"; goto frame_exception_exit_12; } condexpr_end_33:; tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_previous, 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 = 558; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_40__find_one( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain__find_one, 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 = 564; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_41__find_all( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain__find_all, 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 = 571; type_description_2 = "o"; goto frame_exception_exit_12; } } { nuitka_bool tmp_condition_result_82; PyObject *tmp_called_name_44; PyObject *tmp_args_element_name_12; PyObject *tmp_called_name_45; PyObject *tmp_args_element_name_13; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_164, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 625; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_condition_result_82 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_82 == NUITKA_BOOL_TRUE ) { goto condexpr_true_34; } else { goto condexpr_false_34; } condexpr_true_34:; tmp_called_name_44 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_property ); if ( tmp_called_name_44 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 625; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_called_name_44 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 625; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_args_element_name_12 = MAKE_FUNCTION_bs4$element$$$function_42_next_elements( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 625; { PyObject *call_args[] = { tmp_args_element_name_12 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_44, call_args ); } Py_DECREF( tmp_called_name_44 ); Py_DECREF( tmp_args_element_name_12 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 625; type_description_2 = "o"; goto frame_exception_exit_12; } goto condexpr_end_34; condexpr_false_34:; tmp_called_name_45 = (PyObject *)&PyProperty_Type; tmp_args_element_name_13 = MAKE_FUNCTION_bs4$element$$$function_42_next_elements( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 625; { PyObject *call_args[] = { tmp_args_element_name_13 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_45, call_args ); } Py_DECREF( tmp_args_element_name_13 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 625; type_description_2 = "o"; goto frame_exception_exit_12; } condexpr_end_34:; tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_next_elements, 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 = 625; type_description_2 = "o"; goto frame_exception_exit_12; } } { nuitka_bool tmp_condition_result_83; PyObject *tmp_called_name_46; PyObject *tmp_args_element_name_14; PyObject *tmp_called_name_47; PyObject *tmp_args_element_name_15; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_164, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 632; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_condition_result_83 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_83 == NUITKA_BOOL_TRUE ) { goto condexpr_true_35; } else { goto condexpr_false_35; } condexpr_true_35:; tmp_called_name_46 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_property ); if ( tmp_called_name_46 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 632; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_called_name_46 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 632; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_args_element_name_14 = MAKE_FUNCTION_bs4$element$$$function_43_next_siblings( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 632; { PyObject *call_args[] = { tmp_args_element_name_14 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_46, call_args ); } Py_DECREF( tmp_called_name_46 ); Py_DECREF( tmp_args_element_name_14 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 632; type_description_2 = "o"; goto frame_exception_exit_12; } goto condexpr_end_35; condexpr_false_35:; tmp_called_name_47 = (PyObject *)&PyProperty_Type; tmp_args_element_name_15 = MAKE_FUNCTION_bs4$element$$$function_43_next_siblings( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 632; { PyObject *call_args[] = { tmp_args_element_name_15 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_47, call_args ); } Py_DECREF( tmp_args_element_name_15 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 632; type_description_2 = "o"; goto frame_exception_exit_12; } condexpr_end_35:; tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_next_siblings, 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 = 632; type_description_2 = "o"; goto frame_exception_exit_12; } } { nuitka_bool tmp_condition_result_84; PyObject *tmp_called_name_48; PyObject *tmp_args_element_name_16; PyObject *tmp_called_name_49; PyObject *tmp_args_element_name_17; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_164, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 639; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_condition_result_84 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_84 == NUITKA_BOOL_TRUE ) { goto condexpr_true_36; } else { goto condexpr_false_36; } condexpr_true_36:; tmp_called_name_48 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_property ); if ( tmp_called_name_48 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 639; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_called_name_48 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 639; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_args_element_name_16 = MAKE_FUNCTION_bs4$element$$$function_44_previous_elements( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 639; { PyObject *call_args[] = { tmp_args_element_name_16 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_48, call_args ); } Py_DECREF( tmp_called_name_48 ); Py_DECREF( tmp_args_element_name_16 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 639; type_description_2 = "o"; goto frame_exception_exit_12; } goto condexpr_end_36; condexpr_false_36:; tmp_called_name_49 = (PyObject *)&PyProperty_Type; tmp_args_element_name_17 = MAKE_FUNCTION_bs4$element$$$function_44_previous_elements( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 639; { PyObject *call_args[] = { tmp_args_element_name_17 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_49, call_args ); } Py_DECREF( tmp_args_element_name_17 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 639; type_description_2 = "o"; goto frame_exception_exit_12; } condexpr_end_36:; tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_previous_elements, 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 = 639; type_description_2 = "o"; goto frame_exception_exit_12; } } { nuitka_bool tmp_condition_result_85; PyObject *tmp_called_name_50; PyObject *tmp_args_element_name_18; PyObject *tmp_called_name_51; PyObject *tmp_args_element_name_19; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_164, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 646; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_condition_result_85 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_85 == NUITKA_BOOL_TRUE ) { goto condexpr_true_37; } else { goto condexpr_false_37; } condexpr_true_37:; tmp_called_name_50 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_property ); if ( tmp_called_name_50 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 646; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_called_name_50 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 646; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_args_element_name_18 = MAKE_FUNCTION_bs4$element$$$function_45_previous_siblings( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 646; { PyObject *call_args[] = { tmp_args_element_name_18 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_50, call_args ); } Py_DECREF( tmp_called_name_50 ); Py_DECREF( tmp_args_element_name_18 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 646; type_description_2 = "o"; goto frame_exception_exit_12; } goto condexpr_end_37; condexpr_false_37:; tmp_called_name_51 = (PyObject *)&PyProperty_Type; tmp_args_element_name_19 = MAKE_FUNCTION_bs4$element$$$function_45_previous_siblings( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 646; { PyObject *call_args[] = { tmp_args_element_name_19 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_51, call_args ); } Py_DECREF( tmp_args_element_name_19 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 646; type_description_2 = "o"; goto frame_exception_exit_12; } condexpr_end_37:; tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_previous_siblings, 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 = 646; type_description_2 = "o"; goto frame_exception_exit_12; } } { nuitka_bool tmp_condition_result_86; PyObject *tmp_called_name_52; PyObject *tmp_args_element_name_20; PyObject *tmp_called_name_53; PyObject *tmp_args_element_name_21; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_164, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 653; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_condition_result_86 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_86 == NUITKA_BOOL_TRUE ) { goto condexpr_true_38; } else { goto condexpr_false_38; } condexpr_true_38:; tmp_called_name_52 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_property ); if ( tmp_called_name_52 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 653; type_description_2 = "o"; goto frame_exception_exit_12; } if ( tmp_called_name_52 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 653; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_args_element_name_20 = MAKE_FUNCTION_bs4$element$$$function_46_parents( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 653; { PyObject *call_args[] = { tmp_args_element_name_20 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_52, call_args ); } Py_DECREF( tmp_called_name_52 ); Py_DECREF( tmp_args_element_name_20 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 653; type_description_2 = "o"; goto frame_exception_exit_12; } goto condexpr_end_38; condexpr_false_38:; tmp_called_name_53 = (PyObject *)&PyProperty_Type; tmp_args_element_name_21 = MAKE_FUNCTION_bs4$element$$$function_46_parents( ); frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 653; { PyObject *call_args[] = { tmp_args_element_name_21 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_53, call_args ); } Py_DECREF( tmp_args_element_name_21 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 653; type_description_2 = "o"; goto frame_exception_exit_12; } condexpr_end_38:; tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_parents, 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 = 653; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_called_instance_2; PyObject *tmp_mvar_value_20; tmp_called_instance_2 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_re ); if ( tmp_called_instance_2 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_20 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_20 == NULL )) { tmp_mvar_value_20 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_20 == 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 = 662; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_called_instance_2 = tmp_mvar_value_20; Py_INCREF( tmp_called_instance_2 ); } } frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 662; tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_compile, &PyTuple_GET_ITEM( const_tuple_str_digest_7c6d7180e60db13c76eddb566f38b2ce_tuple, 0 ) ); Py_DECREF( tmp_called_instance_2 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 662; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_tag_name_re, 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 = 662; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_called_instance_3; PyObject *tmp_mvar_value_21; tmp_called_instance_3 = PyObject_GetItem( locals_bs4$element_164, const_str_plain_re ); if ( tmp_called_instance_3 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_21 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_21 == NULL )) { tmp_mvar_value_21 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_21 == 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 = 671; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_called_instance_3 = tmp_mvar_value_21; Py_INCREF( tmp_called_instance_3 ); } } frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame.f_lineno = 671; tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_compile, &PyTuple_GET_ITEM( const_tuple_str_digest_8aa5a0d5f0fc8b5f6a0315fafb94db3e_tuple, 0 ) ); Py_DECREF( tmp_called_instance_3 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 671; type_description_2 = "o"; goto frame_exception_exit_12; } tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_attribselect_re, 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 = 671; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_15; tmp_defaults_15 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_15 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_47__attr_value_as_string( tmp_defaults_15 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain__attr_value_as_string, 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 = 676; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_48__tag_name_matches_and( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain__tag_name_matches_and, 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 = 687; type_description_2 = "o"; goto frame_exception_exit_12; } } { PyObject *tmp_defaults_16; tmp_defaults_16 = const_tuple_str_empty_tuple; Py_INCREF( tmp_defaults_16 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_49__attribute_checker( tmp_defaults_16 ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain__attribute_checker, 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 = 695; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_50_nextGenerator( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_nextGenerator, 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 = 738; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_51_nextSiblingGenerator( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_nextSiblingGenerator, 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 = 741; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_52_previousGenerator( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_previousGenerator, 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 = 744; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_53_previousSiblingGenerator( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_previousSiblingGenerator, 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 = 747; type_description_2 = "o"; goto frame_exception_exit_12; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_54_parentGenerator( ); tmp_res = PyObject_SetItem( locals_bs4$element_164, const_str_plain_parentGenerator, 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 = 750; type_description_2 = "o"; goto frame_exception_exit_12; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_25c9e71c122c4abb0d99ddaf8a3447f3_12 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_11; frame_exception_exit_12:; #if 0 RESTORE_FRAME_EXCEPTION( frame_25c9e71c122c4abb0d99ddaf8a3447f3_12 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_25c9e71c122c4abb0d99ddaf8a3447f3_12, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_25c9e71c122c4abb0d99ddaf8a3447f3_12->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_25c9e71c122c4abb0d99ddaf8a3447f3_12, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_25c9e71c122c4abb0d99ddaf8a3447f3_12, type_description_2, outline_11_var___class__ ); // Release cached frame. if ( frame_25c9e71c122c4abb0d99ddaf8a3447f3_12 == cache_frame_25c9e71c122c4abb0d99ddaf8a3447f3_12 ) { Py_DECREF( frame_25c9e71c122c4abb0d99ddaf8a3447f3_12 ); } cache_frame_25c9e71c122c4abb0d99ddaf8a3447f3_12 = NULL; assertFrameObject( frame_25c9e71c122c4abb0d99ddaf8a3447f3_12 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_11; frame_no_exception_11:; goto skip_nested_handling_11; nested_frame_exit_11:; goto try_except_handler_39; skip_nested_handling_11:; { nuitka_bool tmp_condition_result_87; PyObject *tmp_compexpr_left_14; PyObject *tmp_compexpr_right_14; CHECK_OBJECT( tmp_class_creation_12__bases ); tmp_compexpr_left_14 = tmp_class_creation_12__bases; tmp_compexpr_right_14 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_14, tmp_compexpr_right_14 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_39; } tmp_condition_result_87 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_87 == NUITKA_BOOL_TRUE ) { goto branch_yes_49; } else { goto branch_no_49; } branch_yes_49:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_bs4$element_164, 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 = 164; goto try_except_handler_39; } } branch_no_49:; } { PyObject *tmp_assign_source_108; PyObject *tmp_called_name_54; PyObject *tmp_args_name_24; PyObject *tmp_tuple_element_54; PyObject *tmp_kw_name_24; CHECK_OBJECT( tmp_class_creation_12__metaclass ); tmp_called_name_54 = tmp_class_creation_12__metaclass; tmp_tuple_element_54 = const_str_plain_PageElement; tmp_args_name_24 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_54 ); PyTuple_SET_ITEM( tmp_args_name_24, 0, tmp_tuple_element_54 ); CHECK_OBJECT( tmp_class_creation_12__bases ); tmp_tuple_element_54 = tmp_class_creation_12__bases; Py_INCREF( tmp_tuple_element_54 ); PyTuple_SET_ITEM( tmp_args_name_24, 1, tmp_tuple_element_54 ); tmp_tuple_element_54 = locals_bs4$element_164; Py_INCREF( tmp_tuple_element_54 ); PyTuple_SET_ITEM( tmp_args_name_24, 2, tmp_tuple_element_54 ); CHECK_OBJECT( tmp_class_creation_12__class_decl_dict ); tmp_kw_name_24 = tmp_class_creation_12__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 164; tmp_assign_source_108 = CALL_FUNCTION( tmp_called_name_54, tmp_args_name_24, tmp_kw_name_24 ); Py_DECREF( tmp_args_name_24 ); if ( tmp_assign_source_108 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 164; goto try_except_handler_39; } assert( outline_11_var___class__ == NULL ); outline_11_var___class__ = tmp_assign_source_108; } { CHECK_OBJECT( outline_11_var___class__ ); tmp_assign_source_107 = outline_11_var___class__; Py_INCREF( tmp_assign_source_107 ); goto try_return_handler_39; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_39:; { Py_DECREF( locals_bs4$element_164 ); locals_bs4$element_164 = NULL; } { goto try_return_handler_38; } // Exception handler code: try_except_handler_39:; exception_keeper_type_37 = exception_type; exception_keeper_value_37 = exception_value; exception_keeper_tb_37 = exception_tb; exception_keeper_lineno_37 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_164 ); locals_bs4$element_164 = NULL; } { // Re-raise. exception_type = exception_keeper_type_37; exception_value = exception_keeper_value_37; exception_tb = exception_keeper_tb_37; exception_lineno = exception_keeper_lineno_37; goto try_except_handler_38; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_38:; { CHECK_OBJECT( (PyObject *)outline_11_var___class__ ); Py_DECREF( outline_11_var___class__ ); outline_11_var___class__ = NULL; } { goto outline_result_12; } // Exception handler code: try_except_handler_38:; exception_keeper_type_38 = exception_type; exception_keeper_value_38 = exception_value; exception_keeper_tb_38 = exception_tb; exception_keeper_lineno_38 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_38; exception_value = exception_keeper_value_38; exception_tb = exception_keeper_tb_38; exception_lineno = exception_keeper_lineno_38; goto outline_exception_12; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_12:; exception_lineno = 164; goto try_except_handler_37; outline_result_12:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PageElement, tmp_assign_source_107 ); } goto try_end_15; // Exception handler code: try_except_handler_37:; exception_keeper_type_39 = exception_type; exception_keeper_value_39 = exception_value; exception_keeper_tb_39 = exception_tb; exception_keeper_lineno_39 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_12__bases ); tmp_class_creation_12__bases = NULL; } { Py_XDECREF( tmp_class_creation_12__class_decl_dict ); tmp_class_creation_12__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_12__metaclass ); tmp_class_creation_12__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_12__prepared ); tmp_class_creation_12__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_39; exception_value = exception_keeper_value_39; exception_tb = exception_keeper_tb_39; exception_lineno = exception_keeper_lineno_39; goto frame_exception_exit_1; } // End of try: try_end_15:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_12__bases ); Py_DECREF( tmp_class_creation_12__bases ); tmp_class_creation_12__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_12__class_decl_dict ); Py_DECREF( tmp_class_creation_12__class_decl_dict ); tmp_class_creation_12__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_12__metaclass ); Py_DECREF( tmp_class_creation_12__metaclass ); tmp_class_creation_12__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_12__prepared ); Py_DECREF( tmp_class_creation_12__prepared ); tmp_class_creation_12__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_109; PyObject *tmp_tuple_element_55; PyObject *tmp_mvar_value_22; tmp_tuple_element_55 = (PyObject *)&PyUnicode_Type; tmp_assign_source_109 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_55 ); PyTuple_SET_ITEM( tmp_assign_source_109, 0, tmp_tuple_element_55 ); tmp_mvar_value_22 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PageElement ); if (unlikely( tmp_mvar_value_22 == NULL )) { tmp_mvar_value_22 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PageElement ); } if ( tmp_mvar_value_22 == NULL ) { Py_DECREF( tmp_assign_source_109 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PageElement" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 754; goto try_except_handler_40; } tmp_tuple_element_55 = tmp_mvar_value_22; Py_INCREF( tmp_tuple_element_55 ); PyTuple_SET_ITEM( tmp_assign_source_109, 1, tmp_tuple_element_55 ); assert( tmp_class_creation_13__bases_orig == NULL ); tmp_class_creation_13__bases_orig = tmp_assign_source_109; } { PyObject *tmp_assign_source_110; PyObject *tmp_dircall_arg1_13; CHECK_OBJECT( tmp_class_creation_13__bases_orig ); tmp_dircall_arg1_13 = tmp_class_creation_13__bases_orig; Py_INCREF( tmp_dircall_arg1_13 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_13}; tmp_assign_source_110 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_110 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_40; } assert( tmp_class_creation_13__bases == NULL ); tmp_class_creation_13__bases = tmp_assign_source_110; } { PyObject *tmp_assign_source_111; tmp_assign_source_111 = PyDict_New(); assert( tmp_class_creation_13__class_decl_dict == NULL ); tmp_class_creation_13__class_decl_dict = tmp_assign_source_111; } { PyObject *tmp_assign_source_112; PyObject *tmp_metaclass_name_13; nuitka_bool tmp_condition_result_88; PyObject *tmp_key_name_37; PyObject *tmp_dict_name_37; PyObject *tmp_dict_name_38; PyObject *tmp_key_name_38; nuitka_bool tmp_condition_result_89; int tmp_truth_name_13; PyObject *tmp_type_arg_25; PyObject *tmp_subscribed_name_14; PyObject *tmp_subscript_name_14; PyObject *tmp_bases_name_13; tmp_key_name_37 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_13__class_decl_dict ); tmp_dict_name_37 = tmp_class_creation_13__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_37, tmp_key_name_37 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_40; } tmp_condition_result_88 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_88 == NUITKA_BOOL_TRUE ) { goto condexpr_true_39; } else { goto condexpr_false_39; } condexpr_true_39:; CHECK_OBJECT( tmp_class_creation_13__class_decl_dict ); tmp_dict_name_38 = tmp_class_creation_13__class_decl_dict; tmp_key_name_38 = const_str_plain_metaclass; tmp_metaclass_name_13 = DICT_GET_ITEM( tmp_dict_name_38, tmp_key_name_38 ); if ( tmp_metaclass_name_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_40; } goto condexpr_end_39; condexpr_false_39:; CHECK_OBJECT( tmp_class_creation_13__bases ); tmp_truth_name_13 = CHECK_IF_TRUE( tmp_class_creation_13__bases ); if ( tmp_truth_name_13 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_40; } tmp_condition_result_89 = tmp_truth_name_13 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_89 == NUITKA_BOOL_TRUE ) { goto condexpr_true_40; } else { goto condexpr_false_40; } condexpr_true_40:; CHECK_OBJECT( tmp_class_creation_13__bases ); tmp_subscribed_name_14 = tmp_class_creation_13__bases; tmp_subscript_name_14 = const_int_0; tmp_type_arg_25 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_14, tmp_subscript_name_14, 0 ); if ( tmp_type_arg_25 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_40; } tmp_metaclass_name_13 = BUILTIN_TYPE1( tmp_type_arg_25 ); Py_DECREF( tmp_type_arg_25 ); if ( tmp_metaclass_name_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_40; } goto condexpr_end_40; condexpr_false_40:; tmp_metaclass_name_13 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_13 ); condexpr_end_40:; condexpr_end_39:; CHECK_OBJECT( tmp_class_creation_13__bases ); tmp_bases_name_13 = tmp_class_creation_13__bases; tmp_assign_source_112 = SELECT_METACLASS( tmp_metaclass_name_13, tmp_bases_name_13 ); Py_DECREF( tmp_metaclass_name_13 ); if ( tmp_assign_source_112 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_40; } assert( tmp_class_creation_13__metaclass == NULL ); tmp_class_creation_13__metaclass = tmp_assign_source_112; } { nuitka_bool tmp_condition_result_90; PyObject *tmp_key_name_39; PyObject *tmp_dict_name_39; tmp_key_name_39 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_13__class_decl_dict ); tmp_dict_name_39 = tmp_class_creation_13__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_39, tmp_key_name_39 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_40; } tmp_condition_result_90 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_90 == NUITKA_BOOL_TRUE ) { goto branch_yes_50; } else { goto branch_no_50; } branch_yes_50:; { CHECK_OBJECT( tmp_class_creation_13__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_13__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 = 754; goto try_except_handler_40; } } branch_no_50:; } { nuitka_bool tmp_condition_result_91; PyObject *tmp_source_name_52; CHECK_OBJECT( tmp_class_creation_13__metaclass ); tmp_source_name_52 = tmp_class_creation_13__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_52, const_str_plain___prepare__ ); tmp_condition_result_91 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_91 == NUITKA_BOOL_TRUE ) { goto branch_yes_51; } else { goto branch_no_51; } branch_yes_51:; { PyObject *tmp_assign_source_113; PyObject *tmp_called_name_55; PyObject *tmp_source_name_53; PyObject *tmp_args_name_25; PyObject *tmp_tuple_element_56; PyObject *tmp_kw_name_25; CHECK_OBJECT( tmp_class_creation_13__metaclass ); tmp_source_name_53 = tmp_class_creation_13__metaclass; tmp_called_name_55 = LOOKUP_ATTRIBUTE( tmp_source_name_53, const_str_plain___prepare__ ); if ( tmp_called_name_55 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_40; } tmp_tuple_element_56 = const_str_plain_NavigableString; tmp_args_name_25 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_56 ); PyTuple_SET_ITEM( tmp_args_name_25, 0, tmp_tuple_element_56 ); CHECK_OBJECT( tmp_class_creation_13__bases ); tmp_tuple_element_56 = tmp_class_creation_13__bases; Py_INCREF( tmp_tuple_element_56 ); PyTuple_SET_ITEM( tmp_args_name_25, 1, tmp_tuple_element_56 ); CHECK_OBJECT( tmp_class_creation_13__class_decl_dict ); tmp_kw_name_25 = tmp_class_creation_13__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 754; tmp_assign_source_113 = CALL_FUNCTION( tmp_called_name_55, tmp_args_name_25, tmp_kw_name_25 ); Py_DECREF( tmp_called_name_55 ); Py_DECREF( tmp_args_name_25 ); if ( tmp_assign_source_113 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_40; } assert( tmp_class_creation_13__prepared == NULL ); tmp_class_creation_13__prepared = tmp_assign_source_113; } { nuitka_bool tmp_condition_result_92; PyObject *tmp_operand_name_13; PyObject *tmp_source_name_54; CHECK_OBJECT( tmp_class_creation_13__prepared ); tmp_source_name_54 = tmp_class_creation_13__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_54, const_str_plain___getitem__ ); tmp_operand_name_13 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_13 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_40; } tmp_condition_result_92 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_92 == NUITKA_BOOL_TRUE ) { goto branch_yes_52; } else { goto branch_no_52; } branch_yes_52:; { PyObject *tmp_raise_type_13; PyObject *tmp_raise_value_13; PyObject *tmp_left_name_13; PyObject *tmp_right_name_13; PyObject *tmp_tuple_element_57; PyObject *tmp_getattr_target_13; PyObject *tmp_getattr_attr_13; PyObject *tmp_getattr_default_13; PyObject *tmp_source_name_55; PyObject *tmp_type_arg_26; tmp_raise_type_13 = PyExc_TypeError; tmp_left_name_13 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_13__metaclass ); tmp_getattr_target_13 = tmp_class_creation_13__metaclass; tmp_getattr_attr_13 = const_str_plain___name__; tmp_getattr_default_13 = const_str_angle_metaclass; tmp_tuple_element_57 = BUILTIN_GETATTR( tmp_getattr_target_13, tmp_getattr_attr_13, tmp_getattr_default_13 ); if ( tmp_tuple_element_57 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_40; } tmp_right_name_13 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_13, 0, tmp_tuple_element_57 ); CHECK_OBJECT( tmp_class_creation_13__prepared ); tmp_type_arg_26 = tmp_class_creation_13__prepared; tmp_source_name_55 = BUILTIN_TYPE1( tmp_type_arg_26 ); assert( !(tmp_source_name_55 == NULL) ); tmp_tuple_element_57 = LOOKUP_ATTRIBUTE( tmp_source_name_55, const_str_plain___name__ ); Py_DECREF( tmp_source_name_55 ); if ( tmp_tuple_element_57 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_13 ); exception_lineno = 754; goto try_except_handler_40; } PyTuple_SET_ITEM( tmp_right_name_13, 1, tmp_tuple_element_57 ); tmp_raise_value_13 = BINARY_OPERATION_REMAINDER( tmp_left_name_13, tmp_right_name_13 ); Py_DECREF( tmp_right_name_13 ); if ( tmp_raise_value_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_40; } exception_type = tmp_raise_type_13; Py_INCREF( tmp_raise_type_13 ); exception_value = tmp_raise_value_13; exception_lineno = 754; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_40; } branch_no_52:; } goto branch_end_51; branch_no_51:; { PyObject *tmp_assign_source_114; tmp_assign_source_114 = PyDict_New(); assert( tmp_class_creation_13__prepared == NULL ); tmp_class_creation_13__prepared = tmp_assign_source_114; } branch_end_51:; } { PyObject *tmp_assign_source_115; { PyObject *tmp_set_locals_13; CHECK_OBJECT( tmp_class_creation_13__prepared ); tmp_set_locals_13 = tmp_class_creation_13__prepared; locals_bs4$element_754 = tmp_set_locals_13; Py_INCREF( tmp_set_locals_13 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_754, 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 = 754; goto try_except_handler_42; } } { tmp_dictset_value = const_str_plain_NavigableString; tmp_res = PyObject_SetItem( locals_bs4$element_754, 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 = 754; goto try_except_handler_42; } } MAKE_OR_REUSE_FRAME( cache_frame_e7bb2589135598a74075d2595b06b927_13, codeobj_e7bb2589135598a74075d2595b06b927, module_bs4$element, sizeof(void *) ); frame_e7bb2589135598a74075d2595b06b927_13 = cache_frame_e7bb2589135598a74075d2595b06b927_13; // Push the new frame as the currently active one. pushFrameStack( frame_e7bb2589135598a74075d2595b06b927_13 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e7bb2589135598a74075d2595b06b927_13 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_str_empty; tmp_res = PyObject_SetItem( locals_bs4$element_754, const_str_plain_PREFIX, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 756; type_description_2 = "o"; goto frame_exception_exit_13; } } { tmp_dictset_value = const_str_empty; tmp_res = PyObject_SetItem( locals_bs4$element_754, const_str_plain_SUFFIX, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 757; type_description_2 = "o"; goto frame_exception_exit_13; } } { tmp_dictset_value = Py_None; tmp_res = PyObject_SetItem( locals_bs4$element_754, const_str_plain_known_xml, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 762; type_description_2 = "o"; goto frame_exception_exit_13; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_55___new__( ); tmp_res = PyObject_SetItem( locals_bs4$element_754, const_str_plain___new__, 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 = 764; type_description_2 = "o"; goto frame_exception_exit_13; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_56___copy__( ); tmp_res = PyObject_SetItem( locals_bs4$element_754, const_str_plain___copy__, 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 = 779; type_description_2 = "o"; goto frame_exception_exit_13; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_57___getnewargs__( ); tmp_res = PyObject_SetItem( locals_bs4$element_754, const_str_plain___getnewargs__, 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 = 785; type_description_2 = "o"; goto frame_exception_exit_13; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_58___getattr__( ); tmp_res = PyObject_SetItem( locals_bs4$element_754, const_str_plain___getattr__, 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 = 788; type_description_2 = "o"; goto frame_exception_exit_13; } } { PyObject *tmp_defaults_17; tmp_defaults_17 = const_tuple_str_plain_minimal_tuple; Py_INCREF( tmp_defaults_17 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_59_output_ready( tmp_defaults_17 ); tmp_res = PyObject_SetItem( locals_bs4$element_754, const_str_plain_output_ready, 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 = 799; type_description_2 = "o"; goto frame_exception_exit_13; } } { nuitka_bool tmp_condition_result_93; PyObject *tmp_called_name_56; PyObject *tmp_args_element_name_22; PyObject *tmp_called_name_57; PyObject *tmp_args_element_name_23; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_754, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 803; type_description_2 = "o"; goto frame_exception_exit_13; } tmp_condition_result_93 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_93 == NUITKA_BOOL_TRUE ) { goto condexpr_true_41; } else { goto condexpr_false_41; } condexpr_true_41:; tmp_called_name_56 = PyObject_GetItem( locals_bs4$element_754, const_str_plain_property ); if ( tmp_called_name_56 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 803; type_description_2 = "o"; goto frame_exception_exit_13; } if ( tmp_called_name_56 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 803; type_description_2 = "o"; goto frame_exception_exit_13; } tmp_args_element_name_22 = MAKE_FUNCTION_bs4$element$$$function_60_name( ); frame_e7bb2589135598a74075d2595b06b927_13->m_frame.f_lineno = 803; { PyObject *call_args[] = { tmp_args_element_name_22 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_56, call_args ); } Py_DECREF( tmp_called_name_56 ); Py_DECREF( tmp_args_element_name_22 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 803; type_description_2 = "o"; goto frame_exception_exit_13; } goto condexpr_end_41; condexpr_false_41:; tmp_called_name_57 = (PyObject *)&PyProperty_Type; tmp_args_element_name_23 = MAKE_FUNCTION_bs4$element$$$function_60_name( ); frame_e7bb2589135598a74075d2595b06b927_13->m_frame.f_lineno = 803; { PyObject *call_args[] = { tmp_args_element_name_23 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_57, call_args ); } Py_DECREF( tmp_args_element_name_23 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 803; type_description_2 = "o"; goto frame_exception_exit_13; } condexpr_end_41:; tmp_res = PyObject_SetItem( locals_bs4$element_754, const_str_plain_name, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 803; type_description_2 = "o"; goto frame_exception_exit_13; } } { PyObject *tmp_called_instance_4; PyObject *tmp_args_element_name_24; tmp_called_instance_4 = PyObject_GetItem( locals_bs4$element_754, const_str_plain_name ); if ( tmp_called_instance_4 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 807; type_description_2 = "o"; goto frame_exception_exit_13; } if ( tmp_called_instance_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 807; type_description_2 = "o"; goto frame_exception_exit_13; } tmp_args_element_name_24 = MAKE_FUNCTION_bs4$element$$$function_61_name( ); frame_e7bb2589135598a74075d2595b06b927_13->m_frame.f_lineno = 807; { PyObject *call_args[] = { tmp_args_element_name_24 }; tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, const_str_plain_setter, call_args ); } Py_DECREF( tmp_called_instance_4 ); Py_DECREF( tmp_args_element_name_24 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 807; type_description_2 = "o"; goto frame_exception_exit_13; } tmp_res = PyObject_SetItem( locals_bs4$element_754, const_str_plain_name, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 807; type_description_2 = "o"; goto frame_exception_exit_13; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_e7bb2589135598a74075d2595b06b927_13 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_12; frame_exception_exit_13:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e7bb2589135598a74075d2595b06b927_13 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e7bb2589135598a74075d2595b06b927_13, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e7bb2589135598a74075d2595b06b927_13->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e7bb2589135598a74075d2595b06b927_13, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e7bb2589135598a74075d2595b06b927_13, type_description_2, outline_12_var___class__ ); // Release cached frame. if ( frame_e7bb2589135598a74075d2595b06b927_13 == cache_frame_e7bb2589135598a74075d2595b06b927_13 ) { Py_DECREF( frame_e7bb2589135598a74075d2595b06b927_13 ); } cache_frame_e7bb2589135598a74075d2595b06b927_13 = NULL; assertFrameObject( frame_e7bb2589135598a74075d2595b06b927_13 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_12; frame_no_exception_12:; goto skip_nested_handling_12; nested_frame_exit_12:; goto try_except_handler_42; skip_nested_handling_12:; { nuitka_bool tmp_condition_result_94; PyObject *tmp_compexpr_left_15; PyObject *tmp_compexpr_right_15; CHECK_OBJECT( tmp_class_creation_13__bases ); tmp_compexpr_left_15 = tmp_class_creation_13__bases; CHECK_OBJECT( tmp_class_creation_13__bases_orig ); tmp_compexpr_right_15 = tmp_class_creation_13__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_15, tmp_compexpr_right_15 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_42; } tmp_condition_result_94 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_94 == NUITKA_BOOL_TRUE ) { goto branch_yes_53; } else { goto branch_no_53; } branch_yes_53:; { CHECK_OBJECT( tmp_class_creation_13__bases_orig ); tmp_dictset_value = tmp_class_creation_13__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_754, 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 = 754; goto try_except_handler_42; } } branch_no_53:; } { PyObject *tmp_assign_source_116; PyObject *tmp_called_name_58; PyObject *tmp_args_name_26; PyObject *tmp_tuple_element_58; PyObject *tmp_kw_name_26; CHECK_OBJECT( tmp_class_creation_13__metaclass ); tmp_called_name_58 = tmp_class_creation_13__metaclass; tmp_tuple_element_58 = const_str_plain_NavigableString; tmp_args_name_26 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_58 ); PyTuple_SET_ITEM( tmp_args_name_26, 0, tmp_tuple_element_58 ); CHECK_OBJECT( tmp_class_creation_13__bases ); tmp_tuple_element_58 = tmp_class_creation_13__bases; Py_INCREF( tmp_tuple_element_58 ); PyTuple_SET_ITEM( tmp_args_name_26, 1, tmp_tuple_element_58 ); tmp_tuple_element_58 = locals_bs4$element_754; Py_INCREF( tmp_tuple_element_58 ); PyTuple_SET_ITEM( tmp_args_name_26, 2, tmp_tuple_element_58 ); CHECK_OBJECT( tmp_class_creation_13__class_decl_dict ); tmp_kw_name_26 = tmp_class_creation_13__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 754; tmp_assign_source_116 = CALL_FUNCTION( tmp_called_name_58, tmp_args_name_26, tmp_kw_name_26 ); Py_DECREF( tmp_args_name_26 ); if ( tmp_assign_source_116 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; goto try_except_handler_42; } assert( outline_12_var___class__ == NULL ); outline_12_var___class__ = tmp_assign_source_116; } { CHECK_OBJECT( outline_12_var___class__ ); tmp_assign_source_115 = outline_12_var___class__; Py_INCREF( tmp_assign_source_115 ); goto try_return_handler_42; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_42:; { Py_DECREF( locals_bs4$element_754 ); locals_bs4$element_754 = NULL; } { goto try_return_handler_41; } // Exception handler code: try_except_handler_42:; exception_keeper_type_40 = exception_type; exception_keeper_value_40 = exception_value; exception_keeper_tb_40 = exception_tb; exception_keeper_lineno_40 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_754 ); locals_bs4$element_754 = NULL; } { // Re-raise. exception_type = exception_keeper_type_40; exception_value = exception_keeper_value_40; exception_tb = exception_keeper_tb_40; exception_lineno = exception_keeper_lineno_40; goto try_except_handler_41; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_41:; { CHECK_OBJECT( (PyObject *)outline_12_var___class__ ); Py_DECREF( outline_12_var___class__ ); outline_12_var___class__ = NULL; } { goto outline_result_13; } // Exception handler code: try_except_handler_41:; exception_keeper_type_41 = exception_type; exception_keeper_value_41 = exception_value; exception_keeper_tb_41 = exception_tb; exception_keeper_lineno_41 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_41; exception_value = exception_keeper_value_41; exception_tb = exception_keeper_tb_41; exception_lineno = exception_keeper_lineno_41; goto outline_exception_13; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_13:; exception_lineno = 754; goto try_except_handler_40; outline_result_13:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_NavigableString, tmp_assign_source_115 ); } goto try_end_16; // Exception handler code: try_except_handler_40:; exception_keeper_type_42 = exception_type; exception_keeper_value_42 = exception_value; exception_keeper_tb_42 = exception_tb; exception_keeper_lineno_42 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_13__bases ); tmp_class_creation_13__bases = NULL; } { Py_XDECREF( tmp_class_creation_13__class_decl_dict ); tmp_class_creation_13__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_13__metaclass ); tmp_class_creation_13__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_13__prepared ); tmp_class_creation_13__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_42; exception_value = exception_keeper_value_42; exception_tb = exception_keeper_tb_42; exception_lineno = exception_keeper_lineno_42; goto frame_exception_exit_1; } // End of try: try_end_16:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_13__bases ); Py_DECREF( tmp_class_creation_13__bases ); tmp_class_creation_13__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_13__class_decl_dict ); Py_DECREF( tmp_class_creation_13__class_decl_dict ); tmp_class_creation_13__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_13__metaclass ); Py_DECREF( tmp_class_creation_13__metaclass ); tmp_class_creation_13__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_13__prepared ); Py_DECREF( tmp_class_creation_13__prepared ); tmp_class_creation_13__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_117; PyObject *tmp_tuple_element_59; PyObject *tmp_mvar_value_23; tmp_mvar_value_23 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_NavigableString ); if (unlikely( tmp_mvar_value_23 == NULL )) { tmp_mvar_value_23 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NavigableString ); } if ( tmp_mvar_value_23 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NavigableString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 811; goto try_except_handler_43; } tmp_tuple_element_59 = tmp_mvar_value_23; tmp_assign_source_117 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_59 ); PyTuple_SET_ITEM( tmp_assign_source_117, 0, tmp_tuple_element_59 ); assert( tmp_class_creation_14__bases_orig == NULL ); tmp_class_creation_14__bases_orig = tmp_assign_source_117; } { PyObject *tmp_assign_source_118; PyObject *tmp_dircall_arg1_14; CHECK_OBJECT( tmp_class_creation_14__bases_orig ); tmp_dircall_arg1_14 = tmp_class_creation_14__bases_orig; Py_INCREF( tmp_dircall_arg1_14 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_14}; tmp_assign_source_118 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_118 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_43; } assert( tmp_class_creation_14__bases == NULL ); tmp_class_creation_14__bases = tmp_assign_source_118; } { PyObject *tmp_assign_source_119; tmp_assign_source_119 = PyDict_New(); assert( tmp_class_creation_14__class_decl_dict == NULL ); tmp_class_creation_14__class_decl_dict = tmp_assign_source_119; } { PyObject *tmp_assign_source_120; PyObject *tmp_metaclass_name_14; nuitka_bool tmp_condition_result_95; PyObject *tmp_key_name_40; PyObject *tmp_dict_name_40; PyObject *tmp_dict_name_41; PyObject *tmp_key_name_41; nuitka_bool tmp_condition_result_96; int tmp_truth_name_14; PyObject *tmp_type_arg_27; PyObject *tmp_subscribed_name_15; PyObject *tmp_subscript_name_15; PyObject *tmp_bases_name_14; tmp_key_name_40 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_14__class_decl_dict ); tmp_dict_name_40 = tmp_class_creation_14__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_40, tmp_key_name_40 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_43; } tmp_condition_result_95 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_95 == NUITKA_BOOL_TRUE ) { goto condexpr_true_42; } else { goto condexpr_false_42; } condexpr_true_42:; CHECK_OBJECT( tmp_class_creation_14__class_decl_dict ); tmp_dict_name_41 = tmp_class_creation_14__class_decl_dict; tmp_key_name_41 = const_str_plain_metaclass; tmp_metaclass_name_14 = DICT_GET_ITEM( tmp_dict_name_41, tmp_key_name_41 ); if ( tmp_metaclass_name_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_43; } goto condexpr_end_42; condexpr_false_42:; CHECK_OBJECT( tmp_class_creation_14__bases ); tmp_truth_name_14 = CHECK_IF_TRUE( tmp_class_creation_14__bases ); if ( tmp_truth_name_14 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_43; } tmp_condition_result_96 = tmp_truth_name_14 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_96 == NUITKA_BOOL_TRUE ) { goto condexpr_true_43; } else { goto condexpr_false_43; } condexpr_true_43:; CHECK_OBJECT( tmp_class_creation_14__bases ); tmp_subscribed_name_15 = tmp_class_creation_14__bases; tmp_subscript_name_15 = const_int_0; tmp_type_arg_27 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_15, tmp_subscript_name_15, 0 ); if ( tmp_type_arg_27 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_43; } tmp_metaclass_name_14 = BUILTIN_TYPE1( tmp_type_arg_27 ); Py_DECREF( tmp_type_arg_27 ); if ( tmp_metaclass_name_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_43; } goto condexpr_end_43; condexpr_false_43:; tmp_metaclass_name_14 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_14 ); condexpr_end_43:; condexpr_end_42:; CHECK_OBJECT( tmp_class_creation_14__bases ); tmp_bases_name_14 = tmp_class_creation_14__bases; tmp_assign_source_120 = SELECT_METACLASS( tmp_metaclass_name_14, tmp_bases_name_14 ); Py_DECREF( tmp_metaclass_name_14 ); if ( tmp_assign_source_120 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_43; } assert( tmp_class_creation_14__metaclass == NULL ); tmp_class_creation_14__metaclass = tmp_assign_source_120; } { nuitka_bool tmp_condition_result_97; PyObject *tmp_key_name_42; PyObject *tmp_dict_name_42; tmp_key_name_42 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_14__class_decl_dict ); tmp_dict_name_42 = tmp_class_creation_14__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_42, tmp_key_name_42 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_43; } tmp_condition_result_97 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_97 == NUITKA_BOOL_TRUE ) { goto branch_yes_54; } else { goto branch_no_54; } branch_yes_54:; { CHECK_OBJECT( tmp_class_creation_14__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_14__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 = 811; goto try_except_handler_43; } } branch_no_54:; } { nuitka_bool tmp_condition_result_98; PyObject *tmp_source_name_56; CHECK_OBJECT( tmp_class_creation_14__metaclass ); tmp_source_name_56 = tmp_class_creation_14__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_56, const_str_plain___prepare__ ); tmp_condition_result_98 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_98 == NUITKA_BOOL_TRUE ) { goto branch_yes_55; } else { goto branch_no_55; } branch_yes_55:; { PyObject *tmp_assign_source_121; PyObject *tmp_called_name_59; PyObject *tmp_source_name_57; PyObject *tmp_args_name_27; PyObject *tmp_tuple_element_60; PyObject *tmp_kw_name_27; CHECK_OBJECT( tmp_class_creation_14__metaclass ); tmp_source_name_57 = tmp_class_creation_14__metaclass; tmp_called_name_59 = LOOKUP_ATTRIBUTE( tmp_source_name_57, const_str_plain___prepare__ ); if ( tmp_called_name_59 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_43; } tmp_tuple_element_60 = const_str_plain_PreformattedString; tmp_args_name_27 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_60 ); PyTuple_SET_ITEM( tmp_args_name_27, 0, tmp_tuple_element_60 ); CHECK_OBJECT( tmp_class_creation_14__bases ); tmp_tuple_element_60 = tmp_class_creation_14__bases; Py_INCREF( tmp_tuple_element_60 ); PyTuple_SET_ITEM( tmp_args_name_27, 1, tmp_tuple_element_60 ); CHECK_OBJECT( tmp_class_creation_14__class_decl_dict ); tmp_kw_name_27 = tmp_class_creation_14__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 811; tmp_assign_source_121 = CALL_FUNCTION( tmp_called_name_59, tmp_args_name_27, tmp_kw_name_27 ); Py_DECREF( tmp_called_name_59 ); Py_DECREF( tmp_args_name_27 ); if ( tmp_assign_source_121 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_43; } assert( tmp_class_creation_14__prepared == NULL ); tmp_class_creation_14__prepared = tmp_assign_source_121; } { nuitka_bool tmp_condition_result_99; PyObject *tmp_operand_name_14; PyObject *tmp_source_name_58; CHECK_OBJECT( tmp_class_creation_14__prepared ); tmp_source_name_58 = tmp_class_creation_14__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_58, const_str_plain___getitem__ ); tmp_operand_name_14 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_14 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_43; } tmp_condition_result_99 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_99 == NUITKA_BOOL_TRUE ) { goto branch_yes_56; } else { goto branch_no_56; } branch_yes_56:; { PyObject *tmp_raise_type_14; PyObject *tmp_raise_value_14; PyObject *tmp_left_name_14; PyObject *tmp_right_name_14; PyObject *tmp_tuple_element_61; PyObject *tmp_getattr_target_14; PyObject *tmp_getattr_attr_14; PyObject *tmp_getattr_default_14; PyObject *tmp_source_name_59; PyObject *tmp_type_arg_28; tmp_raise_type_14 = PyExc_TypeError; tmp_left_name_14 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_14__metaclass ); tmp_getattr_target_14 = tmp_class_creation_14__metaclass; tmp_getattr_attr_14 = const_str_plain___name__; tmp_getattr_default_14 = const_str_angle_metaclass; tmp_tuple_element_61 = BUILTIN_GETATTR( tmp_getattr_target_14, tmp_getattr_attr_14, tmp_getattr_default_14 ); if ( tmp_tuple_element_61 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_43; } tmp_right_name_14 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_14, 0, tmp_tuple_element_61 ); CHECK_OBJECT( tmp_class_creation_14__prepared ); tmp_type_arg_28 = tmp_class_creation_14__prepared; tmp_source_name_59 = BUILTIN_TYPE1( tmp_type_arg_28 ); assert( !(tmp_source_name_59 == NULL) ); tmp_tuple_element_61 = LOOKUP_ATTRIBUTE( tmp_source_name_59, const_str_plain___name__ ); Py_DECREF( tmp_source_name_59 ); if ( tmp_tuple_element_61 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_14 ); exception_lineno = 811; goto try_except_handler_43; } PyTuple_SET_ITEM( tmp_right_name_14, 1, tmp_tuple_element_61 ); tmp_raise_value_14 = BINARY_OPERATION_REMAINDER( tmp_left_name_14, tmp_right_name_14 ); Py_DECREF( tmp_right_name_14 ); if ( tmp_raise_value_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_43; } exception_type = tmp_raise_type_14; Py_INCREF( tmp_raise_type_14 ); exception_value = tmp_raise_value_14; exception_lineno = 811; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_43; } branch_no_56:; } goto branch_end_55; branch_no_55:; { PyObject *tmp_assign_source_122; tmp_assign_source_122 = PyDict_New(); assert( tmp_class_creation_14__prepared == NULL ); tmp_class_creation_14__prepared = tmp_assign_source_122; } branch_end_55:; } { PyObject *tmp_assign_source_123; { PyObject *tmp_set_locals_14; CHECK_OBJECT( tmp_class_creation_14__prepared ); tmp_set_locals_14 = tmp_class_creation_14__prepared; locals_bs4$element_811 = tmp_set_locals_14; Py_INCREF( tmp_set_locals_14 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_811, 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 = 811; goto try_except_handler_45; } } { tmp_dictset_value = const_str_digest_789a2a1ab5c730365a2961867d62159f; tmp_res = PyObject_SetItem( locals_bs4$element_811, 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 = 811; goto try_except_handler_45; } } { tmp_dictset_value = const_str_plain_PreformattedString; tmp_res = PyObject_SetItem( locals_bs4$element_811, 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 = 811; goto try_except_handler_45; } } MAKE_OR_REUSE_FRAME( cache_frame_c4609990f9a41ed0ccbde514662afb75_14, codeobj_c4609990f9a41ed0ccbde514662afb75, module_bs4$element, sizeof(void *) ); frame_c4609990f9a41ed0ccbde514662afb75_14 = cache_frame_c4609990f9a41ed0ccbde514662afb75_14; // Push the new frame as the currently active one. pushFrameStack( frame_c4609990f9a41ed0ccbde514662afb75_14 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c4609990f9a41ed0ccbde514662afb75_14 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_defaults_18; tmp_defaults_18 = const_tuple_str_plain_minimal_tuple; Py_INCREF( tmp_defaults_18 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_62_output_ready( tmp_defaults_18 ); tmp_res = PyObject_SetItem( locals_bs4$element_811, const_str_plain_output_ready, 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 = 818; type_description_2 = "o"; goto frame_exception_exit_14; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_c4609990f9a41ed0ccbde514662afb75_14 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_13; frame_exception_exit_14:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c4609990f9a41ed0ccbde514662afb75_14 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c4609990f9a41ed0ccbde514662afb75_14, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c4609990f9a41ed0ccbde514662afb75_14->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c4609990f9a41ed0ccbde514662afb75_14, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c4609990f9a41ed0ccbde514662afb75_14, type_description_2, outline_13_var___class__ ); // Release cached frame. if ( frame_c4609990f9a41ed0ccbde514662afb75_14 == cache_frame_c4609990f9a41ed0ccbde514662afb75_14 ) { Py_DECREF( frame_c4609990f9a41ed0ccbde514662afb75_14 ); } cache_frame_c4609990f9a41ed0ccbde514662afb75_14 = NULL; assertFrameObject( frame_c4609990f9a41ed0ccbde514662afb75_14 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_13; frame_no_exception_13:; goto skip_nested_handling_13; nested_frame_exit_13:; goto try_except_handler_45; skip_nested_handling_13:; { nuitka_bool tmp_condition_result_100; PyObject *tmp_compexpr_left_16; PyObject *tmp_compexpr_right_16; CHECK_OBJECT( tmp_class_creation_14__bases ); tmp_compexpr_left_16 = tmp_class_creation_14__bases; CHECK_OBJECT( tmp_class_creation_14__bases_orig ); tmp_compexpr_right_16 = tmp_class_creation_14__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_16, tmp_compexpr_right_16 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_45; } tmp_condition_result_100 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_100 == NUITKA_BOOL_TRUE ) { goto branch_yes_57; } else { goto branch_no_57; } branch_yes_57:; { CHECK_OBJECT( tmp_class_creation_14__bases_orig ); tmp_dictset_value = tmp_class_creation_14__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_811, 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 = 811; goto try_except_handler_45; } } branch_no_57:; } { PyObject *tmp_assign_source_124; PyObject *tmp_called_name_60; PyObject *tmp_args_name_28; PyObject *tmp_tuple_element_62; PyObject *tmp_kw_name_28; CHECK_OBJECT( tmp_class_creation_14__metaclass ); tmp_called_name_60 = tmp_class_creation_14__metaclass; tmp_tuple_element_62 = const_str_plain_PreformattedString; tmp_args_name_28 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_62 ); PyTuple_SET_ITEM( tmp_args_name_28, 0, tmp_tuple_element_62 ); CHECK_OBJECT( tmp_class_creation_14__bases ); tmp_tuple_element_62 = tmp_class_creation_14__bases; Py_INCREF( tmp_tuple_element_62 ); PyTuple_SET_ITEM( tmp_args_name_28, 1, tmp_tuple_element_62 ); tmp_tuple_element_62 = locals_bs4$element_811; Py_INCREF( tmp_tuple_element_62 ); PyTuple_SET_ITEM( tmp_args_name_28, 2, tmp_tuple_element_62 ); CHECK_OBJECT( tmp_class_creation_14__class_decl_dict ); tmp_kw_name_28 = tmp_class_creation_14__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 811; tmp_assign_source_124 = CALL_FUNCTION( tmp_called_name_60, tmp_args_name_28, tmp_kw_name_28 ); Py_DECREF( tmp_args_name_28 ); if ( tmp_assign_source_124 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; goto try_except_handler_45; } assert( outline_13_var___class__ == NULL ); outline_13_var___class__ = tmp_assign_source_124; } { CHECK_OBJECT( outline_13_var___class__ ); tmp_assign_source_123 = outline_13_var___class__; Py_INCREF( tmp_assign_source_123 ); goto try_return_handler_45; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_45:; { Py_DECREF( locals_bs4$element_811 ); locals_bs4$element_811 = NULL; } { goto try_return_handler_44; } // Exception handler code: try_except_handler_45:; exception_keeper_type_43 = exception_type; exception_keeper_value_43 = exception_value; exception_keeper_tb_43 = exception_tb; exception_keeper_lineno_43 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_811 ); locals_bs4$element_811 = NULL; } { // Re-raise. exception_type = exception_keeper_type_43; exception_value = exception_keeper_value_43; exception_tb = exception_keeper_tb_43; exception_lineno = exception_keeper_lineno_43; goto try_except_handler_44; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_44:; { CHECK_OBJECT( (PyObject *)outline_13_var___class__ ); Py_DECREF( outline_13_var___class__ ); outline_13_var___class__ = NULL; } { goto outline_result_14; } // Exception handler code: try_except_handler_44:; exception_keeper_type_44 = exception_type; exception_keeper_value_44 = exception_value; exception_keeper_tb_44 = exception_tb; exception_keeper_lineno_44 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_44; exception_value = exception_keeper_value_44; exception_tb = exception_keeper_tb_44; exception_lineno = exception_keeper_lineno_44; goto outline_exception_14; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_14:; exception_lineno = 811; goto try_except_handler_43; outline_result_14:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PreformattedString, tmp_assign_source_123 ); } goto try_end_17; // Exception handler code: try_except_handler_43:; exception_keeper_type_45 = exception_type; exception_keeper_value_45 = exception_value; exception_keeper_tb_45 = exception_tb; exception_keeper_lineno_45 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_14__bases ); tmp_class_creation_14__bases = NULL; } { Py_XDECREF( tmp_class_creation_14__class_decl_dict ); tmp_class_creation_14__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_14__metaclass ); tmp_class_creation_14__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_14__prepared ); tmp_class_creation_14__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_45; exception_value = exception_keeper_value_45; exception_tb = exception_keeper_tb_45; exception_lineno = exception_keeper_lineno_45; goto frame_exception_exit_1; } // End of try: try_end_17:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_14__bases ); Py_DECREF( tmp_class_creation_14__bases ); tmp_class_creation_14__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_14__class_decl_dict ); Py_DECREF( tmp_class_creation_14__class_decl_dict ); tmp_class_creation_14__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_14__metaclass ); Py_DECREF( tmp_class_creation_14__metaclass ); tmp_class_creation_14__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_14__prepared ); Py_DECREF( tmp_class_creation_14__prepared ); tmp_class_creation_14__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_125; PyObject *tmp_tuple_element_63; PyObject *tmp_mvar_value_24; tmp_mvar_value_24 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PreformattedString ); if (unlikely( tmp_mvar_value_24 == NULL )) { tmp_mvar_value_24 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PreformattedString ); } if ( tmp_mvar_value_24 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PreformattedString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 824; goto try_except_handler_46; } tmp_tuple_element_63 = tmp_mvar_value_24; tmp_assign_source_125 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_63 ); PyTuple_SET_ITEM( tmp_assign_source_125, 0, tmp_tuple_element_63 ); assert( tmp_class_creation_15__bases_orig == NULL ); tmp_class_creation_15__bases_orig = tmp_assign_source_125; } { PyObject *tmp_assign_source_126; PyObject *tmp_dircall_arg1_15; CHECK_OBJECT( tmp_class_creation_15__bases_orig ); tmp_dircall_arg1_15 = tmp_class_creation_15__bases_orig; Py_INCREF( tmp_dircall_arg1_15 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_15}; tmp_assign_source_126 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_126 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_46; } assert( tmp_class_creation_15__bases == NULL ); tmp_class_creation_15__bases = tmp_assign_source_126; } { PyObject *tmp_assign_source_127; tmp_assign_source_127 = PyDict_New(); assert( tmp_class_creation_15__class_decl_dict == NULL ); tmp_class_creation_15__class_decl_dict = tmp_assign_source_127; } { PyObject *tmp_assign_source_128; PyObject *tmp_metaclass_name_15; nuitka_bool tmp_condition_result_101; PyObject *tmp_key_name_43; PyObject *tmp_dict_name_43; PyObject *tmp_dict_name_44; PyObject *tmp_key_name_44; nuitka_bool tmp_condition_result_102; int tmp_truth_name_15; PyObject *tmp_type_arg_29; PyObject *tmp_subscribed_name_16; PyObject *tmp_subscript_name_16; PyObject *tmp_bases_name_15; tmp_key_name_43 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_15__class_decl_dict ); tmp_dict_name_43 = tmp_class_creation_15__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_43, tmp_key_name_43 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_46; } tmp_condition_result_101 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_101 == NUITKA_BOOL_TRUE ) { goto condexpr_true_44; } else { goto condexpr_false_44; } condexpr_true_44:; CHECK_OBJECT( tmp_class_creation_15__class_decl_dict ); tmp_dict_name_44 = tmp_class_creation_15__class_decl_dict; tmp_key_name_44 = const_str_plain_metaclass; tmp_metaclass_name_15 = DICT_GET_ITEM( tmp_dict_name_44, tmp_key_name_44 ); if ( tmp_metaclass_name_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_46; } goto condexpr_end_44; condexpr_false_44:; CHECK_OBJECT( tmp_class_creation_15__bases ); tmp_truth_name_15 = CHECK_IF_TRUE( tmp_class_creation_15__bases ); if ( tmp_truth_name_15 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_46; } tmp_condition_result_102 = tmp_truth_name_15 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_102 == NUITKA_BOOL_TRUE ) { goto condexpr_true_45; } else { goto condexpr_false_45; } condexpr_true_45:; CHECK_OBJECT( tmp_class_creation_15__bases ); tmp_subscribed_name_16 = tmp_class_creation_15__bases; tmp_subscript_name_16 = const_int_0; tmp_type_arg_29 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_16, tmp_subscript_name_16, 0 ); if ( tmp_type_arg_29 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_46; } tmp_metaclass_name_15 = BUILTIN_TYPE1( tmp_type_arg_29 ); Py_DECREF( tmp_type_arg_29 ); if ( tmp_metaclass_name_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_46; } goto condexpr_end_45; condexpr_false_45:; tmp_metaclass_name_15 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_15 ); condexpr_end_45:; condexpr_end_44:; CHECK_OBJECT( tmp_class_creation_15__bases ); tmp_bases_name_15 = tmp_class_creation_15__bases; tmp_assign_source_128 = SELECT_METACLASS( tmp_metaclass_name_15, tmp_bases_name_15 ); Py_DECREF( tmp_metaclass_name_15 ); if ( tmp_assign_source_128 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_46; } assert( tmp_class_creation_15__metaclass == NULL ); tmp_class_creation_15__metaclass = tmp_assign_source_128; } { nuitka_bool tmp_condition_result_103; PyObject *tmp_key_name_45; PyObject *tmp_dict_name_45; tmp_key_name_45 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_15__class_decl_dict ); tmp_dict_name_45 = tmp_class_creation_15__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_45, tmp_key_name_45 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_46; } tmp_condition_result_103 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_103 == NUITKA_BOOL_TRUE ) { goto branch_yes_58; } else { goto branch_no_58; } branch_yes_58:; { CHECK_OBJECT( tmp_class_creation_15__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_15__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 = 824; goto try_except_handler_46; } } branch_no_58:; } { nuitka_bool tmp_condition_result_104; PyObject *tmp_source_name_60; CHECK_OBJECT( tmp_class_creation_15__metaclass ); tmp_source_name_60 = tmp_class_creation_15__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_60, const_str_plain___prepare__ ); tmp_condition_result_104 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_104 == NUITKA_BOOL_TRUE ) { goto branch_yes_59; } else { goto branch_no_59; } branch_yes_59:; { PyObject *tmp_assign_source_129; PyObject *tmp_called_name_61; PyObject *tmp_source_name_61; PyObject *tmp_args_name_29; PyObject *tmp_tuple_element_64; PyObject *tmp_kw_name_29; CHECK_OBJECT( tmp_class_creation_15__metaclass ); tmp_source_name_61 = tmp_class_creation_15__metaclass; tmp_called_name_61 = LOOKUP_ATTRIBUTE( tmp_source_name_61, const_str_plain___prepare__ ); if ( tmp_called_name_61 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_46; } tmp_tuple_element_64 = const_str_plain_CData; tmp_args_name_29 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_64 ); PyTuple_SET_ITEM( tmp_args_name_29, 0, tmp_tuple_element_64 ); CHECK_OBJECT( tmp_class_creation_15__bases ); tmp_tuple_element_64 = tmp_class_creation_15__bases; Py_INCREF( tmp_tuple_element_64 ); PyTuple_SET_ITEM( tmp_args_name_29, 1, tmp_tuple_element_64 ); CHECK_OBJECT( tmp_class_creation_15__class_decl_dict ); tmp_kw_name_29 = tmp_class_creation_15__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 824; tmp_assign_source_129 = CALL_FUNCTION( tmp_called_name_61, tmp_args_name_29, tmp_kw_name_29 ); Py_DECREF( tmp_called_name_61 ); Py_DECREF( tmp_args_name_29 ); if ( tmp_assign_source_129 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_46; } assert( tmp_class_creation_15__prepared == NULL ); tmp_class_creation_15__prepared = tmp_assign_source_129; } { nuitka_bool tmp_condition_result_105; PyObject *tmp_operand_name_15; PyObject *tmp_source_name_62; CHECK_OBJECT( tmp_class_creation_15__prepared ); tmp_source_name_62 = tmp_class_creation_15__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_62, const_str_plain___getitem__ ); tmp_operand_name_15 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_15 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_46; } tmp_condition_result_105 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_105 == NUITKA_BOOL_TRUE ) { goto branch_yes_60; } else { goto branch_no_60; } branch_yes_60:; { PyObject *tmp_raise_type_15; PyObject *tmp_raise_value_15; PyObject *tmp_left_name_15; PyObject *tmp_right_name_15; PyObject *tmp_tuple_element_65; PyObject *tmp_getattr_target_15; PyObject *tmp_getattr_attr_15; PyObject *tmp_getattr_default_15; PyObject *tmp_source_name_63; PyObject *tmp_type_arg_30; tmp_raise_type_15 = PyExc_TypeError; tmp_left_name_15 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_15__metaclass ); tmp_getattr_target_15 = tmp_class_creation_15__metaclass; tmp_getattr_attr_15 = const_str_plain___name__; tmp_getattr_default_15 = const_str_angle_metaclass; tmp_tuple_element_65 = BUILTIN_GETATTR( tmp_getattr_target_15, tmp_getattr_attr_15, tmp_getattr_default_15 ); if ( tmp_tuple_element_65 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_46; } tmp_right_name_15 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_15, 0, tmp_tuple_element_65 ); CHECK_OBJECT( tmp_class_creation_15__prepared ); tmp_type_arg_30 = tmp_class_creation_15__prepared; tmp_source_name_63 = BUILTIN_TYPE1( tmp_type_arg_30 ); assert( !(tmp_source_name_63 == NULL) ); tmp_tuple_element_65 = LOOKUP_ATTRIBUTE( tmp_source_name_63, const_str_plain___name__ ); Py_DECREF( tmp_source_name_63 ); if ( tmp_tuple_element_65 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_15 ); exception_lineno = 824; goto try_except_handler_46; } PyTuple_SET_ITEM( tmp_right_name_15, 1, tmp_tuple_element_65 ); tmp_raise_value_15 = BINARY_OPERATION_REMAINDER( tmp_left_name_15, tmp_right_name_15 ); Py_DECREF( tmp_right_name_15 ); if ( tmp_raise_value_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_46; } exception_type = tmp_raise_type_15; Py_INCREF( tmp_raise_type_15 ); exception_value = tmp_raise_value_15; exception_lineno = 824; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_46; } branch_no_60:; } goto branch_end_59; branch_no_59:; { PyObject *tmp_assign_source_130; tmp_assign_source_130 = PyDict_New(); assert( tmp_class_creation_15__prepared == NULL ); tmp_class_creation_15__prepared = tmp_assign_source_130; } branch_end_59:; } { PyObject *tmp_assign_source_131; { PyObject *tmp_set_locals_15; CHECK_OBJECT( tmp_class_creation_15__prepared ); tmp_set_locals_15 = tmp_class_creation_15__prepared; locals_bs4$element_824 = tmp_set_locals_15; Py_INCREF( tmp_set_locals_15 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_824, 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 = 824; goto try_except_handler_48; } } { tmp_dictset_value = const_str_plain_CData; tmp_res = PyObject_SetItem( locals_bs4$element_824, 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 = 824; goto try_except_handler_48; } } MAKE_OR_REUSE_FRAME( cache_frame_4b80cfe4536afc986acea12c2fb342bb_15, codeobj_4b80cfe4536afc986acea12c2fb342bb, module_bs4$element, sizeof(void *) ); frame_4b80cfe4536afc986acea12c2fb342bb_15 = cache_frame_4b80cfe4536afc986acea12c2fb342bb_15; // Push the new frame as the currently active one. pushFrameStack( frame_4b80cfe4536afc986acea12c2fb342bb_15 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4b80cfe4536afc986acea12c2fb342bb_15 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_str_digest_6fd0b05522159f98d6181ab8bfabc7f6; tmp_res = PyObject_SetItem( locals_bs4$element_824, const_str_plain_PREFIX, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 826; type_description_2 = "o"; goto frame_exception_exit_15; } } { tmp_dictset_value = const_str_digest_bdc18e346a4949f889a922a59c59687c; tmp_res = PyObject_SetItem( locals_bs4$element_824, const_str_plain_SUFFIX, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 827; type_description_2 = "o"; goto frame_exception_exit_15; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_4b80cfe4536afc986acea12c2fb342bb_15 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_14; frame_exception_exit_15:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4b80cfe4536afc986acea12c2fb342bb_15 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4b80cfe4536afc986acea12c2fb342bb_15, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4b80cfe4536afc986acea12c2fb342bb_15->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4b80cfe4536afc986acea12c2fb342bb_15, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4b80cfe4536afc986acea12c2fb342bb_15, type_description_2, outline_14_var___class__ ); // Release cached frame. if ( frame_4b80cfe4536afc986acea12c2fb342bb_15 == cache_frame_4b80cfe4536afc986acea12c2fb342bb_15 ) { Py_DECREF( frame_4b80cfe4536afc986acea12c2fb342bb_15 ); } cache_frame_4b80cfe4536afc986acea12c2fb342bb_15 = NULL; assertFrameObject( frame_4b80cfe4536afc986acea12c2fb342bb_15 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_14; frame_no_exception_14:; goto skip_nested_handling_14; nested_frame_exit_14:; goto try_except_handler_48; skip_nested_handling_14:; { nuitka_bool tmp_condition_result_106; PyObject *tmp_compexpr_left_17; PyObject *tmp_compexpr_right_17; CHECK_OBJECT( tmp_class_creation_15__bases ); tmp_compexpr_left_17 = tmp_class_creation_15__bases; CHECK_OBJECT( tmp_class_creation_15__bases_orig ); tmp_compexpr_right_17 = tmp_class_creation_15__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_17, tmp_compexpr_right_17 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_48; } tmp_condition_result_106 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_106 == NUITKA_BOOL_TRUE ) { goto branch_yes_61; } else { goto branch_no_61; } branch_yes_61:; { CHECK_OBJECT( tmp_class_creation_15__bases_orig ); tmp_dictset_value = tmp_class_creation_15__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_824, 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 = 824; goto try_except_handler_48; } } branch_no_61:; } { PyObject *tmp_assign_source_132; PyObject *tmp_called_name_62; PyObject *tmp_args_name_30; PyObject *tmp_tuple_element_66; PyObject *tmp_kw_name_30; CHECK_OBJECT( tmp_class_creation_15__metaclass ); tmp_called_name_62 = tmp_class_creation_15__metaclass; tmp_tuple_element_66 = const_str_plain_CData; tmp_args_name_30 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_66 ); PyTuple_SET_ITEM( tmp_args_name_30, 0, tmp_tuple_element_66 ); CHECK_OBJECT( tmp_class_creation_15__bases ); tmp_tuple_element_66 = tmp_class_creation_15__bases; Py_INCREF( tmp_tuple_element_66 ); PyTuple_SET_ITEM( tmp_args_name_30, 1, tmp_tuple_element_66 ); tmp_tuple_element_66 = locals_bs4$element_824; Py_INCREF( tmp_tuple_element_66 ); PyTuple_SET_ITEM( tmp_args_name_30, 2, tmp_tuple_element_66 ); CHECK_OBJECT( tmp_class_creation_15__class_decl_dict ); tmp_kw_name_30 = tmp_class_creation_15__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 824; tmp_assign_source_132 = CALL_FUNCTION( tmp_called_name_62, tmp_args_name_30, tmp_kw_name_30 ); Py_DECREF( tmp_args_name_30 ); if ( tmp_assign_source_132 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 824; goto try_except_handler_48; } assert( outline_14_var___class__ == NULL ); outline_14_var___class__ = tmp_assign_source_132; } { CHECK_OBJECT( outline_14_var___class__ ); tmp_assign_source_131 = outline_14_var___class__; Py_INCREF( tmp_assign_source_131 ); goto try_return_handler_48; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_48:; { Py_DECREF( locals_bs4$element_824 ); locals_bs4$element_824 = NULL; } { goto try_return_handler_47; } // Exception handler code: try_except_handler_48:; exception_keeper_type_46 = exception_type; exception_keeper_value_46 = exception_value; exception_keeper_tb_46 = exception_tb; exception_keeper_lineno_46 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_824 ); locals_bs4$element_824 = NULL; } { // Re-raise. exception_type = exception_keeper_type_46; exception_value = exception_keeper_value_46; exception_tb = exception_keeper_tb_46; exception_lineno = exception_keeper_lineno_46; goto try_except_handler_47; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_47:; { CHECK_OBJECT( (PyObject *)outline_14_var___class__ ); Py_DECREF( outline_14_var___class__ ); outline_14_var___class__ = NULL; } { goto outline_result_15; } // Exception handler code: try_except_handler_47:; exception_keeper_type_47 = exception_type; exception_keeper_value_47 = exception_value; exception_keeper_tb_47 = exception_tb; exception_keeper_lineno_47 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_47; exception_value = exception_keeper_value_47; exception_tb = exception_keeper_tb_47; exception_lineno = exception_keeper_lineno_47; goto outline_exception_15; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_15:; exception_lineno = 824; goto try_except_handler_46; outline_result_15:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_CData, tmp_assign_source_131 ); } goto try_end_18; // Exception handler code: try_except_handler_46:; exception_keeper_type_48 = exception_type; exception_keeper_value_48 = exception_value; exception_keeper_tb_48 = exception_tb; exception_keeper_lineno_48 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_15__bases ); tmp_class_creation_15__bases = NULL; } { Py_XDECREF( tmp_class_creation_15__class_decl_dict ); tmp_class_creation_15__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_15__metaclass ); tmp_class_creation_15__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_15__prepared ); tmp_class_creation_15__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_48; exception_value = exception_keeper_value_48; exception_tb = exception_keeper_tb_48; exception_lineno = exception_keeper_lineno_48; goto frame_exception_exit_1; } // End of try: try_end_18:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_15__bases ); Py_DECREF( tmp_class_creation_15__bases ); tmp_class_creation_15__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_15__class_decl_dict ); Py_DECREF( tmp_class_creation_15__class_decl_dict ); tmp_class_creation_15__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_15__metaclass ); Py_DECREF( tmp_class_creation_15__metaclass ); tmp_class_creation_15__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_15__prepared ); Py_DECREF( tmp_class_creation_15__prepared ); tmp_class_creation_15__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_133; PyObject *tmp_tuple_element_67; PyObject *tmp_mvar_value_25; tmp_mvar_value_25 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PreformattedString ); if (unlikely( tmp_mvar_value_25 == NULL )) { tmp_mvar_value_25 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PreformattedString ); } if ( tmp_mvar_value_25 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PreformattedString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 829; goto try_except_handler_49; } tmp_tuple_element_67 = tmp_mvar_value_25; tmp_assign_source_133 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_67 ); PyTuple_SET_ITEM( tmp_assign_source_133, 0, tmp_tuple_element_67 ); assert( tmp_class_creation_16__bases_orig == NULL ); tmp_class_creation_16__bases_orig = tmp_assign_source_133; } { PyObject *tmp_assign_source_134; PyObject *tmp_dircall_arg1_16; CHECK_OBJECT( tmp_class_creation_16__bases_orig ); tmp_dircall_arg1_16 = tmp_class_creation_16__bases_orig; Py_INCREF( tmp_dircall_arg1_16 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_16}; tmp_assign_source_134 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_134 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_49; } assert( tmp_class_creation_16__bases == NULL ); tmp_class_creation_16__bases = tmp_assign_source_134; } { PyObject *tmp_assign_source_135; tmp_assign_source_135 = PyDict_New(); assert( tmp_class_creation_16__class_decl_dict == NULL ); tmp_class_creation_16__class_decl_dict = tmp_assign_source_135; } { PyObject *tmp_assign_source_136; PyObject *tmp_metaclass_name_16; nuitka_bool tmp_condition_result_107; PyObject *tmp_key_name_46; PyObject *tmp_dict_name_46; PyObject *tmp_dict_name_47; PyObject *tmp_key_name_47; nuitka_bool tmp_condition_result_108; int tmp_truth_name_16; PyObject *tmp_type_arg_31; PyObject *tmp_subscribed_name_17; PyObject *tmp_subscript_name_17; PyObject *tmp_bases_name_16; tmp_key_name_46 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_16__class_decl_dict ); tmp_dict_name_46 = tmp_class_creation_16__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_46, tmp_key_name_46 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_49; } tmp_condition_result_107 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_107 == NUITKA_BOOL_TRUE ) { goto condexpr_true_46; } else { goto condexpr_false_46; } condexpr_true_46:; CHECK_OBJECT( tmp_class_creation_16__class_decl_dict ); tmp_dict_name_47 = tmp_class_creation_16__class_decl_dict; tmp_key_name_47 = const_str_plain_metaclass; tmp_metaclass_name_16 = DICT_GET_ITEM( tmp_dict_name_47, tmp_key_name_47 ); if ( tmp_metaclass_name_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_49; } goto condexpr_end_46; condexpr_false_46:; CHECK_OBJECT( tmp_class_creation_16__bases ); tmp_truth_name_16 = CHECK_IF_TRUE( tmp_class_creation_16__bases ); if ( tmp_truth_name_16 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_49; } tmp_condition_result_108 = tmp_truth_name_16 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_108 == NUITKA_BOOL_TRUE ) { goto condexpr_true_47; } else { goto condexpr_false_47; } condexpr_true_47:; CHECK_OBJECT( tmp_class_creation_16__bases ); tmp_subscribed_name_17 = tmp_class_creation_16__bases; tmp_subscript_name_17 = const_int_0; tmp_type_arg_31 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_17, tmp_subscript_name_17, 0 ); if ( tmp_type_arg_31 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_49; } tmp_metaclass_name_16 = BUILTIN_TYPE1( tmp_type_arg_31 ); Py_DECREF( tmp_type_arg_31 ); if ( tmp_metaclass_name_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_49; } goto condexpr_end_47; condexpr_false_47:; tmp_metaclass_name_16 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_16 ); condexpr_end_47:; condexpr_end_46:; CHECK_OBJECT( tmp_class_creation_16__bases ); tmp_bases_name_16 = tmp_class_creation_16__bases; tmp_assign_source_136 = SELECT_METACLASS( tmp_metaclass_name_16, tmp_bases_name_16 ); Py_DECREF( tmp_metaclass_name_16 ); if ( tmp_assign_source_136 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_49; } assert( tmp_class_creation_16__metaclass == NULL ); tmp_class_creation_16__metaclass = tmp_assign_source_136; } { nuitka_bool tmp_condition_result_109; PyObject *tmp_key_name_48; PyObject *tmp_dict_name_48; tmp_key_name_48 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_16__class_decl_dict ); tmp_dict_name_48 = tmp_class_creation_16__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_48, tmp_key_name_48 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_49; } tmp_condition_result_109 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_109 == NUITKA_BOOL_TRUE ) { goto branch_yes_62; } else { goto branch_no_62; } branch_yes_62:; { CHECK_OBJECT( tmp_class_creation_16__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_16__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 = 829; goto try_except_handler_49; } } branch_no_62:; } { nuitka_bool tmp_condition_result_110; PyObject *tmp_source_name_64; CHECK_OBJECT( tmp_class_creation_16__metaclass ); tmp_source_name_64 = tmp_class_creation_16__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_64, const_str_plain___prepare__ ); tmp_condition_result_110 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_110 == NUITKA_BOOL_TRUE ) { goto branch_yes_63; } else { goto branch_no_63; } branch_yes_63:; { PyObject *tmp_assign_source_137; PyObject *tmp_called_name_63; PyObject *tmp_source_name_65; PyObject *tmp_args_name_31; PyObject *tmp_tuple_element_68; PyObject *tmp_kw_name_31; CHECK_OBJECT( tmp_class_creation_16__metaclass ); tmp_source_name_65 = tmp_class_creation_16__metaclass; tmp_called_name_63 = LOOKUP_ATTRIBUTE( tmp_source_name_65, const_str_plain___prepare__ ); if ( tmp_called_name_63 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_49; } tmp_tuple_element_68 = const_str_plain_ProcessingInstruction; tmp_args_name_31 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_68 ); PyTuple_SET_ITEM( tmp_args_name_31, 0, tmp_tuple_element_68 ); CHECK_OBJECT( tmp_class_creation_16__bases ); tmp_tuple_element_68 = tmp_class_creation_16__bases; Py_INCREF( tmp_tuple_element_68 ); PyTuple_SET_ITEM( tmp_args_name_31, 1, tmp_tuple_element_68 ); CHECK_OBJECT( tmp_class_creation_16__class_decl_dict ); tmp_kw_name_31 = tmp_class_creation_16__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 829; tmp_assign_source_137 = CALL_FUNCTION( tmp_called_name_63, tmp_args_name_31, tmp_kw_name_31 ); Py_DECREF( tmp_called_name_63 ); Py_DECREF( tmp_args_name_31 ); if ( tmp_assign_source_137 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_49; } assert( tmp_class_creation_16__prepared == NULL ); tmp_class_creation_16__prepared = tmp_assign_source_137; } { nuitka_bool tmp_condition_result_111; PyObject *tmp_operand_name_16; PyObject *tmp_source_name_66; CHECK_OBJECT( tmp_class_creation_16__prepared ); tmp_source_name_66 = tmp_class_creation_16__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_66, const_str_plain___getitem__ ); tmp_operand_name_16 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_16 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_49; } tmp_condition_result_111 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_111 == NUITKA_BOOL_TRUE ) { goto branch_yes_64; } else { goto branch_no_64; } branch_yes_64:; { PyObject *tmp_raise_type_16; PyObject *tmp_raise_value_16; PyObject *tmp_left_name_16; PyObject *tmp_right_name_16; PyObject *tmp_tuple_element_69; PyObject *tmp_getattr_target_16; PyObject *tmp_getattr_attr_16; PyObject *tmp_getattr_default_16; PyObject *tmp_source_name_67; PyObject *tmp_type_arg_32; tmp_raise_type_16 = PyExc_TypeError; tmp_left_name_16 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_16__metaclass ); tmp_getattr_target_16 = tmp_class_creation_16__metaclass; tmp_getattr_attr_16 = const_str_plain___name__; tmp_getattr_default_16 = const_str_angle_metaclass; tmp_tuple_element_69 = BUILTIN_GETATTR( tmp_getattr_target_16, tmp_getattr_attr_16, tmp_getattr_default_16 ); if ( tmp_tuple_element_69 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_49; } tmp_right_name_16 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_16, 0, tmp_tuple_element_69 ); CHECK_OBJECT( tmp_class_creation_16__prepared ); tmp_type_arg_32 = tmp_class_creation_16__prepared; tmp_source_name_67 = BUILTIN_TYPE1( tmp_type_arg_32 ); assert( !(tmp_source_name_67 == NULL) ); tmp_tuple_element_69 = LOOKUP_ATTRIBUTE( tmp_source_name_67, const_str_plain___name__ ); Py_DECREF( tmp_source_name_67 ); if ( tmp_tuple_element_69 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_16 ); exception_lineno = 829; goto try_except_handler_49; } PyTuple_SET_ITEM( tmp_right_name_16, 1, tmp_tuple_element_69 ); tmp_raise_value_16 = BINARY_OPERATION_REMAINDER( tmp_left_name_16, tmp_right_name_16 ); Py_DECREF( tmp_right_name_16 ); if ( tmp_raise_value_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_49; } exception_type = tmp_raise_type_16; Py_INCREF( tmp_raise_type_16 ); exception_value = tmp_raise_value_16; exception_lineno = 829; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_49; } branch_no_64:; } goto branch_end_63; branch_no_63:; { PyObject *tmp_assign_source_138; tmp_assign_source_138 = PyDict_New(); assert( tmp_class_creation_16__prepared == NULL ); tmp_class_creation_16__prepared = tmp_assign_source_138; } branch_end_63:; } { PyObject *tmp_assign_source_139; { PyObject *tmp_set_locals_16; CHECK_OBJECT( tmp_class_creation_16__prepared ); tmp_set_locals_16 = tmp_class_creation_16__prepared; locals_bs4$element_829 = tmp_set_locals_16; Py_INCREF( tmp_set_locals_16 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_829, 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 = 829; goto try_except_handler_51; } } { tmp_dictset_value = const_str_digest_0ffd0fc42335dceae8efe9c6f5089d15; tmp_res = PyObject_SetItem( locals_bs4$element_829, 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 = 829; goto try_except_handler_51; } } { tmp_dictset_value = const_str_plain_ProcessingInstruction; tmp_res = PyObject_SetItem( locals_bs4$element_829, 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 = 829; goto try_except_handler_51; } } MAKE_OR_REUSE_FRAME( cache_frame_f25f0cfba0b00f017bfa1221e0c5d98f_16, codeobj_f25f0cfba0b00f017bfa1221e0c5d98f, module_bs4$element, sizeof(void *) ); frame_f25f0cfba0b00f017bfa1221e0c5d98f_16 = cache_frame_f25f0cfba0b00f017bfa1221e0c5d98f_16; // Push the new frame as the currently active one. pushFrameStack( frame_f25f0cfba0b00f017bfa1221e0c5d98f_16 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_f25f0cfba0b00f017bfa1221e0c5d98f_16 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_str_digest_ce081481423abca80d01dc6b2ce9e9ea; tmp_res = PyObject_SetItem( locals_bs4$element_829, const_str_plain_PREFIX, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 832; type_description_2 = "o"; goto frame_exception_exit_16; } } { tmp_dictset_value = const_str_chr_62; tmp_res = PyObject_SetItem( locals_bs4$element_829, const_str_plain_SUFFIX, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 833; type_description_2 = "o"; goto frame_exception_exit_16; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_f25f0cfba0b00f017bfa1221e0c5d98f_16 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_15; frame_exception_exit_16:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f25f0cfba0b00f017bfa1221e0c5d98f_16 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_f25f0cfba0b00f017bfa1221e0c5d98f_16, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_f25f0cfba0b00f017bfa1221e0c5d98f_16->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_f25f0cfba0b00f017bfa1221e0c5d98f_16, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_f25f0cfba0b00f017bfa1221e0c5d98f_16, type_description_2, outline_15_var___class__ ); // Release cached frame. if ( frame_f25f0cfba0b00f017bfa1221e0c5d98f_16 == cache_frame_f25f0cfba0b00f017bfa1221e0c5d98f_16 ) { Py_DECREF( frame_f25f0cfba0b00f017bfa1221e0c5d98f_16 ); } cache_frame_f25f0cfba0b00f017bfa1221e0c5d98f_16 = NULL; assertFrameObject( frame_f25f0cfba0b00f017bfa1221e0c5d98f_16 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_15; frame_no_exception_15:; goto skip_nested_handling_15; nested_frame_exit_15:; goto try_except_handler_51; skip_nested_handling_15:; { nuitka_bool tmp_condition_result_112; PyObject *tmp_compexpr_left_18; PyObject *tmp_compexpr_right_18; CHECK_OBJECT( tmp_class_creation_16__bases ); tmp_compexpr_left_18 = tmp_class_creation_16__bases; CHECK_OBJECT( tmp_class_creation_16__bases_orig ); tmp_compexpr_right_18 = tmp_class_creation_16__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_18, tmp_compexpr_right_18 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_51; } tmp_condition_result_112 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_112 == NUITKA_BOOL_TRUE ) { goto branch_yes_65; } else { goto branch_no_65; } branch_yes_65:; { CHECK_OBJECT( tmp_class_creation_16__bases_orig ); tmp_dictset_value = tmp_class_creation_16__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_829, 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 = 829; goto try_except_handler_51; } } branch_no_65:; } { PyObject *tmp_assign_source_140; PyObject *tmp_called_name_64; PyObject *tmp_args_name_32; PyObject *tmp_tuple_element_70; PyObject *tmp_kw_name_32; CHECK_OBJECT( tmp_class_creation_16__metaclass ); tmp_called_name_64 = tmp_class_creation_16__metaclass; tmp_tuple_element_70 = const_str_plain_ProcessingInstruction; tmp_args_name_32 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_70 ); PyTuple_SET_ITEM( tmp_args_name_32, 0, tmp_tuple_element_70 ); CHECK_OBJECT( tmp_class_creation_16__bases ); tmp_tuple_element_70 = tmp_class_creation_16__bases; Py_INCREF( tmp_tuple_element_70 ); PyTuple_SET_ITEM( tmp_args_name_32, 1, tmp_tuple_element_70 ); tmp_tuple_element_70 = locals_bs4$element_829; Py_INCREF( tmp_tuple_element_70 ); PyTuple_SET_ITEM( tmp_args_name_32, 2, tmp_tuple_element_70 ); CHECK_OBJECT( tmp_class_creation_16__class_decl_dict ); tmp_kw_name_32 = tmp_class_creation_16__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 829; tmp_assign_source_140 = CALL_FUNCTION( tmp_called_name_64, tmp_args_name_32, tmp_kw_name_32 ); Py_DECREF( tmp_args_name_32 ); if ( tmp_assign_source_140 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; goto try_except_handler_51; } assert( outline_15_var___class__ == NULL ); outline_15_var___class__ = tmp_assign_source_140; } { CHECK_OBJECT( outline_15_var___class__ ); tmp_assign_source_139 = outline_15_var___class__; Py_INCREF( tmp_assign_source_139 ); goto try_return_handler_51; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_51:; { Py_DECREF( locals_bs4$element_829 ); locals_bs4$element_829 = NULL; } { goto try_return_handler_50; } // Exception handler code: try_except_handler_51:; exception_keeper_type_49 = exception_type; exception_keeper_value_49 = exception_value; exception_keeper_tb_49 = exception_tb; exception_keeper_lineno_49 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_829 ); locals_bs4$element_829 = NULL; } { // Re-raise. exception_type = exception_keeper_type_49; exception_value = exception_keeper_value_49; exception_tb = exception_keeper_tb_49; exception_lineno = exception_keeper_lineno_49; goto try_except_handler_50; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_50:; { CHECK_OBJECT( (PyObject *)outline_15_var___class__ ); Py_DECREF( outline_15_var___class__ ); outline_15_var___class__ = NULL; } { goto outline_result_16; } // Exception handler code: try_except_handler_50:; exception_keeper_type_50 = exception_type; exception_keeper_value_50 = exception_value; exception_keeper_tb_50 = exception_tb; exception_keeper_lineno_50 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_50; exception_value = exception_keeper_value_50; exception_tb = exception_keeper_tb_50; exception_lineno = exception_keeper_lineno_50; goto outline_exception_16; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_16:; exception_lineno = 829; goto try_except_handler_49; outline_result_16:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_ProcessingInstruction, tmp_assign_source_139 ); } goto try_end_19; // Exception handler code: try_except_handler_49:; exception_keeper_type_51 = exception_type; exception_keeper_value_51 = exception_value; exception_keeper_tb_51 = exception_tb; exception_keeper_lineno_51 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_16__bases ); tmp_class_creation_16__bases = NULL; } { Py_XDECREF( tmp_class_creation_16__class_decl_dict ); tmp_class_creation_16__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_16__metaclass ); tmp_class_creation_16__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_16__prepared ); tmp_class_creation_16__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_51; exception_value = exception_keeper_value_51; exception_tb = exception_keeper_tb_51; exception_lineno = exception_keeper_lineno_51; goto frame_exception_exit_1; } // End of try: try_end_19:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_16__bases ); Py_DECREF( tmp_class_creation_16__bases ); tmp_class_creation_16__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_16__class_decl_dict ); Py_DECREF( tmp_class_creation_16__class_decl_dict ); tmp_class_creation_16__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_16__metaclass ); Py_DECREF( tmp_class_creation_16__metaclass ); tmp_class_creation_16__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_16__prepared ); Py_DECREF( tmp_class_creation_16__prepared ); tmp_class_creation_16__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_141; PyObject *tmp_tuple_element_71; PyObject *tmp_mvar_value_26; tmp_mvar_value_26 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_ProcessingInstruction ); if (unlikely( tmp_mvar_value_26 == NULL )) { tmp_mvar_value_26 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ProcessingInstruction ); } if ( tmp_mvar_value_26 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ProcessingInstruction" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 835; goto try_except_handler_52; } tmp_tuple_element_71 = tmp_mvar_value_26; tmp_assign_source_141 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_71 ); PyTuple_SET_ITEM( tmp_assign_source_141, 0, tmp_tuple_element_71 ); assert( tmp_class_creation_17__bases_orig == NULL ); tmp_class_creation_17__bases_orig = tmp_assign_source_141; } { PyObject *tmp_assign_source_142; PyObject *tmp_dircall_arg1_17; CHECK_OBJECT( tmp_class_creation_17__bases_orig ); tmp_dircall_arg1_17 = tmp_class_creation_17__bases_orig; Py_INCREF( tmp_dircall_arg1_17 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_17}; tmp_assign_source_142 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_142 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_52; } assert( tmp_class_creation_17__bases == NULL ); tmp_class_creation_17__bases = tmp_assign_source_142; } { PyObject *tmp_assign_source_143; tmp_assign_source_143 = PyDict_New(); assert( tmp_class_creation_17__class_decl_dict == NULL ); tmp_class_creation_17__class_decl_dict = tmp_assign_source_143; } { PyObject *tmp_assign_source_144; PyObject *tmp_metaclass_name_17; nuitka_bool tmp_condition_result_113; PyObject *tmp_key_name_49; PyObject *tmp_dict_name_49; PyObject *tmp_dict_name_50; PyObject *tmp_key_name_50; nuitka_bool tmp_condition_result_114; int tmp_truth_name_17; PyObject *tmp_type_arg_33; PyObject *tmp_subscribed_name_18; PyObject *tmp_subscript_name_18; PyObject *tmp_bases_name_17; tmp_key_name_49 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_17__class_decl_dict ); tmp_dict_name_49 = tmp_class_creation_17__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_49, tmp_key_name_49 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_52; } tmp_condition_result_113 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_113 == NUITKA_BOOL_TRUE ) { goto condexpr_true_48; } else { goto condexpr_false_48; } condexpr_true_48:; CHECK_OBJECT( tmp_class_creation_17__class_decl_dict ); tmp_dict_name_50 = tmp_class_creation_17__class_decl_dict; tmp_key_name_50 = const_str_plain_metaclass; tmp_metaclass_name_17 = DICT_GET_ITEM( tmp_dict_name_50, tmp_key_name_50 ); if ( tmp_metaclass_name_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_52; } goto condexpr_end_48; condexpr_false_48:; CHECK_OBJECT( tmp_class_creation_17__bases ); tmp_truth_name_17 = CHECK_IF_TRUE( tmp_class_creation_17__bases ); if ( tmp_truth_name_17 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_52; } tmp_condition_result_114 = tmp_truth_name_17 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_114 == NUITKA_BOOL_TRUE ) { goto condexpr_true_49; } else { goto condexpr_false_49; } condexpr_true_49:; CHECK_OBJECT( tmp_class_creation_17__bases ); tmp_subscribed_name_18 = tmp_class_creation_17__bases; tmp_subscript_name_18 = const_int_0; tmp_type_arg_33 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_18, tmp_subscript_name_18, 0 ); if ( tmp_type_arg_33 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_52; } tmp_metaclass_name_17 = BUILTIN_TYPE1( tmp_type_arg_33 ); Py_DECREF( tmp_type_arg_33 ); if ( tmp_metaclass_name_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_52; } goto condexpr_end_49; condexpr_false_49:; tmp_metaclass_name_17 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_17 ); condexpr_end_49:; condexpr_end_48:; CHECK_OBJECT( tmp_class_creation_17__bases ); tmp_bases_name_17 = tmp_class_creation_17__bases; tmp_assign_source_144 = SELECT_METACLASS( tmp_metaclass_name_17, tmp_bases_name_17 ); Py_DECREF( tmp_metaclass_name_17 ); if ( tmp_assign_source_144 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_52; } assert( tmp_class_creation_17__metaclass == NULL ); tmp_class_creation_17__metaclass = tmp_assign_source_144; } { nuitka_bool tmp_condition_result_115; PyObject *tmp_key_name_51; PyObject *tmp_dict_name_51; tmp_key_name_51 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_17__class_decl_dict ); tmp_dict_name_51 = tmp_class_creation_17__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_51, tmp_key_name_51 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_52; } tmp_condition_result_115 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_115 == NUITKA_BOOL_TRUE ) { goto branch_yes_66; } else { goto branch_no_66; } branch_yes_66:; { CHECK_OBJECT( tmp_class_creation_17__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_17__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 = 835; goto try_except_handler_52; } } branch_no_66:; } { nuitka_bool tmp_condition_result_116; PyObject *tmp_source_name_68; CHECK_OBJECT( tmp_class_creation_17__metaclass ); tmp_source_name_68 = tmp_class_creation_17__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_68, const_str_plain___prepare__ ); tmp_condition_result_116 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_116 == NUITKA_BOOL_TRUE ) { goto branch_yes_67; } else { goto branch_no_67; } branch_yes_67:; { PyObject *tmp_assign_source_145; PyObject *tmp_called_name_65; PyObject *tmp_source_name_69; PyObject *tmp_args_name_33; PyObject *tmp_tuple_element_72; PyObject *tmp_kw_name_33; CHECK_OBJECT( tmp_class_creation_17__metaclass ); tmp_source_name_69 = tmp_class_creation_17__metaclass; tmp_called_name_65 = LOOKUP_ATTRIBUTE( tmp_source_name_69, const_str_plain___prepare__ ); if ( tmp_called_name_65 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_52; } tmp_tuple_element_72 = const_str_plain_XMLProcessingInstruction; tmp_args_name_33 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_72 ); PyTuple_SET_ITEM( tmp_args_name_33, 0, tmp_tuple_element_72 ); CHECK_OBJECT( tmp_class_creation_17__bases ); tmp_tuple_element_72 = tmp_class_creation_17__bases; Py_INCREF( tmp_tuple_element_72 ); PyTuple_SET_ITEM( tmp_args_name_33, 1, tmp_tuple_element_72 ); CHECK_OBJECT( tmp_class_creation_17__class_decl_dict ); tmp_kw_name_33 = tmp_class_creation_17__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 835; tmp_assign_source_145 = CALL_FUNCTION( tmp_called_name_65, tmp_args_name_33, tmp_kw_name_33 ); Py_DECREF( tmp_called_name_65 ); Py_DECREF( tmp_args_name_33 ); if ( tmp_assign_source_145 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_52; } assert( tmp_class_creation_17__prepared == NULL ); tmp_class_creation_17__prepared = tmp_assign_source_145; } { nuitka_bool tmp_condition_result_117; PyObject *tmp_operand_name_17; PyObject *tmp_source_name_70; CHECK_OBJECT( tmp_class_creation_17__prepared ); tmp_source_name_70 = tmp_class_creation_17__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_70, const_str_plain___getitem__ ); tmp_operand_name_17 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_17 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_52; } tmp_condition_result_117 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_117 == NUITKA_BOOL_TRUE ) { goto branch_yes_68; } else { goto branch_no_68; } branch_yes_68:; { PyObject *tmp_raise_type_17; PyObject *tmp_raise_value_17; PyObject *tmp_left_name_17; PyObject *tmp_right_name_17; PyObject *tmp_tuple_element_73; PyObject *tmp_getattr_target_17; PyObject *tmp_getattr_attr_17; PyObject *tmp_getattr_default_17; PyObject *tmp_source_name_71; PyObject *tmp_type_arg_34; tmp_raise_type_17 = PyExc_TypeError; tmp_left_name_17 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_17__metaclass ); tmp_getattr_target_17 = tmp_class_creation_17__metaclass; tmp_getattr_attr_17 = const_str_plain___name__; tmp_getattr_default_17 = const_str_angle_metaclass; tmp_tuple_element_73 = BUILTIN_GETATTR( tmp_getattr_target_17, tmp_getattr_attr_17, tmp_getattr_default_17 ); if ( tmp_tuple_element_73 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_52; } tmp_right_name_17 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_17, 0, tmp_tuple_element_73 ); CHECK_OBJECT( tmp_class_creation_17__prepared ); tmp_type_arg_34 = tmp_class_creation_17__prepared; tmp_source_name_71 = BUILTIN_TYPE1( tmp_type_arg_34 ); assert( !(tmp_source_name_71 == NULL) ); tmp_tuple_element_73 = LOOKUP_ATTRIBUTE( tmp_source_name_71, const_str_plain___name__ ); Py_DECREF( tmp_source_name_71 ); if ( tmp_tuple_element_73 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_17 ); exception_lineno = 835; goto try_except_handler_52; } PyTuple_SET_ITEM( tmp_right_name_17, 1, tmp_tuple_element_73 ); tmp_raise_value_17 = BINARY_OPERATION_REMAINDER( tmp_left_name_17, tmp_right_name_17 ); Py_DECREF( tmp_right_name_17 ); if ( tmp_raise_value_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_52; } exception_type = tmp_raise_type_17; Py_INCREF( tmp_raise_type_17 ); exception_value = tmp_raise_value_17; exception_lineno = 835; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_52; } branch_no_68:; } goto branch_end_67; branch_no_67:; { PyObject *tmp_assign_source_146; tmp_assign_source_146 = PyDict_New(); assert( tmp_class_creation_17__prepared == NULL ); tmp_class_creation_17__prepared = tmp_assign_source_146; } branch_end_67:; } { PyObject *tmp_assign_source_147; { PyObject *tmp_set_locals_17; CHECK_OBJECT( tmp_class_creation_17__prepared ); tmp_set_locals_17 = tmp_class_creation_17__prepared; locals_bs4$element_835 = tmp_set_locals_17; Py_INCREF( tmp_set_locals_17 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_835, 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 = 835; goto try_except_handler_54; } } { tmp_dictset_value = const_str_digest_e1e9a7d7419bad7afb9206c02e4c795d; tmp_res = PyObject_SetItem( locals_bs4$element_835, 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 = 835; goto try_except_handler_54; } } { tmp_dictset_value = const_str_plain_XMLProcessingInstruction; tmp_res = PyObject_SetItem( locals_bs4$element_835, 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 = 835; goto try_except_handler_54; } } MAKE_OR_REUSE_FRAME( cache_frame_3c39fbf0eecc9d5427624a39fef2d444_17, codeobj_3c39fbf0eecc9d5427624a39fef2d444, module_bs4$element, sizeof(void *) ); frame_3c39fbf0eecc9d5427624a39fef2d444_17 = cache_frame_3c39fbf0eecc9d5427624a39fef2d444_17; // Push the new frame as the currently active one. pushFrameStack( frame_3c39fbf0eecc9d5427624a39fef2d444_17 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_3c39fbf0eecc9d5427624a39fef2d444_17 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_str_digest_ce081481423abca80d01dc6b2ce9e9ea; tmp_res = PyObject_SetItem( locals_bs4$element_835, const_str_plain_PREFIX, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 837; type_description_2 = "o"; goto frame_exception_exit_17; } } { tmp_dictset_value = const_str_digest_28f2d46bf240bc75f671359bf185105d; tmp_res = PyObject_SetItem( locals_bs4$element_835, const_str_plain_SUFFIX, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 838; type_description_2 = "o"; goto frame_exception_exit_17; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_3c39fbf0eecc9d5427624a39fef2d444_17 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_16; frame_exception_exit_17:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3c39fbf0eecc9d5427624a39fef2d444_17 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_3c39fbf0eecc9d5427624a39fef2d444_17, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_3c39fbf0eecc9d5427624a39fef2d444_17->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_3c39fbf0eecc9d5427624a39fef2d444_17, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_3c39fbf0eecc9d5427624a39fef2d444_17, type_description_2, outline_16_var___class__ ); // Release cached frame. if ( frame_3c39fbf0eecc9d5427624a39fef2d444_17 == cache_frame_3c39fbf0eecc9d5427624a39fef2d444_17 ) { Py_DECREF( frame_3c39fbf0eecc9d5427624a39fef2d444_17 ); } cache_frame_3c39fbf0eecc9d5427624a39fef2d444_17 = NULL; assertFrameObject( frame_3c39fbf0eecc9d5427624a39fef2d444_17 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_16; frame_no_exception_16:; goto skip_nested_handling_16; nested_frame_exit_16:; goto try_except_handler_54; skip_nested_handling_16:; { nuitka_bool tmp_condition_result_118; PyObject *tmp_compexpr_left_19; PyObject *tmp_compexpr_right_19; CHECK_OBJECT( tmp_class_creation_17__bases ); tmp_compexpr_left_19 = tmp_class_creation_17__bases; CHECK_OBJECT( tmp_class_creation_17__bases_orig ); tmp_compexpr_right_19 = tmp_class_creation_17__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_19, tmp_compexpr_right_19 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_54; } tmp_condition_result_118 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_118 == NUITKA_BOOL_TRUE ) { goto branch_yes_69; } else { goto branch_no_69; } branch_yes_69:; { CHECK_OBJECT( tmp_class_creation_17__bases_orig ); tmp_dictset_value = tmp_class_creation_17__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_835, 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 = 835; goto try_except_handler_54; } } branch_no_69:; } { PyObject *tmp_assign_source_148; PyObject *tmp_called_name_66; PyObject *tmp_args_name_34; PyObject *tmp_tuple_element_74; PyObject *tmp_kw_name_34; CHECK_OBJECT( tmp_class_creation_17__metaclass ); tmp_called_name_66 = tmp_class_creation_17__metaclass; tmp_tuple_element_74 = const_str_plain_XMLProcessingInstruction; tmp_args_name_34 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_74 ); PyTuple_SET_ITEM( tmp_args_name_34, 0, tmp_tuple_element_74 ); CHECK_OBJECT( tmp_class_creation_17__bases ); tmp_tuple_element_74 = tmp_class_creation_17__bases; Py_INCREF( tmp_tuple_element_74 ); PyTuple_SET_ITEM( tmp_args_name_34, 1, tmp_tuple_element_74 ); tmp_tuple_element_74 = locals_bs4$element_835; Py_INCREF( tmp_tuple_element_74 ); PyTuple_SET_ITEM( tmp_args_name_34, 2, tmp_tuple_element_74 ); CHECK_OBJECT( tmp_class_creation_17__class_decl_dict ); tmp_kw_name_34 = tmp_class_creation_17__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 835; tmp_assign_source_148 = CALL_FUNCTION( tmp_called_name_66, tmp_args_name_34, tmp_kw_name_34 ); Py_DECREF( tmp_args_name_34 ); if ( tmp_assign_source_148 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; goto try_except_handler_54; } assert( outline_16_var___class__ == NULL ); outline_16_var___class__ = tmp_assign_source_148; } { CHECK_OBJECT( outline_16_var___class__ ); tmp_assign_source_147 = outline_16_var___class__; Py_INCREF( tmp_assign_source_147 ); goto try_return_handler_54; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_54:; { Py_DECREF( locals_bs4$element_835 ); locals_bs4$element_835 = NULL; } { goto try_return_handler_53; } // Exception handler code: try_except_handler_54:; exception_keeper_type_52 = exception_type; exception_keeper_value_52 = exception_value; exception_keeper_tb_52 = exception_tb; exception_keeper_lineno_52 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_835 ); locals_bs4$element_835 = NULL; } { // Re-raise. exception_type = exception_keeper_type_52; exception_value = exception_keeper_value_52; exception_tb = exception_keeper_tb_52; exception_lineno = exception_keeper_lineno_52; goto try_except_handler_53; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_53:; { CHECK_OBJECT( (PyObject *)outline_16_var___class__ ); Py_DECREF( outline_16_var___class__ ); outline_16_var___class__ = NULL; } { goto outline_result_17; } // Exception handler code: try_except_handler_53:; exception_keeper_type_53 = exception_type; exception_keeper_value_53 = exception_value; exception_keeper_tb_53 = exception_tb; exception_keeper_lineno_53 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_53; exception_value = exception_keeper_value_53; exception_tb = exception_keeper_tb_53; exception_lineno = exception_keeper_lineno_53; goto outline_exception_17; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_17:; exception_lineno = 835; goto try_except_handler_52; outline_result_17:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_XMLProcessingInstruction, tmp_assign_source_147 ); } goto try_end_20; // Exception handler code: try_except_handler_52:; exception_keeper_type_54 = exception_type; exception_keeper_value_54 = exception_value; exception_keeper_tb_54 = exception_tb; exception_keeper_lineno_54 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_17__bases ); tmp_class_creation_17__bases = NULL; } { Py_XDECREF( tmp_class_creation_17__class_decl_dict ); tmp_class_creation_17__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_17__metaclass ); tmp_class_creation_17__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_17__prepared ); tmp_class_creation_17__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_54; exception_value = exception_keeper_value_54; exception_tb = exception_keeper_tb_54; exception_lineno = exception_keeper_lineno_54; goto frame_exception_exit_1; } // End of try: try_end_20:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_17__bases ); Py_DECREF( tmp_class_creation_17__bases ); tmp_class_creation_17__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_17__class_decl_dict ); Py_DECREF( tmp_class_creation_17__class_decl_dict ); tmp_class_creation_17__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_17__metaclass ); Py_DECREF( tmp_class_creation_17__metaclass ); tmp_class_creation_17__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_17__prepared ); Py_DECREF( tmp_class_creation_17__prepared ); tmp_class_creation_17__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_149; PyObject *tmp_tuple_element_75; PyObject *tmp_mvar_value_27; tmp_mvar_value_27 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PreformattedString ); if (unlikely( tmp_mvar_value_27 == NULL )) { tmp_mvar_value_27 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PreformattedString ); } if ( tmp_mvar_value_27 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PreformattedString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 840; goto try_except_handler_55; } tmp_tuple_element_75 = tmp_mvar_value_27; tmp_assign_source_149 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_75 ); PyTuple_SET_ITEM( tmp_assign_source_149, 0, tmp_tuple_element_75 ); assert( tmp_class_creation_18__bases_orig == NULL ); tmp_class_creation_18__bases_orig = tmp_assign_source_149; } { PyObject *tmp_assign_source_150; PyObject *tmp_dircall_arg1_18; CHECK_OBJECT( tmp_class_creation_18__bases_orig ); tmp_dircall_arg1_18 = tmp_class_creation_18__bases_orig; Py_INCREF( tmp_dircall_arg1_18 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_18}; tmp_assign_source_150 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_150 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_55; } assert( tmp_class_creation_18__bases == NULL ); tmp_class_creation_18__bases = tmp_assign_source_150; } { PyObject *tmp_assign_source_151; tmp_assign_source_151 = PyDict_New(); assert( tmp_class_creation_18__class_decl_dict == NULL ); tmp_class_creation_18__class_decl_dict = tmp_assign_source_151; } { PyObject *tmp_assign_source_152; PyObject *tmp_metaclass_name_18; nuitka_bool tmp_condition_result_119; PyObject *tmp_key_name_52; PyObject *tmp_dict_name_52; PyObject *tmp_dict_name_53; PyObject *tmp_key_name_53; nuitka_bool tmp_condition_result_120; int tmp_truth_name_18; PyObject *tmp_type_arg_35; PyObject *tmp_subscribed_name_19; PyObject *tmp_subscript_name_19; PyObject *tmp_bases_name_18; tmp_key_name_52 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_18__class_decl_dict ); tmp_dict_name_52 = tmp_class_creation_18__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_52, tmp_key_name_52 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_55; } tmp_condition_result_119 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_119 == NUITKA_BOOL_TRUE ) { goto condexpr_true_50; } else { goto condexpr_false_50; } condexpr_true_50:; CHECK_OBJECT( tmp_class_creation_18__class_decl_dict ); tmp_dict_name_53 = tmp_class_creation_18__class_decl_dict; tmp_key_name_53 = const_str_plain_metaclass; tmp_metaclass_name_18 = DICT_GET_ITEM( tmp_dict_name_53, tmp_key_name_53 ); if ( tmp_metaclass_name_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_55; } goto condexpr_end_50; condexpr_false_50:; CHECK_OBJECT( tmp_class_creation_18__bases ); tmp_truth_name_18 = CHECK_IF_TRUE( tmp_class_creation_18__bases ); if ( tmp_truth_name_18 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_55; } tmp_condition_result_120 = tmp_truth_name_18 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_120 == NUITKA_BOOL_TRUE ) { goto condexpr_true_51; } else { goto condexpr_false_51; } condexpr_true_51:; CHECK_OBJECT( tmp_class_creation_18__bases ); tmp_subscribed_name_19 = tmp_class_creation_18__bases; tmp_subscript_name_19 = const_int_0; tmp_type_arg_35 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_19, tmp_subscript_name_19, 0 ); if ( tmp_type_arg_35 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_55; } tmp_metaclass_name_18 = BUILTIN_TYPE1( tmp_type_arg_35 ); Py_DECREF( tmp_type_arg_35 ); if ( tmp_metaclass_name_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_55; } goto condexpr_end_51; condexpr_false_51:; tmp_metaclass_name_18 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_18 ); condexpr_end_51:; condexpr_end_50:; CHECK_OBJECT( tmp_class_creation_18__bases ); tmp_bases_name_18 = tmp_class_creation_18__bases; tmp_assign_source_152 = SELECT_METACLASS( tmp_metaclass_name_18, tmp_bases_name_18 ); Py_DECREF( tmp_metaclass_name_18 ); if ( tmp_assign_source_152 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_55; } assert( tmp_class_creation_18__metaclass == NULL ); tmp_class_creation_18__metaclass = tmp_assign_source_152; } { nuitka_bool tmp_condition_result_121; PyObject *tmp_key_name_54; PyObject *tmp_dict_name_54; tmp_key_name_54 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_18__class_decl_dict ); tmp_dict_name_54 = tmp_class_creation_18__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_54, tmp_key_name_54 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_55; } tmp_condition_result_121 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_121 == NUITKA_BOOL_TRUE ) { goto branch_yes_70; } else { goto branch_no_70; } branch_yes_70:; { CHECK_OBJECT( tmp_class_creation_18__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_18__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 = 840; goto try_except_handler_55; } } branch_no_70:; } { nuitka_bool tmp_condition_result_122; PyObject *tmp_source_name_72; CHECK_OBJECT( tmp_class_creation_18__metaclass ); tmp_source_name_72 = tmp_class_creation_18__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_72, const_str_plain___prepare__ ); tmp_condition_result_122 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_122 == NUITKA_BOOL_TRUE ) { goto branch_yes_71; } else { goto branch_no_71; } branch_yes_71:; { PyObject *tmp_assign_source_153; PyObject *tmp_called_name_67; PyObject *tmp_source_name_73; PyObject *tmp_args_name_35; PyObject *tmp_tuple_element_76; PyObject *tmp_kw_name_35; CHECK_OBJECT( tmp_class_creation_18__metaclass ); tmp_source_name_73 = tmp_class_creation_18__metaclass; tmp_called_name_67 = LOOKUP_ATTRIBUTE( tmp_source_name_73, const_str_plain___prepare__ ); if ( tmp_called_name_67 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_55; } tmp_tuple_element_76 = const_str_plain_Comment; tmp_args_name_35 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_76 ); PyTuple_SET_ITEM( tmp_args_name_35, 0, tmp_tuple_element_76 ); CHECK_OBJECT( tmp_class_creation_18__bases ); tmp_tuple_element_76 = tmp_class_creation_18__bases; Py_INCREF( tmp_tuple_element_76 ); PyTuple_SET_ITEM( tmp_args_name_35, 1, tmp_tuple_element_76 ); CHECK_OBJECT( tmp_class_creation_18__class_decl_dict ); tmp_kw_name_35 = tmp_class_creation_18__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 840; tmp_assign_source_153 = CALL_FUNCTION( tmp_called_name_67, tmp_args_name_35, tmp_kw_name_35 ); Py_DECREF( tmp_called_name_67 ); Py_DECREF( tmp_args_name_35 ); if ( tmp_assign_source_153 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_55; } assert( tmp_class_creation_18__prepared == NULL ); tmp_class_creation_18__prepared = tmp_assign_source_153; } { nuitka_bool tmp_condition_result_123; PyObject *tmp_operand_name_18; PyObject *tmp_source_name_74; CHECK_OBJECT( tmp_class_creation_18__prepared ); tmp_source_name_74 = tmp_class_creation_18__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_74, const_str_plain___getitem__ ); tmp_operand_name_18 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_18 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_55; } tmp_condition_result_123 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_123 == NUITKA_BOOL_TRUE ) { goto branch_yes_72; } else { goto branch_no_72; } branch_yes_72:; { PyObject *tmp_raise_type_18; PyObject *tmp_raise_value_18; PyObject *tmp_left_name_18; PyObject *tmp_right_name_18; PyObject *tmp_tuple_element_77; PyObject *tmp_getattr_target_18; PyObject *tmp_getattr_attr_18; PyObject *tmp_getattr_default_18; PyObject *tmp_source_name_75; PyObject *tmp_type_arg_36; tmp_raise_type_18 = PyExc_TypeError; tmp_left_name_18 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_18__metaclass ); tmp_getattr_target_18 = tmp_class_creation_18__metaclass; tmp_getattr_attr_18 = const_str_plain___name__; tmp_getattr_default_18 = const_str_angle_metaclass; tmp_tuple_element_77 = BUILTIN_GETATTR( tmp_getattr_target_18, tmp_getattr_attr_18, tmp_getattr_default_18 ); if ( tmp_tuple_element_77 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_55; } tmp_right_name_18 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_18, 0, tmp_tuple_element_77 ); CHECK_OBJECT( tmp_class_creation_18__prepared ); tmp_type_arg_36 = tmp_class_creation_18__prepared; tmp_source_name_75 = BUILTIN_TYPE1( tmp_type_arg_36 ); assert( !(tmp_source_name_75 == NULL) ); tmp_tuple_element_77 = LOOKUP_ATTRIBUTE( tmp_source_name_75, const_str_plain___name__ ); Py_DECREF( tmp_source_name_75 ); if ( tmp_tuple_element_77 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_18 ); exception_lineno = 840; goto try_except_handler_55; } PyTuple_SET_ITEM( tmp_right_name_18, 1, tmp_tuple_element_77 ); tmp_raise_value_18 = BINARY_OPERATION_REMAINDER( tmp_left_name_18, tmp_right_name_18 ); Py_DECREF( tmp_right_name_18 ); if ( tmp_raise_value_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_55; } exception_type = tmp_raise_type_18; Py_INCREF( tmp_raise_type_18 ); exception_value = tmp_raise_value_18; exception_lineno = 840; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_55; } branch_no_72:; } goto branch_end_71; branch_no_71:; { PyObject *tmp_assign_source_154; tmp_assign_source_154 = PyDict_New(); assert( tmp_class_creation_18__prepared == NULL ); tmp_class_creation_18__prepared = tmp_assign_source_154; } branch_end_71:; } { PyObject *tmp_assign_source_155; { PyObject *tmp_set_locals_18; CHECK_OBJECT( tmp_class_creation_18__prepared ); tmp_set_locals_18 = tmp_class_creation_18__prepared; locals_bs4$element_840 = tmp_set_locals_18; Py_INCREF( tmp_set_locals_18 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_840, 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 = 840; goto try_except_handler_57; } } { tmp_dictset_value = const_str_plain_Comment; tmp_res = PyObject_SetItem( locals_bs4$element_840, 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 = 840; goto try_except_handler_57; } } MAKE_OR_REUSE_FRAME( cache_frame_9e2bf96330a498442c1d54bae9cbca77_18, codeobj_9e2bf96330a498442c1d54bae9cbca77, module_bs4$element, sizeof(void *) ); frame_9e2bf96330a498442c1d54bae9cbca77_18 = cache_frame_9e2bf96330a498442c1d54bae9cbca77_18; // Push the new frame as the currently active one. pushFrameStack( frame_9e2bf96330a498442c1d54bae9cbca77_18 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_9e2bf96330a498442c1d54bae9cbca77_18 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_str_digest_10b0cc8d52dbda6d37909d215669cae2; tmp_res = PyObject_SetItem( locals_bs4$element_840, const_str_plain_PREFIX, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 842; type_description_2 = "o"; goto frame_exception_exit_18; } } { tmp_dictset_value = const_str_digest_08c55f7436746dfbed837b418ea65a70; tmp_res = PyObject_SetItem( locals_bs4$element_840, const_str_plain_SUFFIX, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 843; type_description_2 = "o"; goto frame_exception_exit_18; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_9e2bf96330a498442c1d54bae9cbca77_18 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_17; frame_exception_exit_18:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9e2bf96330a498442c1d54bae9cbca77_18 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_9e2bf96330a498442c1d54bae9cbca77_18, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_9e2bf96330a498442c1d54bae9cbca77_18->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_9e2bf96330a498442c1d54bae9cbca77_18, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_9e2bf96330a498442c1d54bae9cbca77_18, type_description_2, outline_17_var___class__ ); // Release cached frame. if ( frame_9e2bf96330a498442c1d54bae9cbca77_18 == cache_frame_9e2bf96330a498442c1d54bae9cbca77_18 ) { Py_DECREF( frame_9e2bf96330a498442c1d54bae9cbca77_18 ); } cache_frame_9e2bf96330a498442c1d54bae9cbca77_18 = NULL; assertFrameObject( frame_9e2bf96330a498442c1d54bae9cbca77_18 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_17; frame_no_exception_17:; goto skip_nested_handling_17; nested_frame_exit_17:; goto try_except_handler_57; skip_nested_handling_17:; { nuitka_bool tmp_condition_result_124; PyObject *tmp_compexpr_left_20; PyObject *tmp_compexpr_right_20; CHECK_OBJECT( tmp_class_creation_18__bases ); tmp_compexpr_left_20 = tmp_class_creation_18__bases; CHECK_OBJECT( tmp_class_creation_18__bases_orig ); tmp_compexpr_right_20 = tmp_class_creation_18__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_20, tmp_compexpr_right_20 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_57; } tmp_condition_result_124 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_124 == NUITKA_BOOL_TRUE ) { goto branch_yes_73; } else { goto branch_no_73; } branch_yes_73:; { CHECK_OBJECT( tmp_class_creation_18__bases_orig ); tmp_dictset_value = tmp_class_creation_18__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_840, 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 = 840; goto try_except_handler_57; } } branch_no_73:; } { PyObject *tmp_assign_source_156; PyObject *tmp_called_name_68; PyObject *tmp_args_name_36; PyObject *tmp_tuple_element_78; PyObject *tmp_kw_name_36; CHECK_OBJECT( tmp_class_creation_18__metaclass ); tmp_called_name_68 = tmp_class_creation_18__metaclass; tmp_tuple_element_78 = const_str_plain_Comment; tmp_args_name_36 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_78 ); PyTuple_SET_ITEM( tmp_args_name_36, 0, tmp_tuple_element_78 ); CHECK_OBJECT( tmp_class_creation_18__bases ); tmp_tuple_element_78 = tmp_class_creation_18__bases; Py_INCREF( tmp_tuple_element_78 ); PyTuple_SET_ITEM( tmp_args_name_36, 1, tmp_tuple_element_78 ); tmp_tuple_element_78 = locals_bs4$element_840; Py_INCREF( tmp_tuple_element_78 ); PyTuple_SET_ITEM( tmp_args_name_36, 2, tmp_tuple_element_78 ); CHECK_OBJECT( tmp_class_creation_18__class_decl_dict ); tmp_kw_name_36 = tmp_class_creation_18__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 840; tmp_assign_source_156 = CALL_FUNCTION( tmp_called_name_68, tmp_args_name_36, tmp_kw_name_36 ); Py_DECREF( tmp_args_name_36 ); if ( tmp_assign_source_156 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 840; goto try_except_handler_57; } assert( outline_17_var___class__ == NULL ); outline_17_var___class__ = tmp_assign_source_156; } { CHECK_OBJECT( outline_17_var___class__ ); tmp_assign_source_155 = outline_17_var___class__; Py_INCREF( tmp_assign_source_155 ); goto try_return_handler_57; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_57:; { Py_DECREF( locals_bs4$element_840 ); locals_bs4$element_840 = NULL; } { goto try_return_handler_56; } // Exception handler code: try_except_handler_57:; exception_keeper_type_55 = exception_type; exception_keeper_value_55 = exception_value; exception_keeper_tb_55 = exception_tb; exception_keeper_lineno_55 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_840 ); locals_bs4$element_840 = NULL; } { // Re-raise. exception_type = exception_keeper_type_55; exception_value = exception_keeper_value_55; exception_tb = exception_keeper_tb_55; exception_lineno = exception_keeper_lineno_55; goto try_except_handler_56; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_56:; { CHECK_OBJECT( (PyObject *)outline_17_var___class__ ); Py_DECREF( outline_17_var___class__ ); outline_17_var___class__ = NULL; } { goto outline_result_18; } // Exception handler code: try_except_handler_56:; exception_keeper_type_56 = exception_type; exception_keeper_value_56 = exception_value; exception_keeper_tb_56 = exception_tb; exception_keeper_lineno_56 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_56; exception_value = exception_keeper_value_56; exception_tb = exception_keeper_tb_56; exception_lineno = exception_keeper_lineno_56; goto outline_exception_18; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_18:; exception_lineno = 840; goto try_except_handler_55; outline_result_18:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Comment, tmp_assign_source_155 ); } goto try_end_21; // Exception handler code: try_except_handler_55:; exception_keeper_type_57 = exception_type; exception_keeper_value_57 = exception_value; exception_keeper_tb_57 = exception_tb; exception_keeper_lineno_57 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_18__bases ); tmp_class_creation_18__bases = NULL; } { Py_XDECREF( tmp_class_creation_18__class_decl_dict ); tmp_class_creation_18__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_18__metaclass ); tmp_class_creation_18__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_18__prepared ); tmp_class_creation_18__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_57; exception_value = exception_keeper_value_57; exception_tb = exception_keeper_tb_57; exception_lineno = exception_keeper_lineno_57; goto frame_exception_exit_1; } // End of try: try_end_21:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_18__bases ); Py_DECREF( tmp_class_creation_18__bases ); tmp_class_creation_18__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_18__class_decl_dict ); Py_DECREF( tmp_class_creation_18__class_decl_dict ); tmp_class_creation_18__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_18__metaclass ); Py_DECREF( tmp_class_creation_18__metaclass ); tmp_class_creation_18__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_18__prepared ); Py_DECREF( tmp_class_creation_18__prepared ); tmp_class_creation_18__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_157; PyObject *tmp_tuple_element_79; PyObject *tmp_mvar_value_28; tmp_mvar_value_28 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PreformattedString ); if (unlikely( tmp_mvar_value_28 == NULL )) { tmp_mvar_value_28 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PreformattedString ); } if ( tmp_mvar_value_28 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PreformattedString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 846; goto try_except_handler_58; } tmp_tuple_element_79 = tmp_mvar_value_28; tmp_assign_source_157 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_79 ); PyTuple_SET_ITEM( tmp_assign_source_157, 0, tmp_tuple_element_79 ); assert( tmp_class_creation_19__bases_orig == NULL ); tmp_class_creation_19__bases_orig = tmp_assign_source_157; } { PyObject *tmp_assign_source_158; PyObject *tmp_dircall_arg1_19; CHECK_OBJECT( tmp_class_creation_19__bases_orig ); tmp_dircall_arg1_19 = tmp_class_creation_19__bases_orig; Py_INCREF( tmp_dircall_arg1_19 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_19}; tmp_assign_source_158 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_158 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_58; } assert( tmp_class_creation_19__bases == NULL ); tmp_class_creation_19__bases = tmp_assign_source_158; } { PyObject *tmp_assign_source_159; tmp_assign_source_159 = PyDict_New(); assert( tmp_class_creation_19__class_decl_dict == NULL ); tmp_class_creation_19__class_decl_dict = tmp_assign_source_159; } { PyObject *tmp_assign_source_160; PyObject *tmp_metaclass_name_19; nuitka_bool tmp_condition_result_125; PyObject *tmp_key_name_55; PyObject *tmp_dict_name_55; PyObject *tmp_dict_name_56; PyObject *tmp_key_name_56; nuitka_bool tmp_condition_result_126; int tmp_truth_name_19; PyObject *tmp_type_arg_37; PyObject *tmp_subscribed_name_20; PyObject *tmp_subscript_name_20; PyObject *tmp_bases_name_19; tmp_key_name_55 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_19__class_decl_dict ); tmp_dict_name_55 = tmp_class_creation_19__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_55, tmp_key_name_55 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_58; } tmp_condition_result_125 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_125 == NUITKA_BOOL_TRUE ) { goto condexpr_true_52; } else { goto condexpr_false_52; } condexpr_true_52:; CHECK_OBJECT( tmp_class_creation_19__class_decl_dict ); tmp_dict_name_56 = tmp_class_creation_19__class_decl_dict; tmp_key_name_56 = const_str_plain_metaclass; tmp_metaclass_name_19 = DICT_GET_ITEM( tmp_dict_name_56, tmp_key_name_56 ); if ( tmp_metaclass_name_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_58; } goto condexpr_end_52; condexpr_false_52:; CHECK_OBJECT( tmp_class_creation_19__bases ); tmp_truth_name_19 = CHECK_IF_TRUE( tmp_class_creation_19__bases ); if ( tmp_truth_name_19 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_58; } tmp_condition_result_126 = tmp_truth_name_19 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_126 == NUITKA_BOOL_TRUE ) { goto condexpr_true_53; } else { goto condexpr_false_53; } condexpr_true_53:; CHECK_OBJECT( tmp_class_creation_19__bases ); tmp_subscribed_name_20 = tmp_class_creation_19__bases; tmp_subscript_name_20 = const_int_0; tmp_type_arg_37 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_20, tmp_subscript_name_20, 0 ); if ( tmp_type_arg_37 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_58; } tmp_metaclass_name_19 = BUILTIN_TYPE1( tmp_type_arg_37 ); Py_DECREF( tmp_type_arg_37 ); if ( tmp_metaclass_name_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_58; } goto condexpr_end_53; condexpr_false_53:; tmp_metaclass_name_19 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_19 ); condexpr_end_53:; condexpr_end_52:; CHECK_OBJECT( tmp_class_creation_19__bases ); tmp_bases_name_19 = tmp_class_creation_19__bases; tmp_assign_source_160 = SELECT_METACLASS( tmp_metaclass_name_19, tmp_bases_name_19 ); Py_DECREF( tmp_metaclass_name_19 ); if ( tmp_assign_source_160 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_58; } assert( tmp_class_creation_19__metaclass == NULL ); tmp_class_creation_19__metaclass = tmp_assign_source_160; } { nuitka_bool tmp_condition_result_127; PyObject *tmp_key_name_57; PyObject *tmp_dict_name_57; tmp_key_name_57 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_19__class_decl_dict ); tmp_dict_name_57 = tmp_class_creation_19__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_57, tmp_key_name_57 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_58; } tmp_condition_result_127 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_127 == NUITKA_BOOL_TRUE ) { goto branch_yes_74; } else { goto branch_no_74; } branch_yes_74:; { CHECK_OBJECT( tmp_class_creation_19__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_19__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 = 846; goto try_except_handler_58; } } branch_no_74:; } { nuitka_bool tmp_condition_result_128; PyObject *tmp_source_name_76; CHECK_OBJECT( tmp_class_creation_19__metaclass ); tmp_source_name_76 = tmp_class_creation_19__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_76, const_str_plain___prepare__ ); tmp_condition_result_128 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_128 == NUITKA_BOOL_TRUE ) { goto branch_yes_75; } else { goto branch_no_75; } branch_yes_75:; { PyObject *tmp_assign_source_161; PyObject *tmp_called_name_69; PyObject *tmp_source_name_77; PyObject *tmp_args_name_37; PyObject *tmp_tuple_element_80; PyObject *tmp_kw_name_37; CHECK_OBJECT( tmp_class_creation_19__metaclass ); tmp_source_name_77 = tmp_class_creation_19__metaclass; tmp_called_name_69 = LOOKUP_ATTRIBUTE( tmp_source_name_77, const_str_plain___prepare__ ); if ( tmp_called_name_69 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_58; } tmp_tuple_element_80 = const_str_plain_Declaration; tmp_args_name_37 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_80 ); PyTuple_SET_ITEM( tmp_args_name_37, 0, tmp_tuple_element_80 ); CHECK_OBJECT( tmp_class_creation_19__bases ); tmp_tuple_element_80 = tmp_class_creation_19__bases; Py_INCREF( tmp_tuple_element_80 ); PyTuple_SET_ITEM( tmp_args_name_37, 1, tmp_tuple_element_80 ); CHECK_OBJECT( tmp_class_creation_19__class_decl_dict ); tmp_kw_name_37 = tmp_class_creation_19__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 846; tmp_assign_source_161 = CALL_FUNCTION( tmp_called_name_69, tmp_args_name_37, tmp_kw_name_37 ); Py_DECREF( tmp_called_name_69 ); Py_DECREF( tmp_args_name_37 ); if ( tmp_assign_source_161 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_58; } assert( tmp_class_creation_19__prepared == NULL ); tmp_class_creation_19__prepared = tmp_assign_source_161; } { nuitka_bool tmp_condition_result_129; PyObject *tmp_operand_name_19; PyObject *tmp_source_name_78; CHECK_OBJECT( tmp_class_creation_19__prepared ); tmp_source_name_78 = tmp_class_creation_19__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_78, const_str_plain___getitem__ ); tmp_operand_name_19 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_19 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_58; } tmp_condition_result_129 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_129 == NUITKA_BOOL_TRUE ) { goto branch_yes_76; } else { goto branch_no_76; } branch_yes_76:; { PyObject *tmp_raise_type_19; PyObject *tmp_raise_value_19; PyObject *tmp_left_name_19; PyObject *tmp_right_name_19; PyObject *tmp_tuple_element_81; PyObject *tmp_getattr_target_19; PyObject *tmp_getattr_attr_19; PyObject *tmp_getattr_default_19; PyObject *tmp_source_name_79; PyObject *tmp_type_arg_38; tmp_raise_type_19 = PyExc_TypeError; tmp_left_name_19 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_19__metaclass ); tmp_getattr_target_19 = tmp_class_creation_19__metaclass; tmp_getattr_attr_19 = const_str_plain___name__; tmp_getattr_default_19 = const_str_angle_metaclass; tmp_tuple_element_81 = BUILTIN_GETATTR( tmp_getattr_target_19, tmp_getattr_attr_19, tmp_getattr_default_19 ); if ( tmp_tuple_element_81 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_58; } tmp_right_name_19 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_19, 0, tmp_tuple_element_81 ); CHECK_OBJECT( tmp_class_creation_19__prepared ); tmp_type_arg_38 = tmp_class_creation_19__prepared; tmp_source_name_79 = BUILTIN_TYPE1( tmp_type_arg_38 ); assert( !(tmp_source_name_79 == NULL) ); tmp_tuple_element_81 = LOOKUP_ATTRIBUTE( tmp_source_name_79, const_str_plain___name__ ); Py_DECREF( tmp_source_name_79 ); if ( tmp_tuple_element_81 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_19 ); exception_lineno = 846; goto try_except_handler_58; } PyTuple_SET_ITEM( tmp_right_name_19, 1, tmp_tuple_element_81 ); tmp_raise_value_19 = BINARY_OPERATION_REMAINDER( tmp_left_name_19, tmp_right_name_19 ); Py_DECREF( tmp_right_name_19 ); if ( tmp_raise_value_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_58; } exception_type = tmp_raise_type_19; Py_INCREF( tmp_raise_type_19 ); exception_value = tmp_raise_value_19; exception_lineno = 846; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_58; } branch_no_76:; } goto branch_end_75; branch_no_75:; { PyObject *tmp_assign_source_162; tmp_assign_source_162 = PyDict_New(); assert( tmp_class_creation_19__prepared == NULL ); tmp_class_creation_19__prepared = tmp_assign_source_162; } branch_end_75:; } { PyObject *tmp_assign_source_163; { PyObject *tmp_set_locals_19; CHECK_OBJECT( tmp_class_creation_19__prepared ); tmp_set_locals_19 = tmp_class_creation_19__prepared; locals_bs4$element_846 = tmp_set_locals_19; Py_INCREF( tmp_set_locals_19 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_846, 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 = 846; goto try_except_handler_60; } } { tmp_dictset_value = const_str_plain_Declaration; tmp_res = PyObject_SetItem( locals_bs4$element_846, 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 = 846; goto try_except_handler_60; } } MAKE_OR_REUSE_FRAME( cache_frame_09f3cc442a3b09d0e80e4b62f05677fc_19, codeobj_09f3cc442a3b09d0e80e4b62f05677fc, module_bs4$element, sizeof(void *) ); frame_09f3cc442a3b09d0e80e4b62f05677fc_19 = cache_frame_09f3cc442a3b09d0e80e4b62f05677fc_19; // Push the new frame as the currently active one. pushFrameStack( frame_09f3cc442a3b09d0e80e4b62f05677fc_19 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_09f3cc442a3b09d0e80e4b62f05677fc_19 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_str_digest_ce081481423abca80d01dc6b2ce9e9ea; tmp_res = PyObject_SetItem( locals_bs4$element_846, const_str_plain_PREFIX, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 847; type_description_2 = "o"; goto frame_exception_exit_19; } } { tmp_dictset_value = const_str_digest_28f2d46bf240bc75f671359bf185105d; tmp_res = PyObject_SetItem( locals_bs4$element_846, const_str_plain_SUFFIX, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 848; type_description_2 = "o"; goto frame_exception_exit_19; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_09f3cc442a3b09d0e80e4b62f05677fc_19 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_18; frame_exception_exit_19:; #if 0 RESTORE_FRAME_EXCEPTION( frame_09f3cc442a3b09d0e80e4b62f05677fc_19 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_09f3cc442a3b09d0e80e4b62f05677fc_19, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_09f3cc442a3b09d0e80e4b62f05677fc_19->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_09f3cc442a3b09d0e80e4b62f05677fc_19, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_09f3cc442a3b09d0e80e4b62f05677fc_19, type_description_2, outline_18_var___class__ ); // Release cached frame. if ( frame_09f3cc442a3b09d0e80e4b62f05677fc_19 == cache_frame_09f3cc442a3b09d0e80e4b62f05677fc_19 ) { Py_DECREF( frame_09f3cc442a3b09d0e80e4b62f05677fc_19 ); } cache_frame_09f3cc442a3b09d0e80e4b62f05677fc_19 = NULL; assertFrameObject( frame_09f3cc442a3b09d0e80e4b62f05677fc_19 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_18; frame_no_exception_18:; goto skip_nested_handling_18; nested_frame_exit_18:; goto try_except_handler_60; skip_nested_handling_18:; { nuitka_bool tmp_condition_result_130; PyObject *tmp_compexpr_left_21; PyObject *tmp_compexpr_right_21; CHECK_OBJECT( tmp_class_creation_19__bases ); tmp_compexpr_left_21 = tmp_class_creation_19__bases; CHECK_OBJECT( tmp_class_creation_19__bases_orig ); tmp_compexpr_right_21 = tmp_class_creation_19__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_21, tmp_compexpr_right_21 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_60; } tmp_condition_result_130 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_130 == NUITKA_BOOL_TRUE ) { goto branch_yes_77; } else { goto branch_no_77; } branch_yes_77:; { CHECK_OBJECT( tmp_class_creation_19__bases_orig ); tmp_dictset_value = tmp_class_creation_19__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_846, 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 = 846; goto try_except_handler_60; } } branch_no_77:; } { PyObject *tmp_assign_source_164; PyObject *tmp_called_name_70; PyObject *tmp_args_name_38; PyObject *tmp_tuple_element_82; PyObject *tmp_kw_name_38; CHECK_OBJECT( tmp_class_creation_19__metaclass ); tmp_called_name_70 = tmp_class_creation_19__metaclass; tmp_tuple_element_82 = const_str_plain_Declaration; tmp_args_name_38 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_82 ); PyTuple_SET_ITEM( tmp_args_name_38, 0, tmp_tuple_element_82 ); CHECK_OBJECT( tmp_class_creation_19__bases ); tmp_tuple_element_82 = tmp_class_creation_19__bases; Py_INCREF( tmp_tuple_element_82 ); PyTuple_SET_ITEM( tmp_args_name_38, 1, tmp_tuple_element_82 ); tmp_tuple_element_82 = locals_bs4$element_846; Py_INCREF( tmp_tuple_element_82 ); PyTuple_SET_ITEM( tmp_args_name_38, 2, tmp_tuple_element_82 ); CHECK_OBJECT( tmp_class_creation_19__class_decl_dict ); tmp_kw_name_38 = tmp_class_creation_19__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 846; tmp_assign_source_164 = CALL_FUNCTION( tmp_called_name_70, tmp_args_name_38, tmp_kw_name_38 ); Py_DECREF( tmp_args_name_38 ); if ( tmp_assign_source_164 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 846; goto try_except_handler_60; } assert( outline_18_var___class__ == NULL ); outline_18_var___class__ = tmp_assign_source_164; } { CHECK_OBJECT( outline_18_var___class__ ); tmp_assign_source_163 = outline_18_var___class__; Py_INCREF( tmp_assign_source_163 ); goto try_return_handler_60; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_60:; { Py_DECREF( locals_bs4$element_846 ); locals_bs4$element_846 = NULL; } { goto try_return_handler_59; } // Exception handler code: try_except_handler_60:; exception_keeper_type_58 = exception_type; exception_keeper_value_58 = exception_value; exception_keeper_tb_58 = exception_tb; exception_keeper_lineno_58 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_846 ); locals_bs4$element_846 = NULL; } { // Re-raise. exception_type = exception_keeper_type_58; exception_value = exception_keeper_value_58; exception_tb = exception_keeper_tb_58; exception_lineno = exception_keeper_lineno_58; goto try_except_handler_59; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_59:; { CHECK_OBJECT( (PyObject *)outline_18_var___class__ ); Py_DECREF( outline_18_var___class__ ); outline_18_var___class__ = NULL; } { goto outline_result_19; } // Exception handler code: try_except_handler_59:; exception_keeper_type_59 = exception_type; exception_keeper_value_59 = exception_value; exception_keeper_tb_59 = exception_tb; exception_keeper_lineno_59 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_59; exception_value = exception_keeper_value_59; exception_tb = exception_keeper_tb_59; exception_lineno = exception_keeper_lineno_59; goto outline_exception_19; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_19:; exception_lineno = 846; goto try_except_handler_58; outline_result_19:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Declaration, tmp_assign_source_163 ); } goto try_end_22; // Exception handler code: try_except_handler_58:; exception_keeper_type_60 = exception_type; exception_keeper_value_60 = exception_value; exception_keeper_tb_60 = exception_tb; exception_keeper_lineno_60 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_19__bases ); tmp_class_creation_19__bases = NULL; } { Py_XDECREF( tmp_class_creation_19__class_decl_dict ); tmp_class_creation_19__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_19__metaclass ); tmp_class_creation_19__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_19__prepared ); tmp_class_creation_19__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_60; exception_value = exception_keeper_value_60; exception_tb = exception_keeper_tb_60; exception_lineno = exception_keeper_lineno_60; goto frame_exception_exit_1; } // End of try: try_end_22:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_19__bases ); Py_DECREF( tmp_class_creation_19__bases ); tmp_class_creation_19__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_19__class_decl_dict ); Py_DECREF( tmp_class_creation_19__class_decl_dict ); tmp_class_creation_19__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_19__metaclass ); Py_DECREF( tmp_class_creation_19__metaclass ); tmp_class_creation_19__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_19__prepared ); Py_DECREF( tmp_class_creation_19__prepared ); tmp_class_creation_19__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_165; PyObject *tmp_tuple_element_83; PyObject *tmp_mvar_value_29; tmp_mvar_value_29 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PreformattedString ); if (unlikely( tmp_mvar_value_29 == NULL )) { tmp_mvar_value_29 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PreformattedString ); } if ( tmp_mvar_value_29 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PreformattedString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 851; goto try_except_handler_61; } tmp_tuple_element_83 = tmp_mvar_value_29; tmp_assign_source_165 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_83 ); PyTuple_SET_ITEM( tmp_assign_source_165, 0, tmp_tuple_element_83 ); assert( tmp_class_creation_20__bases_orig == NULL ); tmp_class_creation_20__bases_orig = tmp_assign_source_165; } { PyObject *tmp_assign_source_166; PyObject *tmp_dircall_arg1_20; CHECK_OBJECT( tmp_class_creation_20__bases_orig ); tmp_dircall_arg1_20 = tmp_class_creation_20__bases_orig; Py_INCREF( tmp_dircall_arg1_20 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_20}; tmp_assign_source_166 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_166 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_61; } assert( tmp_class_creation_20__bases == NULL ); tmp_class_creation_20__bases = tmp_assign_source_166; } { PyObject *tmp_assign_source_167; tmp_assign_source_167 = PyDict_New(); assert( tmp_class_creation_20__class_decl_dict == NULL ); tmp_class_creation_20__class_decl_dict = tmp_assign_source_167; } { PyObject *tmp_assign_source_168; PyObject *tmp_metaclass_name_20; nuitka_bool tmp_condition_result_131; PyObject *tmp_key_name_58; PyObject *tmp_dict_name_58; PyObject *tmp_dict_name_59; PyObject *tmp_key_name_59; nuitka_bool tmp_condition_result_132; int tmp_truth_name_20; PyObject *tmp_type_arg_39; PyObject *tmp_subscribed_name_21; PyObject *tmp_subscript_name_21; PyObject *tmp_bases_name_20; tmp_key_name_58 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_20__class_decl_dict ); tmp_dict_name_58 = tmp_class_creation_20__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_58, tmp_key_name_58 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_61; } tmp_condition_result_131 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_131 == NUITKA_BOOL_TRUE ) { goto condexpr_true_54; } else { goto condexpr_false_54; } condexpr_true_54:; CHECK_OBJECT( tmp_class_creation_20__class_decl_dict ); tmp_dict_name_59 = tmp_class_creation_20__class_decl_dict; tmp_key_name_59 = const_str_plain_metaclass; tmp_metaclass_name_20 = DICT_GET_ITEM( tmp_dict_name_59, tmp_key_name_59 ); if ( tmp_metaclass_name_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_61; } goto condexpr_end_54; condexpr_false_54:; CHECK_OBJECT( tmp_class_creation_20__bases ); tmp_truth_name_20 = CHECK_IF_TRUE( tmp_class_creation_20__bases ); if ( tmp_truth_name_20 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_61; } tmp_condition_result_132 = tmp_truth_name_20 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_132 == NUITKA_BOOL_TRUE ) { goto condexpr_true_55; } else { goto condexpr_false_55; } condexpr_true_55:; CHECK_OBJECT( tmp_class_creation_20__bases ); tmp_subscribed_name_21 = tmp_class_creation_20__bases; tmp_subscript_name_21 = const_int_0; tmp_type_arg_39 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_21, tmp_subscript_name_21, 0 ); if ( tmp_type_arg_39 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_61; } tmp_metaclass_name_20 = BUILTIN_TYPE1( tmp_type_arg_39 ); Py_DECREF( tmp_type_arg_39 ); if ( tmp_metaclass_name_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_61; } goto condexpr_end_55; condexpr_false_55:; tmp_metaclass_name_20 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_20 ); condexpr_end_55:; condexpr_end_54:; CHECK_OBJECT( tmp_class_creation_20__bases ); tmp_bases_name_20 = tmp_class_creation_20__bases; tmp_assign_source_168 = SELECT_METACLASS( tmp_metaclass_name_20, tmp_bases_name_20 ); Py_DECREF( tmp_metaclass_name_20 ); if ( tmp_assign_source_168 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_61; } assert( tmp_class_creation_20__metaclass == NULL ); tmp_class_creation_20__metaclass = tmp_assign_source_168; } { nuitka_bool tmp_condition_result_133; PyObject *tmp_key_name_60; PyObject *tmp_dict_name_60; tmp_key_name_60 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_20__class_decl_dict ); tmp_dict_name_60 = tmp_class_creation_20__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_60, tmp_key_name_60 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_61; } tmp_condition_result_133 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_133 == NUITKA_BOOL_TRUE ) { goto branch_yes_78; } else { goto branch_no_78; } branch_yes_78:; { CHECK_OBJECT( tmp_class_creation_20__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_20__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 = 851; goto try_except_handler_61; } } branch_no_78:; } { nuitka_bool tmp_condition_result_134; PyObject *tmp_source_name_80; CHECK_OBJECT( tmp_class_creation_20__metaclass ); tmp_source_name_80 = tmp_class_creation_20__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_80, const_str_plain___prepare__ ); tmp_condition_result_134 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_134 == NUITKA_BOOL_TRUE ) { goto branch_yes_79; } else { goto branch_no_79; } branch_yes_79:; { PyObject *tmp_assign_source_169; PyObject *tmp_called_name_71; PyObject *tmp_source_name_81; PyObject *tmp_args_name_39; PyObject *tmp_tuple_element_84; PyObject *tmp_kw_name_39; CHECK_OBJECT( tmp_class_creation_20__metaclass ); tmp_source_name_81 = tmp_class_creation_20__metaclass; tmp_called_name_71 = LOOKUP_ATTRIBUTE( tmp_source_name_81, const_str_plain___prepare__ ); if ( tmp_called_name_71 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_61; } tmp_tuple_element_84 = const_str_plain_Doctype; tmp_args_name_39 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_84 ); PyTuple_SET_ITEM( tmp_args_name_39, 0, tmp_tuple_element_84 ); CHECK_OBJECT( tmp_class_creation_20__bases ); tmp_tuple_element_84 = tmp_class_creation_20__bases; Py_INCREF( tmp_tuple_element_84 ); PyTuple_SET_ITEM( tmp_args_name_39, 1, tmp_tuple_element_84 ); CHECK_OBJECT( tmp_class_creation_20__class_decl_dict ); tmp_kw_name_39 = tmp_class_creation_20__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 851; tmp_assign_source_169 = CALL_FUNCTION( tmp_called_name_71, tmp_args_name_39, tmp_kw_name_39 ); Py_DECREF( tmp_called_name_71 ); Py_DECREF( tmp_args_name_39 ); if ( tmp_assign_source_169 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_61; } assert( tmp_class_creation_20__prepared == NULL ); tmp_class_creation_20__prepared = tmp_assign_source_169; } { nuitka_bool tmp_condition_result_135; PyObject *tmp_operand_name_20; PyObject *tmp_source_name_82; CHECK_OBJECT( tmp_class_creation_20__prepared ); tmp_source_name_82 = tmp_class_creation_20__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_82, const_str_plain___getitem__ ); tmp_operand_name_20 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_20 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_61; } tmp_condition_result_135 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_135 == NUITKA_BOOL_TRUE ) { goto branch_yes_80; } else { goto branch_no_80; } branch_yes_80:; { PyObject *tmp_raise_type_20; PyObject *tmp_raise_value_20; PyObject *tmp_left_name_20; PyObject *tmp_right_name_20; PyObject *tmp_tuple_element_85; PyObject *tmp_getattr_target_20; PyObject *tmp_getattr_attr_20; PyObject *tmp_getattr_default_20; PyObject *tmp_source_name_83; PyObject *tmp_type_arg_40; tmp_raise_type_20 = PyExc_TypeError; tmp_left_name_20 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_20__metaclass ); tmp_getattr_target_20 = tmp_class_creation_20__metaclass; tmp_getattr_attr_20 = const_str_plain___name__; tmp_getattr_default_20 = const_str_angle_metaclass; tmp_tuple_element_85 = BUILTIN_GETATTR( tmp_getattr_target_20, tmp_getattr_attr_20, tmp_getattr_default_20 ); if ( tmp_tuple_element_85 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_61; } tmp_right_name_20 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_20, 0, tmp_tuple_element_85 ); CHECK_OBJECT( tmp_class_creation_20__prepared ); tmp_type_arg_40 = tmp_class_creation_20__prepared; tmp_source_name_83 = BUILTIN_TYPE1( tmp_type_arg_40 ); assert( !(tmp_source_name_83 == NULL) ); tmp_tuple_element_85 = LOOKUP_ATTRIBUTE( tmp_source_name_83, const_str_plain___name__ ); Py_DECREF( tmp_source_name_83 ); if ( tmp_tuple_element_85 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_20 ); exception_lineno = 851; goto try_except_handler_61; } PyTuple_SET_ITEM( tmp_right_name_20, 1, tmp_tuple_element_85 ); tmp_raise_value_20 = BINARY_OPERATION_REMAINDER( tmp_left_name_20, tmp_right_name_20 ); Py_DECREF( tmp_right_name_20 ); if ( tmp_raise_value_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_61; } exception_type = tmp_raise_type_20; Py_INCREF( tmp_raise_type_20 ); exception_value = tmp_raise_value_20; exception_lineno = 851; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_61; } branch_no_80:; } goto branch_end_79; branch_no_79:; { PyObject *tmp_assign_source_170; tmp_assign_source_170 = PyDict_New(); assert( tmp_class_creation_20__prepared == NULL ); tmp_class_creation_20__prepared = tmp_assign_source_170; } branch_end_79:; } { PyObject *tmp_assign_source_171; { PyObject *tmp_set_locals_20; CHECK_OBJECT( tmp_class_creation_20__prepared ); tmp_set_locals_20 = tmp_class_creation_20__prepared; locals_bs4$element_851 = tmp_set_locals_20; Py_INCREF( tmp_set_locals_20 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_851, 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 = 851; goto try_except_handler_63; } } { tmp_dictset_value = const_str_plain_Doctype; tmp_res = PyObject_SetItem( locals_bs4$element_851, 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 = 851; goto try_except_handler_63; } } MAKE_OR_REUSE_FRAME( cache_frame_b488c24e2a6b7103518f0a1c1ec22379_20, codeobj_b488c24e2a6b7103518f0a1c1ec22379, module_bs4$element, sizeof(void *) ); frame_b488c24e2a6b7103518f0a1c1ec22379_20 = cache_frame_b488c24e2a6b7103518f0a1c1ec22379_20; // Push the new frame as the currently active one. pushFrameStack( frame_b488c24e2a6b7103518f0a1c1ec22379_20 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_b488c24e2a6b7103518f0a1c1ec22379_20 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_136; PyObject *tmp_called_name_72; PyObject *tmp_args_element_name_25; PyObject *tmp_classmethod_arg_4; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_851, const_str_plain_classmethod ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 853; type_description_2 = "o"; goto frame_exception_exit_20; } tmp_condition_result_136 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_136 == NUITKA_BOOL_TRUE ) { goto condexpr_true_56; } else { goto condexpr_false_56; } condexpr_true_56:; tmp_called_name_72 = PyObject_GetItem( locals_bs4$element_851, const_str_plain_classmethod ); if ( tmp_called_name_72 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "classmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 853; type_description_2 = "o"; goto frame_exception_exit_20; } if ( tmp_called_name_72 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 853; type_description_2 = "o"; goto frame_exception_exit_20; } tmp_args_element_name_25 = MAKE_FUNCTION_bs4$element$$$function_63_for_name_and_ids( ); frame_b488c24e2a6b7103518f0a1c1ec22379_20->m_frame.f_lineno = 853; { PyObject *call_args[] = { tmp_args_element_name_25 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_72, call_args ); } Py_DECREF( tmp_called_name_72 ); Py_DECREF( tmp_args_element_name_25 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 853; type_description_2 = "o"; goto frame_exception_exit_20; } goto condexpr_end_56; condexpr_false_56:; tmp_classmethod_arg_4 = MAKE_FUNCTION_bs4$element$$$function_63_for_name_and_ids( ); tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_4 ); Py_DECREF( tmp_classmethod_arg_4 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 853; type_description_2 = "o"; goto frame_exception_exit_20; } condexpr_end_56:; tmp_res = PyObject_SetItem( locals_bs4$element_851, const_str_plain_for_name_and_ids, 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 = 853; type_description_2 = "o"; goto frame_exception_exit_20; } } { tmp_dictset_value = const_str_digest_c58e033f1c5c7944b6670af092f11d09; tmp_res = PyObject_SetItem( locals_bs4$element_851, const_str_plain_PREFIX, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 865; type_description_2 = "o"; goto frame_exception_exit_20; } } { tmp_dictset_value = const_str_digest_42aaa86f3155a0ac9064d3ba1116a0c9; tmp_res = PyObject_SetItem( locals_bs4$element_851, const_str_plain_SUFFIX, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 866; type_description_2 = "o"; goto frame_exception_exit_20; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_b488c24e2a6b7103518f0a1c1ec22379_20 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_19; frame_exception_exit_20:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b488c24e2a6b7103518f0a1c1ec22379_20 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_b488c24e2a6b7103518f0a1c1ec22379_20, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_b488c24e2a6b7103518f0a1c1ec22379_20->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_b488c24e2a6b7103518f0a1c1ec22379_20, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_b488c24e2a6b7103518f0a1c1ec22379_20, type_description_2, outline_19_var___class__ ); // Release cached frame. if ( frame_b488c24e2a6b7103518f0a1c1ec22379_20 == cache_frame_b488c24e2a6b7103518f0a1c1ec22379_20 ) { Py_DECREF( frame_b488c24e2a6b7103518f0a1c1ec22379_20 ); } cache_frame_b488c24e2a6b7103518f0a1c1ec22379_20 = NULL; assertFrameObject( frame_b488c24e2a6b7103518f0a1c1ec22379_20 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_19; frame_no_exception_19:; goto skip_nested_handling_19; nested_frame_exit_19:; goto try_except_handler_63; skip_nested_handling_19:; { nuitka_bool tmp_condition_result_137; PyObject *tmp_compexpr_left_22; PyObject *tmp_compexpr_right_22; CHECK_OBJECT( tmp_class_creation_20__bases ); tmp_compexpr_left_22 = tmp_class_creation_20__bases; CHECK_OBJECT( tmp_class_creation_20__bases_orig ); tmp_compexpr_right_22 = tmp_class_creation_20__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_22, tmp_compexpr_right_22 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_63; } tmp_condition_result_137 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_137 == NUITKA_BOOL_TRUE ) { goto branch_yes_81; } else { goto branch_no_81; } branch_yes_81:; { CHECK_OBJECT( tmp_class_creation_20__bases_orig ); tmp_dictset_value = tmp_class_creation_20__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_851, 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 = 851; goto try_except_handler_63; } } branch_no_81:; } { PyObject *tmp_assign_source_172; PyObject *tmp_called_name_73; PyObject *tmp_args_name_40; PyObject *tmp_tuple_element_86; PyObject *tmp_kw_name_40; CHECK_OBJECT( tmp_class_creation_20__metaclass ); tmp_called_name_73 = tmp_class_creation_20__metaclass; tmp_tuple_element_86 = const_str_plain_Doctype; tmp_args_name_40 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_86 ); PyTuple_SET_ITEM( tmp_args_name_40, 0, tmp_tuple_element_86 ); CHECK_OBJECT( tmp_class_creation_20__bases ); tmp_tuple_element_86 = tmp_class_creation_20__bases; Py_INCREF( tmp_tuple_element_86 ); PyTuple_SET_ITEM( tmp_args_name_40, 1, tmp_tuple_element_86 ); tmp_tuple_element_86 = locals_bs4$element_851; Py_INCREF( tmp_tuple_element_86 ); PyTuple_SET_ITEM( tmp_args_name_40, 2, tmp_tuple_element_86 ); CHECK_OBJECT( tmp_class_creation_20__class_decl_dict ); tmp_kw_name_40 = tmp_class_creation_20__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 851; tmp_assign_source_172 = CALL_FUNCTION( tmp_called_name_73, tmp_args_name_40, tmp_kw_name_40 ); Py_DECREF( tmp_args_name_40 ); if ( tmp_assign_source_172 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto try_except_handler_63; } assert( outline_19_var___class__ == NULL ); outline_19_var___class__ = tmp_assign_source_172; } { CHECK_OBJECT( outline_19_var___class__ ); tmp_assign_source_171 = outline_19_var___class__; Py_INCREF( tmp_assign_source_171 ); goto try_return_handler_63; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_63:; { Py_DECREF( locals_bs4$element_851 ); locals_bs4$element_851 = NULL; } { goto try_return_handler_62; } // Exception handler code: try_except_handler_63:; exception_keeper_type_61 = exception_type; exception_keeper_value_61 = exception_value; exception_keeper_tb_61 = exception_tb; exception_keeper_lineno_61 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_851 ); locals_bs4$element_851 = NULL; } { // Re-raise. exception_type = exception_keeper_type_61; exception_value = exception_keeper_value_61; exception_tb = exception_keeper_tb_61; exception_lineno = exception_keeper_lineno_61; goto try_except_handler_62; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_62:; { CHECK_OBJECT( (PyObject *)outline_19_var___class__ ); Py_DECREF( outline_19_var___class__ ); outline_19_var___class__ = NULL; } { goto outline_result_20; } // Exception handler code: try_except_handler_62:; exception_keeper_type_62 = exception_type; exception_keeper_value_62 = exception_value; exception_keeper_tb_62 = exception_tb; exception_keeper_lineno_62 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_62; exception_value = exception_keeper_value_62; exception_tb = exception_keeper_tb_62; exception_lineno = exception_keeper_lineno_62; goto outline_exception_20; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_20:; exception_lineno = 851; goto try_except_handler_61; outline_result_20:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Doctype, tmp_assign_source_171 ); } goto try_end_23; // Exception handler code: try_except_handler_61:; exception_keeper_type_63 = exception_type; exception_keeper_value_63 = exception_value; exception_keeper_tb_63 = exception_tb; exception_keeper_lineno_63 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_20__bases ); tmp_class_creation_20__bases = NULL; } { Py_XDECREF( tmp_class_creation_20__class_decl_dict ); tmp_class_creation_20__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_20__metaclass ); tmp_class_creation_20__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_20__prepared ); tmp_class_creation_20__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_63; exception_value = exception_keeper_value_63; exception_tb = exception_keeper_tb_63; exception_lineno = exception_keeper_lineno_63; goto frame_exception_exit_1; } // End of try: try_end_23:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_20__bases ); Py_DECREF( tmp_class_creation_20__bases ); tmp_class_creation_20__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_20__class_decl_dict ); Py_DECREF( tmp_class_creation_20__class_decl_dict ); tmp_class_creation_20__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_20__metaclass ); Py_DECREF( tmp_class_creation_20__metaclass ); tmp_class_creation_20__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_20__prepared ); Py_DECREF( tmp_class_creation_20__prepared ); tmp_class_creation_20__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_173; PyObject *tmp_tuple_element_87; PyObject *tmp_mvar_value_30; tmp_mvar_value_30 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PageElement ); if (unlikely( tmp_mvar_value_30 == NULL )) { tmp_mvar_value_30 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PageElement ); } if ( tmp_mvar_value_30 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PageElement" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 869; goto try_except_handler_64; } tmp_tuple_element_87 = tmp_mvar_value_30; tmp_assign_source_173 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_87 ); PyTuple_SET_ITEM( tmp_assign_source_173, 0, tmp_tuple_element_87 ); assert( tmp_class_creation_21__bases_orig == NULL ); tmp_class_creation_21__bases_orig = tmp_assign_source_173; } { PyObject *tmp_assign_source_174; PyObject *tmp_dircall_arg1_21; CHECK_OBJECT( tmp_class_creation_21__bases_orig ); tmp_dircall_arg1_21 = tmp_class_creation_21__bases_orig; Py_INCREF( tmp_dircall_arg1_21 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_21}; tmp_assign_source_174 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_174 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_64; } assert( tmp_class_creation_21__bases == NULL ); tmp_class_creation_21__bases = tmp_assign_source_174; } { PyObject *tmp_assign_source_175; tmp_assign_source_175 = PyDict_New(); assert( tmp_class_creation_21__class_decl_dict == NULL ); tmp_class_creation_21__class_decl_dict = tmp_assign_source_175; } { PyObject *tmp_assign_source_176; PyObject *tmp_metaclass_name_21; nuitka_bool tmp_condition_result_138; PyObject *tmp_key_name_61; PyObject *tmp_dict_name_61; PyObject *tmp_dict_name_62; PyObject *tmp_key_name_62; nuitka_bool tmp_condition_result_139; int tmp_truth_name_21; PyObject *tmp_type_arg_41; PyObject *tmp_subscribed_name_22; PyObject *tmp_subscript_name_22; PyObject *tmp_bases_name_21; tmp_key_name_61 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_21__class_decl_dict ); tmp_dict_name_61 = tmp_class_creation_21__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_61, tmp_key_name_61 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_64; } tmp_condition_result_138 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_138 == NUITKA_BOOL_TRUE ) { goto condexpr_true_57; } else { goto condexpr_false_57; } condexpr_true_57:; CHECK_OBJECT( tmp_class_creation_21__class_decl_dict ); tmp_dict_name_62 = tmp_class_creation_21__class_decl_dict; tmp_key_name_62 = const_str_plain_metaclass; tmp_metaclass_name_21 = DICT_GET_ITEM( tmp_dict_name_62, tmp_key_name_62 ); if ( tmp_metaclass_name_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_64; } goto condexpr_end_57; condexpr_false_57:; CHECK_OBJECT( tmp_class_creation_21__bases ); tmp_truth_name_21 = CHECK_IF_TRUE( tmp_class_creation_21__bases ); if ( tmp_truth_name_21 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_64; } tmp_condition_result_139 = tmp_truth_name_21 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_139 == NUITKA_BOOL_TRUE ) { goto condexpr_true_58; } else { goto condexpr_false_58; } condexpr_true_58:; CHECK_OBJECT( tmp_class_creation_21__bases ); tmp_subscribed_name_22 = tmp_class_creation_21__bases; tmp_subscript_name_22 = const_int_0; tmp_type_arg_41 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_22, tmp_subscript_name_22, 0 ); if ( tmp_type_arg_41 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_64; } tmp_metaclass_name_21 = BUILTIN_TYPE1( tmp_type_arg_41 ); Py_DECREF( tmp_type_arg_41 ); if ( tmp_metaclass_name_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_64; } goto condexpr_end_58; condexpr_false_58:; tmp_metaclass_name_21 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_21 ); condexpr_end_58:; condexpr_end_57:; CHECK_OBJECT( tmp_class_creation_21__bases ); tmp_bases_name_21 = tmp_class_creation_21__bases; tmp_assign_source_176 = SELECT_METACLASS( tmp_metaclass_name_21, tmp_bases_name_21 ); Py_DECREF( tmp_metaclass_name_21 ); if ( tmp_assign_source_176 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_64; } assert( tmp_class_creation_21__metaclass == NULL ); tmp_class_creation_21__metaclass = tmp_assign_source_176; } { nuitka_bool tmp_condition_result_140; PyObject *tmp_key_name_63; PyObject *tmp_dict_name_63; tmp_key_name_63 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_21__class_decl_dict ); tmp_dict_name_63 = tmp_class_creation_21__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_63, tmp_key_name_63 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_64; } tmp_condition_result_140 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_140 == NUITKA_BOOL_TRUE ) { goto branch_yes_82; } else { goto branch_no_82; } branch_yes_82:; { CHECK_OBJECT( tmp_class_creation_21__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_21__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 = 869; goto try_except_handler_64; } } branch_no_82:; } { nuitka_bool tmp_condition_result_141; PyObject *tmp_source_name_84; CHECK_OBJECT( tmp_class_creation_21__metaclass ); tmp_source_name_84 = tmp_class_creation_21__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_84, const_str_plain___prepare__ ); tmp_condition_result_141 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_141 == NUITKA_BOOL_TRUE ) { goto branch_yes_83; } else { goto branch_no_83; } branch_yes_83:; { PyObject *tmp_assign_source_177; PyObject *tmp_called_name_74; PyObject *tmp_source_name_85; PyObject *tmp_args_name_41; PyObject *tmp_tuple_element_88; PyObject *tmp_kw_name_41; CHECK_OBJECT( tmp_class_creation_21__metaclass ); tmp_source_name_85 = tmp_class_creation_21__metaclass; tmp_called_name_74 = LOOKUP_ATTRIBUTE( tmp_source_name_85, const_str_plain___prepare__ ); if ( tmp_called_name_74 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_64; } tmp_tuple_element_88 = const_str_plain_Tag; tmp_args_name_41 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_88 ); PyTuple_SET_ITEM( tmp_args_name_41, 0, tmp_tuple_element_88 ); CHECK_OBJECT( tmp_class_creation_21__bases ); tmp_tuple_element_88 = tmp_class_creation_21__bases; Py_INCREF( tmp_tuple_element_88 ); PyTuple_SET_ITEM( tmp_args_name_41, 1, tmp_tuple_element_88 ); CHECK_OBJECT( tmp_class_creation_21__class_decl_dict ); tmp_kw_name_41 = tmp_class_creation_21__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 869; tmp_assign_source_177 = CALL_FUNCTION( tmp_called_name_74, tmp_args_name_41, tmp_kw_name_41 ); Py_DECREF( tmp_called_name_74 ); Py_DECREF( tmp_args_name_41 ); if ( tmp_assign_source_177 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_64; } assert( tmp_class_creation_21__prepared == NULL ); tmp_class_creation_21__prepared = tmp_assign_source_177; } { nuitka_bool tmp_condition_result_142; PyObject *tmp_operand_name_21; PyObject *tmp_source_name_86; CHECK_OBJECT( tmp_class_creation_21__prepared ); tmp_source_name_86 = tmp_class_creation_21__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_86, const_str_plain___getitem__ ); tmp_operand_name_21 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_21 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_64; } tmp_condition_result_142 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_142 == NUITKA_BOOL_TRUE ) { goto branch_yes_84; } else { goto branch_no_84; } branch_yes_84:; { PyObject *tmp_raise_type_21; PyObject *tmp_raise_value_21; PyObject *tmp_left_name_21; PyObject *tmp_right_name_21; PyObject *tmp_tuple_element_89; PyObject *tmp_getattr_target_21; PyObject *tmp_getattr_attr_21; PyObject *tmp_getattr_default_21; PyObject *tmp_source_name_87; PyObject *tmp_type_arg_42; tmp_raise_type_21 = PyExc_TypeError; tmp_left_name_21 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_21__metaclass ); tmp_getattr_target_21 = tmp_class_creation_21__metaclass; tmp_getattr_attr_21 = const_str_plain___name__; tmp_getattr_default_21 = const_str_angle_metaclass; tmp_tuple_element_89 = BUILTIN_GETATTR( tmp_getattr_target_21, tmp_getattr_attr_21, tmp_getattr_default_21 ); if ( tmp_tuple_element_89 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_64; } tmp_right_name_21 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_21, 0, tmp_tuple_element_89 ); CHECK_OBJECT( tmp_class_creation_21__prepared ); tmp_type_arg_42 = tmp_class_creation_21__prepared; tmp_source_name_87 = BUILTIN_TYPE1( tmp_type_arg_42 ); assert( !(tmp_source_name_87 == NULL) ); tmp_tuple_element_89 = LOOKUP_ATTRIBUTE( tmp_source_name_87, const_str_plain___name__ ); Py_DECREF( tmp_source_name_87 ); if ( tmp_tuple_element_89 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_21 ); exception_lineno = 869; goto try_except_handler_64; } PyTuple_SET_ITEM( tmp_right_name_21, 1, tmp_tuple_element_89 ); tmp_raise_value_21 = BINARY_OPERATION_REMAINDER( tmp_left_name_21, tmp_right_name_21 ); Py_DECREF( tmp_right_name_21 ); if ( tmp_raise_value_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_64; } exception_type = tmp_raise_type_21; Py_INCREF( tmp_raise_type_21 ); exception_value = tmp_raise_value_21; exception_lineno = 869; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_64; } branch_no_84:; } goto branch_end_83; branch_no_83:; { PyObject *tmp_assign_source_178; tmp_assign_source_178 = PyDict_New(); assert( tmp_class_creation_21__prepared == NULL ); tmp_class_creation_21__prepared = tmp_assign_source_178; } branch_end_83:; } { PyObject *tmp_assign_source_179; { PyObject *tmp_set_locals_21; CHECK_OBJECT( tmp_class_creation_21__prepared ); tmp_set_locals_21 = tmp_class_creation_21__prepared; locals_bs4$element_869 = tmp_set_locals_21; Py_INCREF( tmp_set_locals_21 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_869, 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 = 869; goto try_except_handler_66; } } { tmp_dictset_value = const_str_digest_7367bb348cc3e8e5398ecf366526fd9f; tmp_res = PyObject_SetItem( locals_bs4$element_869, 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 = 869; goto try_except_handler_66; } } { tmp_dictset_value = const_str_plain_Tag; tmp_res = PyObject_SetItem( locals_bs4$element_869, 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 = 869; goto try_except_handler_66; } } MAKE_OR_REUSE_FRAME( cache_frame_4609c90faa727a79fc7a65c6e8922c9d_21, codeobj_4609c90faa727a79fc7a65c6e8922c9d, module_bs4$element, sizeof(void *) ); frame_4609c90faa727a79fc7a65c6e8922c9d_21 = cache_frame_4609c90faa727a79fc7a65c6e8922c9d_21; // Push the new frame as the currently active one. pushFrameStack( frame_4609c90faa727a79fc7a65c6e8922c9d_21 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4609c90faa727a79fc7a65c6e8922c9d_21 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_defaults_19; tmp_defaults_19 = const_tuple_none_none_none_none_none_none_none_none_none_tuple; Py_INCREF( tmp_defaults_19 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_64___init__( tmp_defaults_19 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, 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 = 873; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_called_name_75; PyObject *tmp_mvar_value_31; tmp_called_name_75 = PyObject_GetItem( locals_bs4$element_869, const_str_plain__alias ); if ( tmp_called_name_75 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_31 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain__alias ); if (unlikely( tmp_mvar_value_31 == NULL )) { tmp_mvar_value_31 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__alias ); } if ( tmp_mvar_value_31 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_alias" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 926; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_called_name_75 = tmp_mvar_value_31; Py_INCREF( tmp_called_name_75 ); } } frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 926; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_75, &PyTuple_GET_ITEM( const_tuple_str_plain_parser_class_tuple, 0 ) ); Py_DECREF( tmp_called_name_75 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 926; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_parserClass, 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 = 926; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_65___copy__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___copy__, 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 = 928; type_description_2 = "o"; goto frame_exception_exit_21; } } { nuitka_bool tmp_condition_result_143; PyObject *tmp_called_name_76; PyObject *tmp_args_element_name_26; PyObject *tmp_called_name_77; PyObject *tmp_args_element_name_27; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_869, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 940; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_condition_result_143 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_143 == NUITKA_BOOL_TRUE ) { goto condexpr_true_59; } else { goto condexpr_false_59; } condexpr_true_59:; tmp_called_name_76 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_property ); if ( tmp_called_name_76 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 940; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_called_name_76 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 940; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_args_element_name_26 = MAKE_FUNCTION_bs4$element$$$function_66_is_empty_element( ); frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 940; { PyObject *call_args[] = { tmp_args_element_name_26 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_76, call_args ); } Py_DECREF( tmp_called_name_76 ); Py_DECREF( tmp_args_element_name_26 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 940; type_description_2 = "o"; goto frame_exception_exit_21; } goto condexpr_end_59; condexpr_false_59:; tmp_called_name_77 = (PyObject *)&PyProperty_Type; tmp_args_element_name_27 = MAKE_FUNCTION_bs4$element$$$function_66_is_empty_element( ); frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 940; { PyObject *call_args[] = { tmp_args_element_name_27 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_77, call_args ); } Py_DECREF( tmp_args_element_name_27 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 940; type_description_2 = "o"; goto frame_exception_exit_21; } condexpr_end_59:; tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_is_empty_element, 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 = 940; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_869, const_str_plain_is_empty_element ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "is_empty_element" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 956; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 956; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_isSelfClosing, 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 = 956; type_description_2 = "o"; goto frame_exception_exit_21; } } { nuitka_bool tmp_condition_result_144; PyObject *tmp_called_name_78; PyObject *tmp_args_element_name_28; PyObject *tmp_called_name_79; PyObject *tmp_args_element_name_29; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_869, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 958; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_condition_result_144 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_144 == NUITKA_BOOL_TRUE ) { goto condexpr_true_60; } else { goto condexpr_false_60; } condexpr_true_60:; tmp_called_name_78 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_property ); if ( tmp_called_name_78 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 958; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_called_name_78 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 958; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_args_element_name_28 = MAKE_FUNCTION_bs4$element$$$function_67_string( ); frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 958; { PyObject *call_args[] = { tmp_args_element_name_28 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_78, call_args ); } Py_DECREF( tmp_called_name_78 ); Py_DECREF( tmp_args_element_name_28 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 958; type_description_2 = "o"; goto frame_exception_exit_21; } goto condexpr_end_60; condexpr_false_60:; tmp_called_name_79 = (PyObject *)&PyProperty_Type; tmp_args_element_name_29 = MAKE_FUNCTION_bs4$element$$$function_67_string( ); frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 958; { PyObject *call_args[] = { tmp_args_element_name_29 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_79, call_args ); } Py_DECREF( tmp_args_element_name_29 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 958; type_description_2 = "o"; goto frame_exception_exit_21; } condexpr_end_60:; tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_string, 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 = 958; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_called_instance_5; PyObject *tmp_args_element_name_30; tmp_called_instance_5 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_string ); if ( tmp_called_instance_5 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 975; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_called_instance_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 975; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_args_element_name_30 = MAKE_FUNCTION_bs4$element$$$function_68_string( ); frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 975; { PyObject *call_args[] = { tmp_args_element_name_30 }; tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_5, const_str_plain_setter, call_args ); } Py_DECREF( tmp_called_instance_5 ); Py_DECREF( tmp_args_element_name_30 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 975; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_string, 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 = 975; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_defaults_20; PyObject *tmp_tuple_element_90; PyObject *tmp_tuple_element_91; PyObject *tmp_mvar_value_32; PyObject *tmp_mvar_value_33; tmp_tuple_element_90 = Py_False; tmp_defaults_20 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_90 ); PyTuple_SET_ITEM( tmp_defaults_20, 0, tmp_tuple_element_90 ); tmp_tuple_element_91 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_NavigableString ); if ( tmp_tuple_element_91 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_32 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_NavigableString ); if (unlikely( tmp_mvar_value_32 == NULL )) { tmp_mvar_value_32 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NavigableString ); } if ( tmp_mvar_value_32 == NULL ) { Py_DECREF( tmp_defaults_20 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NavigableString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 980; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_tuple_element_91 = tmp_mvar_value_32; Py_INCREF( tmp_tuple_element_91 ); } } tmp_tuple_element_90 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_tuple_element_90, 0, tmp_tuple_element_91 ); tmp_tuple_element_91 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_CData ); if ( tmp_tuple_element_91 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_33 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_CData ); if (unlikely( tmp_mvar_value_33 == NULL )) { tmp_mvar_value_33 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CData ); } if ( tmp_mvar_value_33 == NULL ) { Py_DECREF( tmp_defaults_20 ); Py_DECREF( tmp_tuple_element_90 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CData" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 980; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_tuple_element_91 = tmp_mvar_value_33; Py_INCREF( tmp_tuple_element_91 ); } } PyTuple_SET_ITEM( tmp_tuple_element_90, 1, tmp_tuple_element_91 ); PyTuple_SET_ITEM( tmp_defaults_20, 1, tmp_tuple_element_90 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_69__all_strings( tmp_defaults_20 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain__all_strings, 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 = 980; type_description_2 = "o"; goto frame_exception_exit_21; } } { nuitka_bool tmp_condition_result_145; PyObject *tmp_called_name_80; PyObject *tmp_args_element_name_31; PyObject *tmp_called_name_81; PyObject *tmp_args_element_name_32; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_869, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 998; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_condition_result_145 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_145 == NUITKA_BOOL_TRUE ) { goto condexpr_true_61; } else { goto condexpr_false_61; } condexpr_true_61:; tmp_called_name_80 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_property ); if ( tmp_called_name_80 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 998; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_called_name_80 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 998; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_args_element_name_31 = PyObject_GetItem( locals_bs4$element_869, const_str_plain__all_strings ); if ( tmp_args_element_name_31 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { Py_DECREF( tmp_called_name_80 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_all_strings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 998; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_args_element_name_31 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_80 ); exception_lineno = 998; type_description_2 = "o"; goto frame_exception_exit_21; } frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 998; { PyObject *call_args[] = { tmp_args_element_name_31 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_80, call_args ); } Py_DECREF( tmp_called_name_80 ); Py_DECREF( tmp_args_element_name_31 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 998; type_description_2 = "o"; goto frame_exception_exit_21; } goto condexpr_end_61; condexpr_false_61:; tmp_called_name_81 = (PyObject *)&PyProperty_Type; tmp_args_element_name_32 = PyObject_GetItem( locals_bs4$element_869, const_str_plain__all_strings ); if ( tmp_args_element_name_32 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_all_strings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 998; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_args_element_name_32 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 998; type_description_2 = "o"; goto frame_exception_exit_21; } frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 998; { PyObject *call_args[] = { tmp_args_element_name_32 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_81, call_args ); } Py_DECREF( tmp_args_element_name_32 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 998; type_description_2 = "o"; goto frame_exception_exit_21; } condexpr_end_61:; tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_strings, 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 = 998; type_description_2 = "o"; goto frame_exception_exit_21; } } { nuitka_bool tmp_condition_result_146; PyObject *tmp_called_name_82; PyObject *tmp_args_element_name_33; PyObject *tmp_called_name_83; PyObject *tmp_args_element_name_34; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_869, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1000; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_condition_result_146 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_146 == NUITKA_BOOL_TRUE ) { goto condexpr_true_62; } else { goto condexpr_false_62; } condexpr_true_62:; tmp_called_name_82 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_property ); if ( tmp_called_name_82 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1000; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_called_name_82 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1000; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_args_element_name_33 = MAKE_FUNCTION_bs4$element$$$function_70_stripped_strings( ); frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 1000; { PyObject *call_args[] = { tmp_args_element_name_33 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_82, call_args ); } Py_DECREF( tmp_called_name_82 ); Py_DECREF( tmp_args_element_name_33 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1000; type_description_2 = "o"; goto frame_exception_exit_21; } goto condexpr_end_62; condexpr_false_62:; tmp_called_name_83 = (PyObject *)&PyProperty_Type; tmp_args_element_name_34 = MAKE_FUNCTION_bs4$element$$$function_70_stripped_strings( ); frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 1000; { PyObject *call_args[] = { tmp_args_element_name_34 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_83, call_args ); } Py_DECREF( tmp_args_element_name_34 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1000; type_description_2 = "o"; goto frame_exception_exit_21; } condexpr_end_62:; tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_stripped_strings, 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 = 1000; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_defaults_21; PyObject *tmp_tuple_element_92; PyObject *tmp_tuple_element_93; PyObject *tmp_mvar_value_34; PyObject *tmp_mvar_value_35; tmp_tuple_element_92 = const_str_empty; tmp_defaults_21 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_92 ); PyTuple_SET_ITEM( tmp_defaults_21, 0, tmp_tuple_element_92 ); tmp_tuple_element_92 = Py_False; Py_INCREF( tmp_tuple_element_92 ); PyTuple_SET_ITEM( tmp_defaults_21, 1, tmp_tuple_element_92 ); tmp_tuple_element_93 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_NavigableString ); if ( tmp_tuple_element_93 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_34 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_NavigableString ); if (unlikely( tmp_mvar_value_34 == NULL )) { tmp_mvar_value_34 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NavigableString ); } if ( tmp_mvar_value_34 == NULL ) { Py_DECREF( tmp_defaults_21 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NavigableString" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1006; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_tuple_element_93 = tmp_mvar_value_34; Py_INCREF( tmp_tuple_element_93 ); } } tmp_tuple_element_92 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_tuple_element_92, 0, tmp_tuple_element_93 ); tmp_tuple_element_93 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_CData ); if ( tmp_tuple_element_93 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_35 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_CData ); if (unlikely( tmp_mvar_value_35 == NULL )) { tmp_mvar_value_35 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CData ); } if ( tmp_mvar_value_35 == NULL ) { Py_DECREF( tmp_defaults_21 ); Py_DECREF( tmp_tuple_element_92 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CData" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1006; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_tuple_element_93 = tmp_mvar_value_35; Py_INCREF( tmp_tuple_element_93 ); } } PyTuple_SET_ITEM( tmp_tuple_element_92, 1, tmp_tuple_element_93 ); PyTuple_SET_ITEM( tmp_defaults_21, 2, tmp_tuple_element_92 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_71_get_text( tmp_defaults_21 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_get_text, 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 = 1005; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_869, const_str_plain_get_text ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "get_text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1012; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1012; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_getText, 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 = 1012; type_description_2 = "o"; goto frame_exception_exit_21; } } { nuitka_bool tmp_condition_result_147; PyObject *tmp_called_name_84; PyObject *tmp_args_element_name_35; PyObject *tmp_called_name_85; PyObject *tmp_args_element_name_36; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_869, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1013; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_condition_result_147 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_147 == NUITKA_BOOL_TRUE ) { goto condexpr_true_63; } else { goto condexpr_false_63; } condexpr_true_63:; tmp_called_name_84 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_property ); if ( tmp_called_name_84 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1013; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_called_name_84 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1013; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_args_element_name_35 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_get_text ); if ( tmp_args_element_name_35 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { Py_DECREF( tmp_called_name_84 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "get_text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1013; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_args_element_name_35 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_84 ); exception_lineno = 1013; type_description_2 = "o"; goto frame_exception_exit_21; } frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 1013; { PyObject *call_args[] = { tmp_args_element_name_35 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_84, call_args ); } Py_DECREF( tmp_called_name_84 ); Py_DECREF( tmp_args_element_name_35 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1013; type_description_2 = "o"; goto frame_exception_exit_21; } goto condexpr_end_63; condexpr_false_63:; tmp_called_name_85 = (PyObject *)&PyProperty_Type; tmp_args_element_name_36 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_get_text ); if ( tmp_args_element_name_36 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "get_text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1013; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_args_element_name_36 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1013; type_description_2 = "o"; goto frame_exception_exit_21; } frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 1013; { PyObject *call_args[] = { tmp_args_element_name_36 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_85, call_args ); } Py_DECREF( tmp_args_element_name_36 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1013; type_description_2 = "o"; goto frame_exception_exit_21; } condexpr_end_63:; tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_text, 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 = 1013; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_72_decompose( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_decompose, 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 = 1015; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_defaults_22; tmp_defaults_22 = const_tuple_false_tuple; Py_INCREF( tmp_defaults_22 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_73_clear( tmp_defaults_22 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_clear, 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 = 1025; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_74_index( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_index, 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 = 1039; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_defaults_23; tmp_defaults_23 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_23 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_75_get( tmp_defaults_23 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_get, 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 = 1049; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_defaults_24; tmp_defaults_24 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_24 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_76_get_attribute_list( tmp_defaults_24 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_get_attribute_list, 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 = 1055; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_77_has_attr( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_has_attr, 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 = 1062; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_78___hash__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___hash__, 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 = 1065; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_79___getitem__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___getitem__, 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 = 1068; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_80___iter__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___iter__, 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 = 1073; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_81___len__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___len__, 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 = 1077; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_82___contains__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___contains__, 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 = 1081; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_83___bool__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___bool__, 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 = 1084; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_84___setitem__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___setitem__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1088; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_85___delitem__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___delitem__, 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 = 1093; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_86___call__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___call__, 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 = 1097; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_87___getattr__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___getattr__, 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 = 1103; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_88___eq__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___eq__, 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 = 1120; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_89___ne__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___ne__, 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 = 1137; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_defaults_25; tmp_defaults_25 = const_tuple_str_digest_688f06597223eaae9df5adffcac1b5da_tuple; Py_INCREF( tmp_defaults_25 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_90___repr__( tmp_defaults_25 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___repr__, 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 = 1142; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_91___unicode__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___unicode__, 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 = 1153; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_92___str__( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___str__, 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 = 1156; type_description_2 = "o"; goto frame_exception_exit_21; } } { nuitka_bool tmp_condition_result_148; PyObject *tmp_locals_lookup_value_1; PyObject *tmp_mvar_value_36; int tmp_truth_name_22; tmp_locals_lookup_value_1 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_PY3K ); if ( tmp_locals_lookup_value_1 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_36 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_PY3K ); if (unlikely( tmp_mvar_value_36 == NULL )) { tmp_mvar_value_36 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PY3K ); } if ( tmp_mvar_value_36 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PY3K" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1162; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_locals_lookup_value_1 = tmp_mvar_value_36; Py_INCREF( tmp_locals_lookup_value_1 ); } } tmp_truth_name_22 = CHECK_IF_TRUE( tmp_locals_lookup_value_1 ); if ( tmp_truth_name_22 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_locals_lookup_value_1 ); exception_lineno = 1162; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_condition_result_148 = tmp_truth_name_22 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_locals_lookup_value_1 ); if ( tmp_condition_result_148 == NUITKA_BOOL_TRUE ) { goto branch_yes_85; } else { goto branch_no_85; } branch_yes_85:; { PyObject *tmp_assign_source_180; tmp_assign_source_180 = PyObject_GetItem( locals_bs4$element_869, const_str_plain___unicode__ ); if ( tmp_assign_source_180 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "__unicode__" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1163; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_assign_source_180 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1163; type_description_2 = "o"; goto frame_exception_exit_21; } assert( tmp_Tag$assign_unpack_1__assign_source == NULL ); tmp_Tag$assign_unpack_1__assign_source = tmp_assign_source_180; } { // Tried code: { CHECK_OBJECT( tmp_Tag$assign_unpack_1__assign_source ); tmp_dictset_value = tmp_Tag$assign_unpack_1__assign_source; tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___str__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1163; type_description_2 = "o"; goto try_except_handler_67; } } { CHECK_OBJECT( tmp_Tag$assign_unpack_1__assign_source ); tmp_dictset_value = tmp_Tag$assign_unpack_1__assign_source; tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain___repr__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1163; type_description_2 = "o"; goto try_except_handler_67; } } goto try_end_24; // Exception handler code: try_except_handler_67:; exception_keeper_type_64 = exception_type; exception_keeper_value_64 = exception_value; exception_keeper_tb_64 = exception_tb; exception_keeper_lineno_64 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_Tag$assign_unpack_1__assign_source ); Py_DECREF( tmp_Tag$assign_unpack_1__assign_source ); tmp_Tag$assign_unpack_1__assign_source = NULL; } { // Re-raise. exception_type = exception_keeper_type_64; exception_value = exception_keeper_value_64; exception_tb = exception_keeper_tb_64; exception_lineno = exception_keeper_lineno_64; goto frame_exception_exit_21; } // End of try: try_end_24:; } { CHECK_OBJECT( (PyObject *)tmp_Tag$assign_unpack_1__assign_source ); Py_DECREF( tmp_Tag$assign_unpack_1__assign_source ); tmp_Tag$assign_unpack_1__assign_source = NULL; } branch_no_85:; } { PyObject *tmp_defaults_26; PyObject *tmp_tuple_element_94; PyObject *tmp_mvar_value_37; tmp_tuple_element_94 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_DEFAULT_OUTPUT_ENCODING ); if ( tmp_tuple_element_94 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_37 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_DEFAULT_OUTPUT_ENCODING ); if (unlikely( tmp_mvar_value_37 == NULL )) { tmp_mvar_value_37 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DEFAULT_OUTPUT_ENCODING ); } if ( tmp_mvar_value_37 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DEFAULT_OUTPUT_ENCODING" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1165; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_tuple_element_94 = tmp_mvar_value_37; Py_INCREF( tmp_tuple_element_94 ); } } tmp_defaults_26 = PyTuple_New( 4 ); PyTuple_SET_ITEM( tmp_defaults_26, 0, tmp_tuple_element_94 ); tmp_tuple_element_94 = Py_None; Py_INCREF( tmp_tuple_element_94 ); PyTuple_SET_ITEM( tmp_defaults_26, 1, tmp_tuple_element_94 ); tmp_tuple_element_94 = const_str_plain_minimal; Py_INCREF( tmp_tuple_element_94 ); PyTuple_SET_ITEM( tmp_defaults_26, 2, tmp_tuple_element_94 ); tmp_tuple_element_94 = const_str_plain_xmlcharrefreplace; Py_INCREF( tmp_tuple_element_94 ); PyTuple_SET_ITEM( tmp_defaults_26, 3, tmp_tuple_element_94 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_93_encode( tmp_defaults_26 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, 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 = 1165; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_94__should_pretty_print( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain__should_pretty_print, 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 = 1173; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_defaults_27; PyObject *tmp_tuple_element_95; PyObject *tmp_mvar_value_38; tmp_tuple_element_95 = Py_None; tmp_defaults_27 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_95 ); PyTuple_SET_ITEM( tmp_defaults_27, 0, tmp_tuple_element_95 ); tmp_tuple_element_95 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_DEFAULT_OUTPUT_ENCODING ); if ( tmp_tuple_element_95 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_38 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_DEFAULT_OUTPUT_ENCODING ); if (unlikely( tmp_mvar_value_38 == NULL )) { tmp_mvar_value_38 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DEFAULT_OUTPUT_ENCODING ); } if ( tmp_mvar_value_38 == NULL ) { Py_DECREF( tmp_defaults_27 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DEFAULT_OUTPUT_ENCODING" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1182; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_tuple_element_95 = tmp_mvar_value_38; Py_INCREF( tmp_tuple_element_95 ); } } PyTuple_SET_ITEM( tmp_defaults_27, 1, tmp_tuple_element_95 ); tmp_tuple_element_95 = const_str_plain_minimal; Py_INCREF( tmp_tuple_element_95 ); PyTuple_SET_ITEM( tmp_defaults_27, 2, tmp_tuple_element_95 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_95_decode( tmp_defaults_27 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_decode, 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 = 1181; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_defaults_28; tmp_defaults_28 = const_tuple_none_str_plain_minimal_tuple; Py_INCREF( tmp_defaults_28 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_96_prettify( tmp_defaults_28 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_prettify, 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 = 1275; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_defaults_29; PyObject *tmp_tuple_element_96; PyObject *tmp_mvar_value_39; tmp_tuple_element_96 = Py_None; tmp_defaults_29 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_96 ); PyTuple_SET_ITEM( tmp_defaults_29, 0, tmp_tuple_element_96 ); tmp_tuple_element_96 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_DEFAULT_OUTPUT_ENCODING ); if ( tmp_tuple_element_96 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_39 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_DEFAULT_OUTPUT_ENCODING ); if (unlikely( tmp_mvar_value_39 == NULL )) { tmp_mvar_value_39 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DEFAULT_OUTPUT_ENCODING ); } if ( tmp_mvar_value_39 == NULL ) { Py_DECREF( tmp_defaults_29 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DEFAULT_OUTPUT_ENCODING" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1282; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_tuple_element_96 = tmp_mvar_value_39; Py_INCREF( tmp_tuple_element_96 ); } } PyTuple_SET_ITEM( tmp_defaults_29, 1, tmp_tuple_element_96 ); tmp_tuple_element_96 = const_str_plain_minimal; Py_INCREF( tmp_tuple_element_96 ); PyTuple_SET_ITEM( tmp_defaults_29, 2, tmp_tuple_element_96 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_97_decode_contents( tmp_defaults_29 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_decode_contents, 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 = 1281; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_defaults_30; PyObject *tmp_tuple_element_97; PyObject *tmp_mvar_value_40; tmp_tuple_element_97 = Py_None; tmp_defaults_30 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_97 ); PyTuple_SET_ITEM( tmp_defaults_30, 0, tmp_tuple_element_97 ); tmp_tuple_element_97 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_DEFAULT_OUTPUT_ENCODING ); if ( tmp_tuple_element_97 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_40 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_DEFAULT_OUTPUT_ENCODING ); if (unlikely( tmp_mvar_value_40 == NULL )) { tmp_mvar_value_40 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DEFAULT_OUTPUT_ENCODING ); } if ( tmp_mvar_value_40 == NULL ) { Py_DECREF( tmp_defaults_30 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DEFAULT_OUTPUT_ENCODING" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1324; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_tuple_element_97 = tmp_mvar_value_40; Py_INCREF( tmp_tuple_element_97 ); } } PyTuple_SET_ITEM( tmp_defaults_30, 1, tmp_tuple_element_97 ); tmp_tuple_element_97 = const_str_plain_minimal; Py_INCREF( tmp_tuple_element_97 ); PyTuple_SET_ITEM( tmp_defaults_30, 2, tmp_tuple_element_97 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_98_encode_contents( tmp_defaults_30 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_encode_contents, 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 = 1323; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_defaults_31; PyObject *tmp_tuple_element_98; PyObject *tmp_mvar_value_41; tmp_tuple_element_98 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_DEFAULT_OUTPUT_ENCODING ); if ( tmp_tuple_element_98 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_41 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_DEFAULT_OUTPUT_ENCODING ); if (unlikely( tmp_mvar_value_41 == NULL )) { tmp_mvar_value_41 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DEFAULT_OUTPUT_ENCODING ); } if ( tmp_mvar_value_41 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "DEFAULT_OUTPUT_ENCODING" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1341; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_tuple_element_98 = tmp_mvar_value_41; Py_INCREF( tmp_tuple_element_98 ); } } tmp_defaults_31 = PyTuple_New( 3 ); PyTuple_SET_ITEM( tmp_defaults_31, 0, tmp_tuple_element_98 ); tmp_tuple_element_98 = Py_False; Py_INCREF( tmp_tuple_element_98 ); PyTuple_SET_ITEM( tmp_defaults_31, 1, tmp_tuple_element_98 ); tmp_tuple_element_98 = const_int_0; Py_INCREF( tmp_tuple_element_98 ); PyTuple_SET_ITEM( tmp_defaults_31, 2, tmp_tuple_element_98 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_99_renderContents( tmp_defaults_31 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_renderContents, 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 = 1341; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_defaults_32; PyObject *tmp_tuple_element_99; tmp_tuple_element_99 = Py_None; tmp_defaults_32 = PyTuple_New( 4 ); Py_INCREF( tmp_tuple_element_99 ); PyTuple_SET_ITEM( tmp_defaults_32, 0, tmp_tuple_element_99 ); tmp_tuple_element_99 = PyDict_New(); PyTuple_SET_ITEM( tmp_defaults_32, 1, tmp_tuple_element_99 ); tmp_tuple_element_99 = Py_True; Py_INCREF( tmp_tuple_element_99 ); PyTuple_SET_ITEM( tmp_defaults_32, 2, tmp_tuple_element_99 ); tmp_tuple_element_99 = Py_None; Py_INCREF( tmp_tuple_element_99 ); PyTuple_SET_ITEM( tmp_defaults_32, 3, tmp_tuple_element_99 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_100_find( tmp_defaults_32 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_find, 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 = 1350; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_869, const_str_plain_find ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1359; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1359; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_findChild, 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 = 1359; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_defaults_33; PyObject *tmp_tuple_element_100; tmp_tuple_element_100 = Py_None; tmp_defaults_33 = PyTuple_New( 5 ); Py_INCREF( tmp_tuple_element_100 ); PyTuple_SET_ITEM( tmp_defaults_33, 0, tmp_tuple_element_100 ); tmp_tuple_element_100 = PyDict_New(); PyTuple_SET_ITEM( tmp_defaults_33, 1, tmp_tuple_element_100 ); tmp_tuple_element_100 = Py_True; Py_INCREF( tmp_tuple_element_100 ); PyTuple_SET_ITEM( tmp_defaults_33, 2, tmp_tuple_element_100 ); tmp_tuple_element_100 = Py_None; Py_INCREF( tmp_tuple_element_100 ); PyTuple_SET_ITEM( tmp_defaults_33, 3, tmp_tuple_element_100 ); tmp_tuple_element_100 = Py_None; Py_INCREF( tmp_tuple_element_100 ); PyTuple_SET_ITEM( tmp_defaults_33, 4, tmp_tuple_element_100 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_101_find_all( tmp_defaults_33 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_find_all, 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 = 1361; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_869, const_str_plain_find_all ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_all" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1377; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1377; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_findAll, 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 = 1377; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_869, const_str_plain_find_all ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "find_all" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1378; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1378; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_findChildren, 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 = 1378; type_description_2 = "o"; goto frame_exception_exit_21; } } { nuitka_bool tmp_condition_result_149; PyObject *tmp_called_name_86; PyObject *tmp_args_element_name_37; PyObject *tmp_called_name_87; PyObject *tmp_args_element_name_38; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_869, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1381; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_condition_result_149 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_149 == NUITKA_BOOL_TRUE ) { goto condexpr_true_64; } else { goto condexpr_false_64; } condexpr_true_64:; tmp_called_name_86 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_property ); if ( tmp_called_name_86 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1381; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_called_name_86 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1381; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_args_element_name_37 = MAKE_FUNCTION_bs4$element$$$function_102_children( ); frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 1381; { PyObject *call_args[] = { tmp_args_element_name_37 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_86, call_args ); } Py_DECREF( tmp_called_name_86 ); Py_DECREF( tmp_args_element_name_37 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1381; type_description_2 = "o"; goto frame_exception_exit_21; } goto condexpr_end_64; condexpr_false_64:; tmp_called_name_87 = (PyObject *)&PyProperty_Type; tmp_args_element_name_38 = MAKE_FUNCTION_bs4$element$$$function_102_children( ); frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 1381; { PyObject *call_args[] = { tmp_args_element_name_38 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_87, call_args ); } Py_DECREF( tmp_args_element_name_38 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1381; type_description_2 = "o"; goto frame_exception_exit_21; } condexpr_end_64:; tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_children, 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 = 1381; type_description_2 = "o"; goto frame_exception_exit_21; } } { nuitka_bool tmp_condition_result_150; PyObject *tmp_called_name_88; PyObject *tmp_args_element_name_39; PyObject *tmp_called_name_89; PyObject *tmp_args_element_name_40; tmp_res = MAPPING_HAS_ITEM( locals_bs4$element_869, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1386; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_condition_result_150 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_150 == NUITKA_BOOL_TRUE ) { goto condexpr_true_65; } else { goto condexpr_false_65; } condexpr_true_65:; tmp_called_name_88 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_property ); if ( tmp_called_name_88 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1386; type_description_2 = "o"; goto frame_exception_exit_21; } if ( tmp_called_name_88 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1386; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_args_element_name_39 = MAKE_FUNCTION_bs4$element$$$function_103_descendants( ); frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 1386; { PyObject *call_args[] = { tmp_args_element_name_39 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_88, call_args ); } Py_DECREF( tmp_called_name_88 ); Py_DECREF( tmp_args_element_name_39 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1386; type_description_2 = "o"; goto frame_exception_exit_21; } goto condexpr_end_65; condexpr_false_65:; tmp_called_name_89 = (PyObject *)&PyProperty_Type; tmp_args_element_name_40 = MAKE_FUNCTION_bs4$element$$$function_103_descendants( ); frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 1386; { PyObject *call_args[] = { tmp_args_element_name_40 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_89, call_args ); } Py_DECREF( tmp_args_element_name_40 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1386; type_description_2 = "o"; goto frame_exception_exit_21; } condexpr_end_65:; tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_descendants, 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 = 1386; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = LIST_COPY( const_list_str_chr_62_str_chr_43_str_chr_126_list ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain__selector_combinators, 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 = 1398; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = Py_False; tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain__select_debug, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1399; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_called_instance_6; PyObject *tmp_mvar_value_42; tmp_called_instance_6 = PyObject_GetItem( locals_bs4$element_869, const_str_plain_re ); if ( tmp_called_instance_6 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_42 = GET_STRING_DICT_VALUE( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_42 == NULL )) { tmp_mvar_value_42 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_42 == 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 = 1400; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_called_instance_6 = tmp_mvar_value_42; Py_INCREF( tmp_called_instance_6 ); } } frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame.f_lineno = 1400; tmp_dictset_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_6, const_str_plain_compile, &PyTuple_GET_ITEM( const_tuple_str_digest_3ca995a2b5218b365983dfd77141cbaa_tuple, 0 ) ); Py_DECREF( tmp_called_instance_6 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1400; type_description_2 = "o"; goto frame_exception_exit_21; } tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_quoted_colon, 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 = 1400; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_104_select_one( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_select_one, 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 = 1401; type_description_2 = "o"; goto frame_exception_exit_21; } } { PyObject *tmp_defaults_34; tmp_defaults_34 = const_tuple_none_none_tuple; Py_INCREF( tmp_defaults_34 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_105_select( tmp_defaults_34 ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_select, 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 = 1408; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_106_childGenerator( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_childGenerator, 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 = 1643; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_107_recursiveChildGenerator( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_recursiveChildGenerator, 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 = 1646; type_description_2 = "o"; goto frame_exception_exit_21; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_108_has_key( ); tmp_res = PyObject_SetItem( locals_bs4$element_869, const_str_plain_has_key, 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 = 1649; type_description_2 = "o"; goto frame_exception_exit_21; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_4609c90faa727a79fc7a65c6e8922c9d_21 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_20; frame_exception_exit_21:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4609c90faa727a79fc7a65c6e8922c9d_21 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4609c90faa727a79fc7a65c6e8922c9d_21, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4609c90faa727a79fc7a65c6e8922c9d_21->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4609c90faa727a79fc7a65c6e8922c9d_21, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4609c90faa727a79fc7a65c6e8922c9d_21, type_description_2, outline_20_var___class__ ); // Release cached frame. if ( frame_4609c90faa727a79fc7a65c6e8922c9d_21 == cache_frame_4609c90faa727a79fc7a65c6e8922c9d_21 ) { Py_DECREF( frame_4609c90faa727a79fc7a65c6e8922c9d_21 ); } cache_frame_4609c90faa727a79fc7a65c6e8922c9d_21 = NULL; assertFrameObject( frame_4609c90faa727a79fc7a65c6e8922c9d_21 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_20; frame_no_exception_20:; goto skip_nested_handling_20; nested_frame_exit_20:; goto try_except_handler_66; skip_nested_handling_20:; { nuitka_bool tmp_condition_result_151; PyObject *tmp_compexpr_left_23; PyObject *tmp_compexpr_right_23; CHECK_OBJECT( tmp_class_creation_21__bases ); tmp_compexpr_left_23 = tmp_class_creation_21__bases; CHECK_OBJECT( tmp_class_creation_21__bases_orig ); tmp_compexpr_right_23 = tmp_class_creation_21__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_23, tmp_compexpr_right_23 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_66; } tmp_condition_result_151 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_151 == NUITKA_BOOL_TRUE ) { goto branch_yes_86; } else { goto branch_no_86; } branch_yes_86:; { CHECK_OBJECT( tmp_class_creation_21__bases_orig ); tmp_dictset_value = tmp_class_creation_21__bases_orig; tmp_res = PyObject_SetItem( locals_bs4$element_869, 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 = 869; goto try_except_handler_66; } } branch_no_86:; } { PyObject *tmp_assign_source_181; PyObject *tmp_called_name_90; PyObject *tmp_args_name_42; PyObject *tmp_tuple_element_101; PyObject *tmp_kw_name_42; CHECK_OBJECT( tmp_class_creation_21__metaclass ); tmp_called_name_90 = tmp_class_creation_21__metaclass; tmp_tuple_element_101 = const_str_plain_Tag; tmp_args_name_42 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_101 ); PyTuple_SET_ITEM( tmp_args_name_42, 0, tmp_tuple_element_101 ); CHECK_OBJECT( tmp_class_creation_21__bases ); tmp_tuple_element_101 = tmp_class_creation_21__bases; Py_INCREF( tmp_tuple_element_101 ); PyTuple_SET_ITEM( tmp_args_name_42, 1, tmp_tuple_element_101 ); tmp_tuple_element_101 = locals_bs4$element_869; Py_INCREF( tmp_tuple_element_101 ); PyTuple_SET_ITEM( tmp_args_name_42, 2, tmp_tuple_element_101 ); CHECK_OBJECT( tmp_class_creation_21__class_decl_dict ); tmp_kw_name_42 = tmp_class_creation_21__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 869; tmp_assign_source_181 = CALL_FUNCTION( tmp_called_name_90, tmp_args_name_42, tmp_kw_name_42 ); Py_DECREF( tmp_args_name_42 ); if ( tmp_assign_source_181 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_66; } assert( outline_20_var___class__ == NULL ); outline_20_var___class__ = tmp_assign_source_181; } { CHECK_OBJECT( outline_20_var___class__ ); tmp_assign_source_179 = outline_20_var___class__; Py_INCREF( tmp_assign_source_179 ); goto try_return_handler_66; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_66:; { Py_DECREF( locals_bs4$element_869 ); locals_bs4$element_869 = NULL; } { goto try_return_handler_65; } // Exception handler code: try_except_handler_66:; exception_keeper_type_65 = exception_type; exception_keeper_value_65 = exception_value; exception_keeper_tb_65 = exception_tb; exception_keeper_lineno_65 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_869 ); locals_bs4$element_869 = NULL; } { // Re-raise. exception_type = exception_keeper_type_65; exception_value = exception_keeper_value_65; exception_tb = exception_keeper_tb_65; exception_lineno = exception_keeper_lineno_65; goto try_except_handler_65; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_65:; { CHECK_OBJECT( (PyObject *)outline_20_var___class__ ); Py_DECREF( outline_20_var___class__ ); outline_20_var___class__ = NULL; } { goto outline_result_21; } // Exception handler code: try_except_handler_65:; exception_keeper_type_66 = exception_type; exception_keeper_value_66 = exception_value; exception_keeper_tb_66 = exception_tb; exception_keeper_lineno_66 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_66; exception_value = exception_keeper_value_66; exception_tb = exception_keeper_tb_66; exception_lineno = exception_keeper_lineno_66; goto outline_exception_21; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_21:; exception_lineno = 869; goto try_except_handler_64; outline_result_21:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_Tag, tmp_assign_source_179 ); } goto try_end_25; // Exception handler code: try_except_handler_64:; exception_keeper_type_67 = exception_type; exception_keeper_value_67 = exception_value; exception_keeper_tb_67 = exception_tb; exception_keeper_lineno_67 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_21__bases ); tmp_class_creation_21__bases = NULL; } { Py_XDECREF( tmp_class_creation_21__class_decl_dict ); tmp_class_creation_21__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_21__metaclass ); tmp_class_creation_21__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_21__prepared ); tmp_class_creation_21__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_67; exception_value = exception_keeper_value_67; exception_tb = exception_keeper_tb_67; exception_lineno = exception_keeper_lineno_67; goto frame_exception_exit_1; } // End of try: try_end_25:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_21__bases ); Py_DECREF( tmp_class_creation_21__bases ); tmp_class_creation_21__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_21__class_decl_dict ); Py_DECREF( tmp_class_creation_21__class_decl_dict ); tmp_class_creation_21__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_21__metaclass ); Py_DECREF( tmp_class_creation_21__metaclass ); tmp_class_creation_21__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_21__prepared ); Py_DECREF( tmp_class_creation_21__prepared ); tmp_class_creation_21__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_182; PyObject *tmp_dircall_arg1_22; tmp_dircall_arg1_22 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_22 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_22}; tmp_assign_source_182 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_182 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_68; } assert( tmp_class_creation_22__bases == NULL ); tmp_class_creation_22__bases = tmp_assign_source_182; } { PyObject *tmp_assign_source_183; tmp_assign_source_183 = PyDict_New(); assert( tmp_class_creation_22__class_decl_dict == NULL ); tmp_class_creation_22__class_decl_dict = tmp_assign_source_183; } { PyObject *tmp_assign_source_184; PyObject *tmp_metaclass_name_22; nuitka_bool tmp_condition_result_152; PyObject *tmp_key_name_64; PyObject *tmp_dict_name_64; PyObject *tmp_dict_name_65; PyObject *tmp_key_name_65; nuitka_bool tmp_condition_result_153; int tmp_truth_name_23; PyObject *tmp_type_arg_43; PyObject *tmp_subscribed_name_23; PyObject *tmp_subscript_name_23; PyObject *tmp_bases_name_22; tmp_key_name_64 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_22__class_decl_dict ); tmp_dict_name_64 = tmp_class_creation_22__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_64, tmp_key_name_64 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_68; } tmp_condition_result_152 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_152 == NUITKA_BOOL_TRUE ) { goto condexpr_true_66; } else { goto condexpr_false_66; } condexpr_true_66:; CHECK_OBJECT( tmp_class_creation_22__class_decl_dict ); tmp_dict_name_65 = tmp_class_creation_22__class_decl_dict; tmp_key_name_65 = const_str_plain_metaclass; tmp_metaclass_name_22 = DICT_GET_ITEM( tmp_dict_name_65, tmp_key_name_65 ); if ( tmp_metaclass_name_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_68; } goto condexpr_end_66; condexpr_false_66:; CHECK_OBJECT( tmp_class_creation_22__bases ); tmp_truth_name_23 = CHECK_IF_TRUE( tmp_class_creation_22__bases ); if ( tmp_truth_name_23 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_68; } tmp_condition_result_153 = tmp_truth_name_23 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_153 == NUITKA_BOOL_TRUE ) { goto condexpr_true_67; } else { goto condexpr_false_67; } condexpr_true_67:; CHECK_OBJECT( tmp_class_creation_22__bases ); tmp_subscribed_name_23 = tmp_class_creation_22__bases; tmp_subscript_name_23 = const_int_0; tmp_type_arg_43 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_23, tmp_subscript_name_23, 0 ); if ( tmp_type_arg_43 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_68; } tmp_metaclass_name_22 = BUILTIN_TYPE1( tmp_type_arg_43 ); Py_DECREF( tmp_type_arg_43 ); if ( tmp_metaclass_name_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_68; } goto condexpr_end_67; condexpr_false_67:; tmp_metaclass_name_22 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_22 ); condexpr_end_67:; condexpr_end_66:; CHECK_OBJECT( tmp_class_creation_22__bases ); tmp_bases_name_22 = tmp_class_creation_22__bases; tmp_assign_source_184 = SELECT_METACLASS( tmp_metaclass_name_22, tmp_bases_name_22 ); Py_DECREF( tmp_metaclass_name_22 ); if ( tmp_assign_source_184 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_68; } assert( tmp_class_creation_22__metaclass == NULL ); tmp_class_creation_22__metaclass = tmp_assign_source_184; } { nuitka_bool tmp_condition_result_154; PyObject *tmp_key_name_66; PyObject *tmp_dict_name_66; tmp_key_name_66 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_22__class_decl_dict ); tmp_dict_name_66 = tmp_class_creation_22__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_66, tmp_key_name_66 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_68; } tmp_condition_result_154 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_154 == NUITKA_BOOL_TRUE ) { goto branch_yes_87; } else { goto branch_no_87; } branch_yes_87:; { CHECK_OBJECT( tmp_class_creation_22__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_22__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 = 1658; goto try_except_handler_68; } } branch_no_87:; } { nuitka_bool tmp_condition_result_155; PyObject *tmp_source_name_88; CHECK_OBJECT( tmp_class_creation_22__metaclass ); tmp_source_name_88 = tmp_class_creation_22__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_88, const_str_plain___prepare__ ); tmp_condition_result_155 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_155 == NUITKA_BOOL_TRUE ) { goto branch_yes_88; } else { goto branch_no_88; } branch_yes_88:; { PyObject *tmp_assign_source_185; PyObject *tmp_called_name_91; PyObject *tmp_source_name_89; PyObject *tmp_args_name_43; PyObject *tmp_tuple_element_102; PyObject *tmp_kw_name_43; CHECK_OBJECT( tmp_class_creation_22__metaclass ); tmp_source_name_89 = tmp_class_creation_22__metaclass; tmp_called_name_91 = LOOKUP_ATTRIBUTE( tmp_source_name_89, const_str_plain___prepare__ ); if ( tmp_called_name_91 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_68; } tmp_tuple_element_102 = const_str_plain_SoupStrainer; tmp_args_name_43 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_102 ); PyTuple_SET_ITEM( tmp_args_name_43, 0, tmp_tuple_element_102 ); CHECK_OBJECT( tmp_class_creation_22__bases ); tmp_tuple_element_102 = tmp_class_creation_22__bases; Py_INCREF( tmp_tuple_element_102 ); PyTuple_SET_ITEM( tmp_args_name_43, 1, tmp_tuple_element_102 ); CHECK_OBJECT( tmp_class_creation_22__class_decl_dict ); tmp_kw_name_43 = tmp_class_creation_22__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 1658; tmp_assign_source_185 = CALL_FUNCTION( tmp_called_name_91, tmp_args_name_43, tmp_kw_name_43 ); Py_DECREF( tmp_called_name_91 ); Py_DECREF( tmp_args_name_43 ); if ( tmp_assign_source_185 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_68; } assert( tmp_class_creation_22__prepared == NULL ); tmp_class_creation_22__prepared = tmp_assign_source_185; } { nuitka_bool tmp_condition_result_156; PyObject *tmp_operand_name_22; PyObject *tmp_source_name_90; CHECK_OBJECT( tmp_class_creation_22__prepared ); tmp_source_name_90 = tmp_class_creation_22__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_90, const_str_plain___getitem__ ); tmp_operand_name_22 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_22 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_68; } tmp_condition_result_156 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_156 == NUITKA_BOOL_TRUE ) { goto branch_yes_89; } else { goto branch_no_89; } branch_yes_89:; { PyObject *tmp_raise_type_22; PyObject *tmp_raise_value_22; PyObject *tmp_left_name_22; PyObject *tmp_right_name_22; PyObject *tmp_tuple_element_103; PyObject *tmp_getattr_target_22; PyObject *tmp_getattr_attr_22; PyObject *tmp_getattr_default_22; PyObject *tmp_source_name_91; PyObject *tmp_type_arg_44; tmp_raise_type_22 = PyExc_TypeError; tmp_left_name_22 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_22__metaclass ); tmp_getattr_target_22 = tmp_class_creation_22__metaclass; tmp_getattr_attr_22 = const_str_plain___name__; tmp_getattr_default_22 = const_str_angle_metaclass; tmp_tuple_element_103 = BUILTIN_GETATTR( tmp_getattr_target_22, tmp_getattr_attr_22, tmp_getattr_default_22 ); if ( tmp_tuple_element_103 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_68; } tmp_right_name_22 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_22, 0, tmp_tuple_element_103 ); CHECK_OBJECT( tmp_class_creation_22__prepared ); tmp_type_arg_44 = tmp_class_creation_22__prepared; tmp_source_name_91 = BUILTIN_TYPE1( tmp_type_arg_44 ); assert( !(tmp_source_name_91 == NULL) ); tmp_tuple_element_103 = LOOKUP_ATTRIBUTE( tmp_source_name_91, const_str_plain___name__ ); Py_DECREF( tmp_source_name_91 ); if ( tmp_tuple_element_103 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_22 ); exception_lineno = 1658; goto try_except_handler_68; } PyTuple_SET_ITEM( tmp_right_name_22, 1, tmp_tuple_element_103 ); tmp_raise_value_22 = BINARY_OPERATION_REMAINDER( tmp_left_name_22, tmp_right_name_22 ); Py_DECREF( tmp_right_name_22 ); if ( tmp_raise_value_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_68; } exception_type = tmp_raise_type_22; Py_INCREF( tmp_raise_type_22 ); exception_value = tmp_raise_value_22; exception_lineno = 1658; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_68; } branch_no_89:; } goto branch_end_88; branch_no_88:; { PyObject *tmp_assign_source_186; tmp_assign_source_186 = PyDict_New(); assert( tmp_class_creation_22__prepared == NULL ); tmp_class_creation_22__prepared = tmp_assign_source_186; } branch_end_88:; } { PyObject *tmp_assign_source_187; { PyObject *tmp_set_locals_22; CHECK_OBJECT( tmp_class_creation_22__prepared ); tmp_set_locals_22 = tmp_class_creation_22__prepared; locals_bs4$element_1658 = tmp_set_locals_22; Py_INCREF( tmp_set_locals_22 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_1658, 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 = 1658; goto try_except_handler_70; } } { tmp_dictset_value = const_str_digest_7f21154356114069eea0623d81bf7f58; tmp_res = PyObject_SetItem( locals_bs4$element_1658, 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 = 1658; goto try_except_handler_70; } } { tmp_dictset_value = const_str_plain_SoupStrainer; tmp_res = PyObject_SetItem( locals_bs4$element_1658, 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 = 1658; goto try_except_handler_70; } } MAKE_OR_REUSE_FRAME( cache_frame_fd5e8676821a0cc01a6283e697785aac_22, codeobj_fd5e8676821a0cc01a6283e697785aac, module_bs4$element, sizeof(void *) ); frame_fd5e8676821a0cc01a6283e697785aac_22 = cache_frame_fd5e8676821a0cc01a6283e697785aac_22; // Push the new frame as the currently active one. pushFrameStack( frame_fd5e8676821a0cc01a6283e697785aac_22 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_fd5e8676821a0cc01a6283e697785aac_22 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_defaults_35; PyObject *tmp_tuple_element_104; tmp_tuple_element_104 = Py_None; tmp_defaults_35 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_104 ); PyTuple_SET_ITEM( tmp_defaults_35, 0, tmp_tuple_element_104 ); tmp_tuple_element_104 = PyDict_New(); PyTuple_SET_ITEM( tmp_defaults_35, 1, tmp_tuple_element_104 ); tmp_tuple_element_104 = Py_None; Py_INCREF( tmp_tuple_element_104 ); PyTuple_SET_ITEM( tmp_defaults_35, 2, tmp_tuple_element_104 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_109___init__( tmp_defaults_35 ); tmp_res = PyObject_SetItem( locals_bs4$element_1658, 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 = 1662; type_description_2 = "o"; goto frame_exception_exit_22; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_110__normalize_search_value( ); tmp_res = PyObject_SetItem( locals_bs4$element_1658, const_str_plain__normalize_search_value, 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 = 1689; type_description_2 = "o"; goto frame_exception_exit_22; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_111___str__( ); tmp_res = PyObject_SetItem( locals_bs4$element_1658, const_str_plain___str__, 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 = 1719; type_description_2 = "o"; goto frame_exception_exit_22; } } { PyObject *tmp_defaults_36; PyObject *tmp_tuple_element_105; tmp_tuple_element_105 = Py_None; tmp_defaults_36 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_105 ); PyTuple_SET_ITEM( tmp_defaults_36, 0, tmp_tuple_element_105 ); tmp_tuple_element_105 = PyDict_New(); PyTuple_SET_ITEM( tmp_defaults_36, 1, tmp_tuple_element_105 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_112_search_tag( tmp_defaults_36 ); tmp_res = PyObject_SetItem( locals_bs4$element_1658, const_str_plain_search_tag, 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 = 1725; type_description_2 = "o"; goto frame_exception_exit_22; } } { tmp_dictset_value = PyObject_GetItem( locals_bs4$element_1658, const_str_plain_search_tag ); if ( tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "search_tag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 1764; type_description_2 = "o"; goto frame_exception_exit_22; } if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1764; type_description_2 = "o"; goto frame_exception_exit_22; } tmp_res = PyObject_SetItem( locals_bs4$element_1658, const_str_plain_searchTag, 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 = 1764; type_description_2 = "o"; goto frame_exception_exit_22; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_113_search( ); tmp_res = PyObject_SetItem( locals_bs4$element_1658, const_str_plain_search, 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 = 1766; type_description_2 = "o"; goto frame_exception_exit_22; } } { PyObject *tmp_defaults_37; tmp_defaults_37 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_37 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_114__matches( tmp_defaults_37 ); tmp_res = PyObject_SetItem( locals_bs4$element_1658, const_str_plain__matches, 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 = 1792; type_description_2 = "o"; goto frame_exception_exit_22; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_fd5e8676821a0cc01a6283e697785aac_22 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_21; frame_exception_exit_22:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fd5e8676821a0cc01a6283e697785aac_22 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_fd5e8676821a0cc01a6283e697785aac_22, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_fd5e8676821a0cc01a6283e697785aac_22->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_fd5e8676821a0cc01a6283e697785aac_22, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_fd5e8676821a0cc01a6283e697785aac_22, type_description_2, outline_21_var___class__ ); // Release cached frame. if ( frame_fd5e8676821a0cc01a6283e697785aac_22 == cache_frame_fd5e8676821a0cc01a6283e697785aac_22 ) { Py_DECREF( frame_fd5e8676821a0cc01a6283e697785aac_22 ); } cache_frame_fd5e8676821a0cc01a6283e697785aac_22 = NULL; assertFrameObject( frame_fd5e8676821a0cc01a6283e697785aac_22 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_21; frame_no_exception_21:; goto skip_nested_handling_21; nested_frame_exit_21:; goto try_except_handler_70; skip_nested_handling_21:; { nuitka_bool tmp_condition_result_157; PyObject *tmp_compexpr_left_24; PyObject *tmp_compexpr_right_24; CHECK_OBJECT( tmp_class_creation_22__bases ); tmp_compexpr_left_24 = tmp_class_creation_22__bases; tmp_compexpr_right_24 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_24, tmp_compexpr_right_24 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_70; } tmp_condition_result_157 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_157 == NUITKA_BOOL_TRUE ) { goto branch_yes_90; } else { goto branch_no_90; } branch_yes_90:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_bs4$element_1658, 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 = 1658; goto try_except_handler_70; } } branch_no_90:; } { PyObject *tmp_assign_source_188; PyObject *tmp_called_name_92; PyObject *tmp_args_name_44; PyObject *tmp_tuple_element_106; PyObject *tmp_kw_name_44; CHECK_OBJECT( tmp_class_creation_22__metaclass ); tmp_called_name_92 = tmp_class_creation_22__metaclass; tmp_tuple_element_106 = const_str_plain_SoupStrainer; tmp_args_name_44 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_106 ); PyTuple_SET_ITEM( tmp_args_name_44, 0, tmp_tuple_element_106 ); CHECK_OBJECT( tmp_class_creation_22__bases ); tmp_tuple_element_106 = tmp_class_creation_22__bases; Py_INCREF( tmp_tuple_element_106 ); PyTuple_SET_ITEM( tmp_args_name_44, 1, tmp_tuple_element_106 ); tmp_tuple_element_106 = locals_bs4$element_1658; Py_INCREF( tmp_tuple_element_106 ); PyTuple_SET_ITEM( tmp_args_name_44, 2, tmp_tuple_element_106 ); CHECK_OBJECT( tmp_class_creation_22__class_decl_dict ); tmp_kw_name_44 = tmp_class_creation_22__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 1658; tmp_assign_source_188 = CALL_FUNCTION( tmp_called_name_92, tmp_args_name_44, tmp_kw_name_44 ); Py_DECREF( tmp_args_name_44 ); if ( tmp_assign_source_188 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1658; goto try_except_handler_70; } assert( outline_21_var___class__ == NULL ); outline_21_var___class__ = tmp_assign_source_188; } { CHECK_OBJECT( outline_21_var___class__ ); tmp_assign_source_187 = outline_21_var___class__; Py_INCREF( tmp_assign_source_187 ); goto try_return_handler_70; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_70:; { Py_DECREF( locals_bs4$element_1658 ); locals_bs4$element_1658 = NULL; } { goto try_return_handler_69; } // Exception handler code: try_except_handler_70:; exception_keeper_type_68 = exception_type; exception_keeper_value_68 = exception_value; exception_keeper_tb_68 = exception_tb; exception_keeper_lineno_68 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_1658 ); locals_bs4$element_1658 = NULL; } { // Re-raise. exception_type = exception_keeper_type_68; exception_value = exception_keeper_value_68; exception_tb = exception_keeper_tb_68; exception_lineno = exception_keeper_lineno_68; goto try_except_handler_69; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_69:; { CHECK_OBJECT( (PyObject *)outline_21_var___class__ ); Py_DECREF( outline_21_var___class__ ); outline_21_var___class__ = NULL; } { goto outline_result_22; } // Exception handler code: try_except_handler_69:; exception_keeper_type_69 = exception_type; exception_keeper_value_69 = exception_value; exception_keeper_tb_69 = exception_tb; exception_keeper_lineno_69 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_69; exception_value = exception_keeper_value_69; exception_tb = exception_keeper_tb_69; exception_lineno = exception_keeper_lineno_69; goto outline_exception_22; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_22:; exception_lineno = 1658; goto try_except_handler_68; outline_result_22:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_SoupStrainer, tmp_assign_source_187 ); } goto try_end_26; // Exception handler code: try_except_handler_68:; exception_keeper_type_70 = exception_type; exception_keeper_value_70 = exception_value; exception_keeper_tb_70 = exception_tb; exception_keeper_lineno_70 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_22__bases ); tmp_class_creation_22__bases = NULL; } { Py_XDECREF( tmp_class_creation_22__class_decl_dict ); tmp_class_creation_22__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_22__metaclass ); tmp_class_creation_22__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_22__prepared ); tmp_class_creation_22__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_70; exception_value = exception_keeper_value_70; exception_tb = exception_keeper_tb_70; exception_lineno = exception_keeper_lineno_70; goto frame_exception_exit_1; } // End of try: try_end_26:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_22__bases ); Py_DECREF( tmp_class_creation_22__bases ); tmp_class_creation_22__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_22__class_decl_dict ); Py_DECREF( tmp_class_creation_22__class_decl_dict ); tmp_class_creation_22__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_22__metaclass ); Py_DECREF( tmp_class_creation_22__metaclass ); tmp_class_creation_22__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_22__prepared ); Py_DECREF( tmp_class_creation_22__prepared ); tmp_class_creation_22__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_189; PyObject *tmp_dircall_arg1_23; tmp_dircall_arg1_23 = const_tuple_type_list_tuple; Py_INCREF( tmp_dircall_arg1_23 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_23}; tmp_assign_source_189 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_189 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_71; } assert( tmp_class_creation_23__bases == NULL ); tmp_class_creation_23__bases = tmp_assign_source_189; } { PyObject *tmp_assign_source_190; tmp_assign_source_190 = PyDict_New(); assert( tmp_class_creation_23__class_decl_dict == NULL ); tmp_class_creation_23__class_decl_dict = tmp_assign_source_190; } { PyObject *tmp_assign_source_191; PyObject *tmp_metaclass_name_23; nuitka_bool tmp_condition_result_158; PyObject *tmp_key_name_67; PyObject *tmp_dict_name_67; PyObject *tmp_dict_name_68; PyObject *tmp_key_name_68; nuitka_bool tmp_condition_result_159; int tmp_truth_name_24; PyObject *tmp_type_arg_45; PyObject *tmp_subscribed_name_24; PyObject *tmp_subscript_name_24; PyObject *tmp_bases_name_23; tmp_key_name_67 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_23__class_decl_dict ); tmp_dict_name_67 = tmp_class_creation_23__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_67, tmp_key_name_67 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_71; } tmp_condition_result_158 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_158 == NUITKA_BOOL_TRUE ) { goto condexpr_true_68; } else { goto condexpr_false_68; } condexpr_true_68:; CHECK_OBJECT( tmp_class_creation_23__class_decl_dict ); tmp_dict_name_68 = tmp_class_creation_23__class_decl_dict; tmp_key_name_68 = const_str_plain_metaclass; tmp_metaclass_name_23 = DICT_GET_ITEM( tmp_dict_name_68, tmp_key_name_68 ); if ( tmp_metaclass_name_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_71; } goto condexpr_end_68; condexpr_false_68:; CHECK_OBJECT( tmp_class_creation_23__bases ); tmp_truth_name_24 = CHECK_IF_TRUE( tmp_class_creation_23__bases ); if ( tmp_truth_name_24 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_71; } tmp_condition_result_159 = tmp_truth_name_24 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_159 == NUITKA_BOOL_TRUE ) { goto condexpr_true_69; } else { goto condexpr_false_69; } condexpr_true_69:; CHECK_OBJECT( tmp_class_creation_23__bases ); tmp_subscribed_name_24 = tmp_class_creation_23__bases; tmp_subscript_name_24 = const_int_0; tmp_type_arg_45 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_24, tmp_subscript_name_24, 0 ); if ( tmp_type_arg_45 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_71; } tmp_metaclass_name_23 = BUILTIN_TYPE1( tmp_type_arg_45 ); Py_DECREF( tmp_type_arg_45 ); if ( tmp_metaclass_name_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_71; } goto condexpr_end_69; condexpr_false_69:; tmp_metaclass_name_23 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_23 ); condexpr_end_69:; condexpr_end_68:; CHECK_OBJECT( tmp_class_creation_23__bases ); tmp_bases_name_23 = tmp_class_creation_23__bases; tmp_assign_source_191 = SELECT_METACLASS( tmp_metaclass_name_23, tmp_bases_name_23 ); Py_DECREF( tmp_metaclass_name_23 ); if ( tmp_assign_source_191 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_71; } assert( tmp_class_creation_23__metaclass == NULL ); tmp_class_creation_23__metaclass = tmp_assign_source_191; } { nuitka_bool tmp_condition_result_160; PyObject *tmp_key_name_69; PyObject *tmp_dict_name_69; tmp_key_name_69 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_23__class_decl_dict ); tmp_dict_name_69 = tmp_class_creation_23__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_69, tmp_key_name_69 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_71; } tmp_condition_result_160 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_160 == NUITKA_BOOL_TRUE ) { goto branch_yes_91; } else { goto branch_no_91; } branch_yes_91:; { CHECK_OBJECT( tmp_class_creation_23__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_23__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 = 1875; goto try_except_handler_71; } } branch_no_91:; } { nuitka_bool tmp_condition_result_161; PyObject *tmp_source_name_92; CHECK_OBJECT( tmp_class_creation_23__metaclass ); tmp_source_name_92 = tmp_class_creation_23__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_92, const_str_plain___prepare__ ); tmp_condition_result_161 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_161 == NUITKA_BOOL_TRUE ) { goto branch_yes_92; } else { goto branch_no_92; } branch_yes_92:; { PyObject *tmp_assign_source_192; PyObject *tmp_called_name_93; PyObject *tmp_source_name_93; PyObject *tmp_args_name_45; PyObject *tmp_tuple_element_107; PyObject *tmp_kw_name_45; CHECK_OBJECT( tmp_class_creation_23__metaclass ); tmp_source_name_93 = tmp_class_creation_23__metaclass; tmp_called_name_93 = LOOKUP_ATTRIBUTE( tmp_source_name_93, const_str_plain___prepare__ ); if ( tmp_called_name_93 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_71; } tmp_tuple_element_107 = const_str_plain_ResultSet; tmp_args_name_45 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_107 ); PyTuple_SET_ITEM( tmp_args_name_45, 0, tmp_tuple_element_107 ); CHECK_OBJECT( tmp_class_creation_23__bases ); tmp_tuple_element_107 = tmp_class_creation_23__bases; Py_INCREF( tmp_tuple_element_107 ); PyTuple_SET_ITEM( tmp_args_name_45, 1, tmp_tuple_element_107 ); CHECK_OBJECT( tmp_class_creation_23__class_decl_dict ); tmp_kw_name_45 = tmp_class_creation_23__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 1875; tmp_assign_source_192 = CALL_FUNCTION( tmp_called_name_93, tmp_args_name_45, tmp_kw_name_45 ); Py_DECREF( tmp_called_name_93 ); Py_DECREF( tmp_args_name_45 ); if ( tmp_assign_source_192 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_71; } assert( tmp_class_creation_23__prepared == NULL ); tmp_class_creation_23__prepared = tmp_assign_source_192; } { nuitka_bool tmp_condition_result_162; PyObject *tmp_operand_name_23; PyObject *tmp_source_name_94; CHECK_OBJECT( tmp_class_creation_23__prepared ); tmp_source_name_94 = tmp_class_creation_23__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_94, const_str_plain___getitem__ ); tmp_operand_name_23 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_23 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_71; } tmp_condition_result_162 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_162 == NUITKA_BOOL_TRUE ) { goto branch_yes_93; } else { goto branch_no_93; } branch_yes_93:; { PyObject *tmp_raise_type_23; PyObject *tmp_raise_value_23; PyObject *tmp_left_name_23; PyObject *tmp_right_name_23; PyObject *tmp_tuple_element_108; PyObject *tmp_getattr_target_23; PyObject *tmp_getattr_attr_23; PyObject *tmp_getattr_default_23; PyObject *tmp_source_name_95; PyObject *tmp_type_arg_46; tmp_raise_type_23 = PyExc_TypeError; tmp_left_name_23 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_23__metaclass ); tmp_getattr_target_23 = tmp_class_creation_23__metaclass; tmp_getattr_attr_23 = const_str_plain___name__; tmp_getattr_default_23 = const_str_angle_metaclass; tmp_tuple_element_108 = BUILTIN_GETATTR( tmp_getattr_target_23, tmp_getattr_attr_23, tmp_getattr_default_23 ); if ( tmp_tuple_element_108 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_71; } tmp_right_name_23 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_23, 0, tmp_tuple_element_108 ); CHECK_OBJECT( tmp_class_creation_23__prepared ); tmp_type_arg_46 = tmp_class_creation_23__prepared; tmp_source_name_95 = BUILTIN_TYPE1( tmp_type_arg_46 ); assert( !(tmp_source_name_95 == NULL) ); tmp_tuple_element_108 = LOOKUP_ATTRIBUTE( tmp_source_name_95, const_str_plain___name__ ); Py_DECREF( tmp_source_name_95 ); if ( tmp_tuple_element_108 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_23 ); exception_lineno = 1875; goto try_except_handler_71; } PyTuple_SET_ITEM( tmp_right_name_23, 1, tmp_tuple_element_108 ); tmp_raise_value_23 = BINARY_OPERATION_REMAINDER( tmp_left_name_23, tmp_right_name_23 ); Py_DECREF( tmp_right_name_23 ); if ( tmp_raise_value_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_71; } exception_type = tmp_raise_type_23; Py_INCREF( tmp_raise_type_23 ); exception_value = tmp_raise_value_23; exception_lineno = 1875; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_71; } branch_no_93:; } goto branch_end_92; branch_no_92:; { PyObject *tmp_assign_source_193; tmp_assign_source_193 = PyDict_New(); assert( tmp_class_creation_23__prepared == NULL ); tmp_class_creation_23__prepared = tmp_assign_source_193; } branch_end_92:; } { PyObject *tmp_assign_source_194; { PyObject *tmp_set_locals_23; CHECK_OBJECT( tmp_class_creation_23__prepared ); tmp_set_locals_23 = tmp_class_creation_23__prepared; locals_bs4$element_1875 = tmp_set_locals_23; Py_INCREF( tmp_set_locals_23 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a694a1497725bd5d49805e1c282892b9; tmp_res = PyObject_SetItem( locals_bs4$element_1875, 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 = 1875; goto try_except_handler_73; } } { tmp_dictset_value = const_str_digest_a3d9d833894395d6536a0b717d3a6231; tmp_res = PyObject_SetItem( locals_bs4$element_1875, 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 = 1875; goto try_except_handler_73; } } { tmp_dictset_value = const_str_plain_ResultSet; tmp_res = PyObject_SetItem( locals_bs4$element_1875, 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 = 1875; goto try_except_handler_73; } } MAKE_OR_REUSE_FRAME( cache_frame_69f0075a71dbac5ca10b4f11e5fbd568_23, codeobj_69f0075a71dbac5ca10b4f11e5fbd568, module_bs4$element, sizeof(void *) ); frame_69f0075a71dbac5ca10b4f11e5fbd568_23 = cache_frame_69f0075a71dbac5ca10b4f11e5fbd568_23; // Push the new frame as the currently active one. pushFrameStack( frame_69f0075a71dbac5ca10b4f11e5fbd568_23 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_69f0075a71dbac5ca10b4f11e5fbd568_23 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_defaults_38; tmp_defaults_38 = const_tuple_tuple_empty_tuple; Py_INCREF( tmp_defaults_38 ); tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_115___init__( tmp_defaults_38 ); tmp_res = PyObject_SetItem( locals_bs4$element_1875, 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 = 1878; type_description_2 = "o"; goto frame_exception_exit_23; } } { tmp_dictset_value = MAKE_FUNCTION_bs4$element$$$function_116___getattr__( ); tmp_res = PyObject_SetItem( locals_bs4$element_1875, const_str_plain___getattr__, 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 = 1882; type_description_2 = "o"; goto frame_exception_exit_23; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_69f0075a71dbac5ca10b4f11e5fbd568_23 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_22; frame_exception_exit_23:; #if 0 RESTORE_FRAME_EXCEPTION( frame_69f0075a71dbac5ca10b4f11e5fbd568_23 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_69f0075a71dbac5ca10b4f11e5fbd568_23, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_69f0075a71dbac5ca10b4f11e5fbd568_23->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_69f0075a71dbac5ca10b4f11e5fbd568_23, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_69f0075a71dbac5ca10b4f11e5fbd568_23, type_description_2, outline_22_var___class__ ); // Release cached frame. if ( frame_69f0075a71dbac5ca10b4f11e5fbd568_23 == cache_frame_69f0075a71dbac5ca10b4f11e5fbd568_23 ) { Py_DECREF( frame_69f0075a71dbac5ca10b4f11e5fbd568_23 ); } cache_frame_69f0075a71dbac5ca10b4f11e5fbd568_23 = NULL; assertFrameObject( frame_69f0075a71dbac5ca10b4f11e5fbd568_23 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_22; frame_no_exception_22:; goto skip_nested_handling_22; nested_frame_exit_22:; goto try_except_handler_73; skip_nested_handling_22:; { nuitka_bool tmp_condition_result_163; PyObject *tmp_compexpr_left_25; PyObject *tmp_compexpr_right_25; CHECK_OBJECT( tmp_class_creation_23__bases ); tmp_compexpr_left_25 = tmp_class_creation_23__bases; tmp_compexpr_right_25 = const_tuple_type_list_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_25, tmp_compexpr_right_25 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_73; } tmp_condition_result_163 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_163 == NUITKA_BOOL_TRUE ) { goto branch_yes_94; } else { goto branch_no_94; } branch_yes_94:; { tmp_dictset_value = const_tuple_type_list_tuple; tmp_res = PyObject_SetItem( locals_bs4$element_1875, 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 = 1875; goto try_except_handler_73; } } branch_no_94:; } { PyObject *tmp_assign_source_195; PyObject *tmp_called_name_94; PyObject *tmp_args_name_46; PyObject *tmp_tuple_element_109; PyObject *tmp_kw_name_46; CHECK_OBJECT( tmp_class_creation_23__metaclass ); tmp_called_name_94 = tmp_class_creation_23__metaclass; tmp_tuple_element_109 = const_str_plain_ResultSet; tmp_args_name_46 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_109 ); PyTuple_SET_ITEM( tmp_args_name_46, 0, tmp_tuple_element_109 ); CHECK_OBJECT( tmp_class_creation_23__bases ); tmp_tuple_element_109 = tmp_class_creation_23__bases; Py_INCREF( tmp_tuple_element_109 ); PyTuple_SET_ITEM( tmp_args_name_46, 1, tmp_tuple_element_109 ); tmp_tuple_element_109 = locals_bs4$element_1875; Py_INCREF( tmp_tuple_element_109 ); PyTuple_SET_ITEM( tmp_args_name_46, 2, tmp_tuple_element_109 ); CHECK_OBJECT( tmp_class_creation_23__class_decl_dict ); tmp_kw_name_46 = tmp_class_creation_23__class_decl_dict; frame_4ce17d3a177d008653b00d10844e65d5->m_frame.f_lineno = 1875; tmp_assign_source_195 = CALL_FUNCTION( tmp_called_name_94, tmp_args_name_46, tmp_kw_name_46 ); Py_DECREF( tmp_args_name_46 ); if ( tmp_assign_source_195 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1875; goto try_except_handler_73; } assert( outline_22_var___class__ == NULL ); outline_22_var___class__ = tmp_assign_source_195; } { CHECK_OBJECT( outline_22_var___class__ ); tmp_assign_source_194 = outline_22_var___class__; Py_INCREF( tmp_assign_source_194 ); goto try_return_handler_73; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_73:; { Py_DECREF( locals_bs4$element_1875 ); locals_bs4$element_1875 = NULL; } { goto try_return_handler_72; } // Exception handler code: try_except_handler_73:; exception_keeper_type_71 = exception_type; exception_keeper_value_71 = exception_value; exception_keeper_tb_71 = exception_tb; exception_keeper_lineno_71 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_bs4$element_1875 ); locals_bs4$element_1875 = NULL; } { // Re-raise. exception_type = exception_keeper_type_71; exception_value = exception_keeper_value_71; exception_tb = exception_keeper_tb_71; exception_lineno = exception_keeper_lineno_71; goto try_except_handler_72; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_72:; { CHECK_OBJECT( (PyObject *)outline_22_var___class__ ); Py_DECREF( outline_22_var___class__ ); outline_22_var___class__ = NULL; } { goto outline_result_23; } // Exception handler code: try_except_handler_72:; exception_keeper_type_72 = exception_type; exception_keeper_value_72 = exception_value; exception_keeper_tb_72 = exception_tb; exception_keeper_lineno_72 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_72; exception_value = exception_keeper_value_72; exception_tb = exception_keeper_tb_72; exception_lineno = exception_keeper_lineno_72; goto outline_exception_23; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( bs4$element ); return MOD_RETURN_VALUE( NULL ); outline_exception_23:; exception_lineno = 1875; goto try_except_handler_71; outline_result_23:; UPDATE_STRING_DICT1( moduledict_bs4$element, (Nuitka_StringObject *)const_str_plain_ResultSet, tmp_assign_source_194 ); } goto try_end_27; // Exception handler code: try_except_handler_71:; exception_keeper_type_73 = exception_type; exception_keeper_value_73 = exception_value; exception_keeper_tb_73 = exception_tb; exception_keeper_lineno_73 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_23__bases ); tmp_class_creation_23__bases = NULL; } { Py_XDECREF( tmp_class_creation_23__class_decl_dict ); tmp_class_creation_23__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_23__metaclass ); tmp_class_creation_23__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_23__prepared ); tmp_class_creation_23__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_73; exception_value = exception_keeper_value_73; exception_tb = exception_keeper_tb_73; exception_lineno = exception_keeper_lineno_73; goto frame_exception_exit_1; } // End of try: try_end_27:; } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_4ce17d3a177d008653b00d10844e65d5 ); #endif popFrameStack(); assertFrameObject( frame_4ce17d3a177d008653b00d10844e65d5 ); goto frame_no_exception_23; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4ce17d3a177d008653b00d10844e65d5 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4ce17d3a177d008653b00d10844e65d5, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4ce17d3a177d008653b00d10844e65d5->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4ce17d3a177d008653b00d10844e65d5, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_23:; { CHECK_OBJECT( (PyObject *)tmp_class_creation_23__bases ); Py_DECREF( tmp_class_creation_23__bases ); tmp_class_creation_23__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_23__class_decl_dict ); Py_DECREF( tmp_class_creation_23__class_decl_dict ); tmp_class_creation_23__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_23__metaclass ); Py_DECREF( tmp_class_creation_23__metaclass ); tmp_class_creation_23__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_23__prepared ); Py_DECREF( tmp_class_creation_23__prepared ); tmp_class_creation_23__prepared = NULL; } return MOD_RETURN_VALUE( module_bs4$element ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }