/* Generated code for Python source for module 'html5lib._inputstream' * created by Nuitka version 0.6.0 * * This code is in part copyright 2018 Kay Hayen. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "nuitka/prelude.h" #include "__helpers.h" /* The _module_html5lib$_inputstream is a Python object pointer of module type. */ /* Note: For full compatibility with CPython, every module variable access * needs to go through it except for cases where the module cannot possibly * have changed in the mean time. */ PyObject *module_html5lib$_inputstream; PyDictObject *moduledict_html5lib$_inputstream; /* The module constants used, if any. */ extern PyObject *const_tuple_str_plain__utils_tuple; extern PyObject *const_str_plain_asciiUppercase; static PyObject *const_tuple_str_digest_0ad9292060a80cb2eff8ba743f112977_tuple; extern PyObject *const_str_plain___name__; static PyObject *const_str_plain_transport_encoding; extern PyObject *const_int_pos_57343; extern PyObject *const_str_plain_BOM_UTF32_BE; extern PyObject *const_str_plain_constants; extern PyObject *const_str_plain_i; static PyObject *const_str_plain_pendingEncoding; extern PyObject *const_str_plain_object; extern PyObject *const_str_plain_UniversalDetector; static PyObject *const_str_plain_attrValue; static PyObject *const_str_plain_quoteChar; extern PyObject *const_str_plain_encode; extern PyObject *const_bytes_chr_62; static PyObject *const_str_digest_df54dce2d06ff150847a63331fa17b4a; static PyObject *const_frozenset_622e272025b7cb1881422dbacaf3d2cb; extern PyObject *const_str_plain_m; extern PyObject *const_str_plain_end; extern PyObject *const_str_plain_None; static PyObject *const_str_plain_rawStream; static PyObject *const_tuple_str_plain_encoding_tuple; static PyObject *const_str_plain_chunkOffset; extern PyObject *const_str_plain_next; static PyObject *const_str_plain_chunkSize; static PyObject *const_frozenset_421354444282f8847af7576b01231e07; static PyObject *const_str_digest_465b245a39b3de3345d8d6346daa538e; static PyObject *const_str_plain_same_origin_parent_encoding; extern PyObject *const_str_plain_start; extern PyObject *const_slice_none_int_pos_2_none; static PyObject *const_tuple_str_plain_self_str_plain_quoteMark_str_plain_oldPosition_tuple; extern PyObject *const_str_plain___debug__; static PyObject *const_str_plain_quoteMark; static PyObject *const_str_digest_c397eab75961124ca254b8861cb91546; static PyObject *const_tuple_str_plain_self_str_plain_pos_str_plain_chunk_tuple; static PyObject *const_str_digest_a4fd13370687457d2995910602db2ea6; static PyObject *const_str_digest_34de6d108b236ce117aedde974fbbeea; static PyObject *const_tuple_bytes_chr_34_bytes_chr_39_tuple; extern PyObject *const_tuple_int_pos_4_tuple; static PyObject *const_tuple_a918b2fa9dc59e60937ce8bb630414d0_tuple; extern PyObject *const_str_plain_surrogatePairToCodepoint; extern PyObject *const_str_plain_six; extern PyObject *const_str_plain_BytesIO; static PyObject *const_tuple_str_plain_self_str_plain_newEncoding_tuple; static PyObject *const_str_plain_remainingBytes; static PyObject *const_str_plain_currentByte; static PyObject *const_str_digest_ff7d803498085189e5bbda6bd2825939; static PyObject *const_tuple_str_plain__ReparseException_tuple; static PyObject *const_str_digest_0ffbd4a7d412464387deb5f400b4ba0b; extern PyObject *const_str_plain_name; static PyObject *const_str_plain_charsUntilRegEx; static PyObject *const_tuple_ef826719b57caacf435105a4020de1b6_tuple; extern PyObject *const_str_plain_endswith; static PyObject *const_str_digest_71ab8d1ea3bc5a0f6077044768eb2194; static PyObject *const_str_digest_1ef434e8eebd19f4806246433ffd6de0; static PyObject *const_str_plain_regex; extern PyObject *const_tuple_int_0_tuple; extern PyObject *const_str_plain_False; static PyObject *const_str_digest_1966600f9f3e0113fc43379042914814; static PyObject *const_str_plain_dataStream; extern PyObject *const_str_digest_c075052d723d6707083e869a0e3659bb; static PyObject *const_tuple_bytes_chr_39_bytes_chr_34_tuple; extern PyObject *const_str_plain___new__; static PyObject *const_bytes_digest_f8d9d13a24477744359a4cdd023a40f5; static PyObject *const_str_digest_e8b6980e10fc5952773deb3767df767d; static PyObject *const_str_plain_openStream; extern PyObject *const_int_0; extern PyObject *const_str_plain_response; extern PyObject *const_str_plain_endTag; extern PyObject *const_str_plain_charEncoding; static PyObject *const_str_digest_41500ba68ab258bb7ef7792a1e8594d4; static PyObject *const_str_plain_skipUntil; static PyObject *const_str_digest_41cb5ab31ccd9c69c536fbe0c75f75a0; static PyObject *const_str_plain_determineEncoding; static PyObject *const_str_digest_f08956b79708c54f8a44209d7da9dd55; static PyObject *const_str_plain_handlePossibleTag; static PyObject *const_str_digest_45019d0902e370dd68b9975c3e3da60b; extern PyObject *const_int_pos_4; static PyObject *const_str_digest_d2f61b18558e7b0837483b9d41dabd30; static PyObject *const_tuple_str_plain_self_str_plain_pos_str_plain_offset_str_plain_i_tuple; extern PyObject *const_str_plain_type; static PyObject *const_str_plain_keepParsing; extern PyObject *const_int_pos_56319; extern PyObject *const_str_plain___cached__; extern PyObject *const_tuple_none_tuple; extern PyObject *const_str_plain_webencodings; static PyObject *const_str_digest_77a848b6ae19e6cd740705b2c97055b1; static PyObject *const_tuple_str_plain_self_str_plain_source_str_plain_stream_tuple; static PyObject *const_str_plain_getPosition; static PyObject *const_str_digest_8a4d33808f66cdb9c879f8b49725f910; extern PyObject *const_int_pos_1; extern PyObject *const_str_plain_replace; extern PyObject *const_str_plain_HTMLInputStream; static PyObject *const_str_plain__readStream; extern PyObject *const_str_plain_addbase; static PyObject *const_tuple_cda2dbb180ffbed0faea0f85b1839c61_tuple; static PyObject *const_str_digest_4f42531eef737efe2d4d0a598776cd16; extern PyObject *const_tuple_str_plain_self_str_plain_data_tuple; extern PyObject *const_str_plain___prepare__; static PyObject *const_str_digest_c3e33328c611f5d131fc2536d3b7c4ec; static PyObject *const_str_plain_getCurrentByte; static PyObject *const_str_digest_f7f50fc1537b8b1d0c5ae3136a23ecf2; extern PyObject *const_str_plain_supports_lone_surrogates; static PyObject *const_str_digest_8280a96d2b16a5038ca7160f6ec4ae9a; static PyObject *const_tuple_52af8b0108856fb31e9014ff5b07caee_tuple; static PyObject *const_str_digest_056cef4f8c5ea819a027e47c0ebb330a; extern PyObject *const_str_plain_kwargs; static PyObject *const_str_plain_HTMLBinaryInputStream; extern PyObject *const_str_digest_ac02ab0238280e341b2aff0eed15b128; static PyObject *const_str_plain_newEncoding; extern PyObject *const_tuple_str_plain_UniversalDetector_tuple; extern PyObject *const_str_plain_property; extern PyObject *const_str_plain_startswith; extern PyObject *const_str_plain_feed; extern PyObject *const_str_angle_string; extern PyObject *const_str_digest_94822410052685fe3f09d986d30eb776; extern PyObject *const_str_plain_tentative; extern PyObject *const_str_plain_find; static PyObject *const_str_digest_d23c7bb764848d3aabdd2ccca06a521c; static PyObject *const_str_plain_prevNumCols; extern PyObject *const_str_plain_EOF; static PyObject *const_str_digest_7fd275e784a39025b1dc911ed5319ed1; extern PyObject *const_str_plain_eval; static PyObject *const_str_digest_c860327a2b27f08cd76f4060f8cedec6; static PyObject *const_str_digest_262743a00fe473aef9915e686126ee6e; extern PyObject *const_str_plain_position; extern PyObject *const_str_plain_streamreader; extern PyObject *const_str_plain_string; extern PyObject *const_tuple_str_plain_c_tuple; static PyObject *const_str_plain_handlePossibleEndTag; extern PyObject *const_str_plain___file__; extern PyObject *const_str_plain_isSurrogatePair; extern PyObject *const_bytes_chr_47; extern PyObject *const_str_plain_unget; extern PyObject *const_str_digest_0ad9292060a80cb2eff8ba743f112977; extern PyObject *const_str_plain_rfind; static PyObject *const_str_digest_f56141545dd8f34e312232781e126a3d; extern PyObject *const_str_plain_seek; static PyObject *const_bytes_digest_6afe0f64951244d45fcbde1e86a26673; static PyObject *const_str_digest_1f64d3b68dda3b8d0f431eb2780200f1; extern PyObject *const_str_plain_strip; extern PyObject *const_str_plain_read; extern PyObject *const_str_plain_lower; extern PyObject *const_str_plain___orig_bases__; static PyObject *const_str_digest_a0c5ce147f885711f39772d6402ca66e; static PyObject *const_str_plain__defaultChunkSize; extern PyObject *const_str_plain_close; static PyObject *const_str_plain_positionLine; static PyObject *const_str_plain_spaceCharactersBytes; static PyObject *const_tuple_bytes_digest_6afe0f64951244d45fcbde1e86a26673_tuple; static PyObject *const_str_digest_e12496911a4e28ca6e5284639b9eb35e; extern PyObject *const_str_plain___qualname__; static PyObject *const_str_digest_73cc4aebab4956b52a18e8c1d30842f5; static PyObject *const_str_digest_68336d92b399f1782086f654632d1147; extern PyObject *const_str_plain_p; extern PyObject *const_str_plain_value; static PyObject *const_str_digest_4bf85dbccb8cd0d8b874b84c390e290e; static PyObject *const_str_plain_buffers; static PyObject *const_str_plain__position; static PyObject *const_bytes_digest_3f111b8d541d3739da08b0238f56b8c9; static PyObject *const_str_digest_916503fed9eba392dc60d2d6ae1486d1; extern PyObject *const_str_plain_BOM_UTF16_BE; extern PyObject *const_tuple_str_plain_item_tuple; static PyObject *const_str_digest_823b54a140c5208d8f6c42d927424d23; extern PyObject *const_str_digest_69ec05153bee1ab016c8162b3966c928; extern PyObject *const_tuple_str_plain_self_str_plain_value_tuple; static PyObject *const_str_plain_contentParser; static PyObject *const_tuple_str_digest_8049802043c43f3768e60d14b3c2cbd4_tuple; extern PyObject *const_str_plain_errors; static PyObject *const_str_digest_d6fdf58ffa3533fe018f2e7883a7d783; static PyObject *const_str_digest_0e430d82fcfd7d55f7b8d4008143db7b; static PyObject *const_tuple_str_plain_self_str_plain_bytes_tuple; extern PyObject *const_str_plain_decode; extern PyObject *const_str_plain_buffer; extern PyObject *const_str_plain___getitem__; static PyObject *const_str_plain_asciiLettersBytes; static PyObject *const_str_plain_finditer; static PyObject *const_tuple_c48d9d46d8d6e936dd4828ce27c60b12_tuple; static PyObject *const_bytes_digest_a3573658f1163029c5bbf5cad380b966; static PyObject *const_str_plain_default_encoding; static PyObject *const_str_digest_07d1cc7ba32878d1f6b6821d3e4a76c8; extern PyObject *const_slice_none_int_pos_3_none; static PyObject *const_str_digest_3e8c99e8a71b4266b1d42295941d73f3; static PyObject *const_str_plain_EncodingParser; static PyObject *const_set_385058b4cd0aa8187d0386e6118a1566; static PyObject *const_str_plain_bytesToRead; extern PyObject *const_str_plain_BOM_UTF8; static PyObject *const_bytes_digest_70ad43ee3f68cf94c8048a93e432af55; extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295; static PyObject *const_str_digest_c31c8c777edfe93a198d15f801163615; static PyObject *const_tuple_str_plain_text_type_str_plain_binary_type_tuple; extern PyObject *const_str_plain_chardet; static PyObject *const_str_plain_hasPragma; static PyObject *const_str_digest_7555aa0ba328e995c474b36da992085e; static PyObject *const_str_digest_c73783b8078c4c1a8b6a4e43800e9a44; extern PyObject *const_bytes_chr_60; static PyObject *const_str_plain__readFromBuffer; static PyObject *const_tuple_str_plain_self_str_plain_bytes_str_plain_newPosition_tuple; static PyObject *const_str_plain_jumpTo; extern PyObject *const_str_plain_io; static PyObject *const_tuple_c74e382942d9e845078706155c4507b5_tuple; extern PyObject *const_str_plain_detector; extern PyObject *const_str_plain_StringIO; extern PyObject *const_tuple_str_plain_self_str_plain_data_str_plain___tuple; extern PyObject *const_str_plain___next__; extern PyObject *const_slice_none_int_neg_1_none; extern PyObject *const_str_plain_findall; static PyObject *const_tuple_type_bytes_tuple; extern PyObject *const_list_int_0_list; extern PyObject *const_str_plain_codec_info; extern PyObject *const_str_plain_key; static PyObject *const_str_plain_reportCharacterErrors; extern PyObject *const_str_plain___init__; extern PyObject *const_bytes_chr_61; extern PyObject *const_str_plain_parse; extern PyObject *const_str_plain_method; static PyObject *const_str_plain_numBytesChardet; extern PyObject *const_str_plain_ascii; static PyObject *const_str_plain_handleComment; extern PyObject *const_str_empty; static PyObject *const_str_plain_lastv; extern PyObject *const_int_pos_100; static PyObject *const_str_digest_b0a95434b7641fd82a6f96f8e01512f8; extern PyObject *const_str_plain_http_client; extern PyObject *const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_tuple; extern PyObject *const_str_plain_result; static PyObject *const_str_plain_attrName; static PyObject *const_str_digest_839c5c55aba81f311c772a506ce57300; static PyObject *const_str_plain_HTMLUnicodeInputStream; static PyObject *const_str_plain_newLines; extern PyObject *const_str_plain_EncodingBytes; extern PyObject *const_int_pos_55296; static PyObject *const_str_digest_7ef8e7fed82752153daf2f48928e9c3f; extern PyObject *const_str_plain_group; extern PyObject *const_str_plain_bytes; static PyObject *const_str_digest_2e1105f93e0d4bb5d5618487a81d106a; extern PyObject *const_str_plain_division; static PyObject *const_str_plain_bufferedData; extern PyObject *const_int_neg_1; extern PyObject *const_str_plain_rv; static PyObject *const_tuple_str_plain_self_str_plain_stream_tuple; static PyObject *const_str_plain_asciiUppercaseBytes; static PyObject *const_tuple_bytes_chr_62_tuple; static PyObject *const_bytes_digest_8a5dc6aa1131fb15c5283724e3fb1d04; extern PyObject *const_tuple_str_plain_self_str_plain_source_tuple; static PyObject *const_tuple_8ac707dfded7655e5c88998d336ba1fe_tuple; extern PyObject *const_tuple_true_tuple; static PyObject *const_str_digest_0e6838fe74594a92db62ba20ab399950; extern PyObject *const_str_plain_pos; extern PyObject *const_str_plain_re; extern PyObject *const_str_plain___doc__; extern PyObject *const_str_plain_data; extern PyObject *const_str_plain__ReparseException; extern PyObject *const_str_plain_urllib; extern PyObject *const_tuple_str_plain_ascii_tuple; static PyObject *const_str_digest_5ef8df9103ba2e18bcceca1da7d7a1a4; static PyObject *const_str_plain_detectBOM; static PyObject *const_str_plain_handleMeta; extern PyObject *const_str_plain_BOM_UTF16_LE; extern PyObject *const_str_plain_asciiLetters; static PyObject *const_str_digest_fb481bcf77f4a3fe96ae994f22b4930a; extern PyObject *const_str_plain_chars; extern PyObject *const_str_plain_item; static PyObject *const_str_digest_b43a0101e64bce628bc3e4e92979603b; static PyObject *const_str_digest_45a93a3706af9c43f309bfb8f09286e1; extern PyObject *const_tuple_str_plain_self_tuple; static PyObject *const_str_digest_5de6d5b1a8e35391fbf87f3c142384c2; static PyObject *const_str_plain_handlePossibleStartTag; static PyObject *const_str_digest_61c117f59bf0347f1831e4ee05d33c4b; static PyObject *const_bytes_chr_34; static PyObject *const_str_plain_non_bmp_invalid_codepoints; static PyObject *const_str_digest_26f68a6a6e11c2f4c5601d72b22aa5ff; extern PyObject *const_tuple_empty; static PyObject *const_str_digest_fa6c643d2d937767625391c24abb7893; extern PyObject *const_str_plain_append; extern PyObject *const_tuple_str_plain_self_str_plain_p_tuple; extern PyObject *const_str_digest_1313659eb556d37f6d4c08b89c10540f; extern PyObject *const_str_plain_tell; static PyObject *const_str_digest_e7e96347694e4927cc5c0b003f0e3090; extern PyObject *const_str_plain_parser; extern PyObject *const_str_plain_compile; extern PyObject *const_tuple_str_plain_BytesIO_tuple; static PyObject *const_str_plain_BufferedStream; static PyObject *const_str_digest_90ac5199a0fb4ae419899350b8740148; static PyObject *const_tuple_033d7372d36223c40c6dd931e2bb5685_tuple; static PyObject *const_str_plain_getEncoding; extern PyObject *const_str_plain_stream; static PyObject *const_tuple_str_plain_self_str_plain_bytes_str_plain_data_tuple; static PyObject *const_str_plain_setPosition; static PyObject *const_str_plain_bomDict; extern PyObject *const_str_plain_col; static PyObject *const_str_plain_bufferIndex; static PyObject *const_str_plain_matchBytes; extern PyObject *const_str_plain_previous; extern PyObject *const_str_plain_reset; static PyObject *const_tuple_str_digest_913ae8f3439742e034c09e3f599385fd_tuple; static PyObject *const_tuple_68897e93bd31ad4e6d5eaf873e6b4ba2_tuple; static PyObject *const_str_digest_9a58f919c532a0ef6376def3dfaaa82d; extern PyObject *const_str_plain_x; extern PyObject *const_str_plain_c; static PyObject *const_str_digest_479f8249e7efe950c363c4565af47de0; extern PyObject *const_int_pos_13; static PyObject *const_tuple_str_plain_self_str_plain_line_str_plain_col_tuple; extern PyObject *const_str_plain___class__; extern PyObject *const_str_plain__; static PyObject *const_bytes_chr_39; extern PyObject *const_str_plain___module__; extern PyObject *const_str_plain_codecs; extern PyObject *const_str_plain_source; extern PyObject *const_tuple_str_digest_ac02ab0238280e341b2aff0eed15b128_tuple; static PyObject *const_str_plain_newPosition; extern PyObject *const_str_plain_chunk; static PyObject *const_list_int_neg_1_int_0_list; extern PyObject *const_str_plain_text_type; static PyObject *const_tuple_str_plain_self_str_plain_position_tuple; static PyObject *const_tuple_e1a556c04f5de61232dd85fd0e6e406c_tuple; static PyObject *const_tuple_str_plain_self_str_plain_chars_str_plain_p_str_plain_c_tuple; static PyObject *const_str_plain_positionColumn; static PyObject *const_tuple_285061c5e9735f9ed2fdd7491413e8b2_tuple; static PyObject *const_str_plain_lastLinePos; extern PyObject *const_str_plain_BOM_UTF32_LE; static PyObject *const_tuple_bbe1785967007ff4fb27fede285da169_tuple; static PyObject *const_str_plain_numBytesMeta; extern PyObject *const_str_plain_done; extern PyObject *const_int_pos_10240; static PyObject *const_bytes_digest_7680a62d0277077249559cd5b7a3dcce; static PyObject *const_bytes_digest_d36d25cdf5d18a8d120a6cfb3f610daf; static PyObject *const_str_plain_lookupEncoding; extern PyObject *const_str_plain_get; static PyObject *const_str_digest_981d24743730b050649b7ec16702f914; extern PyObject *const_str_digest_29519ab8213fea2e78dbfee4381e95e6; extern PyObject *const_str_plain___iter__; static PyObject *const_tuple_bytes_chr_47_bytes_chr_62_tuple; static PyObject *const_str_plain_characterErrorsUCS2; extern PyObject *const_str_plain_lookup; static PyObject *const_str_digest_038740586bcf5fe0108efe071dc94b93; extern PyObject *const_str_plain__encoding; extern PyObject *const_str_plain_metaclass; extern PyObject *const_tuple_str_plain_StringIO_tuple; static PyObject *const_str_plain_likely_encoding; static PyObject *const_tuple_bytes_chr_62_none_tuple; extern PyObject *const_tuple_str_chr_93_tuple; extern PyObject *const_tuple_str_plain___class___tuple; extern PyObject *const_tuple_false_tuple; extern PyObject *const_str_angle_metaclass; static PyObject *const_str_plain_handleOther; extern PyObject *const_str_plain_charsUntil; static PyObject *const_tuple_str_chr_13_str_newline_tuple; extern PyObject *const_str_plain_offset; static PyObject *const_str_digest_c5c19e7440965f169127d7dd044560e9; extern PyObject *const_str_plain_binary_type; static PyObject *const_str_digest_65b1e9d22571e6f4db15aae0775462a6; static PyObject *const_str_plain__bufferedBytes; extern PyObject *const_int_pos_128; static PyObject *const_str_digest_565000d2e2828c88ae88de5e042270b7; extern PyObject *const_int_pos_1024; static PyObject *const_str_plain_spacesAngleBrackets; extern PyObject *const_str_plain_join; static PyObject *const_str_plain_nLines; extern PyObject *const_str_plain_absolute_import; extern PyObject *const_str_plain_fp; static PyObject *const_tuple_b4abc262f004e34f2da13c39bc103534_tuple; extern PyObject *const_str_digest_b7dba5b4650cbc858f79762d79227761; static PyObject *const_tuple_0a305007b11a7f81b1b1b7819b72e446_tuple; static PyObject *const_tuple_str_plain__encoding_tuple; static PyObject *const_str_plain_readChunk; static PyObject *const_str_plain_certain; extern PyObject *const_str_plain_char_val; static PyObject *const_str_digest_37fa12168ceb4c494c3f7a8af8e44816; static PyObject *const_bytes_digest_712ef6f6361657eca04eca4a827db22a; static PyObject *const_str_plain_bufferOffset; static PyObject *const_bytes_digest_bb2cf4efe0e3648521f8771973593799; static PyObject *const_tuple_str_plain_self_str_plain_char_tuple; static PyObject *const_str_digest_8049802043c43f3768e60d14b3c2cbd4; static PyObject *const_str_plain_prevNumLines; static PyObject *const_str_plain_oldPosition; extern PyObject *const_str_plain__utils; extern PyObject *const_str_chr_13; static PyObject *const_str_plain_useChardet; extern PyObject *const_str_plain_line; static PyObject *const_str_digest_35086c71549d83db1f947306a45f3c4d; static PyObject *const_str_plain_tentativeEncoding; static PyObject *const_str_plain_invalid_unicode_re; static PyObject *const_str_digest_7c5fc07a30a4119699fc17162a78f7c0; static PyObject *const_str_digest_72e2b6713bf58e1c925c9830b74c1018; extern PyObject *const_str_plain_r; extern PyObject *const_str_digest_7d8c029aa14d4038a202ab8b1ce8db36; extern PyObject *const_str_plain_ContentAttrParser; extern PyObject *const_str_plain_attr; extern PyObject *const_tuple_str_plain_x_tuple; extern PyObject *const_str_plain_match; extern PyObject *const_str_plain_codepoint; extern PyObject *const_str_plain_skip; static PyObject *const_tuple_str_digest_29519ab8213fea2e78dbfee4381e95e6_tuple; extern PyObject *const_str_plain_char; static PyObject *const_tuple_str_plain_http_client_str_plain_urllib_tuple; extern PyObject *const_str_plain_encoding; extern PyObject *const_str_plain_count; extern PyObject *const_str_plain_changeEncoding; static PyObject *const_str_plain_detectEncodingMeta; extern PyObject *const_str_plain_HTTPResponse; static PyObject *const_tuple_51b9e0b8c6becc7262b34a6705e999a7_tuple; static PyObject *const_str_digest_62363d4d45740ce8e3206426f60ac5a0; static PyObject *const_str_plain_invalid_unicode_no_surrogate; extern PyObject *const_str_digest_fe1dc6c0177e62b48fcc6bb37e265da1; extern PyObject *const_str_angle_listcomp; static PyObject *const_str_digest_2b2246c2a4cc33c83c486897cff2f3d7; extern PyObject *const_str_digest_913ae8f3439742e034c09e3f599385fd; static PyObject *const_str_plain_isUnicode; extern PyObject *const_str_plain_encodings; static PyObject *const_tuple_c8d20b38d1abeb30241fb9a4d854a01c_tuple; extern PyObject *const_bytes_empty; extern PyObject *const_str_plain_characters; extern PyObject *const_str_chr_93; extern PyObject *const_str_plain_spaceCharacters; static PyObject *const_str_plain_ascii_punctuation_re; extern PyObject *const_str_plain_codec; static PyObject *const_str_digest_cba4ac6b88df8fc94d78609024df4b97; static PyObject *const_str_plain_opposite; extern PyObject *const_tuple_type_object_tuple; static PyObject *const_tuple_str_plain_self_str_plain_chunkOffset_str_plain_char_tuple; static PyObject *const_str_plain__bufferedCharacter; static PyObject *const_str_digest_f4da14ff20371963d5d9610876528089; extern PyObject *const_str_plain_unicode_literals; static PyObject *const_tuple_str_digest_7ca129d2d421fe965ad48cbb290b579b_str_newline_tuple; static PyObject *const_tuple_2a8140154919fb01ff2786d0aac75e0f_tuple; static PyObject *const_str_plain_characterErrorsUCS4; extern PyObject *const_str_digest_7ca129d2d421fe965ad48cbb290b579b; extern PyObject *const_str_newline; extern PyObject *const_int_pos_3; extern PyObject *const_str_plain_self; extern PyObject *const_str_digest_d8d4f5e440c7f01129293c18f6555af5; static PyObject *const_str_plain_methodDispatch; static PyObject *const_str_plain_getAttribute; extern PyObject *const_int_pos_2; static PyObject *const_tuple_bytes_digest_a3573658f1163029c5bbf5cad380b966_tuple; static PyObject *const_str_digest_3bac8fcab7a5f92d3e71cda0c37f45fd; extern PyObject *const_str_plain_override_encoding; static PyObject *const_str_digest_d40a1a2ac0148b45065486fa15c189f7; static PyObject *const_tuple_37592b84a0bc02ec3c16856223f64414_tuple; static PyObject *const_str_digest_f4a48333e8c880b004466d2d4e7b2497; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_tuple_str_digest_0ad9292060a80cb2eff8ba743f112977_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_0ad9292060a80cb2eff8ba743f112977_tuple, 0, const_str_digest_0ad9292060a80cb2eff8ba743f112977 ); Py_INCREF( const_str_digest_0ad9292060a80cb2eff8ba743f112977 ); const_str_plain_transport_encoding = UNSTREAM_STRING( &constant_bin[ 760682 ], 18, 1 ); const_str_plain_pendingEncoding = UNSTREAM_STRING( &constant_bin[ 760700 ], 15, 1 ); const_str_plain_attrValue = UNSTREAM_STRING( &constant_bin[ 760715 ], 9, 1 ); const_str_plain_quoteChar = UNSTREAM_STRING( &constant_bin[ 760724 ], 9, 1 ); const_str_digest_df54dce2d06ff150847a63331fa17b4a = UNSTREAM_STRING( &constant_bin[ 760733 ], 30, 0 ); const_frozenset_622e272025b7cb1881422dbacaf3d2cb = PyFrozenSet_New( NULL ); PySet_Add( const_frozenset_622e272025b7cb1881422dbacaf3d2cb, const_bytes_chr_47 ); assert( PySet_Size( const_frozenset_622e272025b7cb1881422dbacaf3d2cb ) == 1 ); const_str_plain_rawStream = UNSTREAM_STRING( &constant_bin[ 760763 ], 9, 1 ); const_tuple_str_plain_encoding_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_encoding_tuple, 0, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding ); const_str_plain_chunkOffset = UNSTREAM_STRING( &constant_bin[ 760772 ], 11, 1 ); const_str_plain_chunkSize = UNSTREAM_STRING( &constant_bin[ 760783 ], 9, 1 ); const_frozenset_421354444282f8847af7576b01231e07 = PyFrozenSet_New( NULL ); PySet_Add( const_frozenset_421354444282f8847af7576b01231e07, const_bytes_chr_62 ); PySet_Add( const_frozenset_421354444282f8847af7576b01231e07, const_bytes_chr_60 ); assert( PySet_Size( const_frozenset_421354444282f8847af7576b01231e07 ) == 2 ); const_str_digest_465b245a39b3de3345d8d6346daa538e = UNSTREAM_STRING( &constant_bin[ 760792 ], 215, 0 ); const_str_plain_same_origin_parent_encoding = UNSTREAM_STRING( &constant_bin[ 761007 ], 27, 1 ); const_tuple_str_plain_self_str_plain_quoteMark_str_plain_oldPosition_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_quoteMark_str_plain_oldPosition_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); const_str_plain_quoteMark = UNSTREAM_STRING( &constant_bin[ 761034 ], 9, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_quoteMark_str_plain_oldPosition_tuple, 1, const_str_plain_quoteMark ); Py_INCREF( const_str_plain_quoteMark ); const_str_plain_oldPosition = UNSTREAM_STRING( &constant_bin[ 761043 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_quoteMark_str_plain_oldPosition_tuple, 2, const_str_plain_oldPosition ); Py_INCREF( const_str_plain_oldPosition ); const_str_digest_c397eab75961124ca254b8861cb91546 = UNSTREAM_STRING( &constant_bin[ 761054 ], 35, 0 ); const_tuple_str_plain_self_str_plain_pos_str_plain_chunk_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_pos_str_plain_chunk_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_pos_str_plain_chunk_tuple, 1, const_str_plain_pos ); Py_INCREF( const_str_plain_pos ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_pos_str_plain_chunk_tuple, 2, const_str_plain_chunk ); Py_INCREF( const_str_plain_chunk ); const_str_digest_a4fd13370687457d2995910602db2ea6 = UNSTREAM_STRING( &constant_bin[ 761089 ], 123, 0 ); const_str_digest_34de6d108b236ce117aedde974fbbeea = UNSTREAM_STRING( &constant_bin[ 761212 ], 40, 0 ); const_tuple_bytes_chr_34_bytes_chr_39_tuple = PyTuple_New( 2 ); const_bytes_chr_34 = UNSTREAM_BYTES( &constant_bin[ 1682 ], 1 ); PyTuple_SET_ITEM( const_tuple_bytes_chr_34_bytes_chr_39_tuple, 0, const_bytes_chr_34 ); Py_INCREF( const_bytes_chr_34 ); const_bytes_chr_39 = UNSTREAM_BYTES( &constant_bin[ 556 ], 1 ); PyTuple_SET_ITEM( const_tuple_bytes_chr_34_bytes_chr_39_tuple, 1, const_bytes_chr_39 ); Py_INCREF( const_bytes_chr_39 ); const_tuple_a918b2fa9dc59e60937ce8bb630414d0_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_a918b2fa9dc59e60937ce8bb630414d0_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_a918b2fa9dc59e60937ce8bb630414d0_tuple, 1, const_str_plain_bytes ); Py_INCREF( const_str_plain_bytes ); PyTuple_SET_ITEM( const_tuple_a918b2fa9dc59e60937ce8bb630414d0_tuple, 2, const_str_plain_p ); Py_INCREF( const_str_plain_p ); PyTuple_SET_ITEM( const_tuple_a918b2fa9dc59e60937ce8bb630414d0_tuple, 3, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_a918b2fa9dc59e60937ce8bb630414d0_tuple, 4, const_str_plain_rv ); Py_INCREF( const_str_plain_rv ); const_tuple_str_plain_self_str_plain_newEncoding_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_newEncoding_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); const_str_plain_newEncoding = UNSTREAM_STRING( &constant_bin[ 761252 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_newEncoding_tuple, 1, const_str_plain_newEncoding ); Py_INCREF( const_str_plain_newEncoding ); const_str_plain_remainingBytes = UNSTREAM_STRING( &constant_bin[ 761263 ], 14, 1 ); const_str_plain_currentByte = UNSTREAM_STRING( &constant_bin[ 761277 ], 11, 1 ); const_str_digest_ff7d803498085189e5bbda6bd2825939 = UNSTREAM_STRING( &constant_bin[ 761288 ], 23, 0 ); const_tuple_str_plain__ReparseException_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain__ReparseException_tuple, 0, const_str_plain__ReparseException ); Py_INCREF( const_str_plain__ReparseException ); const_str_digest_0ffbd4a7d412464387deb5f400b4ba0b = UNSTREAM_STRING( &constant_bin[ 761311 ], 18, 0 ); const_str_plain_charsUntilRegEx = UNSTREAM_STRING( &constant_bin[ 761329 ], 15, 1 ); const_tuple_ef826719b57caacf435105a4020de1b6_tuple = PyTuple_New( 8 ); PyTuple_SET_ITEM( const_tuple_ef826719b57caacf435105a4020de1b6_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_ef826719b57caacf435105a4020de1b6_tuple, 1, const_str_plain_source ); Py_INCREF( const_str_plain_source ); PyTuple_SET_ITEM( const_tuple_ef826719b57caacf435105a4020de1b6_tuple, 2, const_str_plain_override_encoding ); Py_INCREF( const_str_plain_override_encoding ); PyTuple_SET_ITEM( const_tuple_ef826719b57caacf435105a4020de1b6_tuple, 3, const_str_plain_transport_encoding ); Py_INCREF( const_str_plain_transport_encoding ); PyTuple_SET_ITEM( const_tuple_ef826719b57caacf435105a4020de1b6_tuple, 4, const_str_plain_same_origin_parent_encoding ); Py_INCREF( const_str_plain_same_origin_parent_encoding ); const_str_plain_likely_encoding = UNSTREAM_STRING( &constant_bin[ 761344 ], 15, 1 ); PyTuple_SET_ITEM( const_tuple_ef826719b57caacf435105a4020de1b6_tuple, 5, const_str_plain_likely_encoding ); Py_INCREF( const_str_plain_likely_encoding ); const_str_plain_default_encoding = UNSTREAM_STRING( &constant_bin[ 761359 ], 16, 1 ); PyTuple_SET_ITEM( const_tuple_ef826719b57caacf435105a4020de1b6_tuple, 6, const_str_plain_default_encoding ); Py_INCREF( const_str_plain_default_encoding ); const_str_plain_useChardet = UNSTREAM_STRING( &constant_bin[ 761375 ], 10, 1 ); PyTuple_SET_ITEM( const_tuple_ef826719b57caacf435105a4020de1b6_tuple, 7, const_str_plain_useChardet ); Py_INCREF( const_str_plain_useChardet ); const_str_digest_71ab8d1ea3bc5a0f6077044768eb2194 = UNSTREAM_STRING( &constant_bin[ 761385 ], 19, 0 ); const_str_digest_1ef434e8eebd19f4806246433ffd6de0 = UNSTREAM_STRING( &constant_bin[ 761404 ], 141, 0 ); const_str_plain_regex = UNSTREAM_STRING( &constant_bin[ 760098 ], 5, 1 ); const_str_digest_1966600f9f3e0113fc43379042914814 = UNSTREAM_STRING( &constant_bin[ 761545 ], 22, 0 ); const_str_plain_dataStream = UNSTREAM_STRING( &constant_bin[ 761567 ], 10, 1 ); const_tuple_bytes_chr_39_bytes_chr_34_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_bytes_chr_39_bytes_chr_34_tuple, 0, const_bytes_chr_39 ); Py_INCREF( const_bytes_chr_39 ); PyTuple_SET_ITEM( const_tuple_bytes_chr_39_bytes_chr_34_tuple, 1, const_bytes_chr_34 ); Py_INCREF( const_bytes_chr_34 ); const_bytes_digest_f8d9d13a24477744359a4cdd023a40f5 = UNSTREAM_BYTES( &constant_bin[ 103494 ], 2 ); const_str_digest_e8b6980e10fc5952773deb3767df767d = UNSTREAM_STRING( &constant_bin[ 761577 ], 42, 0 ); const_str_plain_openStream = UNSTREAM_STRING( &constant_bin[ 761619 ], 10, 1 ); const_str_digest_41500ba68ab258bb7ef7792a1e8594d4 = UNSTREAM_STRING( &constant_bin[ 761629 ], 447, 0 ); const_str_plain_skipUntil = UNSTREAM_STRING( &constant_bin[ 762076 ], 9, 1 ); const_str_digest_41cb5ab31ccd9c69c536fbe0c75f75a0 = UNSTREAM_STRING( &constant_bin[ 762085 ], 163, 0 ); const_str_plain_determineEncoding = UNSTREAM_STRING( &constant_bin[ 762248 ], 17, 1 ); const_str_digest_f08956b79708c54f8a44209d7da9dd55 = UNSTREAM_STRING( &constant_bin[ 762265 ], 32, 0 ); const_str_plain_handlePossibleTag = UNSTREAM_STRING( &constant_bin[ 762297 ], 17, 1 ); const_str_digest_45019d0902e370dd68b9975c3e3da60b = UNSTREAM_STRING( &constant_bin[ 762314 ], 24, 0 ); const_str_digest_d2f61b18558e7b0837483b9d41dabd30 = UNSTREAM_STRING( &constant_bin[ 762338 ], 198, 0 ); const_tuple_str_plain_self_str_plain_pos_str_plain_offset_str_plain_i_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_pos_str_plain_offset_str_plain_i_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_pos_str_plain_offset_str_plain_i_tuple, 1, const_str_plain_pos ); Py_INCREF( const_str_plain_pos ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_pos_str_plain_offset_str_plain_i_tuple, 2, const_str_plain_offset ); Py_INCREF( const_str_plain_offset ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_pos_str_plain_offset_str_plain_i_tuple, 3, const_str_plain_i ); Py_INCREF( const_str_plain_i ); const_str_plain_keepParsing = UNSTREAM_STRING( &constant_bin[ 762536 ], 11, 1 ); const_str_digest_77a848b6ae19e6cd740705b2c97055b1 = UNSTREAM_STRING( &constant_bin[ 762547 ], 42, 0 ); const_tuple_str_plain_self_str_plain_source_str_plain_stream_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_source_str_plain_stream_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_source_str_plain_stream_tuple, 1, const_str_plain_source ); Py_INCREF( const_str_plain_source ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_source_str_plain_stream_tuple, 2, const_str_plain_stream ); Py_INCREF( const_str_plain_stream ); const_str_plain_getPosition = UNSTREAM_STRING( &constant_bin[ 762589 ], 11, 1 ); const_str_digest_8a4d33808f66cdb9c879f8b49725f910 = UNSTREAM_STRING( &constant_bin[ 762600 ], 63, 0 ); const_str_plain__readStream = UNSTREAM_STRING( &constant_bin[ 762663 ], 11, 1 ); const_tuple_cda2dbb180ffbed0faea0f85b1839c61_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_cda2dbb180ffbed0faea0f85b1839c61_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_cda2dbb180ffbed0faea0f85b1839c61_tuple, 1, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_cda2dbb180ffbed0faea0f85b1839c61_tuple, 2, const_str_plain_c ); Py_INCREF( const_str_plain_c ); const_str_plain_attrName = UNSTREAM_STRING( &constant_bin[ 762674 ], 8, 1 ); PyTuple_SET_ITEM( const_tuple_cda2dbb180ffbed0faea0f85b1839c61_tuple, 3, const_str_plain_attrName ); Py_INCREF( const_str_plain_attrName ); PyTuple_SET_ITEM( const_tuple_cda2dbb180ffbed0faea0f85b1839c61_tuple, 4, const_str_plain_attrValue ); Py_INCREF( const_str_plain_attrValue ); PyTuple_SET_ITEM( const_tuple_cda2dbb180ffbed0faea0f85b1839c61_tuple, 5, const_str_plain_quoteChar ); Py_INCREF( const_str_plain_quoteChar ); const_str_digest_4f42531eef737efe2d4d0a598776cd16 = UNSTREAM_STRING( &constant_bin[ 762682 ], 57, 0 ); const_str_digest_c3e33328c611f5d131fc2536d3b7c4ec = UNSTREAM_STRING( &constant_bin[ 762739 ], 19, 0 ); const_str_plain_getCurrentByte = UNSTREAM_STRING( &constant_bin[ 762758 ], 14, 1 ); const_str_digest_f7f50fc1537b8b1d0c5ae3136a23ecf2 = UNSTREAM_STRING( &constant_bin[ 762772 ], 33, 0 ); const_str_digest_8280a96d2b16a5038ca7160f6ec4ae9a = UNSTREAM_STRING( &constant_bin[ 762805 ], 211, 0 ); const_tuple_52af8b0108856fb31e9014ff5b07caee_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_52af8b0108856fb31e9014ff5b07caee_tuple, 0, Py_None ); Py_INCREF( Py_None ); PyTuple_SET_ITEM( const_tuple_52af8b0108856fb31e9014ff5b07caee_tuple, 1, Py_None ); Py_INCREF( Py_None ); PyTuple_SET_ITEM( const_tuple_52af8b0108856fb31e9014ff5b07caee_tuple, 2, Py_None ); Py_INCREF( Py_None ); PyTuple_SET_ITEM( const_tuple_52af8b0108856fb31e9014ff5b07caee_tuple, 3, Py_None ); Py_INCREF( Py_None ); PyTuple_SET_ITEM( const_tuple_52af8b0108856fb31e9014ff5b07caee_tuple, 4, const_str_digest_29519ab8213fea2e78dbfee4381e95e6 ); Py_INCREF( const_str_digest_29519ab8213fea2e78dbfee4381e95e6 ); PyTuple_SET_ITEM( const_tuple_52af8b0108856fb31e9014ff5b07caee_tuple, 5, Py_True ); Py_INCREF( Py_True ); const_str_digest_056cef4f8c5ea819a027e47c0ebb330a = UNSTREAM_STRING( &constant_bin[ 763016 ], 22, 0 ); const_str_plain_HTMLBinaryInputStream = UNSTREAM_STRING( &constant_bin[ 761212 ], 21, 1 ); const_str_digest_d23c7bb764848d3aabdd2ccca06a521c = UNSTREAM_STRING( &constant_bin[ 763038 ], 23, 0 ); const_str_plain_prevNumCols = UNSTREAM_STRING( &constant_bin[ 763061 ], 11, 1 ); const_str_digest_7fd275e784a39025b1dc911ed5319ed1 = UNSTREAM_STRING( &constant_bin[ 761577 ], 27, 0 ); const_str_digest_c860327a2b27f08cd76f4060f8cedec6 = UNSTREAM_STRING( &constant_bin[ 763072 ], 39, 0 ); const_str_digest_262743a00fe473aef9915e686126ee6e = UNSTREAM_STRING( &constant_bin[ 763111 ], 31, 0 ); const_str_plain_handlePossibleEndTag = UNSTREAM_STRING( &constant_bin[ 761069 ], 20, 1 ); const_str_digest_f56141545dd8f34e312232781e126a3d = UNSTREAM_STRING( &constant_bin[ 763142 ], 27, 0 ); const_bytes_digest_6afe0f64951244d45fcbde1e86a26673 = UNSTREAM_BYTES( &constant_bin[ 106205 ], 7 ); const_str_digest_1f64d3b68dda3b8d0f431eb2780200f1 = UNSTREAM_STRING( &constant_bin[ 763169 ], 36, 0 ); const_str_digest_a0c5ce147f885711f39772d6402ca66e = UNSTREAM_STRING( &constant_bin[ 763205 ], 21, 0 ); const_str_plain__defaultChunkSize = UNSTREAM_STRING( &constant_bin[ 763226 ], 17, 1 ); const_str_plain_positionLine = UNSTREAM_STRING( &constant_bin[ 763243 ], 12, 1 ); const_str_plain_spaceCharactersBytes = UNSTREAM_STRING( &constant_bin[ 763255 ], 20, 1 ); const_tuple_bytes_digest_6afe0f64951244d45fcbde1e86a26673_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_bytes_digest_6afe0f64951244d45fcbde1e86a26673_tuple, 0, const_bytes_digest_6afe0f64951244d45fcbde1e86a26673 ); Py_INCREF( const_bytes_digest_6afe0f64951244d45fcbde1e86a26673 ); const_str_digest_e12496911a4e28ca6e5284639b9eb35e = UNSTREAM_STRING( &constant_bin[ 763275 ], 240, 0 ); const_str_digest_73cc4aebab4956b52a18e8c1d30842f5 = UNSTREAM_STRING( &constant_bin[ 763515 ], 25, 0 ); const_str_digest_68336d92b399f1782086f654632d1147 = UNSTREAM_STRING( &constant_bin[ 763540 ], 30, 0 ); const_str_digest_4bf85dbccb8cd0d8b874b84c390e290e = UNSTREAM_STRING( &constant_bin[ 763570 ], 58, 0 ); const_str_plain_buffers = UNSTREAM_STRING( &constant_bin[ 763628 ], 7, 1 ); const_str_plain__position = UNSTREAM_STRING( &constant_bin[ 762288 ], 9, 1 ); const_bytes_digest_3f111b8d541d3739da08b0238f56b8c9 = UNSTREAM_BYTES( &constant_bin[ 107012 ], 2 ); const_str_digest_916503fed9eba392dc60d2d6ae1486d1 = UNSTREAM_STRING( &constant_bin[ 763635 ], 25, 0 ); const_str_digest_823b54a140c5208d8f6c42d927424d23 = UNSTREAM_STRING( &constant_bin[ 763660 ], 154, 0 ); const_str_plain_contentParser = UNSTREAM_STRING( &constant_bin[ 763814 ], 13, 1 ); const_tuple_str_digest_8049802043c43f3768e60d14b3c2cbd4_tuple = PyTuple_New( 1 ); const_str_digest_8049802043c43f3768e60d14b3c2cbd4 = UNSTREAM_STRING( &constant_bin[ 763827 ], 18, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_8049802043c43f3768e60d14b3c2cbd4_tuple, 0, const_str_digest_8049802043c43f3768e60d14b3c2cbd4 ); Py_INCREF( const_str_digest_8049802043c43f3768e60d14b3c2cbd4 ); const_str_digest_d6fdf58ffa3533fe018f2e7883a7d783 = UNSTREAM_STRING( &constant_bin[ 763845 ], 26, 0 ); const_str_digest_0e430d82fcfd7d55f7b8d4008143db7b = UNSTREAM_STRING( &constant_bin[ 763871 ], 26, 0 ); const_tuple_str_plain_self_str_plain_bytes_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_bytes_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_bytes_tuple, 1, const_str_plain_bytes ); Py_INCREF( const_str_plain_bytes ); const_str_plain_asciiLettersBytes = UNSTREAM_STRING( &constant_bin[ 763897 ], 17, 1 ); const_str_plain_finditer = UNSTREAM_STRING( &constant_bin[ 763914 ], 8, 1 ); const_tuple_c48d9d46d8d6e936dd4828ce27c60b12_tuple = PyTuple_New( 7 ); PyTuple_SET_ITEM( const_tuple_c48d9d46d8d6e936dd4828ce27c60b12_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_c48d9d46d8d6e936dd4828ce27c60b12_tuple, 1, const_str_plain_offset ); Py_INCREF( const_str_plain_offset ); PyTuple_SET_ITEM( const_tuple_c48d9d46d8d6e936dd4828ce27c60b12_tuple, 2, const_str_plain_chunk ); Py_INCREF( const_str_plain_chunk ); const_str_plain_nLines = UNSTREAM_STRING( &constant_bin[ 763250 ], 6, 1 ); PyTuple_SET_ITEM( const_tuple_c48d9d46d8d6e936dd4828ce27c60b12_tuple, 3, const_str_plain_nLines ); Py_INCREF( const_str_plain_nLines ); PyTuple_SET_ITEM( const_tuple_c48d9d46d8d6e936dd4828ce27c60b12_tuple, 4, const_str_plain_positionLine ); Py_INCREF( const_str_plain_positionLine ); const_str_plain_lastLinePos = UNSTREAM_STRING( &constant_bin[ 763922 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_c48d9d46d8d6e936dd4828ce27c60b12_tuple, 5, const_str_plain_lastLinePos ); Py_INCREF( const_str_plain_lastLinePos ); const_str_plain_positionColumn = UNSTREAM_STRING( &constant_bin[ 763933 ], 14, 1 ); PyTuple_SET_ITEM( const_tuple_c48d9d46d8d6e936dd4828ce27c60b12_tuple, 6, const_str_plain_positionColumn ); Py_INCREF( const_str_plain_positionColumn ); const_bytes_digest_a3573658f1163029c5bbf5cad380b966 = UNSTREAM_BYTES( &constant_bin[ 133052 ], 3 ); const_str_digest_07d1cc7ba32878d1f6b6821d3e4a76c8 = UNSTREAM_STRING( &constant_bin[ 763947 ], 30, 0 ); const_str_digest_3e8c99e8a71b4266b1d42295941d73f3 = UNSTREAM_STRING( &constant_bin[ 763548 ], 21, 0 ); const_str_plain_EncodingParser = UNSTREAM_STRING( &constant_bin[ 761054 ], 14, 1 ); const_set_385058b4cd0aa8187d0386e6118a1566 = PyMarshal_ReadObjectFromString( (char *)&constant_bin[ 763977 ], 165 ); const_str_plain_bytesToRead = UNSTREAM_STRING( &constant_bin[ 764142 ], 11, 1 ); const_bytes_digest_70ad43ee3f68cf94c8048a93e432af55 = UNSTREAM_BYTES( &constant_bin[ 117991 ], 5 ); const_str_digest_c31c8c777edfe93a198d15f801163615 = UNSTREAM_STRING( &constant_bin[ 764153 ], 28, 0 ); const_tuple_str_plain_text_type_str_plain_binary_type_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_text_type_str_plain_binary_type_tuple, 0, const_str_plain_text_type ); Py_INCREF( const_str_plain_text_type ); PyTuple_SET_ITEM( const_tuple_str_plain_text_type_str_plain_binary_type_tuple, 1, const_str_plain_binary_type ); Py_INCREF( const_str_plain_binary_type ); const_str_plain_hasPragma = UNSTREAM_STRING( &constant_bin[ 764181 ], 9, 1 ); const_str_digest_7555aa0ba328e995c474b36da992085e = UNSTREAM_STRING( &constant_bin[ 764190 ], 22, 0 ); const_str_digest_c73783b8078c4c1a8b6a4e43800e9a44 = UNSTREAM_STRING( &constant_bin[ 764212 ], 6, 0 ); const_str_plain__readFromBuffer = UNSTREAM_STRING( &constant_bin[ 764218 ], 15, 1 ); const_tuple_str_plain_self_str_plain_bytes_str_plain_newPosition_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_bytes_str_plain_newPosition_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_bytes_str_plain_newPosition_tuple, 1, const_str_plain_bytes ); Py_INCREF( const_str_plain_bytes ); const_str_plain_newPosition = UNSTREAM_STRING( &constant_bin[ 764233 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_bytes_str_plain_newPosition_tuple, 2, const_str_plain_newPosition ); Py_INCREF( const_str_plain_newPosition ); const_str_plain_jumpTo = UNSTREAM_STRING( &constant_bin[ 764244 ], 6, 1 ); const_tuple_c74e382942d9e845078706155c4507b5_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_c74e382942d9e845078706155c4507b5_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); const_str_plain_bomDict = UNSTREAM_STRING( &constant_bin[ 764250 ], 7, 1 ); PyTuple_SET_ITEM( const_tuple_c74e382942d9e845078706155c4507b5_tuple, 1, const_str_plain_bomDict ); Py_INCREF( const_str_plain_bomDict ); PyTuple_SET_ITEM( const_tuple_c74e382942d9e845078706155c4507b5_tuple, 2, const_str_plain_string ); Py_INCREF( const_str_plain_string ); PyTuple_SET_ITEM( const_tuple_c74e382942d9e845078706155c4507b5_tuple, 3, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding ); PyTuple_SET_ITEM( const_tuple_c74e382942d9e845078706155c4507b5_tuple, 4, const_str_plain_seek ); Py_INCREF( const_str_plain_seek ); const_tuple_type_bytes_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_type_bytes_tuple, 0, (PyObject *)&PyBytes_Type ); Py_INCREF( (PyObject *)&PyBytes_Type ); const_str_plain_reportCharacterErrors = UNSTREAM_STRING( &constant_bin[ 764257 ], 21, 1 ); const_str_plain_numBytesChardet = UNSTREAM_STRING( &constant_bin[ 764278 ], 15, 1 ); const_str_plain_handleComment = UNSTREAM_STRING( &constant_bin[ 764168 ], 13, 1 ); const_str_plain_lastv = UNSTREAM_STRING( &constant_bin[ 583064 ], 5, 1 ); const_str_digest_b0a95434b7641fd82a6f96f8e01512f8 = UNSTREAM_STRING( &constant_bin[ 764293 ], 57, 0 ); const_str_digest_839c5c55aba81f311c772a506ce57300 = UNSTREAM_STRING( &constant_bin[ 764350 ], 51, 0 ); const_str_plain_HTMLUnicodeInputStream = UNSTREAM_STRING( &constant_bin[ 761577 ], 22, 1 ); const_str_plain_newLines = UNSTREAM_STRING( &constant_bin[ 764401 ], 8, 1 ); const_str_digest_7ef8e7fed82752153daf2f48928e9c3f = UNSTREAM_STRING( &constant_bin[ 764409 ], 31, 0 ); const_str_digest_2e1105f93e0d4bb5d5618487a81d106a = UNSTREAM_STRING( &constant_bin[ 764440 ], 111, 0 ); const_str_plain_bufferedData = UNSTREAM_STRING( &constant_bin[ 764551 ], 12, 1 ); const_tuple_str_plain_self_str_plain_stream_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_stream_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_stream_tuple, 1, const_str_plain_stream ); Py_INCREF( const_str_plain_stream ); const_str_plain_asciiUppercaseBytes = UNSTREAM_STRING( &constant_bin[ 764563 ], 19, 1 ); const_tuple_bytes_chr_62_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_bytes_chr_62_tuple, 0, const_bytes_chr_62 ); Py_INCREF( const_bytes_chr_62 ); const_bytes_digest_8a5dc6aa1131fb15c5283724e3fb1d04 = UNSTREAM_BYTES( &constant_bin[ 134587 ], 10 ); const_tuple_8ac707dfded7655e5c88998d336ba1fe_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_8ac707dfded7655e5c88998d336ba1fe_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_8ac707dfded7655e5c88998d336ba1fe_tuple, 1, const_str_plain_endTag ); Py_INCREF( const_str_plain_endTag ); PyTuple_SET_ITEM( const_tuple_8ac707dfded7655e5c88998d336ba1fe_tuple, 2, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_8ac707dfded7655e5c88998d336ba1fe_tuple, 3, const_str_plain_c ); Py_INCREF( const_str_plain_c ); PyTuple_SET_ITEM( const_tuple_8ac707dfded7655e5c88998d336ba1fe_tuple, 4, const_str_plain_attr ); Py_INCREF( const_str_plain_attr ); const_str_digest_0e6838fe74594a92db62ba20ab399950 = UNSTREAM_STRING( &constant_bin[ 764582 ], 23, 0 ); const_str_digest_5ef8df9103ba2e18bcceca1da7d7a1a4 = UNSTREAM_STRING( &constant_bin[ 764605 ], 28, 0 ); const_str_plain_detectBOM = UNSTREAM_STRING( &constant_bin[ 764633 ], 9, 1 ); const_str_plain_handleMeta = UNSTREAM_STRING( &constant_bin[ 763530 ], 10, 1 ); const_str_digest_fb481bcf77f4a3fe96ae994f22b4930a = UNSTREAM_STRING( &constant_bin[ 764642 ], 32, 0 ); const_str_digest_b43a0101e64bce628bc3e4e92979603b = UNSTREAM_STRING( &constant_bin[ 764674 ], 15, 0 ); const_str_digest_45a93a3706af9c43f309bfb8f09286e1 = UNSTREAM_STRING( &constant_bin[ 764689 ], 51, 0 ); const_str_digest_5de6d5b1a8e35391fbf87f3c142384c2 = UNSTREAM_STRING( &constant_bin[ 764740 ], 95, 0 ); const_str_plain_handlePossibleStartTag = UNSTREAM_STRING( &constant_bin[ 764835 ], 22, 1 ); const_str_digest_61c117f59bf0347f1831e4ee05d33c4b = UNSTREAM_STRING( &constant_bin[ 764857 ], 30, 0 ); const_str_plain_non_bmp_invalid_codepoints = UNSTREAM_STRING( &constant_bin[ 764887 ], 26, 1 ); const_str_digest_26f68a6a6e11c2f4c5601d72b22aa5ff = UNSTREAM_STRING( &constant_bin[ 764913 ], 20, 0 ); const_str_digest_fa6c643d2d937767625391c24abb7893 = UNSTREAM_STRING( &constant_bin[ 764933 ], 22, 0 ); const_str_digest_e7e96347694e4927cc5c0b003f0e3090 = UNSTREAM_STRING( &constant_bin[ 764955 ], 31, 0 ); const_str_plain_BufferedStream = UNSTREAM_STRING( &constant_bin[ 761385 ], 14, 1 ); const_str_digest_90ac5199a0fb4ae419899350b8740148 = UNSTREAM_STRING( &constant_bin[ 764986 ], 19, 0 ); const_tuple_033d7372d36223c40c6dd931e2bb5685_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_033d7372d36223c40c6dd931e2bb5685_tuple, 0, const_str_digest_7d8c029aa14d4038a202ab8b1ce8db36 ); Py_INCREF( const_str_digest_7d8c029aa14d4038a202ab8b1ce8db36 ); PyTuple_SET_ITEM( const_tuple_033d7372d36223c40c6dd931e2bb5685_tuple, 1, const_str_digest_1313659eb556d37f6d4c08b89c10540f ); Py_INCREF( const_str_digest_1313659eb556d37f6d4c08b89c10540f ); const_str_plain_getEncoding = UNSTREAM_STRING( &constant_bin[ 765005 ], 11, 1 ); const_tuple_str_plain_self_str_plain_bytes_str_plain_data_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_bytes_str_plain_data_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_bytes_str_plain_data_tuple, 1, const_str_plain_bytes ); Py_INCREF( const_str_plain_bytes ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_bytes_str_plain_data_tuple, 2, const_str_plain_data ); Py_INCREF( const_str_plain_data ); const_str_plain_setPosition = UNSTREAM_STRING( &constant_bin[ 763649 ], 11, 1 ); const_str_plain_bufferIndex = UNSTREAM_STRING( &constant_bin[ 765016 ], 11, 1 ); const_str_plain_matchBytes = UNSTREAM_STRING( &constant_bin[ 762328 ], 10, 1 ); const_tuple_str_digest_913ae8f3439742e034c09e3f599385fd_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_913ae8f3439742e034c09e3f599385fd_tuple, 0, const_str_digest_913ae8f3439742e034c09e3f599385fd ); Py_INCREF( const_str_digest_913ae8f3439742e034c09e3f599385fd ); const_tuple_68897e93bd31ad4e6d5eaf873e6b4ba2_tuple = PyTuple_New( 10 ); PyTuple_SET_ITEM( const_tuple_68897e93bd31ad4e6d5eaf873e6b4ba2_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_68897e93bd31ad4e6d5eaf873e6b4ba2_tuple, 1, const_str_plain_characters ); Py_INCREF( const_str_plain_characters ); const_str_plain_opposite = UNSTREAM_STRING( &constant_bin[ 765027 ], 8, 1 ); PyTuple_SET_ITEM( const_tuple_68897e93bd31ad4e6d5eaf873e6b4ba2_tuple, 2, const_str_plain_opposite ); Py_INCREF( const_str_plain_opposite ); PyTuple_SET_ITEM( const_tuple_68897e93bd31ad4e6d5eaf873e6b4ba2_tuple, 3, const_str_plain_chars ); Py_INCREF( const_str_plain_chars ); PyTuple_SET_ITEM( const_tuple_68897e93bd31ad4e6d5eaf873e6b4ba2_tuple, 4, const_str_plain_c ); Py_INCREF( const_str_plain_c ); PyTuple_SET_ITEM( const_tuple_68897e93bd31ad4e6d5eaf873e6b4ba2_tuple, 5, const_str_plain_regex ); Py_INCREF( const_str_plain_regex ); PyTuple_SET_ITEM( const_tuple_68897e93bd31ad4e6d5eaf873e6b4ba2_tuple, 6, const_str_plain_rv ); Py_INCREF( const_str_plain_rv ); PyTuple_SET_ITEM( const_tuple_68897e93bd31ad4e6d5eaf873e6b4ba2_tuple, 7, const_str_plain_m ); Py_INCREF( const_str_plain_m ); PyTuple_SET_ITEM( const_tuple_68897e93bd31ad4e6d5eaf873e6b4ba2_tuple, 8, const_str_plain_end ); Py_INCREF( const_str_plain_end ); PyTuple_SET_ITEM( const_tuple_68897e93bd31ad4e6d5eaf873e6b4ba2_tuple, 9, const_str_plain_r ); Py_INCREF( const_str_plain_r ); const_str_digest_9a58f919c532a0ef6376def3dfaaa82d = UNSTREAM_STRING( &constant_bin[ 765035 ], 32, 0 ); const_str_digest_479f8249e7efe950c363c4565af47de0 = UNSTREAM_STRING( &constant_bin[ 765067 ], 169, 0 ); const_tuple_str_plain_self_str_plain_line_str_plain_col_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_line_str_plain_col_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_line_str_plain_col_tuple, 1, const_str_plain_line ); Py_INCREF( const_str_plain_line ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_line_str_plain_col_tuple, 2, const_str_plain_col ); Py_INCREF( const_str_plain_col ); const_list_int_neg_1_int_0_list = PyList_New( 2 ); PyList_SET_ITEM( const_list_int_neg_1_int_0_list, 0, const_int_neg_1 ); Py_INCREF( const_int_neg_1 ); PyList_SET_ITEM( const_list_int_neg_1_int_0_list, 1, const_int_0 ); Py_INCREF( const_int_0 ); const_tuple_str_plain_self_str_plain_position_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_position_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_position_tuple, 1, const_str_plain_position ); Py_INCREF( const_str_plain_position ); const_tuple_e1a556c04f5de61232dd85fd0e6e406c_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_e1a556c04f5de61232dd85fd0e6e406c_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_e1a556c04f5de61232dd85fd0e6e406c_tuple, 1, const_str_plain_chunkSize ); Py_INCREF( const_str_plain_chunkSize ); PyTuple_SET_ITEM( const_tuple_e1a556c04f5de61232dd85fd0e6e406c_tuple, 2, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_e1a556c04f5de61232dd85fd0e6e406c_tuple, 3, const_str_plain_lastv ); Py_INCREF( const_str_plain_lastv ); const_tuple_str_plain_self_str_plain_chars_str_plain_p_str_plain_c_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_chars_str_plain_p_str_plain_c_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_chars_str_plain_p_str_plain_c_tuple, 1, const_str_plain_chars ); Py_INCREF( const_str_plain_chars ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_chars_str_plain_p_str_plain_c_tuple, 2, const_str_plain_p ); Py_INCREF( const_str_plain_p ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_chars_str_plain_p_str_plain_c_tuple, 3, const_str_plain_c ); Py_INCREF( const_str_plain_c ); const_tuple_285061c5e9735f9ed2fdd7491413e8b2_tuple = PyTuple_New( 8 ); PyTuple_SET_ITEM( const_tuple_285061c5e9735f9ed2fdd7491413e8b2_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_285061c5e9735f9ed2fdd7491413e8b2_tuple, 1, const_str_plain_bytes ); Py_INCREF( const_str_plain_bytes ); PyTuple_SET_ITEM( const_tuple_285061c5e9735f9ed2fdd7491413e8b2_tuple, 2, const_str_plain_remainingBytes ); Py_INCREF( const_str_plain_remainingBytes ); PyTuple_SET_ITEM( const_tuple_285061c5e9735f9ed2fdd7491413e8b2_tuple, 3, const_str_plain_rv ); Py_INCREF( const_str_plain_rv ); PyTuple_SET_ITEM( const_tuple_285061c5e9735f9ed2fdd7491413e8b2_tuple, 4, const_str_plain_bufferIndex ); Py_INCREF( const_str_plain_bufferIndex ); const_str_plain_bufferOffset = UNSTREAM_STRING( &constant_bin[ 765236 ], 12, 1 ); PyTuple_SET_ITEM( const_tuple_285061c5e9735f9ed2fdd7491413e8b2_tuple, 5, const_str_plain_bufferOffset ); Py_INCREF( const_str_plain_bufferOffset ); PyTuple_SET_ITEM( const_tuple_285061c5e9735f9ed2fdd7491413e8b2_tuple, 6, const_str_plain_bufferedData ); Py_INCREF( const_str_plain_bufferedData ); PyTuple_SET_ITEM( const_tuple_285061c5e9735f9ed2fdd7491413e8b2_tuple, 7, const_str_plain_bytesToRead ); Py_INCREF( const_str_plain_bytesToRead ); const_tuple_bbe1785967007ff4fb27fede285da169_tuple = PyTuple_New( 7 ); PyTuple_SET_ITEM( const_tuple_bbe1785967007ff4fb27fede285da169_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_bbe1785967007ff4fb27fede285da169_tuple, 1, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_bbe1785967007ff4fb27fede285da169_tuple, 2, const_str_plain_skip ); Py_INCREF( const_str_plain_skip ); PyTuple_SET_ITEM( const_tuple_bbe1785967007ff4fb27fede285da169_tuple, 3, const_str_plain_match ); Py_INCREF( const_str_plain_match ); PyTuple_SET_ITEM( const_tuple_bbe1785967007ff4fb27fede285da169_tuple, 4, const_str_plain_codepoint ); Py_INCREF( const_str_plain_codepoint ); PyTuple_SET_ITEM( const_tuple_bbe1785967007ff4fb27fede285da169_tuple, 5, const_str_plain_pos ); Py_INCREF( const_str_plain_pos ); PyTuple_SET_ITEM( const_tuple_bbe1785967007ff4fb27fede285da169_tuple, 6, const_str_plain_char_val ); Py_INCREF( const_str_plain_char_val ); const_str_plain_numBytesMeta = UNSTREAM_STRING( &constant_bin[ 765248 ], 12, 1 ); const_bytes_digest_7680a62d0277077249559cd5b7a3dcce = UNSTREAM_BYTES( &constant_bin[ 128102 ], 2 ); const_bytes_digest_d36d25cdf5d18a8d120a6cfb3f610daf = UNSTREAM_BYTES( &constant_bin[ 134288 ], 4 ); const_str_plain_lookupEncoding = UNSTREAM_STRING( &constant_bin[ 765260 ], 14, 1 ); const_str_digest_981d24743730b050649b7ec16702f914 = UNSTREAM_STRING( &constant_bin[ 765274 ], 28, 0 ); const_tuple_bytes_chr_47_bytes_chr_62_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_bytes_chr_47_bytes_chr_62_tuple, 0, const_bytes_chr_47 ); Py_INCREF( const_bytes_chr_47 ); PyTuple_SET_ITEM( const_tuple_bytes_chr_47_bytes_chr_62_tuple, 1, const_bytes_chr_62 ); Py_INCREF( const_bytes_chr_62 ); const_str_plain_characterErrorsUCS2 = UNSTREAM_STRING( &constant_bin[ 761600 ], 19, 1 ); const_str_digest_038740586bcf5fe0108efe071dc94b93 = UNSTREAM_STRING( &constant_bin[ 765302 ], 28, 0 ); const_tuple_bytes_chr_62_none_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_bytes_chr_62_none_tuple, 0, const_bytes_chr_62 ); Py_INCREF( const_bytes_chr_62 ); PyTuple_SET_ITEM( const_tuple_bytes_chr_62_none_tuple, 1, Py_None ); Py_INCREF( Py_None ); const_str_plain_handleOther = UNSTREAM_STRING( &constant_bin[ 763860 ], 11, 1 ); const_tuple_str_chr_13_str_newline_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_chr_13_str_newline_tuple, 0, const_str_chr_13 ); Py_INCREF( const_str_chr_13 ); PyTuple_SET_ITEM( const_tuple_str_chr_13_str_newline_tuple, 1, const_str_newline ); Py_INCREF( const_str_newline ); const_str_digest_c5c19e7440965f169127d7dd044560e9 = UNSTREAM_STRING( &constant_bin[ 765330 ], 18, 0 ); const_str_digest_65b1e9d22571e6f4db15aae0775462a6 = UNSTREAM_STRING( &constant_bin[ 765348 ], 27, 0 ); const_str_plain__bufferedBytes = UNSTREAM_STRING( &constant_bin[ 765375 ], 14, 1 ); const_str_digest_565000d2e2828c88ae88de5e042270b7 = UNSTREAM_STRING( &constant_bin[ 765389 ], 23, 0 ); const_str_plain_spacesAngleBrackets = UNSTREAM_STRING( &constant_bin[ 765412 ], 19, 1 ); const_tuple_b4abc262f004e34f2da13c39bc103534_tuple = PyTuple_New( 8 ); PyTuple_SET_ITEM( const_tuple_b4abc262f004e34f2da13c39bc103534_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_b4abc262f004e34f2da13c39bc103534_tuple, 1, const_str_plain_chardet ); Py_INCREF( const_str_plain_chardet ); PyTuple_SET_ITEM( const_tuple_b4abc262f004e34f2da13c39bc103534_tuple, 2, const_str_plain_charEncoding ); Py_INCREF( const_str_plain_charEncoding ); PyTuple_SET_ITEM( const_tuple_b4abc262f004e34f2da13c39bc103534_tuple, 3, const_str_plain_UniversalDetector ); Py_INCREF( const_str_plain_UniversalDetector ); PyTuple_SET_ITEM( const_tuple_b4abc262f004e34f2da13c39bc103534_tuple, 4, const_str_plain_buffers ); Py_INCREF( const_str_plain_buffers ); PyTuple_SET_ITEM( const_tuple_b4abc262f004e34f2da13c39bc103534_tuple, 5, const_str_plain_detector ); Py_INCREF( const_str_plain_detector ); PyTuple_SET_ITEM( const_tuple_b4abc262f004e34f2da13c39bc103534_tuple, 6, const_str_plain_buffer ); Py_INCREF( const_str_plain_buffer ); PyTuple_SET_ITEM( const_tuple_b4abc262f004e34f2da13c39bc103534_tuple, 7, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding ); const_tuple_0a305007b11a7f81b1b1b7819b72e446_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_0a305007b11a7f81b1b1b7819b72e446_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_0a305007b11a7f81b1b1b7819b72e446_tuple, 1, const_str_plain_buffer ); Py_INCREF( const_str_plain_buffer ); PyTuple_SET_ITEM( const_tuple_0a305007b11a7f81b1b1b7819b72e446_tuple, 2, const_str_plain_parser ); Py_INCREF( const_str_plain_parser ); PyTuple_SET_ITEM( const_tuple_0a305007b11a7f81b1b1b7819b72e446_tuple, 3, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding ); const_tuple_str_plain__encoding_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain__encoding_tuple, 0, const_str_plain__encoding ); Py_INCREF( const_str_plain__encoding ); const_str_plain_readChunk = UNSTREAM_STRING( &constant_bin[ 765431 ], 9, 1 ); const_str_plain_certain = UNSTREAM_STRING( &constant_bin[ 15313 ], 7, 1 ); const_str_digest_37fa12168ceb4c494c3f7a8af8e44816 = UNSTREAM_STRING( &constant_bin[ 765440 ], 29, 0 ); const_bytes_digest_712ef6f6361657eca04eca4a827db22a = UNSTREAM_BYTES( &constant_bin[ 26931 ], 7 ); const_bytes_digest_bb2cf4efe0e3648521f8771973593799 = UNSTREAM_BYTES( &constant_bin[ 134599 ], 12 ); const_tuple_str_plain_self_str_plain_char_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_char_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_char_tuple, 1, const_str_plain_char ); Py_INCREF( const_str_plain_char ); const_str_plain_prevNumLines = UNSTREAM_STRING( &constant_bin[ 765469 ], 12, 1 ); const_str_digest_35086c71549d83db1f947306a45f3c4d = UNSTREAM_STRING( &constant_bin[ 765481 ], 32, 0 ); const_str_plain_tentativeEncoding = UNSTREAM_STRING( &constant_bin[ 765513 ], 17, 1 ); const_str_plain_invalid_unicode_re = UNSTREAM_STRING( &constant_bin[ 765530 ], 18, 1 ); const_str_digest_7c5fc07a30a4119699fc17162a78f7c0 = UNSTREAM_STRING( &constant_bin[ 765548 ], 30, 0 ); const_str_digest_72e2b6713bf58e1c925c9830b74c1018 = UNSTREAM_STRING( &constant_bin[ 765578 ], 26, 0 ); const_tuple_str_digest_29519ab8213fea2e78dbfee4381e95e6_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_29519ab8213fea2e78dbfee4381e95e6_tuple, 0, const_str_digest_29519ab8213fea2e78dbfee4381e95e6 ); Py_INCREF( const_str_digest_29519ab8213fea2e78dbfee4381e95e6 ); const_tuple_str_plain_http_client_str_plain_urllib_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_http_client_str_plain_urllib_tuple, 0, const_str_plain_http_client ); Py_INCREF( const_str_plain_http_client ); PyTuple_SET_ITEM( const_tuple_str_plain_http_client_str_plain_urllib_tuple, 1, const_str_plain_urllib ); Py_INCREF( const_str_plain_urllib ); const_str_plain_detectEncodingMeta = UNSTREAM_STRING( &constant_bin[ 761234 ], 18, 1 ); const_tuple_51b9e0b8c6becc7262b34a6705e999a7_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_51b9e0b8c6becc7262b34a6705e999a7_tuple, 0, const_str_plain_source ); Py_INCREF( const_str_plain_source ); PyTuple_SET_ITEM( const_tuple_51b9e0b8c6becc7262b34a6705e999a7_tuple, 1, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); const_str_plain_isUnicode = UNSTREAM_STRING( &constant_bin[ 765604 ], 9, 1 ); PyTuple_SET_ITEM( const_tuple_51b9e0b8c6becc7262b34a6705e999a7_tuple, 2, const_str_plain_isUnicode ); Py_INCREF( const_str_plain_isUnicode ); PyTuple_SET_ITEM( const_tuple_51b9e0b8c6becc7262b34a6705e999a7_tuple, 3, const_str_plain_encodings ); Py_INCREF( const_str_plain_encodings ); const_str_digest_62363d4d45740ce8e3206426f60ac5a0 = UNSTREAM_STRING( &constant_bin[ 765613 ], 37, 0 ); const_str_plain_invalid_unicode_no_surrogate = UNSTREAM_STRING( &constant_bin[ 765650 ], 28, 1 ); const_str_digest_2b2246c2a4cc33c83c486897cff2f3d7 = UNSTREAM_STRING( &constant_bin[ 765678 ], 3, 0 ); const_tuple_c8d20b38d1abeb30241fb9a4d854a01c_tuple = PyTuple_New( 7 ); PyTuple_SET_ITEM( const_tuple_c8d20b38d1abeb30241fb9a4d854a01c_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_c8d20b38d1abeb30241fb9a4d854a01c_tuple, 1, const_str_plain_hasPragma ); Py_INCREF( const_str_plain_hasPragma ); PyTuple_SET_ITEM( const_tuple_c8d20b38d1abeb30241fb9a4d854a01c_tuple, 2, const_str_plain_pendingEncoding ); Py_INCREF( const_str_plain_pendingEncoding ); PyTuple_SET_ITEM( const_tuple_c8d20b38d1abeb30241fb9a4d854a01c_tuple, 3, const_str_plain_attr ); Py_INCREF( const_str_plain_attr ); PyTuple_SET_ITEM( const_tuple_c8d20b38d1abeb30241fb9a4d854a01c_tuple, 4, const_str_plain_tentativeEncoding ); Py_INCREF( const_str_plain_tentativeEncoding ); PyTuple_SET_ITEM( const_tuple_c8d20b38d1abeb30241fb9a4d854a01c_tuple, 5, const_str_plain_codec ); Py_INCREF( const_str_plain_codec ); PyTuple_SET_ITEM( const_tuple_c8d20b38d1abeb30241fb9a4d854a01c_tuple, 6, const_str_plain_contentParser ); Py_INCREF( const_str_plain_contentParser ); const_str_plain_ascii_punctuation_re = UNSTREAM_STRING( &constant_bin[ 765681 ], 20, 1 ); const_str_digest_cba4ac6b88df8fc94d78609024df4b97 = UNSTREAM_STRING( &constant_bin[ 765701 ], 33, 0 ); const_tuple_str_plain_self_str_plain_chunkOffset_str_plain_char_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_chunkOffset_str_plain_char_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_chunkOffset_str_plain_char_tuple, 1, const_str_plain_chunkOffset ); Py_INCREF( const_str_plain_chunkOffset ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_chunkOffset_str_plain_char_tuple, 2, const_str_plain_char ); Py_INCREF( const_str_plain_char ); const_str_plain__bufferedCharacter = UNSTREAM_STRING( &constant_bin[ 765734 ], 18, 1 ); const_str_digest_f4da14ff20371963d5d9610876528089 = UNSTREAM_STRING( &constant_bin[ 765752 ], 118, 0 ); const_tuple_str_digest_7ca129d2d421fe965ad48cbb290b579b_str_newline_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_digest_7ca129d2d421fe965ad48cbb290b579b_str_newline_tuple, 0, const_str_digest_7ca129d2d421fe965ad48cbb290b579b ); Py_INCREF( const_str_digest_7ca129d2d421fe965ad48cbb290b579b ); PyTuple_SET_ITEM( const_tuple_str_digest_7ca129d2d421fe965ad48cbb290b579b_str_newline_tuple, 1, const_str_newline ); Py_INCREF( const_str_newline ); const_tuple_2a8140154919fb01ff2786d0aac75e0f_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_2a8140154919fb01ff2786d0aac75e0f_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); const_str_plain_methodDispatch = UNSTREAM_STRING( &constant_bin[ 765870 ], 14, 1 ); PyTuple_SET_ITEM( const_tuple_2a8140154919fb01ff2786d0aac75e0f_tuple, 1, const_str_plain_methodDispatch ); Py_INCREF( const_str_plain_methodDispatch ); PyTuple_SET_ITEM( const_tuple_2a8140154919fb01ff2786d0aac75e0f_tuple, 2, const_str_plain__ ); Py_INCREF( const_str_plain__ ); PyTuple_SET_ITEM( const_tuple_2a8140154919fb01ff2786d0aac75e0f_tuple, 3, const_str_plain_keepParsing ); Py_INCREF( const_str_plain_keepParsing ); PyTuple_SET_ITEM( const_tuple_2a8140154919fb01ff2786d0aac75e0f_tuple, 4, const_str_plain_key ); Py_INCREF( const_str_plain_key ); PyTuple_SET_ITEM( const_tuple_2a8140154919fb01ff2786d0aac75e0f_tuple, 5, const_str_plain_method ); Py_INCREF( const_str_plain_method ); const_str_plain_characterErrorsUCS4 = UNSTREAM_STRING( &constant_bin[ 762570 ], 19, 1 ); const_str_plain_getAttribute = UNSTREAM_STRING( &constant_bin[ 109327 ], 12, 1 ); const_tuple_bytes_digest_a3573658f1163029c5bbf5cad380b966_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_bytes_digest_a3573658f1163029c5bbf5cad380b966_tuple, 0, const_bytes_digest_a3573658f1163029c5bbf5cad380b966 ); Py_INCREF( const_bytes_digest_a3573658f1163029c5bbf5cad380b966 ); const_str_digest_3bac8fcab7a5f92d3e71cda0c37f45fd = UNSTREAM_STRING( &constant_bin[ 765884 ], 26, 0 ); const_str_digest_d40a1a2ac0148b45065486fa15c189f7 = UNSTREAM_STRING( &constant_bin[ 764582 ], 18, 0 ); const_tuple_37592b84a0bc02ec3c16856223f64414_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_37592b84a0bc02ec3c16856223f64414_tuple, 0, const_str_plain_EOF ); Py_INCREF( const_str_plain_EOF ); PyTuple_SET_ITEM( const_tuple_37592b84a0bc02ec3c16856223f64414_tuple, 1, const_str_plain_spaceCharacters ); Py_INCREF( const_str_plain_spaceCharacters ); PyTuple_SET_ITEM( const_tuple_37592b84a0bc02ec3c16856223f64414_tuple, 2, const_str_plain_asciiLetters ); Py_INCREF( const_str_plain_asciiLetters ); PyTuple_SET_ITEM( const_tuple_37592b84a0bc02ec3c16856223f64414_tuple, 3, const_str_plain_asciiUppercase ); Py_INCREF( const_str_plain_asciiUppercase ); const_str_digest_f4a48333e8c880b004466d2d4e7b2497 = UNSTREAM_STRING( &constant_bin[ 765910 ], 25, 0 ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_html5lib$_inputstream( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_dc9065d90bd1cca4e870d6dc4421014c; static PyCodeObject *codeobj_1182233aa6c0477a1fa6fbe7d159297c; static PyCodeObject *codeobj_08a1e287215a3d35d2ad40f12a00938c; static PyCodeObject *codeobj_712a99cfd3cd57692a9250d544b0e978; static PyCodeObject *codeobj_b4e7c0b651a34f4ca8c34b8ea731a1d2; static PyCodeObject *codeobj_12c1989b8c0cf6b8b8174d431809ef63; static PyCodeObject *codeobj_66fda68140cf2344397fb6bee4976f29; static PyCodeObject *codeobj_ae5ed36cd1632c75a5682038882679da; static PyCodeObject *codeobj_e046cb410eff9ae507d02c38ccfe41a3; static PyCodeObject *codeobj_b5557a76044301bfcd69189188647414; static PyCodeObject *codeobj_4c01bcc24da40257461deed5e4ea25dc; static PyCodeObject *codeobj_58252763bcef966d82b75bce6b54dd1b; static PyCodeObject *codeobj_c7a2d3da5a4fb4f9fef2929d39d9f9e2; static PyCodeObject *codeobj_88543d001724119253dfc5835d99b6a4; static PyCodeObject *codeobj_9e50c072ca01450fc5ab5bcfa64b8b11; static PyCodeObject *codeobj_48ba3c04f96eba18ddc319a2b958efa0; static PyCodeObject *codeobj_ebd4503eec1f768c1b9076a19a495a81; static PyCodeObject *codeobj_8256de6e764d673f5bc2b483e0737aa6; static PyCodeObject *codeobj_869f8af9ae31d6d676563cf5396196fd; static PyCodeObject *codeobj_a08d62fecbcc1336436694a67298b9aa; static PyCodeObject *codeobj_7817641c27cffd8c9371d005a0b6db3d; static PyCodeObject *codeobj_cf3365a861798efb9b223b0aaa1d521a; static PyCodeObject *codeobj_ddc84713fb692dc72d31420dd6c93c66; static PyCodeObject *codeobj_b54a3af2c97ff4b26772799a5dc175ae; static PyCodeObject *codeobj_8c921752f17b55fa3455fc148ad2857e; static PyCodeObject *codeobj_00196fde7ef830a15fbad60fe50caefa; static PyCodeObject *codeobj_d0b3b341f99c47cda8a58501b3737e2a; static PyCodeObject *codeobj_c9acb68dcb0f05e88520ffeb274a2dff; static PyCodeObject *codeobj_941d99f591cab6ba5d935040395dce34; static PyCodeObject *codeobj_7b8059cf035880e0c4ecd7fb10c9cd18; static PyCodeObject *codeobj_4506ad6087494798b7cfe0cf18fe7651; static PyCodeObject *codeobj_4752019545b2074bff148ecbcf59b766; static PyCodeObject *codeobj_e50baefe499e63491979effb24fb97df; static PyCodeObject *codeobj_3bcd80e503a3da9594b0ccff62cc85c9; static PyCodeObject *codeobj_9b720416c9651497feb245f05224780e; static PyCodeObject *codeobj_cfc16c8336a32c00bd4aafffa86a8a44; static PyCodeObject *codeobj_d6c4a17446083670f3269c2c3173a25d; static PyCodeObject *codeobj_43e3d33dc95095b87fc23a4cc34bc93c; static PyCodeObject *codeobj_3cb39b82746e5e0bbb9fa25b9a88e9ae; static PyCodeObject *codeobj_048a0dad3d4ab30e0e5d265fe298e917; static PyCodeObject *codeobj_47735e7d83d31d07b0a5ccb24e783a6a; static PyCodeObject *codeobj_f1f694a5c46392b0ff570bf5921a14fe; static PyCodeObject *codeobj_9d33f7f801af3e0211b78c2e96b717f9; static PyCodeObject *codeobj_fd606892d2c313a86766dded1a1ea8d3; static PyCodeObject *codeobj_b5115939d56cbe45d6f4f0b3fbab4494; static PyCodeObject *codeobj_456468498105b941d5919b807e4e14fb; static PyCodeObject *codeobj_391a38764ffe4d2f9159dcaa1aa17bf6; static PyCodeObject *codeobj_9acdd5698d06771982552941b6a8cc00; static PyCodeObject *codeobj_2c66bc8f8b04b6e462e6d4d980c4a8e1; static PyCodeObject *codeobj_15868c33d43ee39e167c7c84b5b7b9b1; static PyCodeObject *codeobj_c1b87b8c7c5978c7c185bb1c5c14a499; static PyCodeObject *codeobj_5cb44a0875ab33ed887368142ea75423; static PyCodeObject *codeobj_d61bcc941d012c0a324b3dce869a4ed9; static PyCodeObject *codeobj_82fb4041c9ba1347b3fe61ced197a4c1; static PyCodeObject *codeobj_c144472425cb64137090bcb911a31209; static PyCodeObject *codeobj_1e1068d0492a5356915d323de7430ce1; static PyCodeObject *codeobj_2485df424908f66d336c937240ee9d2e; static PyCodeObject *codeobj_0aa2a21b41092c93f546dffd7d76854e; static PyCodeObject *codeobj_6d3ac018d1fb7f9662a58c52497403f5; static PyCodeObject *codeobj_1955f622cad92da0f8aecec162a828a0; static PyCodeObject *codeobj_211695d592fa280de38f845d39b4da90; static PyCodeObject *codeobj_0c272fde91fc2ca133549e67344baf88; static PyCodeObject *codeobj_75a9fb578c2f1ae07e46c28af0de0a48; static PyCodeObject *codeobj_dd099ba0bf9d2d0c20fb6b84127a36d9; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_b0a95434b7641fd82a6f96f8e01512f8; codeobj_dc9065d90bd1cca4e870d6dc4421014c = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 23, const_tuple_str_plain_item_tuple, 1, 0, CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_1182233aa6c0477a1fa6fbe7d159297c = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 24, const_tuple_str_plain_item_tuple, 1, 0, CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_08a1e287215a3d35d2ad40f12a00938c = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 25, const_tuple_str_plain_item_tuple, 1, 0, CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_712a99cfd3cd57692a9250d544b0e978 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 95, const_tuple_str_plain_item_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_b4e7c0b651a34f4ca8c34b8ea731a1d2 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 145, const_tuple_str_plain_x_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_12c1989b8c0cf6b8b8174d431809ef63 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 334, const_tuple_str_plain_c_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_66fda68140cf2344397fb6bee4976f29 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_68336d92b399f1782086f654632d1147, 1, const_tuple_empty, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_ae5ed36cd1632c75a5682038882679da = MAKE_CODEOBJ( module_filename_obj, const_str_plain_BufferedStream, 57, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_e046cb410eff9ae507d02c38ccfe41a3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_ContentAttrParser, 869, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_b5557a76044301bfcd69189188647414 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_EncodingBytes, 584, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_4c01bcc24da40257461deed5e4ea25dc = MAKE_CODEOBJ( module_filename_obj, const_str_plain_EncodingParser, 688, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_58252763bcef966d82b75bce6b54dd1b = MAKE_CODEOBJ( module_filename_obj, const_str_plain_HTMLBinaryInputStream, 384, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_c7a2d3da5a4fb4f9fef2929d39d9f9e2 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_HTMLInputStream, 131, const_tuple_51b9e0b8c6becc7262b34a6705e999a7_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_88543d001724119253dfc5835d99b6a4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_HTMLUnicodeInputStream, 154, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_9e50c072ca01450fc5ab5bcfa64b8b11 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 64, const_tuple_str_plain_self_str_plain_stream_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_48ba3c04f96eba18ddc319a2b958efa0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 164, const_tuple_str_plain_self_str_plain_source_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_ebd4503eec1f768c1b9076a19a495a81 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 392, const_tuple_ef826719b57caacf435105a4020de1b6_tuple, 8, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_8256de6e764d673f5bc2b483e0737aa6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 592, const_tuple_str_plain_self_str_plain_value_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_869f8af9ae31d6d676563cf5396196fd = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 691, const_tuple_str_plain_self_str_plain_data_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_a08d62fecbcc1336436694a67298b9aa = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 870, const_tuple_str_plain_self_str_plain_data_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_7817641c27cffd8c9371d005a0b6db3d = MAKE_CODEOBJ( module_filename_obj, const_str_plain___iter__, 596, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_cf3365a861798efb9b223b0aaa1d521a = MAKE_CODEOBJ( module_filename_obj, const_str_plain___new__, 588, const_tuple_str_plain_self_str_plain_value_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_ddc84713fb692dc72d31420dd6c93c66 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___next__, 599, const_tuple_str_plain_self_str_plain_p_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_b54a3af2c97ff4b26772799a5dc175ae = MAKE_CODEOBJ( module_filename_obj, const_str_plain__bufferedBytes, 94, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_8c921752f17b55fa3455fc148ad2857e = MAKE_CODEOBJ( module_filename_obj, const_str_plain__position, 224, const_tuple_c48d9d46d8d6e936dd4828ce27c60b12_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_00196fde7ef830a15fbad60fe50caefa = MAKE_CODEOBJ( module_filename_obj, const_str_plain__readFromBuffer, 104, const_tuple_285061c5e9735f9ed2fdd7491413e8b2_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_d0b3b341f99c47cda8a58501b3737e2a = MAKE_CODEOBJ( module_filename_obj, const_str_plain__readStream, 97, const_tuple_str_plain_self_str_plain_bytes_str_plain_data_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_c9acb68dcb0f05e88520ffeb274a2dff = MAKE_CODEOBJ( module_filename_obj, const_str_plain_changeEncoding, 519, const_tuple_str_plain_self_str_plain_newEncoding_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_941d99f591cab6ba5d935040395dce34 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_char, 240, const_tuple_str_plain_self_str_plain_chunkOffset_str_plain_char_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_7b8059cf035880e0c4ecd7fb10c9cd18 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_characterErrorsUCS2, 297, const_tuple_bbe1785967007ff4fb27fede285da169_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_4506ad6087494798b7cfe0cf18fe7651 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_characterErrorsUCS4, 293, const_tuple_str_plain_self_str_plain_data_str_plain___tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_4752019545b2074bff148ecbcf59b766 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_charsUntil, 320, const_tuple_68897e93bd31ad4e6d5eaf873e6b4ba2_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_e50baefe499e63491979effb24fb97df = MAKE_CODEOBJ( module_filename_obj, const_str_plain_detectBOM, 535, const_tuple_c74e382942d9e845078706155c4507b5_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_3bcd80e503a3da9594b0ccff62cc85c9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_detectEncodingMeta, 569, const_tuple_0a305007b11a7f81b1b1b7819b72e446_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_9b720416c9651497feb245f05224780e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_determineEncoding, 457, const_tuple_b4abc262f004e34f2da13c39bc103534_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_cfc16c8336a32c00bd4aafffa86a8a44 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_getAttribute, 792, const_tuple_cda2dbb180ffbed0faea0f85b1839c61_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_d6c4a17446083670f3269c2c3173a25d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_getCurrentByte, 635, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_43e3d33dc95095b87fc23a4cc34bc93c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_getEncoding, 696, const_tuple_2a8140154919fb01ff2786d0aac75e0f_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_3cb39b82746e5e0bbb9fa25b9a88e9ae = MAKE_CODEOBJ( module_filename_obj, const_str_plain_getPosition, 625, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_048a0dad3d4ab30e0e5d265fe298e917 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_handleComment, 719, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_47735e7d83d31d07b0a5ccb24e783a6a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_handleMeta, 723, const_tuple_c8d20b38d1abeb30241fb9a4d854a01c_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_f1f694a5c46392b0ff570bf5921a14fe = MAKE_CODEOBJ( module_filename_obj, const_str_plain_handleOther, 789, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_9d33f7f801af3e0211b78c2e96b717f9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_handlePossibleEndTag, 762, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_fd606892d2c313a86766dded1a1ea8d3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_handlePossibleStartTag, 759, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_b5115939d56cbe45d6f4f0b3fbab4494 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_handlePossibleTag, 766, const_tuple_8ac707dfded7655e5c88998d336ba1fe_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_456468498105b941d5919b807e4e14fb = MAKE_CODEOBJ( module_filename_obj, const_str_plain_jumpTo, 674, const_tuple_str_plain_self_str_plain_bytes_str_plain_newPosition_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_391a38764ffe4d2f9159dcaa1aa17bf6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_lookupEncoding, 908, const_tuple_str_plain_encoding_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_9acdd5698d06771982552941b6a8cc00 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_matchBytes, 663, const_tuple_a918b2fa9dc59e60937ce8bb630414d0_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_2c66bc8f8b04b6e462e6d4d980c4a8e1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_next, 607, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_15868c33d43ee39e167c7c84b5b7b9b1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_openStream, 210, const_tuple_str_plain_self_str_plain_source_str_plain_stream_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_c1b87b8c7c5978c7c185bb1c5c14a499 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_openStream, 438, const_tuple_str_plain_self_str_plain_source_str_plain_stream_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_5cb44a0875ab33ed887368142ea75423 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_parse, 874, const_tuple_str_plain_self_str_plain_quoteMark_str_plain_oldPosition_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_d61bcc941d012c0a324b3dce869a4ed9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_position, 235, const_tuple_str_plain_self_str_plain_line_str_plain_col_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_82fb4041c9ba1347b3fe61ced197a4c1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_previous, 611, const_tuple_str_plain_self_str_plain_p_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_c144472425cb64137090bcb911a31209 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_read, 85, const_tuple_str_plain_self_str_plain_bytes_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_1e1068d0492a5356915d323de7430ce1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_readChunk, 255, const_tuple_e1a556c04f5de61232dd85fd0e6e406c_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_2485df424908f66d336c937240ee9d2e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_reset, 196, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_0aa2a21b41092c93f546dffd7d76854e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_reset, 434, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_6d3ac018d1fb7f9662a58c52497403f5 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_seek, 76, const_tuple_str_plain_self_str_plain_pos_str_plain_offset_str_plain_i_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_1955f622cad92da0f8aecec162a828a0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_setPosition, 620, const_tuple_str_plain_self_str_plain_position_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_211695d592fa280de38f845d39b4da90 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_skip, 640, const_tuple_str_plain_self_str_plain_chars_str_plain_p_str_plain_c_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_0c272fde91fc2ca133549e67344baf88 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_skipUntil, 652, const_tuple_str_plain_self_str_plain_chars_str_plain_p_str_plain_c_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_75a9fb578c2f1ae07e46c28af0de0a48 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_tell, 69, const_tuple_str_plain_self_str_plain_pos_str_plain_chunk_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); codeobj_dd099ba0bf9d2d0c20fb6b84127a36d9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_unget, 367, const_tuple_str_plain_self_str_plain_char_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE | CO_FUTURE_UNICODE_LITERALS ); } // The module function declarations. NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars ); NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_5_complex_call_helper_pos_star_dict( PyObject **python_pars ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_10_reset( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_11_openStream( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_12__position( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_13_position( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_14_char( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_15_readChunk( PyObject *defaults ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_16_characterErrorsUCS4( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_17_characterErrorsUCS2( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_18_charsUntil( PyObject *defaults ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_19_unget( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_1___init__( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_20___init__( PyObject *defaults ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_21_reset( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_22_openStream( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_23_determineEncoding( PyObject *defaults ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_24_changeEncoding( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_25_detectBOM( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_26_detectEncodingMeta( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_27___new__( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_28___init__( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_29___iter__( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_2_tell( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_30___next__( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_31_next( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_32_previous( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_33_setPosition( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_34_getPosition( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_35_getCurrentByte( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_36_skip( PyObject *defaults ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_37_skipUntil( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_38_matchBytes( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_39_jumpTo( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_3_seek( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_40___init__( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_41_getEncoding( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_42_handleComment( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_43_handleMeta( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_44_handlePossibleStartTag( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_45_handlePossibleEndTag( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_46_handlePossibleTag( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_47_handleOther( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_48_getAttribute( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_49___init__( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_4_read( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_50_parse( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_51_lookupEncoding( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_5__bufferedBytes( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_6__readStream( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_7__readFromBuffer( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_8_HTMLInputStream( ); static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_9___init__( ); // The module function definitions. static PyObject *impl_html5lib$_inputstream$$$function_1___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_stream = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_9e50c072ca01450fc5ab5bcfa64b8b11; 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_9e50c072ca01450fc5ab5bcfa64b8b11 = 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_9e50c072ca01450fc5ab5bcfa64b8b11, codeobj_9e50c072ca01450fc5ab5bcfa64b8b11, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *) ); frame_9e50c072ca01450fc5ab5bcfa64b8b11 = cache_frame_9e50c072ca01450fc5ab5bcfa64b8b11; // Push the new frame as the currently active one. pushFrameStack( frame_9e50c072ca01450fc5ab5bcfa64b8b11 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_9e50c072ca01450fc5ab5bcfa64b8b11 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( par_stream ); tmp_assattr_name_1 = par_stream; CHECK_OBJECT( par_self ); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_stream, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; tmp_assattr_name_2 = PyList_New( 0 ); if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 66; 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_buffer, 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 = 66; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; tmp_assattr_name_3 = LIST_COPY( const_list_int_neg_1_int_0_list ); 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 = 67; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_position, 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 = 67; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_9e50c072ca01450fc5ab5bcfa64b8b11 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9e50c072ca01450fc5ab5bcfa64b8b11 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_9e50c072ca01450fc5ab5bcfa64b8b11, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_9e50c072ca01450fc5ab5bcfa64b8b11->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_9e50c072ca01450fc5ab5bcfa64b8b11, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_9e50c072ca01450fc5ab5bcfa64b8b11, type_description_1, par_self, par_stream ); // Release cached frame. if ( frame_9e50c072ca01450fc5ab5bcfa64b8b11 == cache_frame_9e50c072ca01450fc5ab5bcfa64b8b11 ) { Py_DECREF( frame_9e50c072ca01450fc5ab5bcfa64b8b11 ); } cache_frame_9e50c072ca01450fc5ab5bcfa64b8b11 = NULL; assertFrameObject( frame_9e50c072ca01450fc5ab5bcfa64b8b11 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_1___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_stream ); par_stream = 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_stream ); par_stream = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_1___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_2_tell( 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_pos = NULL; PyObject *var_chunk = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_75a9fb578c2f1ae07e46c28af0de0a48; 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; static struct Nuitka_FrameObject *cache_frame_75a9fb578c2f1ae07e46c28af0de0a48 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = const_int_0; assert( var_pos == NULL ); Py_INCREF( tmp_assign_source_1 ); var_pos = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_75a9fb578c2f1ae07e46c28af0de0a48, codeobj_75a9fb578c2f1ae07e46c28af0de0a48, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_75a9fb578c2f1ae07e46c28af0de0a48 = cache_frame_75a9fb578c2f1ae07e46c28af0de0a48; // Push the new frame as the currently active one. pushFrameStack( frame_75a9fb578c2f1ae07e46c28af0de0a48 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_75a9fb578c2f1ae07e46c28af0de0a48 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_source_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_step_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_buffer ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 71; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_start_name_1 = Py_None; if ( par_self == 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", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 71; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_position ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_1 ); exception_lineno = 71; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscript_name_2 = const_int_0; tmp_stop_name_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); Py_DECREF( tmp_subscribed_name_2 ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_1 ); exception_lineno = 71; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_iter_arg_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 71; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 71; 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_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 = "ooo"; exception_lineno = 71; 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_chunk; var_chunk = tmp_assign_source_4; Py_INCREF( var_chunk ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_len_arg_1; if ( var_pos == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pos" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 72; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_left_name_1 = var_pos; CHECK_OBJECT( var_chunk ); tmp_len_arg_1 = var_chunk; tmp_right_name_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 72; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_1, tmp_right_name_1 ); tmp_assign_source_5 = 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 = 72; type_description_1 = "ooo"; goto try_except_handler_2; } var_pos = tmp_assign_source_5; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 71; 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; } { PyObject *tmp_assign_source_6; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_subscribed_name_3; PyObject *tmp_source_name_3; PyObject *tmp_subscript_name_3; if ( var_pos == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pos" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 73; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_2 = var_pos; 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 = 73; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_subscribed_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_position ); if ( tmp_subscribed_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 73; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscript_name_3 = const_int_pos_1; tmp_right_name_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 1 ); Py_DECREF( tmp_subscribed_name_3 ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 73; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_2, tmp_right_name_2 ); tmp_assign_source_6 = tmp_left_name_2; Py_DECREF( tmp_right_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 73; type_description_1 = "ooo"; goto frame_exception_exit_1; } var_pos = tmp_assign_source_6; } #if 0 RESTORE_FRAME_EXCEPTION( frame_75a9fb578c2f1ae07e46c28af0de0a48 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_75a9fb578c2f1ae07e46c28af0de0a48 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_75a9fb578c2f1ae07e46c28af0de0a48, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_75a9fb578c2f1ae07e46c28af0de0a48->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_75a9fb578c2f1ae07e46c28af0de0a48, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_75a9fb578c2f1ae07e46c28af0de0a48, type_description_1, par_self, var_pos, var_chunk ); // Release cached frame. if ( frame_75a9fb578c2f1ae07e46c28af0de0a48 == cache_frame_75a9fb578c2f1ae07e46c28af0de0a48 ) { Py_DECREF( frame_75a9fb578c2f1ae07e46c28af0de0a48 ); } cache_frame_75a9fb578c2f1ae07e46c28af0de0a48 = NULL; assertFrameObject( frame_75a9fb578c2f1ae07e46c28af0de0a48 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { CHECK_OBJECT( var_pos ); tmp_return_value = var_pos; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_2_tell ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_pos ); var_pos = NULL; } { Py_XDECREF( var_chunk ); var_chunk = 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_pos ); var_pos = NULL; } { Py_XDECREF( var_chunk ); var_chunk = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_2_tell ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_3_seek( 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_pos = python_pars[ 1 ]; PyObject *var_offset = NULL; PyObject *var_i = NULL; struct Nuitka_FrameObject *frame_6d3ac018d1fb7f9662a58c52497403f5; 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; static struct Nuitka_FrameObject *cache_frame_6d3ac018d1fb7f9662a58c52497403f5 = 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_6d3ac018d1fb7f9662a58c52497403f5, codeobj_6d3ac018d1fb7f9662a58c52497403f5, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_6d3ac018d1fb7f9662a58c52497403f5 = cache_frame_6d3ac018d1fb7f9662a58c52497403f5; // Push the new frame as the currently active one. pushFrameStack( frame_6d3ac018d1fb7f9662a58c52497403f5 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_6d3ac018d1fb7f9662a58c52497403f5 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_pos ); tmp_compexpr_left_1 = par_pos; CHECK_OBJECT( par_self ); tmp_called_instance_1 = par_self; frame_6d3ac018d1fb7f9662a58c52497403f5->m_frame.f_lineno = 77; tmp_compexpr_right_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain__bufferedBytes ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 77; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = RICH_COMPARE_LE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 77; 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 = 77; 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; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 77; 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; if ( par_pos == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pos" ); 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_assign_source_1 = par_pos; assert( var_offset == NULL ); Py_INCREF( tmp_assign_source_1 ); var_offset = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_int_0; assert( var_i == NULL ); Py_INCREF( tmp_assign_source_2 ); var_i = tmp_assign_source_2; } { loop_start_1:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_len_arg_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_1; PyObject *tmp_subscript_name_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 80; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_buffer ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; type_description_1 = "oooo"; goto frame_exception_exit_1; } 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 = 80; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = var_i; tmp_len_arg_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_len_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = BUILTIN_LEN( tmp_len_arg_1 ); Py_DECREF( tmp_len_arg_1 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( var_offset == 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", "offset" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 80; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = var_offset; tmp_operand_name_2 = RICH_COMPARE_LT( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_operand_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; 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 = 80; 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_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_len_arg_2; PyObject *tmp_subscribed_name_2; PyObject *tmp_source_name_2; PyObject *tmp_subscript_name_2; if ( var_offset == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "offset" ); 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_left_name_1 = var_offset; 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 = 81; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_buffer ); if ( tmp_subscribed_name_2 == 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; } if ( var_i == 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", "i" ); 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_subscript_name_2 = var_i; tmp_len_arg_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); if ( tmp_len_arg_2 == 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; } tmp_right_name_1 = BUILTIN_LEN( tmp_len_arg_2 ); Py_DECREF( tmp_len_arg_2 ); if ( tmp_right_name_1 == 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; } tmp_result = BINARY_OPERATION_INPLACE( PyNumber_InPlaceSubtract, &tmp_left_name_1, tmp_right_name_1 ); tmp_assign_source_3 = 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 = 81; type_description_1 = "oooo"; goto frame_exception_exit_1; } var_offset = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_left_name_2; PyObject *tmp_right_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 = 82; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_2 = var_i; tmp_right_name_2 = const_int_pos_1; tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_2, tmp_right_name_2 ); tmp_assign_source_4 = tmp_left_name_2; if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 82; type_description_1 = "oooo"; goto frame_exception_exit_1; } var_i = tmp_assign_source_4; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } { PyObject *tmp_assattr_name_1; PyObject *tmp_list_element_1; PyObject *tmp_assattr_target_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 = 83; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_list_element_1 = var_i; tmp_assattr_name_1 = PyList_New( 2 ); Py_INCREF( tmp_list_element_1 ); PyList_SET_ITEM( tmp_assattr_name_1, 0, tmp_list_element_1 ); if ( var_offset == 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", "offset" ); 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_list_element_1 = var_offset; Py_INCREF( tmp_list_element_1 ); PyList_SET_ITEM( tmp_assattr_name_1, 1, tmp_list_element_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 = 83; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_position, 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 = 83; type_description_1 = "oooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_6d3ac018d1fb7f9662a58c52497403f5 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6d3ac018d1fb7f9662a58c52497403f5 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_6d3ac018d1fb7f9662a58c52497403f5, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_6d3ac018d1fb7f9662a58c52497403f5->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_6d3ac018d1fb7f9662a58c52497403f5, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_6d3ac018d1fb7f9662a58c52497403f5, type_description_1, par_self, par_pos, var_offset, var_i ); // Release cached frame. if ( frame_6d3ac018d1fb7f9662a58c52497403f5 == cache_frame_6d3ac018d1fb7f9662a58c52497403f5 ) { Py_DECREF( frame_6d3ac018d1fb7f9662a58c52497403f5 ); } cache_frame_6d3ac018d1fb7f9662a58c52497403f5 = NULL; assertFrameObject( frame_6d3ac018d1fb7f9662a58c52497403f5 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_3_seek ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_pos ); par_pos = NULL; } { Py_XDECREF( var_offset ); var_offset = NULL; } { Py_XDECREF( var_i ); var_i = 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_pos ); par_pos = NULL; } { Py_XDECREF( var_offset ); var_offset = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_3_seek ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_4_read( 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_bytes = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_c144472425cb64137090bcb911a31209; 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_c144472425cb64137090bcb911a31209 = 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_c144472425cb64137090bcb911a31209, codeobj_c144472425cb64137090bcb911a31209, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *) ); frame_c144472425cb64137090bcb911a31209 = cache_frame_c144472425cb64137090bcb911a31209; // Push the new frame as the currently active one. pushFrameStack( frame_c144472425cb64137090bcb911a31209 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c144472425cb64137090bcb911a31209 ) == 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_buffer ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 86; 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 = 86; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; 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 = 87; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__readStream ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_bytes == 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", "bytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 87; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_bytes; frame_c144472425cb64137090bcb911a31209->m_frame.f_lineno = 87; { 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 = 87; type_description_1 = "oo"; 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_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_subscribed_name_1; PyObject *tmp_source_name_3; PyObject *tmp_subscript_name_1; PyObject *tmp_len_arg_1; PyObject *tmp_source_name_4; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_subscribed_name_2; PyObject *tmp_source_name_5; PyObject *tmp_subscript_name_2; PyObject *tmp_len_arg_2; PyObject *tmp_subscribed_name_3; PyObject *tmp_source_name_6; PyObject *tmp_subscript_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 = 88; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_position ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 88; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_int_0; tmp_compexpr_left_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 88; 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 = 88; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_len_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_buffer ); if ( tmp_len_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_1 ); exception_lineno = 88; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = BUILTIN_LEN( tmp_len_arg_1 ); Py_DECREF( tmp_len_arg_1 ); 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 = 88; 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 = 88; type_description_1 = "oo"; 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 = 89; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_position ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_2 = const_int_pos_1; tmp_compexpr_left_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 1 ); Py_DECREF( tmp_subscribed_name_2 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; 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 = 89; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_subscribed_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_buffer ); if ( tmp_subscribed_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_2 ); exception_lineno = 89; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_3 = const_int_neg_1; tmp_len_arg_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, -1 ); Py_DECREF( tmp_subscribed_name_3 ); if ( tmp_len_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_2 ); exception_lineno = 89; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = BUILTIN_LEN( tmp_len_arg_2 ); Py_DECREF( tmp_len_arg_2 ); 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 = 89; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 89; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( 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:; { PyObject *tmp_called_name_2; PyObject *tmp_source_name_7; 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 = 90; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain__readStream ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 90; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_bytes == 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", "bytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 90; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_bytes; frame_c144472425cb64137090bcb911a31209->m_frame.f_lineno = 90; { 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 = 90; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_2; branch_no_2:; { PyObject *tmp_called_name_3; PyObject *tmp_source_name_8; 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 = 92; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_8 = par_self; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain__readFromBuffer ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_bytes == 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", "bytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 92; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_bytes; frame_c144472425cb64137090bcb911a31209->m_frame.f_lineno = 92; { 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 = 92; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_2:; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_c144472425cb64137090bcb911a31209 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c144472425cb64137090bcb911a31209 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c144472425cb64137090bcb911a31209 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c144472425cb64137090bcb911a31209, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c144472425cb64137090bcb911a31209->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c144472425cb64137090bcb911a31209, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c144472425cb64137090bcb911a31209, type_description_1, par_self, par_bytes ); // Release cached frame. if ( frame_c144472425cb64137090bcb911a31209 == cache_frame_c144472425cb64137090bcb911a31209 ) { Py_DECREF( frame_c144472425cb64137090bcb911a31209 ); } cache_frame_c144472425cb64137090bcb911a31209 = NULL; assertFrameObject( frame_c144472425cb64137090bcb911a31209 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_4_read ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_bytes ); par_bytes = 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_bytes ); par_bytes = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_4_read ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_5__bufferedBytes( 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 *outline_0_var_item = 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_b54a3af2c97ff4b26772799a5dc175ae; 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; struct Nuitka_FrameObject *frame_712a99cfd3cd57692a9250d544b0e978_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; int tmp_res; 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_712a99cfd3cd57692a9250d544b0e978_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_b54a3af2c97ff4b26772799a5dc175ae = 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_b54a3af2c97ff4b26772799a5dc175ae, codeobj_b54a3af2c97ff4b26772799a5dc175ae, module_html5lib$_inputstream, sizeof(void *) ); frame_b54a3af2c97ff4b26772799a5dc175ae = cache_frame_b54a3af2c97ff4b26772799a5dc175ae; // Push the new frame as the currently active one. pushFrameStack( frame_b54a3af2c97ff4b26772799a5dc175ae ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_b54a3af2c97ff4b26772799a5dc175ae ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_sum_sequence_1; { // Tried code: { PyObject *tmp_assign_source_1; 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_buffer ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 95; type_description_1 = "o"; 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 = 95; type_description_1 = "o"; 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_712a99cfd3cd57692a9250d544b0e978_2, codeobj_712a99cfd3cd57692a9250d544b0e978, module_html5lib$_inputstream, sizeof(void *) ); frame_712a99cfd3cd57692a9250d544b0e978_2 = cache_frame_712a99cfd3cd57692a9250d544b0e978_2; // Push the new frame as the currently active one. pushFrameStack( frame_712a99cfd3cd57692a9250d544b0e978_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_712a99cfd3cd57692a9250d544b0e978_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 = 95; 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_item; outline_0_var_item = tmp_assign_source_4; Py_INCREF( outline_0_var_item ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; PyObject *tmp_len_arg_1; CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_append_list_1 = tmp_listcomp_1__contraction; CHECK_OBJECT( outline_0_var_item ); tmp_len_arg_1 = outline_0_var_item; tmp_append_value_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_append_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 95; 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 = 95; 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 = 95; type_description_2 = "o"; goto try_except_handler_3; } goto loop_start_1; loop_end_1:; } { CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_sum_sequence_1 = tmp_listcomp_1__contraction; Py_INCREF( tmp_sum_sequence_1 ); goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_5__bufferedBytes ); 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_712a99cfd3cd57692a9250d544b0e978_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_712a99cfd3cd57692a9250d544b0e978_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_712a99cfd3cd57692a9250d544b0e978_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_712a99cfd3cd57692a9250d544b0e978_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_712a99cfd3cd57692a9250d544b0e978_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_712a99cfd3cd57692a9250d544b0e978_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_712a99cfd3cd57692a9250d544b0e978_2, type_description_2, outline_0_var_item ); // Release cached frame. if ( frame_712a99cfd3cd57692a9250d544b0e978_2 == cache_frame_712a99cfd3cd57692a9250d544b0e978_2 ) { Py_DECREF( frame_712a99cfd3cd57692a9250d544b0e978_2 ); } cache_frame_712a99cfd3cd57692a9250d544b0e978_2 = NULL; assertFrameObject( frame_712a99cfd3cd57692a9250d544b0e978_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 = "o"; goto try_except_handler_2; skip_nested_handling_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_5__bufferedBytes ); return NULL; // Return handler code: try_return_handler_2:; { Py_XDECREF( outline_0_var_item ); outline_0_var_item = 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_item ); outline_0_var_item = 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( html5lib$_inputstream$$$function_5__bufferedBytes ); return NULL; outline_exception_1:; exception_lineno = 95; goto frame_exception_exit_1; outline_result_1:; tmp_return_value = BUILTIN_SUM1( tmp_sum_sequence_1 ); Py_DECREF( tmp_sum_sequence_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 95; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_b54a3af2c97ff4b26772799a5dc175ae ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b54a3af2c97ff4b26772799a5dc175ae ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b54a3af2c97ff4b26772799a5dc175ae ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_b54a3af2c97ff4b26772799a5dc175ae, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_b54a3af2c97ff4b26772799a5dc175ae->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_b54a3af2c97ff4b26772799a5dc175ae, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_b54a3af2c97ff4b26772799a5dc175ae, type_description_1, par_self ); // Release cached frame. if ( frame_b54a3af2c97ff4b26772799a5dc175ae == cache_frame_b54a3af2c97ff4b26772799a5dc175ae ) { Py_DECREF( frame_b54a3af2c97ff4b26772799a5dc175ae ); } cache_frame_b54a3af2c97ff4b26772799a5dc175ae = NULL; assertFrameObject( frame_b54a3af2c97ff4b26772799a5dc175ae ); // 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( html5lib$_inputstream$$$function_5__bufferedBytes ); 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_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; } { // 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( html5lib$_inputstream$$$function_5__bufferedBytes ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_6__readStream( 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_bytes = python_pars[ 1 ]; PyObject *var_data = NULL; PyObject *tmp_inplace_assign_subscr_1__target = NULL; struct Nuitka_FrameObject *frame_d0b3b341f99c47cda8a58501b3737e2a; 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 *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_d0b3b341f99c47cda8a58501b3737e2a = 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_d0b3b341f99c47cda8a58501b3737e2a, codeobj_d0b3b341f99c47cda8a58501b3737e2a, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_d0b3b341f99c47cda8a58501b3737e2a = cache_frame_d0b3b341f99c47cda8a58501b3737e2a; // Push the new frame as the currently active one. pushFrameStack( frame_d0b3b341f99c47cda8a58501b3737e2a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d0b3b341f99c47cda8a58501b3737e2a ) == 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_self ); tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_stream ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 98; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_read ); 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 = 98; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_bytes == 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", "bytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 98; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_bytes; frame_d0b3b341f99c47cda8a58501b3737e2a->m_frame.f_lineno = 98; { 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 = 98; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_data == NULL ); var_data = tmp_assign_source_1; } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_source_name_4; 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 = 99; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_buffer ); if ( tmp_source_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 99; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_append ); Py_DECREF( tmp_source_name_3 ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 99; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( var_data == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 99; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = var_data; frame_d0b3b341f99c47cda8a58501b3737e2a->m_frame.f_lineno = 99; { 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 = 99; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_2; PyObject *tmp_source_name_5; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 100; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_assign_source_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_position ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 100; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( tmp_inplace_assign_subscr_1__target == NULL ); tmp_inplace_assign_subscr_1__target = tmp_assign_source_2; } { // Tried code: { PyObject *tmp_ass_subvalue_1; PyObject *tmp_left_name_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_right_name_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; int tmp_ass_subscript_res_1; CHECK_OBJECT( tmp_inplace_assign_subscr_1__target ); tmp_subscribed_name_1 = tmp_inplace_assign_subscr_1__target; tmp_subscript_name_1 = const_int_0; tmp_left_name_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 100; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_right_name_1 = const_int_pos_1; tmp_ass_subvalue_1 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_ass_subvalue_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 100; type_description_1 = "ooo"; goto try_except_handler_2; } CHECK_OBJECT( tmp_inplace_assign_subscr_1__target ); tmp_ass_subscribed_1 = tmp_inplace_assign_subscr_1__target; tmp_ass_subscript_1 = const_int_0; tmp_ass_subscript_res_1 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_1, tmp_ass_subscript_1, 0, tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subvalue_1 ); if ( tmp_ass_subscript_res_1 == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 100; type_description_1 = "ooo"; goto try_except_handler_2; } } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_subscr_1__target ); Py_DECREF( tmp_inplace_assign_subscr_1__target ); tmp_inplace_assign_subscr_1__target = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_subscr_1__target ); Py_DECREF( tmp_inplace_assign_subscr_1__target ); tmp_inplace_assign_subscr_1__target = NULL; } { PyObject *tmp_ass_subvalue_2; PyObject *tmp_len_arg_1; PyObject *tmp_ass_subscribed_2; PyObject *tmp_source_name_6; PyObject *tmp_ass_subscript_2; int tmp_ass_subscript_res_2; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 101; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_len_arg_1 = var_data; tmp_ass_subvalue_2 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_ass_subvalue_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 101; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_self == 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", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 101; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_ass_subscribed_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_position ); if ( tmp_ass_subscribed_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_ass_subvalue_2 ); exception_lineno = 101; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_ass_subscript_2 = const_int_pos_1; tmp_ass_subscript_res_2 = SET_SUBSCRIPT_CONST( tmp_ass_subscribed_2, tmp_ass_subscript_2, 1, tmp_ass_subvalue_2 ); Py_DECREF( tmp_ass_subscribed_2 ); Py_DECREF( tmp_ass_subvalue_2 ); if ( tmp_ass_subscript_res_2 == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 101; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 102; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = var_data; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d0b3b341f99c47cda8a58501b3737e2a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d0b3b341f99c47cda8a58501b3737e2a ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d0b3b341f99c47cda8a58501b3737e2a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d0b3b341f99c47cda8a58501b3737e2a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d0b3b341f99c47cda8a58501b3737e2a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d0b3b341f99c47cda8a58501b3737e2a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d0b3b341f99c47cda8a58501b3737e2a, type_description_1, par_self, par_bytes, var_data ); // Release cached frame. if ( frame_d0b3b341f99c47cda8a58501b3737e2a == cache_frame_d0b3b341f99c47cda8a58501b3737e2a ) { Py_DECREF( frame_d0b3b341f99c47cda8a58501b3737e2a ); } cache_frame_d0b3b341f99c47cda8a58501b3737e2a = NULL; assertFrameObject( frame_d0b3b341f99c47cda8a58501b3737e2a ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_6__readStream ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_bytes ); par_bytes = NULL; } { Py_XDECREF( var_data ); var_data = 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_bytes ); par_bytes = NULL; } { Py_XDECREF( var_data ); var_data = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_6__readStream ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_7__readFromBuffer( 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_bytes = python_pars[ 1 ]; PyObject *var_remainingBytes = NULL; PyObject *var_rv = NULL; PyObject *var_bufferIndex = NULL; PyObject *var_bufferOffset = NULL; PyObject *var_bufferedData = NULL; PyObject *var_bytesToRead = NULL; struct Nuitka_FrameObject *frame_00196fde7ef830a15fbad60fe50caefa; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; bool tmp_result; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_00196fde7ef830a15fbad60fe50caefa = 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; CHECK_OBJECT( par_bytes ); tmp_assign_source_1 = par_bytes; assert( var_remainingBytes == NULL ); Py_INCREF( tmp_assign_source_1 ); var_remainingBytes = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = PyList_New( 0 ); assert( var_rv == NULL ); var_rv = tmp_assign_source_2; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_00196fde7ef830a15fbad60fe50caefa, codeobj_00196fde7ef830a15fbad60fe50caefa, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_00196fde7ef830a15fbad60fe50caefa = cache_frame_00196fde7ef830a15fbad60fe50caefa; // Push the new frame as the currently active one. pushFrameStack( frame_00196fde7ef830a15fbad60fe50caefa ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_00196fde7ef830a15fbad60fe50caefa ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_3; 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_position ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 107; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_int_0; tmp_assign_source_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); 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 = 107; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert( var_bufferIndex == NULL ); var_bufferIndex = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_subscribed_name_2; PyObject *tmp_source_name_2; PyObject *tmp_subscript_name_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 108; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_position ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 108; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_2 = const_int_pos_1; tmp_assign_source_4 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 1 ); Py_DECREF( tmp_subscribed_name_2 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 108; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } assert( var_bufferOffset == NULL ); var_bufferOffset = tmp_assign_source_4; } { loop_start_1:; { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; 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_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( var_bufferIndex == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bufferIndex" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 109; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = var_bufferIndex; 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 = 109; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_len_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_buffer ); if ( tmp_len_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = BUILTIN_LEN( tmp_len_arg_1 ); Py_DECREF( tmp_len_arg_1 ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = RICH_COMPARE_LT( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_and_left_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; type_description_1 = "oooooooo"; 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 = 109; type_description_1 = "oooooooo"; 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 ( var_remainingBytes == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "remainingBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 109; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = var_remainingBytes; tmp_compexpr_right_2 = const_int_0; tmp_and_right_value_1 = RICH_COMPARE_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_and_right_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_operand_name_1 = tmp_and_left_value_1; and_end_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 = 109; 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:; { goto loop_end_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_2; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; if ( var_remainingBytes == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "remainingBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 110; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = var_remainingBytes; tmp_compexpr_right_3 = const_int_0; tmp_operand_name_2 = RICH_COMPARE_GT( tmp_compexpr_left_3, tmp_compexpr_right_3 ); if ( tmp_operand_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 110; 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 = 110; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 110; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooo"; goto frame_exception_exit_1; } branch_no_2:; } { PyObject *tmp_assign_source_5; PyObject *tmp_subscribed_name_3; PyObject *tmp_source_name_4; PyObject *tmp_subscript_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 = 111; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_subscribed_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_buffer ); if ( tmp_subscribed_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 111; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( var_bufferIndex == NULL ) { Py_DECREF( tmp_subscribed_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bufferIndex" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 111; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_3 = var_bufferIndex; tmp_assign_source_5 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); Py_DECREF( tmp_subscribed_name_3 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 111; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_bufferedData; var_bufferedData = tmp_assign_source_5; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_left_name_1; PyObject *tmp_len_arg_2; PyObject *tmp_right_name_1; if ( var_remainingBytes == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "remainingBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 113; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_4 = var_remainingBytes; CHECK_OBJECT( var_bufferedData ); tmp_len_arg_2 = var_bufferedData; tmp_left_name_1 = BUILTIN_LEN( tmp_len_arg_2 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 113; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( var_bufferOffset == 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", "bufferOffset" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 113; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_right_name_1 = var_bufferOffset; tmp_compexpr_right_4 = BINARY_OPERATION_SUB( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_compexpr_right_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 113; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_LE( tmp_compexpr_left_4, tmp_compexpr_right_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 = 113; type_description_1 = "oooooooo"; 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_6; if ( var_remainingBytes == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "remainingBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 114; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assign_source_6 = var_remainingBytes; { PyObject *old = var_bytesToRead; var_bytesToRead = tmp_assign_source_6; Py_INCREF( var_bytesToRead ); Py_XDECREF( old ); } } { PyObject *tmp_assattr_name_1; PyObject *tmp_list_element_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_assattr_target_1; if ( var_bufferIndex == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bufferIndex" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 115; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_list_element_1 = var_bufferIndex; tmp_assattr_name_1 = PyList_New( 2 ); Py_INCREF( tmp_list_element_1 ); PyList_SET_ITEM( tmp_assattr_name_1, 0, tmp_list_element_1 ); if ( var_bufferOffset == 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", "bufferOffset" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 115; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_left_name_2 = var_bufferOffset; CHECK_OBJECT( var_bytesToRead ); tmp_right_name_2 = var_bytesToRead; tmp_list_element_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_list_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assattr_name_1 ); exception_lineno = 115; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } PyList_SET_ITEM( tmp_assattr_name_1, 1, tmp_list_element_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 = 115; 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_position, 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 = 115; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } goto branch_end_3; branch_no_3:; { PyObject *tmp_assign_source_7; PyObject *tmp_left_name_3; PyObject *tmp_len_arg_3; PyObject *tmp_right_name_3; if ( var_bufferedData == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bufferedData" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 117; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_len_arg_3 = var_bufferedData; tmp_left_name_3 = BUILTIN_LEN( tmp_len_arg_3 ); if ( tmp_left_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 117; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( var_bufferOffset == NULL ) { Py_DECREF( tmp_left_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bufferOffset" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 117; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_right_name_3 = var_bufferOffset; tmp_assign_source_7 = BINARY_OPERATION_SUB( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_left_name_3 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 117; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_bytesToRead; var_bytesToRead = tmp_assign_source_7; Py_XDECREF( old ); } } { PyObject *tmp_assattr_name_2; PyObject *tmp_list_element_2; PyObject *tmp_len_arg_4; PyObject *tmp_assattr_target_2; if ( var_bufferIndex == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bufferIndex" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 118; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_list_element_2 = var_bufferIndex; tmp_assattr_name_2 = PyList_New( 2 ); Py_INCREF( tmp_list_element_2 ); PyList_SET_ITEM( tmp_assattr_name_2, 0, tmp_list_element_2 ); if ( var_bufferedData == 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", "bufferedData" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 118; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_len_arg_4 = var_bufferedData; tmp_list_element_2 = BUILTIN_LEN( tmp_len_arg_4 ); if ( tmp_list_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assattr_name_2 ); exception_lineno = 118; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } PyList_SET_ITEM( tmp_assattr_name_2, 1, tmp_list_element_2 ); 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 = 118; 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_position, 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 = 118; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_8; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; if ( var_bufferIndex == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bufferIndex" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 119; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_left_name_4 = var_bufferIndex; tmp_right_name_4 = const_int_pos_1; tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_4, tmp_right_name_4 ); tmp_assign_source_8 = tmp_left_name_4; if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 119; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } var_bufferIndex = tmp_assign_source_8; } branch_end_3:; } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_1; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; PyObject *tmp_step_name_1; if ( var_rv == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rv" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = var_rv; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_append ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( var_bufferedData == 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", "bufferedData" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_4 = var_bufferedData; if ( var_bufferOffset == 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", "bufferOffset" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_start_name_1 = var_bufferOffset; if ( var_bufferOffset == 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", "bufferOffset" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_left_name_5 = var_bufferOffset; if ( var_bytesToRead == 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", "bytesToRead" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_right_name_5 = var_bytesToRead; tmp_stop_name_1 = BINARY_OPERATION_ADD( tmp_left_name_5, tmp_right_name_5 ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_step_name_1 = Py_None; tmp_subscript_name_4 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_4 == NULL) ); tmp_args_element_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_4, tmp_subscript_name_4 ); Py_DECREF( tmp_subscript_name_4 ); 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 = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } frame_00196fde7ef830a15fbad60fe50caefa->m_frame.f_lineno = 120; { 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 = 120; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_9; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; if ( var_remainingBytes == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "remainingBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 121; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_left_name_6 = var_remainingBytes; if ( var_bytesToRead == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bytesToRead" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 121; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_right_name_6 = var_bytesToRead; tmp_result = BINARY_OPERATION_INPLACE( PyNumber_InPlaceSubtract, &tmp_left_name_6, tmp_right_name_6 ); tmp_assign_source_9 = tmp_left_name_6; if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 121; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } var_remainingBytes = tmp_assign_source_9; } { PyObject *tmp_assign_source_10; tmp_assign_source_10 = const_int_0; { PyObject *old = var_bufferOffset; var_bufferOffset = tmp_assign_source_10; Py_INCREF( var_bufferOffset ); Py_XDECREF( old ); } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 109; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } { nuitka_bool tmp_condition_result_4; int tmp_truth_name_1; if ( var_remainingBytes == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "remainingBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 125; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( var_remainingBytes ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 125; type_description_1 = "oooooooo"; 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_called_name_2; PyObject *tmp_source_name_6; PyObject *tmp_args_element_name_2; PyObject *tmp_called_name_3; PyObject *tmp_source_name_7; PyObject *tmp_args_element_name_3; if ( var_rv == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rv" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 126; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = var_rv; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_append ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 126; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 126; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_self; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain__readStream ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 126; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( var_remainingBytes == 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", "remainingBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 126; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = var_remainingBytes; frame_00196fde7ef830a15fbad60fe50caefa->m_frame.f_lineno = 126; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_args_element_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 126; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } frame_00196fde7ef830a15fbad60fe50caefa->m_frame.f_lineno = 126; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 126; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_4:; } { PyObject *tmp_called_name_4; PyObject *tmp_source_name_8; PyObject *tmp_args_element_name_4; tmp_source_name_8 = const_bytes_empty; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_join ); assert( !(tmp_called_name_4 == NULL) ); if ( var_rv == 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", "rv" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 128; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = var_rv; frame_00196fde7ef830a15fbad60fe50caefa->m_frame.f_lineno = 128; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 128; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_00196fde7ef830a15fbad60fe50caefa ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_00196fde7ef830a15fbad60fe50caefa ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_00196fde7ef830a15fbad60fe50caefa ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_00196fde7ef830a15fbad60fe50caefa, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_00196fde7ef830a15fbad60fe50caefa->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_00196fde7ef830a15fbad60fe50caefa, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_00196fde7ef830a15fbad60fe50caefa, type_description_1, par_self, par_bytes, var_remainingBytes, var_rv, var_bufferIndex, var_bufferOffset, var_bufferedData, var_bytesToRead ); // Release cached frame. if ( frame_00196fde7ef830a15fbad60fe50caefa == cache_frame_00196fde7ef830a15fbad60fe50caefa ) { Py_DECREF( frame_00196fde7ef830a15fbad60fe50caefa ); } cache_frame_00196fde7ef830a15fbad60fe50caefa = NULL; assertFrameObject( frame_00196fde7ef830a15fbad60fe50caefa ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_7__readFromBuffer ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_bytes ); par_bytes = NULL; } { Py_XDECREF( var_remainingBytes ); var_remainingBytes = NULL; } { Py_XDECREF( var_rv ); var_rv = NULL; } { Py_XDECREF( var_bufferIndex ); var_bufferIndex = NULL; } { Py_XDECREF( var_bufferOffset ); var_bufferOffset = NULL; } { Py_XDECREF( var_bufferedData ); var_bufferedData = NULL; } { Py_XDECREF( var_bytesToRead ); var_bytesToRead = 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_bytes ); par_bytes = NULL; } { Py_XDECREF( var_remainingBytes ); var_remainingBytes = NULL; } { Py_XDECREF( var_rv ); var_rv = NULL; } { Py_XDECREF( var_bufferIndex ); var_bufferIndex = NULL; } { Py_XDECREF( var_bufferOffset ); var_bufferOffset = NULL; } { Py_XDECREF( var_bufferedData ); var_bufferedData = NULL; } { Py_XDECREF( var_bytesToRead ); var_bytesToRead = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_7__readFromBuffer ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_8_HTMLInputStream( 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_source = python_pars[ 0 ]; PyObject *par_kwargs = python_pars[ 1 ]; PyObject *var_isUnicode = NULL; PyObject *var_encodings = NULL; PyObject *outline_0_var_x = 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_c7a2d3da5a4fb4f9fef2929d39d9f9e2; 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; struct Nuitka_FrameObject *frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_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_b4e7c0b651a34f4ca8c34b8ea731a1d2_2 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2 = 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_c7a2d3da5a4fb4f9fef2929d39d9f9e2, codeobj_c7a2d3da5a4fb4f9fef2929d39d9f9e2, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2 = cache_frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2; // Push the new frame as the currently active one. pushFrameStack( frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2 ) == 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_source_name_1; PyObject *tmp_mvar_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_2; PyObject *tmp_isinstance_cls_2; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_2; PyObject *tmp_isinstance_inst_3; PyObject *tmp_isinstance_cls_3; PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_3; CHECK_OBJECT( par_source ); tmp_isinstance_inst_1 = par_source; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_http_client ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_http_client ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "http_client" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 134; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_HTTPResponse ); if ( tmp_isinstance_cls_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 134; type_description_1 = "oooo"; goto frame_exception_exit_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 = 134; 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_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 = 136; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_2 = par_source; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_urllib ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_urllib ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "urllib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 136; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_2; tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_response ); if ( tmp_source_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 136; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_addbase ); Py_DECREF( tmp_source_name_2 ); if ( tmp_isinstance_cls_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 136; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_2, tmp_isinstance_cls_2 ); Py_DECREF( tmp_isinstance_cls_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 136; 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:; 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 = 137; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_source; tmp_isinstance_inst_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_fp ); if ( tmp_isinstance_inst_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 137; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_http_client ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_http_client ); } if ( tmp_mvar_value_3 == NULL ) { Py_DECREF( tmp_isinstance_inst_3 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "http_client" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 137; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_3; tmp_isinstance_cls_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_HTTPResponse ); if ( tmp_isinstance_cls_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_isinstance_inst_3 ); exception_lineno = 137; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_3, tmp_isinstance_cls_3 ); Py_DECREF( tmp_isinstance_inst_3 ); Py_DECREF( tmp_isinstance_cls_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 137; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_right_value_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_or_right_value_1 = tmp_and_left_value_1; and_end_1:; 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; tmp_assign_source_1 = Py_False; assert( var_isUnicode == NULL ); Py_INCREF( tmp_assign_source_1 ); var_isUnicode = tmp_assign_source_1; } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_source_name_6; PyObject *tmp_attribute_name_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 = 139; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_source; tmp_attribute_name_1 = const_str_plain_read; 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 = 139; 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_assign_source_2; PyObject *tmp_isinstance_inst_4; PyObject *tmp_isinstance_cls_4; PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_4; 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 = 140; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_source; frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2->m_frame.f_lineno = 140; tmp_isinstance_inst_4 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_read, &PyTuple_GET_ITEM( const_tuple_int_0_tuple, 0 ) ); if ( tmp_isinstance_inst_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 140; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_text_type ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_text_type ); } if ( tmp_mvar_value_4 == NULL ) { Py_DECREF( tmp_isinstance_inst_4 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "text_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 140; 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 ); Py_DECREF( tmp_isinstance_inst_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 140; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = ( tmp_res != 0 ) ? Py_True : Py_False; assert( var_isUnicode == NULL ); Py_INCREF( tmp_assign_source_2 ); var_isUnicode = tmp_assign_source_2; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_3; PyObject *tmp_isinstance_inst_5; PyObject *tmp_isinstance_cls_5; PyObject *tmp_mvar_value_5; 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 = 142; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_5 = par_source; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_text_type ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_text_type ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "text_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 142; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_5 = tmp_mvar_value_5; 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 = 142; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = ( tmp_res != 0 ) ? Py_True : Py_False; assert( var_isUnicode == NULL ); Py_INCREF( tmp_assign_source_3 ); var_isUnicode = tmp_assign_source_3; } branch_end_2:; } branch_end_1:; } { nuitka_bool tmp_condition_result_3; int tmp_truth_name_1; if ( var_isUnicode == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "isUnicode" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 144; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( var_isUnicode ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; type_description_1 = "oooo"; 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:; { PyObject *tmp_assign_source_4; { // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_iter_arg_1; if ( par_kwargs == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "kwargs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 145; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_iter_arg_1 = par_kwargs; 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 = 145; type_description_1 = "oooo"; goto try_except_handler_2; } assert( tmp_listcomp_1__$0 == NULL ); tmp_listcomp_1__$0 = tmp_assign_source_5; } { PyObject *tmp_assign_source_6; tmp_assign_source_6 = PyList_New( 0 ); assert( tmp_listcomp_1__contraction == NULL ); tmp_listcomp_1__contraction = tmp_assign_source_6; } MAKE_OR_REUSE_FRAME( cache_frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_2, codeobj_b4e7c0b651a34f4ca8c34b8ea731a1d2, module_html5lib$_inputstream, sizeof(void *) ); frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_2 = cache_frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_2; // Push the new frame as the currently active one. pushFrameStack( frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_2 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_7; CHECK_OBJECT( tmp_listcomp_1__$0 ); tmp_next_source_1 = tmp_listcomp_1__$0; tmp_assign_source_7 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_7 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_2 = "o"; exception_lineno = 145; goto try_except_handler_3; } } { PyObject *old = tmp_listcomp_1__iter_value_0; tmp_listcomp_1__iter_value_0 = tmp_assign_source_7; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_8; CHECK_OBJECT( tmp_listcomp_1__iter_value_0 ); tmp_assign_source_8 = tmp_listcomp_1__iter_value_0; { PyObject *old = outline_0_var_x; outline_0_var_x = tmp_assign_source_8; Py_INCREF( outline_0_var_x ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_4; PyObject *tmp_called_instance_2; PyObject *tmp_call_result_1; int tmp_truth_name_2; CHECK_OBJECT( outline_0_var_x ); tmp_called_instance_2 = outline_0_var_x; frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_2->m_frame.f_lineno = 145; tmp_call_result_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_endswith, &PyTuple_GET_ITEM( const_tuple_str_plain__encoding_tuple, 0 ) ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 145; type_description_2 = "o"; goto try_except_handler_3; } tmp_truth_name_2 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 145; type_description_2 = "o"; goto try_except_handler_3; } tmp_condition_result_4 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_append_list_1 = tmp_listcomp_1__contraction; if ( outline_0_var_x == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "x" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 145; type_description_2 = "o"; goto try_except_handler_3; } tmp_append_value_1 = outline_0_var_x; 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 = 145; type_description_2 = "o"; goto try_except_handler_3; } } branch_no_4:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 145; 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_4 = tmp_listcomp_1__contraction; Py_INCREF( tmp_assign_source_4 ); goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_8_HTMLInputStream ); 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_b4e7c0b651a34f4ca8c34b8ea731a1d2_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_b4e7c0b651a34f4ca8c34b8ea731a1d2_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_b4e7c0b651a34f4ca8c34b8ea731a1d2_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_2, type_description_2, outline_0_var_x ); // Release cached frame. if ( frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_2 == cache_frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_2 ) { Py_DECREF( frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_2 ); } cache_frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_2 = NULL; assertFrameObject( frame_b4e7c0b651a34f4ca8c34b8ea731a1d2_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( html5lib$_inputstream$$$function_8_HTMLInputStream ); 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( html5lib$_inputstream$$$function_8_HTMLInputStream ); return NULL; outline_exception_1:; exception_lineno = 145; goto frame_exception_exit_1; outline_result_1:; assert( var_encodings == NULL ); var_encodings = tmp_assign_source_4; } { nuitka_bool tmp_condition_result_5; int tmp_truth_name_3; CHECK_OBJECT( var_encodings ); tmp_truth_name_3 = CHECK_IF_TRUE( var_encodings ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 146; type_description_1 = "oooo"; goto frame_exception_exit_1; } 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:; { 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_45a93a3706af9c43f309bfb8f09286e1; CHECK_OBJECT( var_encodings ); tmp_right_name_1 = var_encodings; 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 = 147; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2->m_frame.f_lineno = 147; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_TypeError, call_args ); } Py_DECREF( tmp_make_exception_arg_1 ); assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 147; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto frame_exception_exit_1; } branch_no_5:; } { PyObject *tmp_dircall_arg1_1; PyObject *tmp_mvar_value_6; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dircall_arg3_1; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_HTMLUnicodeInputStream ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTMLUnicodeInputStream ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTMLUnicodeInputStream" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 149; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_dircall_arg1_1 = tmp_mvar_value_6; 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 = 149; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_source; tmp_dircall_arg2_1 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, 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 = 149; type_description_1 = "oooo"; 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_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 = 149; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_3; branch_no_3:; { PyObject *tmp_dircall_arg1_2; PyObject *tmp_mvar_value_7; PyObject *tmp_dircall_arg2_2; PyObject *tmp_tuple_element_2; PyObject *tmp_dircall_arg3_2; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_HTMLBinaryInputStream ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTMLBinaryInputStream ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTMLBinaryInputStream" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 151; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_dircall_arg1_2 = tmp_mvar_value_7; 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 = 151; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = par_source; tmp_dircall_arg2_2 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_dircall_arg2_2, 0, tmp_tuple_element_2 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg2_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 = 151; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_2 = par_kwargs; Py_INCREF( tmp_dircall_arg1_2 ); Py_INCREF( tmp_dircall_arg3_2 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_2}; 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 = 151; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_3:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2, type_description_1, par_source, par_kwargs, var_isUnicode, var_encodings ); // Release cached frame. if ( frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2 == cache_frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2 ) { Py_DECREF( frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2 ); } cache_frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2 = NULL; assertFrameObject( frame_c7a2d3da5a4fb4f9fef2929d39d9f9e2 ); // 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( html5lib$_inputstream$$$function_8_HTMLInputStream ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_source ); par_source = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_isUnicode ); var_isUnicode = NULL; } { Py_XDECREF( var_encodings ); var_encodings = 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_source ); par_source = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_isUnicode ); var_isUnicode = NULL; } { Py_XDECREF( var_encodings ); var_encodings = 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( html5lib$_inputstream$$$function_8_HTMLInputStream ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_9___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 ]; struct Nuitka_FrameObject *frame_48ba3c04f96eba18ddc319a2b958efa0; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; bool tmp_result; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_48ba3c04f96eba18ddc319a2b958efa0 = 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_48ba3c04f96eba18ddc319a2b958efa0, codeobj_48ba3c04f96eba18ddc319a2b958efa0, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *) ); frame_48ba3c04f96eba18ddc319a2b958efa0 = cache_frame_48ba3c04f96eba18ddc319a2b958efa0; // Push the new frame as the currently active one. pushFrameStack( frame_48ba3c04f96eba18ddc319a2b958efa0 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_48ba3c04f96eba18ddc319a2b958efa0 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain__utils ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__utils ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_utils" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 179; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_operand_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_supports_lone_surrogates ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 179; 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 = 179; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_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 = 182; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_reportCharacterErrors, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 182; type_description_1 = "oo"; goto frame_exception_exit_1; } } goto branch_end_1; branch_no_1:; { PyObject *tmp_assattr_name_2; PyObject *tmp_source_name_2; 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 = 184; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_assattr_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_characterErrorsUCS4 ); if ( tmp_assattr_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 184; type_description_1 = "oo"; 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 = 184; 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_reportCharacterErrors, 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 = 184; type_description_1 = "oo"; goto frame_exception_exit_1; } } branch_end_1:; } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; tmp_assattr_name_3 = LIST_COPY( const_list_int_0_list ); 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 = 189; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_newLines, 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 = 189; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_tuple_element_1; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_assattr_target_4; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lookupEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 191; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_2; frame_48ba3c04f96eba18ddc319a2b958efa0->m_frame.f_lineno = 191; tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, &PyTuple_GET_ITEM( const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_tuple, 0 ) ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 191; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_name_4 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_assattr_name_4, 0, tmp_tuple_element_1 ); tmp_tuple_element_1 = const_str_plain_certain; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_assattr_name_4, 1, tmp_tuple_element_1 ); if ( par_self == NULL ) { Py_DECREF( tmp_assattr_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 = 191; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_charEncoding, tmp_assattr_name_4 ); Py_DECREF( tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 191; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_1; PyObject *tmp_assattr_target_5; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 192; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_openStream ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 192; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_source == 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", "source" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 192; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_source; frame_48ba3c04f96eba18ddc319a2b958efa0->m_frame.f_lineno = 192; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assattr_name_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_assattr_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 192; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 192; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_dataStream, tmp_assattr_name_5 ); Py_DECREF( tmp_assattr_name_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 192; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_called_instance_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 194; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; frame_48ba3c04f96eba18ddc319a2b958efa0->m_frame.f_lineno = 194; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_reset ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 194; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_48ba3c04f96eba18ddc319a2b958efa0 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_48ba3c04f96eba18ddc319a2b958efa0 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_48ba3c04f96eba18ddc319a2b958efa0, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_48ba3c04f96eba18ddc319a2b958efa0->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_48ba3c04f96eba18ddc319a2b958efa0, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_48ba3c04f96eba18ddc319a2b958efa0, type_description_1, par_self, par_source ); // Release cached frame. if ( frame_48ba3c04f96eba18ddc319a2b958efa0 == cache_frame_48ba3c04f96eba18ddc319a2b958efa0 ) { Py_DECREF( frame_48ba3c04f96eba18ddc319a2b958efa0 ); } cache_frame_48ba3c04f96eba18ddc319a2b958efa0 = NULL; assertFrameObject( frame_48ba3c04f96eba18ddc319a2b958efa0 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_9___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_source ); par_source = 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; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_9___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_10_reset( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_2485df424908f66d336c937240ee9d2e; 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_2485df424908f66d336c937240ee9d2e = 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_2485df424908f66d336c937240ee9d2e, codeobj_2485df424908f66d336c937240ee9d2e, module_html5lib$_inputstream, sizeof(void *) ); frame_2485df424908f66d336c937240ee9d2e = cache_frame_2485df424908f66d336c937240ee9d2e; // Push the new frame as the currently active one. pushFrameStack( frame_2485df424908f66d336c937240ee9d2e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_2485df424908f66d336c937240ee9d2e ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; tmp_assattr_name_1 = const_str_empty; CHECK_OBJECT( par_self ); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_chunk, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 197; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; tmp_assattr_name_2 = const_int_0; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 198; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_chunkSize, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 198; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; tmp_assattr_name_3 = const_int_0; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 199; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_chunkOffset, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; tmp_assattr_name_4 = PyList_New( 0 ); if ( par_self == NULL ) { Py_DECREF( tmp_assattr_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 = 200; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_errors, tmp_assattr_name_4 ); Py_DECREF( tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 200; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_assattr_target_5; tmp_assattr_name_5 = const_int_0; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 203; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_prevNumLines, tmp_assattr_name_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 203; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_6; PyObject *tmp_assattr_target_6; tmp_assattr_name_6 = const_int_0; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 205; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_6 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain_prevNumCols, tmp_assattr_name_6 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 205; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_7; PyObject *tmp_assattr_target_7; tmp_assattr_name_7 = 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 = 208; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_7 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_7, const_str_plain__bufferedCharacter, tmp_assattr_name_7 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; type_description_1 = "o"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_2485df424908f66d336c937240ee9d2e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2485df424908f66d336c937240ee9d2e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_2485df424908f66d336c937240ee9d2e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_2485df424908f66d336c937240ee9d2e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_2485df424908f66d336c937240ee9d2e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_2485df424908f66d336c937240ee9d2e, type_description_1, par_self ); // Release cached frame. if ( frame_2485df424908f66d336c937240ee9d2e == cache_frame_2485df424908f66d336c937240ee9d2e ) { Py_DECREF( frame_2485df424908f66d336c937240ee9d2e ); } cache_frame_2485df424908f66d336c937240ee9d2e = NULL; assertFrameObject( frame_2485df424908f66d336c937240ee9d2e ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_10_reset ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_10_reset ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_11_openStream( 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 *var_stream = NULL; struct Nuitka_FrameObject *frame_15868c33d43ee39e167c7c84b5b7b9b1; 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; static struct Nuitka_FrameObject *cache_frame_15868c33d43ee39e167c7c84b5b7b9b1 = 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_15868c33d43ee39e167c7c84b5b7b9b1, codeobj_15868c33d43ee39e167c7c84b5b7b9b1, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_15868c33d43ee39e167c7c84b5b7b9b1 = cache_frame_15868c33d43ee39e167c7c84b5b7b9b1; // Push the new frame as the currently active one. pushFrameStack( frame_15868c33d43ee39e167c7c84b5b7b9b1 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_15868c33d43ee39e167c7c84b5b7b9b1 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_source_name_1; PyObject *tmp_attribute_name_1; CHECK_OBJECT( par_source ); tmp_source_name_1 = par_source; tmp_attribute_name_1 = const_str_plain_read; 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 = 217; 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; CHECK_OBJECT( par_source ); tmp_assign_source_1 = par_source; assert( var_stream == NULL ); Py_INCREF( tmp_assign_source_1 ); var_stream = tmp_assign_source_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_StringIO ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_StringIO ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "StringIO" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 220; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_source ); tmp_args_element_name_1 = par_source; frame_15868c33d43ee39e167c7c84b5b7b9b1->m_frame.f_lineno = 220; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 220; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_stream == NULL ); var_stream = tmp_assign_source_2; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_15868c33d43ee39e167c7c84b5b7b9b1 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_15868c33d43ee39e167c7c84b5b7b9b1 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_15868c33d43ee39e167c7c84b5b7b9b1, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_15868c33d43ee39e167c7c84b5b7b9b1->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_15868c33d43ee39e167c7c84b5b7b9b1, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_15868c33d43ee39e167c7c84b5b7b9b1, type_description_1, par_self, par_source, var_stream ); // Release cached frame. if ( frame_15868c33d43ee39e167c7c84b5b7b9b1 == cache_frame_15868c33d43ee39e167c7c84b5b7b9b1 ) { Py_DECREF( frame_15868c33d43ee39e167c7c84b5b7b9b1 ); } cache_frame_15868c33d43ee39e167c7c84b5b7b9b1 = NULL; assertFrameObject( frame_15868c33d43ee39e167c7c84b5b7b9b1 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { CHECK_OBJECT( var_stream ); tmp_return_value = var_stream; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_11_openStream ); 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( var_stream ); var_stream = 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; } { Py_XDECREF( par_source ); par_source = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_11_openStream ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_12__position( 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_offset = python_pars[ 1 ]; PyObject *var_chunk = NULL; PyObject *var_nLines = NULL; PyObject *var_positionLine = NULL; PyObject *var_lastLinePos = NULL; PyObject *var_positionColumn = NULL; struct Nuitka_FrameObject *frame_8c921752f17b55fa3455fc148ad2857e; 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_8c921752f17b55fa3455fc148ad2857e = 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_8c921752f17b55fa3455fc148ad2857e, codeobj_8c921752f17b55fa3455fc148ad2857e, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_8c921752f17b55fa3455fc148ad2857e = cache_frame_8c921752f17b55fa3455fc148ad2857e; // Push the new frame as the currently active one. pushFrameStack( frame_8c921752f17b55fa3455fc148ad2857e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8c921752f17b55fa3455fc148ad2857e ) == 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_chunk ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 225; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_chunk == NULL ); var_chunk = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; 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( var_chunk ); tmp_source_name_2 = var_chunk; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_count ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 226; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = const_str_newline; tmp_args_element_name_2 = const_int_0; if ( par_offset == 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", "offset" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 226; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_offset; frame_8c921752f17b55fa3455fc148ad2857e->m_frame.f_lineno = 226; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 }; 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 = 226; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_nLines == NULL ); var_nLines = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_left_name_1; PyObject *tmp_source_name_3; PyObject *tmp_right_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 = 227; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_left_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_prevNumLines ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 227; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( var_nLines == 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", "nLines" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 227; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_right_name_1 = var_nLines; tmp_assign_source_3 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 227; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_positionLine == NULL ); var_positionLine = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_called_name_2; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; if ( var_chunk == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "chunk" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 228; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = var_chunk; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_rfind ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 228; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = const_str_newline; tmp_args_element_name_5 = const_int_0; if ( par_offset == 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", "offset" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 228; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_offset; frame_8c921752f17b55fa3455fc148ad2857e->m_frame.f_lineno = 228; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5, tmp_args_element_name_6 }; tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 228; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_lastLinePos == NULL ); var_lastLinePos = tmp_assign_source_4; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( var_lastLinePos ); tmp_compexpr_left_1 = var_lastLinePos; tmp_compexpr_right_1 = const_int_neg_1; 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 = 229; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_5; PyObject *tmp_left_name_2; PyObject *tmp_source_name_5; PyObject *tmp_right_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 = 230; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_left_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_prevNumCols ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 230; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( par_offset == 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", "offset" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 230; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_right_name_2 = par_offset; tmp_assign_source_5 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_left_name_2 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 230; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_positionColumn == NULL ); var_positionColumn = tmp_assign_source_5; } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_6; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; if ( par_offset == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "offset" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 232; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_left_name_3 = par_offset; if ( var_lastLinePos == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lastLinePos" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 232; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_left_name_4 = var_lastLinePos; tmp_right_name_4 = const_int_pos_1; tmp_right_name_3 = BINARY_OPERATION_ADD( 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 = 232; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_assign_source_6 = BINARY_OPERATION_SUB( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 232; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_positionColumn == NULL ); var_positionColumn = tmp_assign_source_6; } branch_end_1:; } { PyObject *tmp_tuple_element_1; if ( var_positionLine == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "positionLine" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 233; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = var_positionLine; tmp_return_value = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 ); CHECK_OBJECT( var_positionColumn ); tmp_tuple_element_1 = var_positionColumn; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_8c921752f17b55fa3455fc148ad2857e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8c921752f17b55fa3455fc148ad2857e ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8c921752f17b55fa3455fc148ad2857e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8c921752f17b55fa3455fc148ad2857e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8c921752f17b55fa3455fc148ad2857e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8c921752f17b55fa3455fc148ad2857e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8c921752f17b55fa3455fc148ad2857e, type_description_1, par_self, par_offset, var_chunk, var_nLines, var_positionLine, var_lastLinePos, var_positionColumn ); // Release cached frame. if ( frame_8c921752f17b55fa3455fc148ad2857e == cache_frame_8c921752f17b55fa3455fc148ad2857e ) { Py_DECREF( frame_8c921752f17b55fa3455fc148ad2857e ); } cache_frame_8c921752f17b55fa3455fc148ad2857e = NULL; assertFrameObject( frame_8c921752f17b55fa3455fc148ad2857e ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_12__position ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_offset ); par_offset = NULL; } { Py_XDECREF( var_chunk ); var_chunk = NULL; } { Py_XDECREF( var_nLines ); var_nLines = NULL; } { Py_XDECREF( var_positionLine ); var_positionLine = NULL; } { Py_XDECREF( var_lastLinePos ); var_lastLinePos = NULL; } { Py_XDECREF( var_positionColumn ); var_positionColumn = 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_offset ); par_offset = NULL; } { Py_XDECREF( var_chunk ); var_chunk = NULL; } { Py_XDECREF( var_nLines ); var_nLines = NULL; } { Py_XDECREF( var_positionLine ); var_positionLine = NULL; } { Py_XDECREF( var_lastLinePos ); var_lastLinePos = NULL; } { Py_XDECREF( var_positionColumn ); var_positionColumn = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_12__position ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_13_position( 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_line = NULL; PyObject *var_col = 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_d61bcc941d012c0a324b3dce869a4ed9; 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; static struct Nuitka_FrameObject *cache_frame_d61bcc941d012c0a324b3dce869a4ed9 = 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_d61bcc941d012c0a324b3dce869a4ed9, codeobj_d61bcc941d012c0a324b3dce869a4ed9, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_d61bcc941d012c0a324b3dce869a4ed9 = cache_frame_d61bcc941d012c0a324b3dce869a4ed9; // Push the new frame as the currently active one. pushFrameStack( frame_d61bcc941d012c0a324b3dce869a4ed9 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d61bcc941d012c0a324b3dce869a4ed9 ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_source_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__position ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 237; type_description_1 = "ooo"; goto try_except_handler_2; } 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 = 237; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_2 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_chunkOffset ); 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 = 237; type_description_1 = "ooo"; goto try_except_handler_2; } frame_d61bcc941d012c0a324b3dce869a4ed9->m_frame.f_lineno = 237; { 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_called_name_1 ); 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 = 237; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_UNPACK_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 = 237; type_description_1 = "ooo"; goto try_except_handler_2; } assert( tmp_tuple_unpack_1__source_iter == NULL ); tmp_tuple_unpack_1__source_iter = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_2 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_2 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooo"; exception_lineno = 237; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_1 == NULL ); tmp_tuple_unpack_1__element_1 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_3 == 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 = "ooo"; exception_lineno = 237; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_2 == NULL ); tmp_tuple_unpack_1__element_2 = tmp_assign_source_3; } { 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 = "ooo"; exception_lineno = 237; goto try_except_handler_3; } } } 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 = "ooo"; exception_lineno = 237; 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_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_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; { 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_4; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_4 = tmp_tuple_unpack_1__element_1; assert( var_line == NULL ); Py_INCREF( tmp_assign_source_4 ); var_line = tmp_assign_source_4; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_5 = tmp_tuple_unpack_1__element_2; assert( var_col == NULL ); Py_INCREF( tmp_assign_source_5 ); var_col = tmp_assign_source_5; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_tuple_element_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; if ( var_line == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "line" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 238; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_1 = var_line; tmp_right_name_1 = const_int_pos_1; tmp_tuple_element_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 238; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 ); if ( var_col == NULL ) { Py_DECREF( tmp_return_value ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "col" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 238; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = var_col; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d61bcc941d012c0a324b3dce869a4ed9 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d61bcc941d012c0a324b3dce869a4ed9 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d61bcc941d012c0a324b3dce869a4ed9 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d61bcc941d012c0a324b3dce869a4ed9, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d61bcc941d012c0a324b3dce869a4ed9->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d61bcc941d012c0a324b3dce869a4ed9, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d61bcc941d012c0a324b3dce869a4ed9, type_description_1, par_self, var_line, var_col ); // Release cached frame. if ( frame_d61bcc941d012c0a324b3dce869a4ed9 == cache_frame_d61bcc941d012c0a324b3dce869a4ed9 ) { Py_DECREF( frame_d61bcc941d012c0a324b3dce869a4ed9 ); } cache_frame_d61bcc941d012c0a324b3dce869a4ed9 = NULL; assertFrameObject( frame_d61bcc941d012c0a324b3dce869a4ed9 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_13_position ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_line ); var_line = NULL; } { Py_XDECREF( var_col ); var_col = 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_line ); var_line = NULL; } { Py_XDECREF( var_col ); var_col = 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( html5lib$_inputstream$$$function_13_position ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_14_char( 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_chunkOffset = NULL; PyObject *var_char = NULL; struct Nuitka_FrameObject *frame_941d99f591cab6ba5d935040395dce34; 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; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_941d99f591cab6ba5d935040395dce34 = 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_941d99f591cab6ba5d935040395dce34, codeobj_941d99f591cab6ba5d935040395dce34, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_941d99f591cab6ba5d935040395dce34 = cache_frame_941d99f591cab6ba5d935040395dce34; // Push the new frame as the currently active one. pushFrameStack( frame_941d99f591cab6ba5d935040395dce34 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_941d99f591cab6ba5d935040395dce34 ) == 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; PyObject *tmp_source_name_2; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_chunkOffset ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 245; type_description_1 = "ooo"; 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 = 245; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_chunkSize ); 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 = 245; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_GE( 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 = 245; 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:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_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 = 246; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; frame_941d99f591cab6ba5d935040395dce34->m_frame.f_lineno = 246; tmp_operand_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_readChunk ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 246; 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 = 246; type_description_1 = "ooo"; 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_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_EOF ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EOF ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EOF" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 247; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = tmp_mvar_value_1; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_2:; } branch_no_1:; } { 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 = 249; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_chunkOffset ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 249; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_chunkOffset == NULL ); var_chunkOffset = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_4; 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 = 250; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_chunk ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 250; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( var_chunkOffset == 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", "chunkOffset" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 250; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = var_chunkOffset; tmp_assign_source_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 250; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_char == NULL ); var_char = tmp_assign_source_2; } { PyObject *tmp_assattr_name_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_assattr_target_1; if ( var_chunkOffset == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "chunkOffset" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 251; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_1 = var_chunkOffset; tmp_right_name_1 = const_int_pos_1; tmp_assattr_name_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_assattr_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 251; type_description_1 = "ooo"; 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 = 251; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_chunkOffset, 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 = 251; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { if ( var_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 253; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = var_char; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_941d99f591cab6ba5d935040395dce34 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_941d99f591cab6ba5d935040395dce34 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_941d99f591cab6ba5d935040395dce34 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_941d99f591cab6ba5d935040395dce34, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_941d99f591cab6ba5d935040395dce34->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_941d99f591cab6ba5d935040395dce34, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_941d99f591cab6ba5d935040395dce34, type_description_1, par_self, var_chunkOffset, var_char ); // Release cached frame. if ( frame_941d99f591cab6ba5d935040395dce34 == cache_frame_941d99f591cab6ba5d935040395dce34 ) { Py_DECREF( frame_941d99f591cab6ba5d935040395dce34 ); } cache_frame_941d99f591cab6ba5d935040395dce34 = NULL; assertFrameObject( frame_941d99f591cab6ba5d935040395dce34 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_14_char ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_chunkOffset ); var_chunkOffset = NULL; } { Py_XDECREF( var_char ); var_char = 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_chunkOffset ); var_chunkOffset = NULL; } { Py_XDECREF( var_char ); var_char = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_14_char ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_15_readChunk( 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_chunkSize = python_pars[ 1 ]; PyObject *var_data = NULL; PyObject *var_lastv = NULL; PyObject *tmp_comparison_chain_1__comparison_result = NULL; PyObject *tmp_comparison_chain_1__operand_2 = 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_1e1068d0492a5356915d323de7430ce1; 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; bool tmp_result; 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; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_1e1068d0492a5356915d323de7430ce1 = 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_1e1068d0492a5356915d323de7430ce1, codeobj_1e1068d0492a5356915d323de7430ce1, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_1e1068d0492a5356915d323de7430ce1 = cache_frame_1e1068d0492a5356915d323de7430ce1; // Push the new frame as the currently active one. pushFrameStack( frame_1e1068d0492a5356915d323de7430ce1 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_1e1068d0492a5356915d323de7430ce1 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_chunkSize ); tmp_compexpr_left_1 = par_chunkSize; 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_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 = 257; 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__defaultChunkSize ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 257; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = par_chunkSize; par_chunkSize = tmp_assign_source_1; Py_XDECREF( old ); } } branch_no_1:; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_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 = 259; 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__position ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 259; type_description_1 = "oooo"; goto try_except_handler_2; } 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 = 259; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_source_name_3 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_chunkSize ); 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 = 259; type_description_1 = "oooo"; goto try_except_handler_2; } frame_1e1068d0492a5356915d323de7430ce1->m_frame.f_lineno = 259; { 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_called_name_1 ); 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 = 259; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_assign_source_2 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 259; type_description_1 = "oooo"; goto try_except_handler_2; } assert( tmp_tuple_unpack_1__source_iter == NULL ); tmp_tuple_unpack_1__source_iter = tmp_assign_source_2; } { // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_3 == 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 = 259; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_1 == NULL ); tmp_tuple_unpack_1__element_1 = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_2, 1, 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 = 259; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_2 == NULL ); tmp_tuple_unpack_1__element_2 = tmp_assign_source_4; } { 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 = 259; goto try_except_handler_3; } } } 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 = 259; 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_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_2; } // End of try: try_end_1:; } { 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_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assattr_name_1 = tmp_tuple_unpack_1__element_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 = "oooo"; goto try_except_handler_2; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_prevNumLines, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 259; type_description_1 = "oooo"; goto try_except_handler_2; } } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assattr_name_2 = tmp_tuple_unpack_1__element_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 = 259; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_prevNumCols, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 259; type_description_1 = "oooo"; goto try_except_handler_2; } } 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; { 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:; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; tmp_assattr_name_3 = const_str_empty; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 261; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_chunk, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 261; type_description_1 = "oooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; tmp_assattr_name_4 = const_int_0; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 262; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_chunkSize, tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 262; type_description_1 = "oooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_assattr_target_5; tmp_assattr_name_5 = const_int_0; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 263; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_chunkOffset, tmp_assattr_name_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 263; type_description_1 = "oooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_5; PyObject *tmp_called_name_2; PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; 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 = 265; 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_dataStream ); if ( tmp_source_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 265; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_read ); Py_DECREF( tmp_source_name_4 ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 265; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_chunkSize == 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", "chunkSize" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 265; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_chunkSize; frame_1e1068d0492a5356915d323de7430ce1->m_frame.f_lineno = 265; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 265; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_data == NULL ); var_data = tmp_assign_source_5; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_source_name_6; 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 = 268; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain__bufferedCharacter ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 268; type_description_1 = "oooo"; 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 = 268; type_description_1 = "oooo"; 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_6; PyObject *tmp_left_name_1; PyObject *tmp_source_name_7; PyObject *tmp_right_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 = 269; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_self; tmp_left_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain__bufferedCharacter ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 269; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( var_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 269; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_right_name_1 = var_data; tmp_assign_source_6 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 269; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = var_data; var_data = tmp_assign_source_6; Py_XDECREF( old ); } } { PyObject *tmp_assattr_name_6; PyObject *tmp_assattr_target_6; tmp_assattr_name_6 = 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 = 270; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_6 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain__bufferedCharacter, tmp_assattr_name_6 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 270; type_description_1 = "oooo"; goto frame_exception_exit_1; } } goto branch_end_2; branch_no_2:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_1; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 271; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = var_data; 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 = 271; 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:; { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_3:; } branch_end_2:; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_len_arg_1; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 275; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_1 = var_data; tmp_compexpr_left_2 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 275; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = const_int_pos_1; tmp_res = RICH_COMPARE_BOOL_GT( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 275; type_description_1 = "oooo"; 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_7; PyObject *tmp_ord_arg_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 276; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = var_data; tmp_subscript_name_1 = const_int_neg_1; tmp_ord_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, -1 ); if ( tmp_ord_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 276; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_7 = BUILTIN_ORD( tmp_ord_arg_1 ); Py_DECREF( tmp_ord_arg_1 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 276; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_lastv == NULL ); var_lastv = tmp_assign_source_7; } { nuitka_bool tmp_condition_result_5; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_outline_return_value_1; int tmp_truth_name_2; CHECK_OBJECT( var_lastv ); tmp_compexpr_left_3 = var_lastv; tmp_compexpr_right_3 = const_int_pos_13; 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 = 277; 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:; { // Tried code: { PyObject *tmp_assign_source_8; if ( var_lastv == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lastv" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 277; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_assign_source_8 = var_lastv; assert( tmp_comparison_chain_1__operand_2 == NULL ); Py_INCREF( tmp_assign_source_8 ); tmp_comparison_chain_1__operand_2 = tmp_assign_source_8; } { PyObject *tmp_assign_source_9; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; tmp_compexpr_left_4 = const_int_pos_55296; CHECK_OBJECT( tmp_comparison_chain_1__operand_2 ); tmp_compexpr_right_4 = tmp_comparison_chain_1__operand_2; tmp_assign_source_9 = RICH_COMPARE_LE( tmp_compexpr_left_4, tmp_compexpr_right_4 ); if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 277; type_description_1 = "oooo"; goto try_except_handler_4; } assert( tmp_comparison_chain_1__comparison_result == NULL ); tmp_comparison_chain_1__comparison_result = tmp_assign_source_9; } { nuitka_bool tmp_condition_result_6; PyObject *tmp_operand_name_2; CHECK_OBJECT( tmp_comparison_chain_1__comparison_result ); tmp_operand_name_2 = tmp_comparison_chain_1__comparison_result; 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 = 277; type_description_1 = "oooo"; 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_6; } else { goto branch_no_6; } branch_yes_6:; { CHECK_OBJECT( tmp_comparison_chain_1__comparison_result ); tmp_outline_return_value_1 = tmp_comparison_chain_1__comparison_result; Py_INCREF( tmp_outline_return_value_1 ); goto try_return_handler_4; } branch_no_6:; } { PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; CHECK_OBJECT( tmp_comparison_chain_1__operand_2 ); tmp_compexpr_left_5 = tmp_comparison_chain_1__operand_2; tmp_compexpr_right_5 = const_int_pos_56319; tmp_outline_return_value_1 = RICH_COMPARE_LE( tmp_compexpr_left_5, tmp_compexpr_right_5 ); if ( tmp_outline_return_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 277; type_description_1 = "oooo"; goto try_except_handler_4; } goto try_return_handler_4; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_15_readChunk ); return NULL; // Return handler code: try_return_handler_4:; { CHECK_OBJECT( (PyObject *)tmp_comparison_chain_1__operand_2 ); Py_DECREF( tmp_comparison_chain_1__operand_2 ); tmp_comparison_chain_1__operand_2 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_comparison_chain_1__comparison_result ); Py_DECREF( tmp_comparison_chain_1__comparison_result ); tmp_comparison_chain_1__comparison_result = NULL; } { goto outline_result_1; } // Exception handler code: try_except_handler_4:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_comparison_chain_1__operand_2 ); tmp_comparison_chain_1__operand_2 = NULL; } { Py_XDECREF( tmp_comparison_chain_1__comparison_result ); tmp_comparison_chain_1__comparison_result = 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: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_15_readChunk ); return NULL; outline_result_1:; tmp_truth_name_2 = CHECK_IF_TRUE( tmp_outline_return_value_1 ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_outline_return_value_1 ); exception_lineno = 277; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_or_right_value_1 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_outline_return_value_1 ); tmp_condition_result_5 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_5 = tmp_or_left_value_1; or_end_1:; 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_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_assattr_target_7; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 278; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = var_data; tmp_subscript_name_2 = const_int_neg_1; tmp_assattr_name_7 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, -1 ); if ( tmp_assattr_name_7 == 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; } 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 = 278; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_7 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_7, const_str_plain__bufferedCharacter, 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 = 278; type_description_1 = "oooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_10; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 279; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_subscribed_name_3 = var_data; tmp_subscript_name_3 = const_slice_none_int_neg_1_none; tmp_assign_source_10 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 279; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = var_data; var_data = tmp_assign_source_10; Py_XDECREF( old ); } } branch_no_5:; } branch_no_4:; } { nuitka_bool tmp_condition_result_7; PyObject *tmp_source_name_8; 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 = 281; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_8 = par_self; tmp_attribute_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_reportCharacterErrors ); if ( tmp_attribute_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 281; 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 = 281; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_7 = tmp_truth_name_3 == 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_called_name_3; PyObject *tmp_source_name_9; 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 = 282; 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_reportCharacterErrors ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 282; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( var_data == 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", "data" ); 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_args_element_name_3 = var_data; frame_1e1068d0492a5356915d323de7430ce1->m_frame.f_lineno = 282; { 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 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 282; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_7:; } { PyObject *tmp_assign_source_11; PyObject *tmp_called_instance_1; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 285; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = var_data; frame_1e1068d0492a5356915d323de7430ce1->m_frame.f_lineno = 285; tmp_assign_source_11 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_str_digest_7ca129d2d421fe965ad48cbb290b579b_str_newline_tuple, 0 ) ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 285; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = var_data; var_data = tmp_assign_source_11; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_12; PyObject *tmp_called_instance_2; CHECK_OBJECT( var_data ); tmp_called_instance_2 = var_data; frame_1e1068d0492a5356915d323de7430ce1->m_frame.f_lineno = 286; tmp_assign_source_12 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_2, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_str_chr_13_str_newline_tuple, 0 ) ); if ( tmp_assign_source_12 == 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; } { PyObject *old = var_data; var_data = tmp_assign_source_12; Py_XDECREF( old ); } } { PyObject *tmp_assattr_name_8; PyObject *tmp_assattr_target_8; CHECK_OBJECT( var_data ); tmp_assattr_name_8 = var_data; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 288; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_8 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_8, const_str_plain_chunk, tmp_assattr_name_8 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 288; type_description_1 = "oooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_9; PyObject *tmp_len_arg_2; PyObject *tmp_assattr_target_9; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 289; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_2 = var_data; tmp_assattr_name_9 = BUILTIN_LEN( tmp_len_arg_2 ); if ( tmp_assattr_name_9 == 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 ( par_self == NULL ) { Py_DECREF( tmp_assattr_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 = 289; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_9 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_9, const_str_plain_chunkSize, tmp_assattr_name_9 ); Py_DECREF( tmp_assattr_name_9 ); if ( tmp_result == false ) { 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 0 RESTORE_FRAME_EXCEPTION( frame_1e1068d0492a5356915d323de7430ce1 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_1e1068d0492a5356915d323de7430ce1 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_1e1068d0492a5356915d323de7430ce1 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_1e1068d0492a5356915d323de7430ce1, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_1e1068d0492a5356915d323de7430ce1->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_1e1068d0492a5356915d323de7430ce1, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_1e1068d0492a5356915d323de7430ce1, type_description_1, par_self, par_chunkSize, var_data, var_lastv ); // Release cached frame. if ( frame_1e1068d0492a5356915d323de7430ce1 == cache_frame_1e1068d0492a5356915d323de7430ce1 ) { Py_DECREF( frame_1e1068d0492a5356915d323de7430ce1 ); } cache_frame_1e1068d0492a5356915d323de7430ce1 = NULL; assertFrameObject( frame_1e1068d0492a5356915d323de7430ce1 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { 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( html5lib$_inputstream$$$function_15_readChunk ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_chunkSize ); par_chunkSize = NULL; } { Py_XDECREF( var_data ); var_data = NULL; } { Py_XDECREF( var_lastv ); var_lastv = 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_chunkSize ); par_chunkSize = NULL; } { Py_XDECREF( var_data ); var_data = NULL; } { Py_XDECREF( var_lastv ); var_lastv = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_15_readChunk ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_16_characterErrorsUCS4( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_data = python_pars[ 1 ]; PyObject *var__ = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_4506ad6087494798b7cfe0cf18fe7651; 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 *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_4506ad6087494798b7cfe0cf18fe7651 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_4506ad6087494798b7cfe0cf18fe7651, codeobj_4506ad6087494798b7cfe0cf18fe7651, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_4506ad6087494798b7cfe0cf18fe7651 = cache_frame_4506ad6087494798b7cfe0cf18fe7651; // Push the new frame as the currently active one. pushFrameStack( frame_4506ad6087494798b7cfe0cf18fe7651 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4506ad6087494798b7cfe0cf18fe7651 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_xrange_low_1; PyObject *tmp_len_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_invalid_unicode_re ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_invalid_unicode_re ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "invalid_unicode_re" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 294; 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_findall ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 294; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_data == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 294; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_data; frame_4506ad6087494798b7cfe0cf18fe7651->m_frame.f_lineno = 294; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_len_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_len_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 294; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_xrange_low_1 = BUILTIN_LEN( tmp_len_arg_1 ); Py_DECREF( tmp_len_arg_1 ); if ( tmp_xrange_low_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 294; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_iter_arg_1 = BUILTIN_XRANGE1( tmp_xrange_low_1 ); Py_DECREF( tmp_xrange_low_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 294; 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 = 294; 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 = 294; 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__; var__ = tmp_assign_source_3; Py_INCREF( var__ ); Py_XDECREF( old ); } } { PyObject *tmp_called_instance_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 = "ooo"; goto try_except_handler_2; } tmp_source_name_2 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_errors ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 295; type_description_1 = "ooo"; goto try_except_handler_2; } frame_4506ad6087494798b7cfe0cf18fe7651->m_frame.f_lineno = 295; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_append, &PyTuple_GET_ITEM( const_tuple_str_digest_0ad9292060a80cb2eff8ba743f112977_tuple, 0 ) ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 295; type_description_1 = "ooo"; 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 = 294; 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:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_4506ad6087494798b7cfe0cf18fe7651 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4506ad6087494798b7cfe0cf18fe7651 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4506ad6087494798b7cfe0cf18fe7651, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4506ad6087494798b7cfe0cf18fe7651->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4506ad6087494798b7cfe0cf18fe7651, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4506ad6087494798b7cfe0cf18fe7651, type_description_1, par_self, par_data, var__ ); // Release cached frame. if ( frame_4506ad6087494798b7cfe0cf18fe7651 == cache_frame_4506ad6087494798b7cfe0cf18fe7651 ) { Py_DECREF( frame_4506ad6087494798b7cfe0cf18fe7651 ); } cache_frame_4506ad6087494798b7cfe0cf18fe7651 = NULL; assertFrameObject( frame_4506ad6087494798b7cfe0cf18fe7651 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_16_characterErrorsUCS4 ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( var__ ); var__ = 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_data ); par_data = NULL; } { Py_XDECREF( var__ ); var__ = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_16_characterErrorsUCS4 ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_17_characterErrorsUCS2( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_data = python_pars[ 1 ]; PyObject *var_skip = NULL; PyObject *var_match = NULL; PyObject *var_codepoint = NULL; PyObject *var_pos = NULL; PyObject *var_char_val = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_7b8059cf035880e0c4ecd7fb10c9cd18; 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; static struct Nuitka_FrameObject *cache_frame_7b8059cf035880e0c4ecd7fb10c9cd18 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_False; assert( var_skip == NULL ); Py_INCREF( tmp_assign_source_1 ); var_skip = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_7b8059cf035880e0c4ecd7fb10c9cd18, codeobj_7b8059cf035880e0c4ecd7fb10c9cd18, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_7b8059cf035880e0c4ecd7fb10c9cd18 = cache_frame_7b8059cf035880e0c4ecd7fb10c9cd18; // Push the new frame as the currently active one. pushFrameStack( frame_7b8059cf035880e0c4ecd7fb10c9cd18 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7b8059cf035880e0c4ecd7fb10c9cd18 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_invalid_unicode_re ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_invalid_unicode_re ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "invalid_unicode_re" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 301; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_finditer ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 301; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( par_data == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 301; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_data; frame_7b8059cf035880e0c4ecd7fb10c9cd18->m_frame.f_lineno = 301; { 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_called_name_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 301; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 301; type_description_1 = "ooooooo"; 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 = "ooooooo"; 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_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_match; var_match = tmp_assign_source_4; Py_INCREF( var_match ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; if ( var_skip == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "skip" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 302; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_truth_name_1 = CHECK_IF_TRUE( var_skip ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; type_description_1 = "ooooooo"; goto try_except_handler_2; } 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:; { goto loop_start_1; } branch_no_1:; } { PyObject *tmp_assign_source_5; PyObject *tmp_ord_arg_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( var_match ); tmp_called_instance_1 = var_match; frame_7b8059cf035880e0c4ecd7fb10c9cd18->m_frame.f_lineno = 304; tmp_ord_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_group ); if ( tmp_ord_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 304; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_assign_source_5 = BUILTIN_ORD( tmp_ord_arg_1 ); Py_DECREF( tmp_ord_arg_1 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 304; type_description_1 = "ooooooo"; goto try_except_handler_2; } { PyObject *old = var_codepoint; var_codepoint = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; PyObject *tmp_called_instance_2; 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 = 305; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_called_instance_2 = var_match; frame_7b8059cf035880e0c4ecd7fb10c9cd18->m_frame.f_lineno = 305; tmp_assign_source_6 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_start ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 305; type_description_1 = "ooooooo"; goto try_except_handler_2; } { PyObject *old = var_pos; var_pos = tmp_assign_source_6; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_step_name_1; int tmp_truth_name_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain__utils ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__utils ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_utils" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 307; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_2 = tmp_mvar_value_2; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_isSurrogatePair ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 307; type_description_1 = "ooooooo"; goto try_except_handler_2; } if ( par_data == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 307; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_subscribed_name_1 = par_data; if ( var_pos == 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", "pos" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 307; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_start_name_1 = var_pos; if ( var_pos == 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", "pos" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 307; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_left_name_1 = var_pos; tmp_right_name_1 = const_int_pos_2; tmp_stop_name_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 307; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_args_element_name_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_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 = 307; type_description_1 = "ooooooo"; goto try_except_handler_2; } frame_7b8059cf035880e0c4ecd7fb10c9cd18->m_frame.f_lineno = 307; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 307; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_truth_name_2 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 307; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_condition_result_2 = tmp_truth_name_2 == 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:; { PyObject *tmp_assign_source_7; PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_3; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_start_name_2; PyObject *tmp_stop_name_2; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_step_name_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain__utils ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__utils ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_utils" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 309; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_3 = tmp_mvar_value_3; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_surrogatePairToCodepoint ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 309; type_description_1 = "ooooooo"; goto try_except_handler_2; } if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 309; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_subscribed_name_2 = par_data; if ( var_pos == 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", "pos" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 309; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_start_name_2 = var_pos; if ( var_pos == 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", "pos" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 309; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_left_name_2 = var_pos; tmp_right_name_2 = const_int_pos_2; tmp_stop_name_2 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_stop_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 309; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_step_name_2 = Py_None; tmp_subscript_name_2 = MAKE_SLICEOBJ3( tmp_start_name_2, tmp_stop_name_2, tmp_step_name_2 ); Py_DECREF( tmp_stop_name_2 ); assert( !(tmp_subscript_name_2 == NULL) ); tmp_args_element_name_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscript_name_2 ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 309; type_description_1 = "ooooooo"; goto try_except_handler_2; } frame_7b8059cf035880e0c4ecd7fb10c9cd18->m_frame.f_lineno = 309; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 309; type_description_1 = "ooooooo"; goto try_except_handler_2; } { PyObject *old = var_char_val; var_char_val = tmp_assign_source_7; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_mvar_value_4; CHECK_OBJECT( var_char_val ); tmp_compexpr_left_1 = var_char_val; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_non_bmp_invalid_codepoints ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_non_bmp_invalid_codepoints ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "non_bmp_invalid_codepoints" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 310; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_compexpr_right_1 = tmp_mvar_value_4; 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 = 310; type_description_1 = "ooooooo"; goto try_except_handler_2; } 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:; { PyObject *tmp_called_instance_3; PyObject *tmp_source_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 = 311; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_4 = par_self; tmp_called_instance_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_errors ); if ( tmp_called_instance_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 311; type_description_1 = "ooooooo"; goto try_except_handler_2; } frame_7b8059cf035880e0c4ecd7fb10c9cd18->m_frame.f_lineno = 311; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_append, &PyTuple_GET_ITEM( const_tuple_str_digest_0ad9292060a80cb2eff8ba743f112977_tuple, 0 ) ); Py_DECREF( tmp_called_instance_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 311; type_description_1 = "ooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_3:; } { PyObject *tmp_assign_source_8; tmp_assign_source_8 = Py_True; { PyObject *old = var_skip; var_skip = tmp_assign_source_8; Py_INCREF( var_skip ); Py_XDECREF( old ); } } goto branch_end_2; branch_no_2:; { 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_compexpr_left_2; PyObject *tmp_compexpr_right_2; 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; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_left_name_3; PyObject *tmp_len_arg_1; PyObject *tmp_right_name_3; if ( var_codepoint == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "codepoint" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 313; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_compexpr_left_2 = var_codepoint; tmp_compexpr_right_2 = const_int_pos_55296; tmp_res = RICH_COMPARE_BOOL_GE( 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 = 313; type_description_1 = "ooooooo"; 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:; if ( var_codepoint == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "codepoint" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 313; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_compexpr_left_3 = var_codepoint; tmp_compexpr_right_3 = const_int_pos_57343; tmp_res = RICH_COMPARE_BOOL_LE( 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 = 313; type_description_1 = "ooooooo"; 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_pos == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pos" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 314; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_compexpr_left_4 = var_pos; if ( par_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 314; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_len_arg_1 = par_data; tmp_left_name_3 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_left_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 314; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_right_name_3 = const_int_pos_1; tmp_compexpr_right_4 = BINARY_OPERATION_SUB( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_left_name_3 ); if ( tmp_compexpr_right_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 314; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_4, tmp_compexpr_right_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 = 314; type_description_1 = "ooooooo"; 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_instance_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 = 315; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_5 = par_self; tmp_called_instance_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_errors ); if ( tmp_called_instance_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 315; type_description_1 = "ooooooo"; goto try_except_handler_2; } frame_7b8059cf035880e0c4ecd7fb10c9cd18->m_frame.f_lineno = 315; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, const_str_plain_append, &PyTuple_GET_ITEM( const_tuple_str_digest_0ad9292060a80cb2eff8ba743f112977_tuple, 0 ) ); Py_DECREF( tmp_called_instance_4 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 315; type_description_1 = "ooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } goto branch_end_4; branch_no_4:; { PyObject *tmp_assign_source_9; tmp_assign_source_9 = Py_False; { PyObject *old = var_skip; var_skip = tmp_assign_source_9; Py_INCREF( var_skip ); Py_XDECREF( old ); } } { PyObject *tmp_called_instance_5; PyObject *tmp_source_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 = 318; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_6 = par_self; tmp_called_instance_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_errors ); if ( tmp_called_instance_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 318; type_description_1 = "ooooooo"; goto try_except_handler_2; } frame_7b8059cf035880e0c4ecd7fb10c9cd18->m_frame.f_lineno = 318; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_5, const_str_plain_append, &PyTuple_GET_ITEM( const_tuple_str_digest_0ad9292060a80cb2eff8ba743f112977_tuple, 0 ) ); Py_DECREF( tmp_called_instance_5 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 318; type_description_1 = "ooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_end_4:; } branch_end_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 301; type_description_1 = "ooooooo"; 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:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_7b8059cf035880e0c4ecd7fb10c9cd18 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7b8059cf035880e0c4ecd7fb10c9cd18 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7b8059cf035880e0c4ecd7fb10c9cd18, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7b8059cf035880e0c4ecd7fb10c9cd18->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7b8059cf035880e0c4ecd7fb10c9cd18, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7b8059cf035880e0c4ecd7fb10c9cd18, type_description_1, par_self, par_data, var_skip, var_match, var_codepoint, var_pos, var_char_val ); // Release cached frame. if ( frame_7b8059cf035880e0c4ecd7fb10c9cd18 == cache_frame_7b8059cf035880e0c4ecd7fb10c9cd18 ) { Py_DECREF( frame_7b8059cf035880e0c4ecd7fb10c9cd18 ); } cache_frame_7b8059cf035880e0c4ecd7fb10c9cd18 = NULL; assertFrameObject( frame_7b8059cf035880e0c4ecd7fb10c9cd18 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_17_characterErrorsUCS2 ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( var_skip ); var_skip = NULL; } { Py_XDECREF( var_match ); var_match = NULL; } { Py_XDECREF( var_codepoint ); var_codepoint = NULL; } { Py_XDECREF( var_pos ); var_pos = NULL; } { Py_XDECREF( var_char_val ); var_char_val = 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_data ); par_data = NULL; } { Py_XDECREF( var_skip ); var_skip = NULL; } { Py_XDECREF( var_match ); var_match = NULL; } { Py_XDECREF( var_codepoint ); var_codepoint = NULL; } { Py_XDECREF( var_pos ); var_pos = NULL; } { Py_XDECREF( var_char_val ); var_char_val = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_17_characterErrorsUCS2 ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_18_charsUntil( 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_characters = python_pars[ 1 ]; PyObject *par_opposite = python_pars[ 2 ]; PyObject *var_chars = NULL; PyObject *var_c = NULL; PyObject *var_regex = NULL; PyObject *var_rv = NULL; PyObject *var_m = NULL; PyObject *var_end = NULL; PyObject *var_r = NULL; PyObject *outline_0_var_c = NULL; PyObject *tmp_assign_unpack_1__assign_source = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = 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_4752019545b2074bff148ecbcf59b766; 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; struct Nuitka_FrameObject *frame_12c1989b8c0cf6b8b8174d431809ef63_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = 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_12c1989b8c0cf6b8b8174d431809ef63_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; 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; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_4752019545b2074bff148ecbcf59b766 = NULL; PyObject *tmp_return_value = 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. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_4752019545b2074bff148ecbcf59b766, codeobj_4752019545b2074bff148ecbcf59b766, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_4752019545b2074bff148ecbcf59b766 = cache_frame_4752019545b2074bff148ecbcf59b766; // Push the new frame as the currently active one. pushFrameStack( frame_4752019545b2074bff148ecbcf59b766 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4752019545b2074bff148ecbcf59b766 ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_subscript_name_1; PyObject *tmp_tuple_element_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_charsUntilRegEx ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_charsUntilRegEx ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "charsUntilRegEx" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 329; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_characters ); tmp_tuple_element_1 = par_characters; tmp_subscript_name_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_subscript_name_1, 0, tmp_tuple_element_1 ); CHECK_OBJECT( par_opposite ); tmp_tuple_element_1 = par_opposite; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_subscript_name_1, 1, tmp_tuple_element_1 ); tmp_assign_source_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 329; type_description_1 = "oooooooooo"; goto try_except_handler_2; } assert( var_chars == NULL ); var_chars = tmp_assign_source_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; { // 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_4752019545b2074bff148ecbcf59b766, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_4752019545b2074bff148ecbcf59b766, 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_KeyError; 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 = 330; type_description_1 = "oooooooooo"; goto try_except_handler_3; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; if ( par_characters == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "characters" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 332; type_description_1 = "oooooooooo"; goto try_except_handler_3; } tmp_iter_arg_1 = par_characters; 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 = 332; type_description_1 = "oooooooooo"; goto try_except_handler_3; } 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 = "oooooooooo"; exception_lineno = 332; goto try_except_handler_4; } } { 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_c; var_c = tmp_assign_source_4; Py_INCREF( var_c ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_ord_arg_1; CHECK_OBJECT( var_c ); tmp_ord_arg_1 = var_c; tmp_compexpr_left_2 = BUILTIN_ORD( tmp_ord_arg_1 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 333; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_compexpr_right_2 = const_int_pos_128; tmp_operand_name_1 = RICH_COMPARE_LT( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 333; type_description_1 = "oooooooooo"; goto try_except_handler_4; } 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 = 333; type_description_1 = "oooooooooo"; 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; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 333; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooooo"; goto try_except_handler_4; } branch_no_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 332; type_description_1 = "oooooooooo"; goto try_except_handler_4; } goto loop_start_1; loop_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_4:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_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_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_3; } // End of try: try_end_2:; } { 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_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; tmp_source_name_1 = const_str_empty; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_join ); assert( !(tmp_called_name_1 == NULL) ); { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_iter_arg_2; if ( par_characters == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "characters" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 334; type_description_1 = "oooooooooo"; goto try_except_handler_5; } tmp_iter_arg_2 = par_characters; tmp_assign_source_6 = MAKE_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 334; type_description_1 = "oooooooooo"; goto try_except_handler_5; } assert( tmp_listcomp_1__$0 == NULL ); tmp_listcomp_1__$0 = tmp_assign_source_6; } { PyObject *tmp_assign_source_7; tmp_assign_source_7 = PyList_New( 0 ); assert( tmp_listcomp_1__contraction == NULL ); tmp_listcomp_1__contraction = tmp_assign_source_7; } MAKE_OR_REUSE_FRAME( cache_frame_12c1989b8c0cf6b8b8174d431809ef63_2, codeobj_12c1989b8c0cf6b8b8174d431809ef63, module_html5lib$_inputstream, sizeof(void *) ); frame_12c1989b8c0cf6b8b8174d431809ef63_2 = cache_frame_12c1989b8c0cf6b8b8174d431809ef63_2; // Push the new frame as the currently active one. pushFrameStack( frame_12c1989b8c0cf6b8b8174d431809ef63_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_12c1989b8c0cf6b8b8174d431809ef63_2 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_8; CHECK_OBJECT( tmp_listcomp_1__$0 ); tmp_next_source_2 = tmp_listcomp_1__$0; tmp_assign_source_8 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_8 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_2; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_2 = "o"; exception_lineno = 334; goto try_except_handler_6; } } { PyObject *old = tmp_listcomp_1__iter_value_0; tmp_listcomp_1__iter_value_0 = tmp_assign_source_8; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_listcomp_1__iter_value_0 ); tmp_assign_source_9 = tmp_listcomp_1__iter_value_0; { PyObject *old = outline_0_var_c; outline_0_var_c = tmp_assign_source_9; Py_INCREF( outline_0_var_c ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_ord_arg_2; CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_append_list_1 = tmp_listcomp_1__contraction; tmp_left_name_1 = const_str_digest_c73783b8078c4c1a8b6a4e43800e9a44; CHECK_OBJECT( outline_0_var_c ); tmp_ord_arg_2 = outline_0_var_c; tmp_right_name_1 = BUILTIN_ORD( tmp_ord_arg_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 334; type_description_2 = "o"; goto try_except_handler_6; } tmp_append_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_append_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 334; type_description_2 = "o"; goto try_except_handler_6; } 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 = 334; type_description_2 = "o"; goto try_except_handler_6; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 334; type_description_2 = "o"; goto try_except_handler_6; } goto loop_start_2; loop_end_2:; } { 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_6; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_18_charsUntil ); return NULL; // Return handler code: try_return_handler_6:; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_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; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_2; } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_12c1989b8c0cf6b8b8174d431809ef63_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_12c1989b8c0cf6b8b8174d431809ef63_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_5; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_12c1989b8c0cf6b8b8174d431809ef63_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_12c1989b8c0cf6b8b8174d431809ef63_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_12c1989b8c0cf6b8b8174d431809ef63_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_12c1989b8c0cf6b8b8174d431809ef63_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_12c1989b8c0cf6b8b8174d431809ef63_2, type_description_2, outline_0_var_c ); // Release cached frame. if ( frame_12c1989b8c0cf6b8b8174d431809ef63_2 == cache_frame_12c1989b8c0cf6b8b8174d431809ef63_2 ) { Py_DECREF( frame_12c1989b8c0cf6b8b8174d431809ef63_2 ); } cache_frame_12c1989b8c0cf6b8b8174d431809ef63_2 = NULL; assertFrameObject( frame_12c1989b8c0cf6b8b8174d431809ef63_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 = "oooooooooo"; goto try_except_handler_5; skip_nested_handling_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_18_charsUntil ); return NULL; // Return handler code: try_return_handler_5:; { Py_XDECREF( outline_0_var_c ); outline_0_var_c = NULL; } { goto outline_result_1; } // Exception handler code: try_except_handler_5:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( outline_0_var_c ); outline_0_var_c = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_18_charsUntil ); return NULL; outline_exception_1:; exception_lineno = 334; goto try_except_handler_3; outline_result_1:; frame_4752019545b2074bff148ecbcf59b766->m_frame.f_lineno = 334; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_5 = 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_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 334; type_description_1 = "oooooooooo"; goto try_except_handler_3; } assert( var_regex == NULL ); var_regex = tmp_assign_source_5; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_2; if ( par_opposite == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "opposite" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 335; type_description_1 = "oooooooooo"; goto try_except_handler_3; } tmp_operand_name_2 = par_opposite; 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 = 335; type_description_1 = "oooooooooo"; goto try_except_handler_3; } tmp_condition_result_3 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_10; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; tmp_left_name_2 = const_str_digest_2b2246c2a4cc33c83c486897cff2f3d7; if ( var_regex == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "regex" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 336; type_description_1 = "oooooooooo"; goto try_except_handler_3; } tmp_right_name_2 = var_regex; tmp_assign_source_10 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 336; type_description_1 = "oooooooooo"; goto try_except_handler_3; } { PyObject *old = var_regex; var_regex = tmp_assign_source_10; Py_XDECREF( old ); } } branch_no_3:; } { // Tried code: { PyObject *tmp_assign_source_11; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (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 = 337; type_description_1 = "oooooooooo"; goto try_except_handler_7; } tmp_source_name_2 = tmp_mvar_value_2; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_compile ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 337; type_description_1 = "oooooooooo"; goto try_except_handler_7; } tmp_left_name_3 = const_str_digest_69ec05153bee1ab016c8162b3966c928; if ( var_regex == 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", "regex" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 337; type_description_1 = "oooooooooo"; goto try_except_handler_7; } tmp_right_name_3 = var_regex; tmp_args_element_name_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 337; type_description_1 = "oooooooooo"; goto try_except_handler_7; } frame_4752019545b2074bff148ecbcf59b766->m_frame.f_lineno = 337; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_11 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 337; type_description_1 = "oooooooooo"; goto try_except_handler_7; } assert( tmp_assign_unpack_1__assign_source == NULL ); tmp_assign_unpack_1__assign_source = tmp_assign_source_11; } { PyObject *tmp_assign_source_12; CHECK_OBJECT( tmp_assign_unpack_1__assign_source ); tmp_assign_source_12 = tmp_assign_unpack_1__assign_source; assert( var_chars == NULL ); Py_INCREF( tmp_assign_source_12 ); var_chars = tmp_assign_source_12; } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_mvar_value_3; PyObject *tmp_ass_subscript_1; PyObject *tmp_tuple_element_2; CHECK_OBJECT( tmp_assign_unpack_1__assign_source ); tmp_ass_subvalue_1 = tmp_assign_unpack_1__assign_source; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_charsUntilRegEx ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_charsUntilRegEx ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "charsUntilRegEx" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 337; type_description_1 = "oooooooooo"; goto try_except_handler_7; } tmp_ass_subscribed_1 = tmp_mvar_value_3; if ( par_characters == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "characters" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 337; type_description_1 = "oooooooooo"; goto try_except_handler_7; } tmp_tuple_element_2 = par_characters; tmp_ass_subscript_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_ass_subscript_1, 0, tmp_tuple_element_2 ); if ( par_opposite == NULL ) { Py_DECREF( tmp_ass_subscript_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "opposite" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 337; type_description_1 = "oooooooooo"; goto try_except_handler_7; } tmp_tuple_element_2 = par_opposite; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_ass_subscript_1, 1, tmp_tuple_element_2 ); tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subscript_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 337; type_description_1 = "oooooooooo"; goto try_except_handler_7; } } goto try_end_3; // Exception handler code: try_except_handler_7:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_assign_unpack_1__assign_source ); tmp_assign_unpack_1__assign_source = NULL; } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_3; } // End of try: try_end_3:; } { CHECK_OBJECT( (PyObject *)tmp_assign_unpack_1__assign_source ); Py_DECREF( tmp_assign_unpack_1__assign_source ); tmp_assign_unpack_1__assign_source = NULL; } goto branch_end_1; branch_no_1:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 328; } if (exception_tb && exception_tb->tb_frame == &frame_4752019545b2074bff148ecbcf59b766->m_frame) frame_4752019545b2074bff148ecbcf59b766->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooooooo"; goto try_except_handler_3; } branch_end_1:; } goto try_end_4; // Exception handler code: try_except_handler_3:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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_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:; } { // 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( html5lib$_inputstream$$$function_18_charsUntil ); return NULL; // End of try: try_end_1:; } { PyObject *tmp_assign_source_13; tmp_assign_source_13 = PyList_New( 0 ); assert( var_rv == NULL ); var_rv = tmp_assign_source_13; } { loop_start_3:; { PyObject *tmp_assign_source_14; PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_3; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_4; PyObject *tmp_source_name_5; if ( var_chars == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "chars" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 343; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = var_chars; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_match ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 343; type_description_1 = "oooooooooo"; 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 = 343; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_chunk ); 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 = 343; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_3 ); 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", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 343; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_chunkOffset ); 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 ); Py_DECREF( tmp_args_element_name_3 ); exception_lineno = 343; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } frame_4752019545b2074bff148ecbcf59b766->m_frame.f_lineno = 343; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_assign_source_14 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_3 ); Py_DECREF( tmp_args_element_name_4 ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 343; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_m; var_m = tmp_assign_source_14; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT( var_m ); tmp_compexpr_left_3 = var_m; tmp_compexpr_right_3 = Py_None; tmp_condition_result_4 = ( tmp_compexpr_left_3 == tmp_compexpr_right_3 ) ? 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_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_source_name_6; 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 = 347; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_compexpr_left_4 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_chunkOffset ); if ( tmp_compexpr_left_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 347; type_description_1 = "oooooooooo"; 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 = 347; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_self; tmp_compexpr_right_4 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_chunkSize ); 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 = 347; type_description_1 = "oooooooooo"; 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 = 347; type_description_1 = "oooooooooo"; 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:; { goto loop_end_3; } branch_no_5:; } goto branch_end_4; branch_no_4:; { PyObject *tmp_assign_source_15; PyObject *tmp_called_instance_1; 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 = 350; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = var_m; frame_4752019545b2074bff148ecbcf59b766->m_frame.f_lineno = 350; tmp_assign_source_15 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_end ); if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 350; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_end; var_end = tmp_assign_source_15; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_source_name_8; CHECK_OBJECT( var_end ); tmp_compexpr_left_5 = var_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 = 353; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_8 = par_self; tmp_compexpr_right_5 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_chunkSize ); if ( tmp_compexpr_right_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 353; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } 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 = 353; type_description_1 = "oooooooooo"; 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_called_name_4; PyObject *tmp_source_name_9; PyObject *tmp_args_element_name_5; PyObject *tmp_subscribed_name_2; PyObject *tmp_source_name_10; PyObject *tmp_subscript_name_2; PyObject *tmp_start_name_1; PyObject *tmp_source_name_11; PyObject *tmp_stop_name_1; PyObject *tmp_step_name_1; if ( var_rv == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rv" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 354; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_9 = var_rv; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_append ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 354; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } if ( par_self == 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", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 354; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_10 = par_self; tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_chunk ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 354; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_subscribed_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 = 354; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_11 = par_self; tmp_start_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_chunkOffset ); if ( tmp_start_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_subscribed_name_2 ); exception_lineno = 354; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } if ( var_end == NULL ) { Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_subscribed_name_2 ); Py_DECREF( tmp_start_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "end" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 354; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_stop_name_1 = var_end; tmp_step_name_1 = Py_None; tmp_subscript_name_2 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_start_name_1 ); assert( !(tmp_subscript_name_2 == NULL) ); tmp_args_element_name_5 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); Py_DECREF( tmp_subscript_name_2 ); if ( tmp_args_element_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 354; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } frame_4752019545b2074bff148ecbcf59b766->m_frame.f_lineno = 354; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); 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 = 354; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( var_end == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "end" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 355; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = var_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 = 355; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_chunkOffset, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 355; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } } { goto loop_end_3; } branch_no_6:; } branch_end_4:; } { PyObject *tmp_called_name_5; PyObject *tmp_source_name_12; PyObject *tmp_args_element_name_6; PyObject *tmp_subscribed_name_3; PyObject *tmp_source_name_13; PyObject *tmp_subscript_name_3; PyObject *tmp_start_name_2; PyObject *tmp_source_name_14; PyObject *tmp_stop_name_2; PyObject *tmp_step_name_2; if ( var_rv == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rv" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 359; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_12 = var_rv; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_append ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 359; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } if ( par_self == 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", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 359; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_13 = par_self; tmp_subscribed_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_chunk ); if ( tmp_subscribed_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_5 ); exception_lineno = 359; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_5 ); Py_DECREF( tmp_subscribed_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 = 359; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_source_name_14 = par_self; tmp_start_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_chunkOffset ); if ( tmp_start_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_5 ); Py_DECREF( tmp_subscribed_name_3 ); exception_lineno = 359; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_stop_name_2 = Py_None; tmp_step_name_2 = Py_None; tmp_subscript_name_3 = MAKE_SLICEOBJ3( tmp_start_name_2, tmp_stop_name_2, tmp_step_name_2 ); Py_DECREF( tmp_start_name_2 ); assert( !(tmp_subscript_name_3 == NULL) ); tmp_args_element_name_6 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); Py_DECREF( tmp_subscribed_name_3 ); Py_DECREF( tmp_subscript_name_3 ); if ( tmp_args_element_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_5 ); exception_lineno = 359; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } frame_4752019545b2074bff148ecbcf59b766->m_frame.f_lineno = 359; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); Py_DECREF( tmp_args_element_name_6 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 359; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_7; PyObject *tmp_operand_name_3; PyObject *tmp_called_instance_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 = 360; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_self; frame_4752019545b2074bff148ecbcf59b766->m_frame.f_lineno = 360; tmp_operand_name_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_readChunk ); if ( tmp_operand_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 360; type_description_1 = "oooooooooo"; 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 = 360; type_description_1 = "oooooooooo"; 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:; { goto loop_end_3; } branch_no_7:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 341; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } goto loop_start_3; loop_end_3:; } { PyObject *tmp_assign_source_16; PyObject *tmp_called_name_6; PyObject *tmp_source_name_15; PyObject *tmp_args_element_name_7; tmp_source_name_15 = const_str_empty; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_join ); assert( !(tmp_called_name_6 == NULL) ); if ( var_rv == 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", "rv" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 364; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = var_rv; frame_4752019545b2074bff148ecbcf59b766->m_frame.f_lineno = 364; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_assign_source_16 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 364; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } assert( var_r == NULL ); var_r = tmp_assign_source_16; } #if 0 RESTORE_FRAME_EXCEPTION( frame_4752019545b2074bff148ecbcf59b766 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4752019545b2074bff148ecbcf59b766 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4752019545b2074bff148ecbcf59b766, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4752019545b2074bff148ecbcf59b766->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4752019545b2074bff148ecbcf59b766, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4752019545b2074bff148ecbcf59b766, type_description_1, par_self, par_characters, par_opposite, var_chars, var_c, var_regex, var_rv, var_m, var_end, var_r ); // Release cached frame. if ( frame_4752019545b2074bff148ecbcf59b766 == cache_frame_4752019545b2074bff148ecbcf59b766 ) { Py_DECREF( frame_4752019545b2074bff148ecbcf59b766 ); } cache_frame_4752019545b2074bff148ecbcf59b766 = NULL; assertFrameObject( frame_4752019545b2074bff148ecbcf59b766 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_2:; { 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( html5lib$_inputstream$$$function_18_charsUntil ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_characters ); par_characters = NULL; } { Py_XDECREF( par_opposite ); par_opposite = NULL; } { Py_XDECREF( var_chars ); var_chars = NULL; } { Py_XDECREF( var_c ); var_c = NULL; } { Py_XDECREF( var_regex ); var_regex = NULL; } { Py_XDECREF( var_rv ); var_rv = NULL; } { Py_XDECREF( var_m ); var_m = NULL; } { Py_XDECREF( var_end ); var_end = NULL; } { Py_XDECREF( var_r ); var_r = 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_characters ); par_characters = NULL; } { Py_XDECREF( par_opposite ); par_opposite = NULL; } { Py_XDECREF( var_chars ); var_chars = NULL; } { Py_XDECREF( var_c ); var_c = NULL; } { Py_XDECREF( var_regex ); var_regex = NULL; } { Py_XDECREF( var_rv ); var_rv = NULL; } { Py_XDECREF( var_m ); var_m = NULL; } { Py_XDECREF( var_end ); var_end = 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( html5lib$_inputstream$$$function_18_charsUntil ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_19_unget( 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_char = python_pars[ 1 ]; PyObject *tmp_inplace_assign_attr_1__end = NULL; PyObject *tmp_inplace_assign_attr_1__start = NULL; PyObject *tmp_inplace_assign_attr_2__end = NULL; PyObject *tmp_inplace_assign_attr_2__start = NULL; struct Nuitka_FrameObject *frame_dd099ba0bf9d2d0c20fb6b84127a36d9; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *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; static struct Nuitka_FrameObject *cache_frame_dd099ba0bf9d2d0c20fb6b84127a36d9 = NULL; PyObject *tmp_return_value = 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_dd099ba0bf9d2d0c20fb6b84127a36d9, codeobj_dd099ba0bf9d2d0c20fb6b84127a36d9, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *) ); frame_dd099ba0bf9d2d0c20fb6b84127a36d9 = cache_frame_dd099ba0bf9d2d0c20fb6b84127a36d9; // Push the new frame as the currently active one. pushFrameStack( frame_dd099ba0bf9d2d0c20fb6b84127a36d9 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_dd099ba0bf9d2d0c20fb6b84127a36d9 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_char ); tmp_compexpr_left_1 = par_char; 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:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; 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 = 371; 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_chunkOffset ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 371; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = const_int_0; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 371; 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:; { PyObject *tmp_assattr_name_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_source_name_2; PyObject *tmp_assattr_target_1; if ( par_char == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 377; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_left_name_1 = par_char; 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 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_right_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_chunk ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 377; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_assattr_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 377; type_description_1 = "oo"; 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 = 377; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_chunk, 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 = 377; type_description_1 = "oo"; goto frame_exception_exit_1; } } { 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 = 378; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_chunkSize ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 378; 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_2; PyObject *tmp_right_name_2; CHECK_OBJECT( tmp_inplace_assign_attr_1__start ); tmp_left_name_2 = tmp_inplace_assign_attr_1__start; tmp_right_name_2 = const_int_pos_1; tmp_assign_source_2 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_2, tmp_right_name_2 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 378; 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_2; PyObject *tmp_assattr_target_2; CHECK_OBJECT( tmp_inplace_assign_attr_1__end ); tmp_assattr_name_2 = 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 = 378; type_description_1 = "oo"; goto try_except_handler_3; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_chunkSize, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 378; 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; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_3; PyObject *tmp_source_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 = 380; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_assign_source_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_chunkOffset ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 380; type_description_1 = "oo"; goto frame_exception_exit_1; } assert( tmp_inplace_assign_attr_2__start == NULL ); tmp_inplace_assign_attr_2__start = tmp_assign_source_3; } { // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; CHECK_OBJECT( tmp_inplace_assign_attr_2__start ); tmp_left_name_3 = tmp_inplace_assign_attr_2__start; tmp_right_name_3 = const_int_pos_1; tmp_assign_source_4 = BINARY_OPERATION( PyNumber_InPlaceSubtract, tmp_left_name_3, tmp_right_name_3 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 380; type_description_1 = "oo"; goto try_except_handler_4; } assert( tmp_inplace_assign_attr_2__end == NULL ); tmp_inplace_assign_attr_2__end = tmp_assign_source_4; } { // Tried code: { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; CHECK_OBJECT( tmp_inplace_assign_attr_2__end ); tmp_assattr_name_3 = tmp_inplace_assign_attr_2__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 = 380; type_description_1 = "oo"; goto try_except_handler_5; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_chunkOffset, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 380; type_description_1 = "oo"; goto try_except_handler_5; } } goto try_end_3; // 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; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__end ); Py_DECREF( tmp_inplace_assign_attr_2__end ); tmp_inplace_assign_attr_2__end = 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_3:; } goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__start ); Py_DECREF( tmp_inplace_assign_attr_2__start ); tmp_inplace_assign_attr_2__start = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_4:; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__end ); Py_DECREF( tmp_inplace_assign_attr_2__end ); tmp_inplace_assign_attr_2__end = NULL; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__start ); Py_DECREF( tmp_inplace_assign_attr_2__start ); tmp_inplace_assign_attr_2__start = NULL; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_5; PyObject *tmp_subscript_name_1; PyObject *tmp_source_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 = 381; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_chunk ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 381; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_self == 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", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 381; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_subscript_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_chunkOffset ); 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 = 381; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 381; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_char == 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", "char" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 381; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_3 = par_char; tmp_operand_name_1 = RICH_COMPARE_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_left_3 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 381; 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 = 381; type_description_1 = "oo"; 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_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 381; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_3:; } branch_end_2:; } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_dd099ba0bf9d2d0c20fb6b84127a36d9 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dd099ba0bf9d2d0c20fb6b84127a36d9 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_dd099ba0bf9d2d0c20fb6b84127a36d9, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_dd099ba0bf9d2d0c20fb6b84127a36d9->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_dd099ba0bf9d2d0c20fb6b84127a36d9, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_dd099ba0bf9d2d0c20fb6b84127a36d9, type_description_1, par_self, par_char ); // Release cached frame. if ( frame_dd099ba0bf9d2d0c20fb6b84127a36d9 == cache_frame_dd099ba0bf9d2d0c20fb6b84127a36d9 ) { Py_DECREF( frame_dd099ba0bf9d2d0c20fb6b84127a36d9 ); } cache_frame_dd099ba0bf9d2d0c20fb6b84127a36d9 = NULL; assertFrameObject( frame_dd099ba0bf9d2d0c20fb6b84127a36d9 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_19_unget ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_char ); par_char = 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; } { Py_XDECREF( par_char ); par_char = NULL; } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_19_unget ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_20___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_override_encoding = python_pars[ 2 ]; PyObject *par_transport_encoding = python_pars[ 3 ]; PyObject *par_same_origin_parent_encoding = python_pars[ 4 ]; PyObject *par_likely_encoding = python_pars[ 5 ]; PyObject *par_default_encoding = python_pars[ 6 ]; PyObject *par_useChardet = python_pars[ 7 ]; struct Nuitka_FrameObject *frame_ebd4503eec1f768c1b9076a19a495a81; 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_ebd4503eec1f768c1b9076a19a495a81 = 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_ebd4503eec1f768c1b9076a19a495a81, codeobj_ebd4503eec1f768c1b9076a19a495a81, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_ebd4503eec1f768c1b9076a19a495a81 = cache_frame_ebd4503eec1f768c1b9076a19a495a81; // Push the new frame as the currently active one. pushFrameStack( frame_ebd4503eec1f768c1b9076a19a495a81 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ebd4503eec1f768c1b9076a19a495a81 ) == 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_openStream ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 410; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_source == 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", "source" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 410; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_source; frame_ebd4503eec1f768c1b9076a19a495a81->m_frame.f_lineno = 410; { 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 = 410; 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 = 410; 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_rawStream, 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 = 410; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_source_name_3; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_HTMLUnicodeInputStream ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTMLUnicodeInputStream ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTMLUnicodeInputStream" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 412; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_1; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___init__ ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 412; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 412; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_self; 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 = 412; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_rawStream ); 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 = 412; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } frame_ebd4503eec1f768c1b9076a19a495a81->m_frame.f_lineno = 412; { 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_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 412; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; tmp_assattr_name_2 = const_int_pos_1024; 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 = 417; 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_numBytesMeta, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 417; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; tmp_assattr_name_3 = const_int_pos_100; 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 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_numBytesChardet, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 419; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; if ( par_override_encoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "override_encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 421; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_4 = par_override_encoding; 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 = 421; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_override_encoding, tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 421; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_assattr_target_5; if ( par_transport_encoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "transport_encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 422; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_5 = par_transport_encoding; 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 = 422; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_transport_encoding, tmp_assattr_name_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 422; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_6; PyObject *tmp_assattr_target_6; if ( par_same_origin_parent_encoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "same_origin_parent_encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 423; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_6 = par_same_origin_parent_encoding; 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 = 423; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_6 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain_same_origin_parent_encoding, tmp_assattr_name_6 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 423; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_7; PyObject *tmp_assattr_target_7; if ( par_likely_encoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "likely_encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 424; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_7 = par_likely_encoding; 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 = 424; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_7 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_7, const_str_plain_likely_encoding, tmp_assattr_name_7 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 424; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_8; PyObject *tmp_assattr_target_8; if ( par_default_encoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "default_encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 425; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_8 = par_default_encoding; 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 = 425; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_8 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_8, const_str_plain_default_encoding, tmp_assattr_name_8 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 425; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_9; PyObject *tmp_called_name_3; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_4; PyObject *tmp_assattr_target_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 = 428; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_determineEncoding ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 428; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_useChardet == 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", "useChardet" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 428; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_useChardet; frame_ebd4503eec1f768c1b9076a19a495a81->m_frame.f_lineno = 428; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_assattr_name_9 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_assattr_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 428; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_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 = 428; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_9 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_9, const_str_plain_charEncoding, tmp_assattr_name_9 ); Py_DECREF( tmp_assattr_name_9 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 428; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_5; 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 = 429; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_charEncoding ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 429; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_int_0; tmp_compexpr_left_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 429; type_description_1 = "oooooooo"; 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_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 429; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooo"; goto frame_exception_exit_1; } branch_no_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 = 432; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; frame_ebd4503eec1f768c1b9076a19a495a81->m_frame.f_lineno = 432; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_reset ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 432; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_ebd4503eec1f768c1b9076a19a495a81 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ebd4503eec1f768c1b9076a19a495a81 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ebd4503eec1f768c1b9076a19a495a81, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ebd4503eec1f768c1b9076a19a495a81->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ebd4503eec1f768c1b9076a19a495a81, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ebd4503eec1f768c1b9076a19a495a81, type_description_1, par_self, par_source, par_override_encoding, par_transport_encoding, par_same_origin_parent_encoding, par_likely_encoding, par_default_encoding, par_useChardet ); // Release cached frame. if ( frame_ebd4503eec1f768c1b9076a19a495a81 == cache_frame_ebd4503eec1f768c1b9076a19a495a81 ) { Py_DECREF( frame_ebd4503eec1f768c1b9076a19a495a81 ); } cache_frame_ebd4503eec1f768c1b9076a19a495a81 = NULL; assertFrameObject( frame_ebd4503eec1f768c1b9076a19a495a81 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_20___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_override_encoding ); par_override_encoding = NULL; } { Py_XDECREF( par_transport_encoding ); par_transport_encoding = NULL; } { Py_XDECREF( par_same_origin_parent_encoding ); par_same_origin_parent_encoding = NULL; } { Py_XDECREF( par_likely_encoding ); par_likely_encoding = NULL; } { Py_XDECREF( par_default_encoding ); par_default_encoding = NULL; } { Py_XDECREF( par_useChardet ); par_useChardet = 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_override_encoding ); par_override_encoding = NULL; } { Py_XDECREF( par_transport_encoding ); par_transport_encoding = NULL; } { Py_XDECREF( par_same_origin_parent_encoding ); par_same_origin_parent_encoding = NULL; } { Py_XDECREF( par_likely_encoding ); par_likely_encoding = NULL; } { Py_XDECREF( par_default_encoding ); par_default_encoding = NULL; } { Py_XDECREF( par_useChardet ); par_useChardet = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_20___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_21_reset( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_0aa2a21b41092c93f546dffd7d76854e; 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_0aa2a21b41092c93f546dffd7d76854e = 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_0aa2a21b41092c93f546dffd7d76854e, codeobj_0aa2a21b41092c93f546dffd7d76854e, module_html5lib$_inputstream, sizeof(void *) ); frame_0aa2a21b41092c93f546dffd7d76854e = cache_frame_0aa2a21b41092c93f546dffd7d76854e; // Push the new frame as the currently active one. pushFrameStack( frame_0aa2a21b41092c93f546dffd7d76854e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_0aa2a21b41092c93f546dffd7d76854e ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_3; PyObject *tmp_subscript_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_2; PyObject *tmp_assattr_target_1; CHECK_OBJECT( par_self ); tmp_source_name_3 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_charEncoding ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 435; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_int_0; tmp_source_name_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_source_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 435; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_codec_info ); Py_DECREF( tmp_source_name_2 ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 435; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_streamreader ); 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 = 435; type_description_1 = "o"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 435; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_rawStream ); 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 = 435; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_args_element_name_2 = const_str_plain_replace; frame_0aa2a21b41092c93f546dffd7d76854e->m_frame.f_lineno = 435; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assattr_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_assattr_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 435; type_description_1 = "o"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 435; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_dataStream, 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 = 435; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_3; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_HTMLUnicodeInputStream ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTMLUnicodeInputStream ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTMLUnicodeInputStream" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 436; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_1; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_reset ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 436; type_description_1 = "o"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 436; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_self; frame_0aa2a21b41092c93f546dffd7d76854e->m_frame.f_lineno = 436; { PyObject *call_args[] = { tmp_args_element_name_3 }; 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 = 436; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_0aa2a21b41092c93f546dffd7d76854e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0aa2a21b41092c93f546dffd7d76854e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_0aa2a21b41092c93f546dffd7d76854e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_0aa2a21b41092c93f546dffd7d76854e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_0aa2a21b41092c93f546dffd7d76854e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_0aa2a21b41092c93f546dffd7d76854e, type_description_1, par_self ); // Release cached frame. if ( frame_0aa2a21b41092c93f546dffd7d76854e == cache_frame_0aa2a21b41092c93f546dffd7d76854e ) { Py_DECREF( frame_0aa2a21b41092c93f546dffd7d76854e ); } cache_frame_0aa2a21b41092c93f546dffd7d76854e = NULL; assertFrameObject( frame_0aa2a21b41092c93f546dffd7d76854e ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_21_reset ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_21_reset ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_22_openStream( 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 *var_stream = NULL; struct Nuitka_FrameObject *frame_c1b87b8c7c5978c7c185bb1c5c14a499; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; int tmp_res; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_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_c1b87b8c7c5978c7c185bb1c5c14a499 = 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_c1b87b8c7c5978c7c185bb1c5c14a499, codeobj_c1b87b8c7c5978c7c185bb1c5c14a499, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_c1b87b8c7c5978c7c185bb1c5c14a499 = cache_frame_c1b87b8c7c5978c7c185bb1c5c14a499; // Push the new frame as the currently active one. pushFrameStack( frame_c1b87b8c7c5978c7c185bb1c5c14a499 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c1b87b8c7c5978c7c185bb1c5c14a499 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_source_name_1; PyObject *tmp_attribute_name_1; CHECK_OBJECT( par_source ); tmp_source_name_1 = par_source; tmp_attribute_name_1 = const_str_plain_read; 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 = 445; 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; CHECK_OBJECT( par_source ); tmp_assign_source_1 = par_source; assert( var_stream == NULL ); Py_INCREF( tmp_assign_source_1 ); var_stream = tmp_assign_source_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_BytesIO ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BytesIO ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "BytesIO" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 448; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_source ); tmp_args_element_name_1 = par_source; frame_c1b87b8c7c5978c7c185bb1c5c14a499->m_frame.f_lineno = 448; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 448; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_stream == NULL ); var_stream = tmp_assign_source_2; } branch_end_1:; } { // Tried code: { PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_2; PyObject *tmp_called_instance_1; CHECK_OBJECT( var_stream ); tmp_source_name_2 = var_stream; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_seek ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 451; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_stream == 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", "stream" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 451; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_called_instance_1 = var_stream; frame_c1b87b8c7c5978c7c185bb1c5c14a499->m_frame.f_lineno = 451; tmp_args_element_name_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_tell ); 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 = 451; type_description_1 = "ooo"; goto try_except_handler_2; } frame_c1b87b8c7c5978c7c185bb1c5c14a499->m_frame.f_lineno = 451; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 451; type_description_1 = "ooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } 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; { // 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_c1b87b8c7c5978c7c185bb1c5c14a499, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_c1b87b8c7c5978c7c185bb1c5c14a499, 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: { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_3; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_BufferedStream ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_BufferedStream ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "BufferedStream" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 453; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_called_name_3 = tmp_mvar_value_2; if ( var_stream == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "stream" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 453; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_args_element_name_3 = var_stream; frame_c1b87b8c7c5978c7c185bb1c5c14a499->m_frame.f_lineno = 453; { 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 = 453; type_description_1 = "ooo"; goto try_except_handler_3; } { PyObject *old = var_stream; var_stream = tmp_assign_source_3; Py_XDECREF( old ); } } 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; { // 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_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:; } { // 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( html5lib$_inputstream$$$function_22_openStream ); return NULL; // End of try: try_end_1:; } { if ( var_stream == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "stream" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 455; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = var_stream; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_c1b87b8c7c5978c7c185bb1c5c14a499 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c1b87b8c7c5978c7c185bb1c5c14a499 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c1b87b8c7c5978c7c185bb1c5c14a499 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c1b87b8c7c5978c7c185bb1c5c14a499, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c1b87b8c7c5978c7c185bb1c5c14a499->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c1b87b8c7c5978c7c185bb1c5c14a499, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c1b87b8c7c5978c7c185bb1c5c14a499, type_description_1, par_self, par_source, var_stream ); // Release cached frame. if ( frame_c1b87b8c7c5978c7c185bb1c5c14a499 == cache_frame_c1b87b8c7c5978c7c185bb1c5c14a499 ) { Py_DECREF( frame_c1b87b8c7c5978c7c185bb1c5c14a499 ); } cache_frame_c1b87b8c7c5978c7c185bb1c5c14a499 = NULL; assertFrameObject( frame_c1b87b8c7c5978c7c185bb1c5c14a499 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_22_openStream ); 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( var_stream ); var_stream = 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_source ); par_source = NULL; } { Py_XDECREF( var_stream ); var_stream = 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( html5lib$_inputstream$$$function_22_openStream ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_23_determineEncoding( 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_chardet = python_pars[ 1 ]; PyObject *var_charEncoding = NULL; PyObject *var_UniversalDetector = NULL; PyObject *var_buffers = NULL; PyObject *var_detector = NULL; PyObject *var_buffer = NULL; PyObject *var_encoding = NULL; nuitka_bool tmp_try_except_1__unhandled_indicator = NUITKA_BOOL_UNASSIGNED; struct Nuitka_FrameObject *frame_9b720416c9651497feb245f05224780e; 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; int tmp_res; 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; bool tmp_result; 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_9b720416c9651497feb245f05224780e = 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_9b720416c9651497feb245f05224780e, codeobj_9b720416c9651497feb245f05224780e, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_9b720416c9651497feb245f05224780e = cache_frame_9b720416c9651497feb245f05224780e; // Push the new frame as the currently active one. pushFrameStack( frame_9b720416c9651497feb245f05224780e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_9b720416c9651497feb245f05224780e ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_tuple_element_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_self ); tmp_called_instance_1 = par_self; frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 460; tmp_tuple_element_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_detectBOM ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 460; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_assign_source_1, 0, tmp_tuple_element_1 ); tmp_tuple_element_1 = const_str_plain_certain; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_assign_source_1, 1, tmp_tuple_element_1 ); assert( var_charEncoding == NULL ); var_charEncoding = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( var_charEncoding ); tmp_subscribed_name_1 = var_charEncoding; tmp_subscript_name_1 = const_int_0; tmp_compexpr_left_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 461; type_description_1 = "oooooooo"; 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:; { if ( var_charEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "charEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 462; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_charEncoding; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_2; PyObject *tmp_tuple_element_2; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lookupEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 465; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = 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 = 465; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_override_encoding ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 465; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 465; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_tuple_element_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_args_element_name_1 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 465; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_assign_source_2, 0, tmp_tuple_element_2 ); tmp_tuple_element_2 = const_str_plain_certain; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_assign_source_2, 1, tmp_tuple_element_2 ); { PyObject *old = var_charEncoding; var_charEncoding = tmp_assign_source_2; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; CHECK_OBJECT( var_charEncoding ); tmp_subscribed_name_2 = var_charEncoding; tmp_subscript_name_2 = const_int_0; tmp_compexpr_left_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 466; type_description_1 = "oooooooo"; 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:; { if ( var_charEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "charEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 467; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_charEncoding; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_2:; } { PyObject *tmp_assign_source_3; PyObject *tmp_tuple_element_3; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lookupEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 470; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_2 = 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 = 470; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_transport_encoding ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 470; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 470; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_tuple_element_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_args_element_name_2 ); if ( tmp_tuple_element_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 470; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_assign_source_3, 0, tmp_tuple_element_3 ); tmp_tuple_element_3 = const_str_plain_certain; Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_assign_source_3, 1, tmp_tuple_element_3 ); { PyObject *old = var_charEncoding; var_charEncoding = tmp_assign_source_3; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; CHECK_OBJECT( var_charEncoding ); tmp_subscribed_name_3 = var_charEncoding; tmp_subscript_name_3 = const_int_0; tmp_compexpr_left_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 471; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_3 = Py_None; tmp_condition_result_3 = ( tmp_compexpr_left_3 != tmp_compexpr_right_3 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_3 ); if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { if ( var_charEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "charEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 472; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_charEncoding; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_3:; } { PyObject *tmp_assign_source_4; PyObject *tmp_tuple_element_4; PyObject *tmp_called_instance_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 = 475; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_self; frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 475; tmp_tuple_element_4 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_detectEncodingMeta ); if ( tmp_tuple_element_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 475; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assign_source_4 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_assign_source_4, 0, tmp_tuple_element_4 ); tmp_tuple_element_4 = const_str_plain_tentative; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_assign_source_4, 1, tmp_tuple_element_4 ); { PyObject *old = var_charEncoding; var_charEncoding = tmp_assign_source_4; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; CHECK_OBJECT( var_charEncoding ); tmp_subscribed_name_4 = var_charEncoding; tmp_subscript_name_4 = const_int_0; tmp_compexpr_left_4 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_4, tmp_subscript_name_4, 0 ); if ( tmp_compexpr_left_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 476; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_4 = Py_None; tmp_condition_result_4 = ( tmp_compexpr_left_4 != tmp_compexpr_right_4 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_4 ); if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { if ( var_charEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "charEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 477; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_charEncoding; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_4:; } { PyObject *tmp_assign_source_5; PyObject *tmp_tuple_element_5; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_3; PyObject *tmp_source_name_3; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lookupEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 480; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = tmp_mvar_value_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 = 480; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_same_origin_parent_encoding ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 480; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 480; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_tuple_element_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_args_element_name_3 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 480; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assign_source_5 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_assign_source_5, 0, tmp_tuple_element_5 ); tmp_tuple_element_5 = const_str_plain_tentative; Py_INCREF( tmp_tuple_element_5 ); PyTuple_SET_ITEM( tmp_assign_source_5, 1, tmp_tuple_element_5 ); { PyObject *old = var_charEncoding; var_charEncoding = tmp_assign_source_5; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_5; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_subscribed_name_5; PyObject *tmp_subscript_name_5; PyObject *tmp_operand_name_1; PyObject *tmp_called_instance_3; PyObject *tmp_source_name_4; PyObject *tmp_subscribed_name_6; PyObject *tmp_subscript_name_6; CHECK_OBJECT( var_charEncoding ); tmp_subscribed_name_5 = var_charEncoding; tmp_subscript_name_5 = const_int_0; tmp_compexpr_left_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_5, tmp_subscript_name_5, 0 ); if ( tmp_compexpr_left_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 481; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } 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; Py_DECREF( tmp_compexpr_left_5 ); 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_charEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "charEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 481; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_6 = var_charEncoding; tmp_subscript_name_6 = const_int_0; tmp_source_name_4 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_6, tmp_subscript_name_6, 0 ); if ( tmp_source_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 481; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_instance_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_name ); Py_DECREF( tmp_source_name_4 ); if ( tmp_called_instance_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 481; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 481; tmp_operand_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_startswith, &PyTuple_GET_ITEM( const_tuple_str_digest_913ae8f3439742e034c09e3f599385fd_tuple, 0 ) ); Py_DECREF( tmp_called_instance_3 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 481; type_description_1 = "oooooooo"; 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 = 481; 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_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:; { if ( var_charEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "charEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 482; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_charEncoding; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_5:; } { PyObject *tmp_assign_source_6; PyObject *tmp_tuple_element_6; PyObject *tmp_called_name_4; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_4; PyObject *tmp_source_name_5; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lookupEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 485; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_4 = tmp_mvar_value_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 485; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_likely_encoding ); if ( tmp_args_element_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 485; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 485; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_tuple_element_6 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_args_element_name_4 ); if ( tmp_tuple_element_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 485; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assign_source_6 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_assign_source_6, 0, tmp_tuple_element_6 ); tmp_tuple_element_6 = const_str_plain_tentative; Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_assign_source_6, 1, tmp_tuple_element_6 ); { PyObject *old = var_charEncoding; var_charEncoding = tmp_assign_source_6; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; PyObject *tmp_subscribed_name_7; PyObject *tmp_subscript_name_7; CHECK_OBJECT( var_charEncoding ); tmp_subscribed_name_7 = var_charEncoding; tmp_subscript_name_7 = const_int_0; tmp_compexpr_left_6 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_7, tmp_subscript_name_7, 0 ); if ( tmp_compexpr_left_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 486; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_6 = Py_None; tmp_condition_result_6 = ( tmp_compexpr_left_6 != tmp_compexpr_right_6 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_6 ); if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { if ( var_charEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "charEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 487; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_charEncoding; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_6:; } { nuitka_bool tmp_condition_result_7; int tmp_truth_name_1; if ( par_chardet == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "chardet" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 490; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( par_chardet ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 490; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_condition_result_7 = tmp_truth_name_1 == 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_assign_source_7; tmp_assign_source_7 = NUITKA_BOOL_TRUE; tmp_try_except_1__unhandled_indicator = tmp_assign_source_7; } { // Tried code: { // Tried code: { PyObject *tmp_assign_source_8; 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_94822410052685fe3f09d986d30eb776; tmp_globals_name_1 = (PyObject *)moduledict_html5lib$_inputstream; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = const_tuple_str_plain_UniversalDetector_tuple; tmp_level_name_1 = const_int_0; frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 492; 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 = 492; type_description_1 = "oooooooo"; goto try_except_handler_3; } tmp_assign_source_8 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_UniversalDetector ); Py_DECREF( tmp_import_name_from_1 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 492; type_description_1 = "oooooooo"; goto try_except_handler_3; } assert( var_UniversalDetector == NULL ); var_UniversalDetector = tmp_assign_source_8; } 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; { nuitka_bool tmp_assign_source_9; tmp_assign_source_9 = NUITKA_BOOL_FALSE; tmp_try_except_1__unhandled_indicator = tmp_assign_source_9; } { // 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_9b720416c9651497feb245f05224780e, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_9b720416c9651497feb245f05224780e, 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_8; PyObject *tmp_operand_name_2; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; tmp_compexpr_left_7 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_7 = PyExc_ImportError; 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 = 493; type_description_1 = "oooooooo"; goto try_except_handler_4; } 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 = 493; type_description_1 = "oooooooo"; goto try_except_handler_4; } 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:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 491; } if (exception_tb && exception_tb->tb_frame == &frame_9b720416c9651497feb245f05224780e->m_frame) frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooooo"; goto try_except_handler_4; } branch_no_8:; } goto try_end_2; // Exception handler code: try_except_handler_4:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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_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:; } { // 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( html5lib$_inputstream$$$function_23_determineEncoding ); return NULL; // End of try: try_end_1:; } { nuitka_bool tmp_condition_result_9; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; assert( tmp_try_except_1__unhandled_indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_8 = ( tmp_try_except_1__unhandled_indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_8 = Py_True; tmp_condition_result_9 = ( tmp_compexpr_left_8 == tmp_compexpr_right_8 ) ? 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_10; tmp_assign_source_10 = PyList_New( 0 ); assert( var_buffers == NULL ); var_buffers = tmp_assign_source_10; } { PyObject *tmp_assign_source_11; PyObject *tmp_called_name_5; if ( var_UniversalDetector == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "UniversalDetector" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 497; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_called_name_5 = var_UniversalDetector; frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 497; tmp_assign_source_11 = CALL_FUNCTION_NO_ARGS( tmp_called_name_5 ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 497; type_description_1 = "oooooooo"; goto try_except_handler_2; } assert( var_detector == NULL ); var_detector = tmp_assign_source_11; } { loop_start_1:; { nuitka_bool tmp_condition_result_10; PyObject *tmp_operand_name_3; PyObject *tmp_operand_name_4; PyObject *tmp_source_name_6; CHECK_OBJECT( var_detector ); tmp_source_name_6 = var_detector; tmp_operand_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_done ); if ( tmp_operand_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 498; 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 = 498; type_description_1 = "oooooooo"; 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 = 498; type_description_1 = "oooooooo"; goto try_except_handler_2; } 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:; { goto loop_end_1; } branch_no_10:; } { PyObject *tmp_assign_source_12; PyObject *tmp_called_name_6; PyObject *tmp_source_name_7; PyObject *tmp_source_name_8; PyObject *tmp_args_element_name_5; PyObject *tmp_source_name_9; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 499; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_source_name_8 = par_self; tmp_source_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_rawStream ); if ( tmp_source_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 499; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_read ); Py_DECREF( tmp_source_name_7 ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 499; type_description_1 = "oooooooo"; goto try_except_handler_2; } if ( par_self == 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", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 499; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_source_name_9 = par_self; tmp_args_element_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_numBytesChardet ); if ( tmp_args_element_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_6 ); exception_lineno = 499; type_description_1 = "oooooooo"; goto try_except_handler_2; } frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 499; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_assign_source_12 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); Py_DECREF( tmp_args_element_name_5 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 499; type_description_1 = "oooooooo"; goto try_except_handler_2; } { PyObject *old = var_buffer; var_buffer = tmp_assign_source_12; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_11; PyObject *tmp_operand_name_5; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; CHECK_OBJECT( var_buffer ); tmp_isinstance_inst_1 = var_buffer; tmp_isinstance_cls_1 = (PyObject *)&PyBytes_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 = 500; type_description_1 = "oooooooo"; goto try_except_handler_2; } 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 = 500; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_condition_result_11 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE ) { goto branch_yes_11; } else { goto branch_no_11; } branch_yes_11:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 500; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooo"; goto try_except_handler_2; } branch_no_11:; } { nuitka_bool tmp_condition_result_12; PyObject *tmp_operand_name_6; if ( var_buffer == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "buffer" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 501; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_operand_name_6 = var_buffer; 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 = 501; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_condition_result_12 = ( tmp_res == 0 ) ? 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_1; } branch_no_12:; } { PyObject *tmp_called_name_7; PyObject *tmp_source_name_10; PyObject *tmp_args_element_name_6; if ( var_buffers == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "buffers" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 503; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_source_name_10 = var_buffers; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_append ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 503; type_description_1 = "oooooooo"; goto try_except_handler_2; } if ( var_buffer == 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", "buffer" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 503; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_args_element_name_6 = var_buffer; frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 503; { PyObject *call_args[] = { tmp_args_element_name_6 }; 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 = 503; type_description_1 = "oooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_8; PyObject *tmp_source_name_11; PyObject *tmp_args_element_name_7; if ( var_detector == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "detector" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 504; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_source_name_11 = var_detector; tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_feed ); if ( tmp_called_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 504; type_description_1 = "oooooooo"; goto try_except_handler_2; } if ( var_buffer == 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", "buffer" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 504; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_args_element_name_7 = var_buffer; frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 504; { PyObject *call_args[] = { tmp_args_element_name_7 }; 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 = 504; type_description_1 = "oooooooo"; 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 = 498; type_description_1 = "oooooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } { PyObject *tmp_called_instance_4; if ( var_detector == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "detector" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 505; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_called_instance_4 = var_detector; frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 505; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_4, const_str_plain_close ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 505; type_description_1 = "oooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_13; PyObject *tmp_called_name_9; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_8; PyObject *tmp_subscribed_name_8; PyObject *tmp_source_name_12; PyObject *tmp_subscript_name_8; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lookupEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 506; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_called_name_9 = tmp_mvar_value_5; if ( var_detector == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "detector" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 506; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_source_name_12 = var_detector; tmp_subscribed_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_result ); if ( tmp_subscribed_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 506; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_subscript_name_8 = const_str_plain_encoding; tmp_args_element_name_8 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_8, tmp_subscript_name_8 ); Py_DECREF( tmp_subscribed_name_8 ); if ( tmp_args_element_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 506; type_description_1 = "oooooooo"; goto try_except_handler_2; } frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 506; { PyObject *call_args[] = { tmp_args_element_name_8 }; tmp_assign_source_13 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args ); } Py_DECREF( tmp_args_element_name_8 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 506; type_description_1 = "oooooooo"; goto try_except_handler_2; } assert( var_encoding == NULL ); var_encoding = tmp_assign_source_13; } { PyObject *tmp_called_instance_5; PyObject *tmp_source_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 = 507; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_source_name_13 = par_self; tmp_called_instance_5 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_rawStream ); if ( tmp_called_instance_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 507; type_description_1 = "oooooooo"; goto try_except_handler_2; } frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 507; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_5, const_str_plain_seek, &PyTuple_GET_ITEM( const_tuple_int_0_tuple, 0 ) ); Py_DECREF( tmp_called_instance_5 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 507; type_description_1 = "oooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_13; PyObject *tmp_compexpr_left_9; PyObject *tmp_compexpr_right_9; if ( var_encoding == NULL ) { 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 = 508; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_compexpr_left_9 = var_encoding; tmp_compexpr_right_9 = Py_None; tmp_condition_result_13 = ( tmp_compexpr_left_9 != tmp_compexpr_right_9 ) ? 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_tuple_element_7; if ( var_encoding == NULL ) { 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 = 509; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_tuple_element_7 = var_encoding; tmp_return_value = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_7 ); tmp_tuple_element_7 = const_str_plain_tentative; Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_7 ); goto try_return_handler_2; } branch_no_13:; } branch_no_9:; } goto try_end_3; // Return handler code: try_return_handler_2:; { } { 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; { } { // 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:; } { } branch_no_7:; } { PyObject *tmp_assign_source_14; PyObject *tmp_tuple_element_8; PyObject *tmp_called_name_10; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_9; PyObject *tmp_source_name_14; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lookupEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 512; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_10 = tmp_mvar_value_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 = 512; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_source_name_14 = par_self; tmp_args_element_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_default_encoding ); if ( tmp_args_element_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 512; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 512; { PyObject *call_args[] = { tmp_args_element_name_9 }; tmp_tuple_element_8 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_10, call_args ); } Py_DECREF( tmp_args_element_name_9 ); if ( tmp_tuple_element_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 512; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assign_source_14 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_assign_source_14, 0, tmp_tuple_element_8 ); tmp_tuple_element_8 = const_str_plain_tentative; Py_INCREF( tmp_tuple_element_8 ); PyTuple_SET_ITEM( tmp_assign_source_14, 1, tmp_tuple_element_8 ); { PyObject *old = var_charEncoding; var_charEncoding = tmp_assign_source_14; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_14; PyObject *tmp_compexpr_left_10; PyObject *tmp_compexpr_right_10; PyObject *tmp_subscribed_name_9; PyObject *tmp_subscript_name_9; CHECK_OBJECT( var_charEncoding ); tmp_subscribed_name_9 = var_charEncoding; tmp_subscript_name_9 = const_int_0; tmp_compexpr_left_10 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_9, tmp_subscript_name_9, 0 ); if ( tmp_compexpr_left_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 513; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_10 = Py_None; tmp_condition_result_14 = ( tmp_compexpr_left_10 != tmp_compexpr_right_10 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_compexpr_left_10 ); if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE ) { goto branch_yes_14; } else { goto branch_no_14; } branch_yes_14:; { if ( var_charEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "charEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 514; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_charEncoding; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_14:; } { PyObject *tmp_tuple_element_9; PyObject *tmp_called_name_11; PyObject *tmp_mvar_value_7; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lookupEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 517; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_11 = tmp_mvar_value_7; frame_9b720416c9651497feb245f05224780e->m_frame.f_lineno = 517; tmp_tuple_element_9 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_11, &PyTuple_GET_ITEM( const_tuple_str_digest_29519ab8213fea2e78dbfee4381e95e6_tuple, 0 ) ); if ( tmp_tuple_element_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 517; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_return_value = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_9 ); tmp_tuple_element_9 = const_str_plain_tentative; Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_9 ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_9b720416c9651497feb245f05224780e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9b720416c9651497feb245f05224780e ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9b720416c9651497feb245f05224780e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_9b720416c9651497feb245f05224780e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_9b720416c9651497feb245f05224780e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_9b720416c9651497feb245f05224780e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_9b720416c9651497feb245f05224780e, type_description_1, par_self, par_chardet, var_charEncoding, var_UniversalDetector, var_buffers, var_detector, var_buffer, var_encoding ); // Release cached frame. if ( frame_9b720416c9651497feb245f05224780e == cache_frame_9b720416c9651497feb245f05224780e ) { Py_DECREF( frame_9b720416c9651497feb245f05224780e ); } cache_frame_9b720416c9651497feb245f05224780e = NULL; assertFrameObject( frame_9b720416c9651497feb245f05224780e ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_23_determineEncoding ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_chardet ); par_chardet = NULL; } { Py_XDECREF( var_charEncoding ); var_charEncoding = NULL; } { Py_XDECREF( var_UniversalDetector ); var_UniversalDetector = NULL; } { Py_XDECREF( var_buffers ); var_buffers = NULL; } { Py_XDECREF( var_detector ); var_detector = NULL; } { Py_XDECREF( var_buffer ); var_buffer = NULL; } { Py_XDECREF( var_encoding ); var_encoding = 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_chardet ); par_chardet = NULL; } { Py_XDECREF( var_charEncoding ); var_charEncoding = NULL; } { Py_XDECREF( var_UniversalDetector ); var_UniversalDetector = NULL; } { Py_XDECREF( var_buffers ); var_buffers = NULL; } { Py_XDECREF( var_detector ); var_detector = NULL; } { Py_XDECREF( var_buffer ); var_buffer = NULL; } { Py_XDECREF( var_encoding ); var_encoding = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_23_determineEncoding ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_24_changeEncoding( 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_newEncoding = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_c9acb68dcb0f05e88520ffeb274a2dff; 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; bool tmp_result; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_c9acb68dcb0f05e88520ffeb274a2dff = 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_c9acb68dcb0f05e88520ffeb274a2dff, codeobj_c9acb68dcb0f05e88520ffeb274a2dff, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *) ); frame_c9acb68dcb0f05e88520ffeb274a2dff = cache_frame_c9acb68dcb0f05e88520ffeb274a2dff; // Push the new frame as the currently active one. pushFrameStack( frame_c9acb68dcb0f05e88520ffeb274a2dff ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c9acb68dcb0f05e88520ffeb274a2dff ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_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_charEncoding ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 520; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_int_pos_1; tmp_compexpr_left_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 520; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_str_plain_certain; tmp_operand_name_1 = RICH_COMPARE_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 520; 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 = 520; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 520; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_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_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lookupEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 521; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; if ( par_newEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "newEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 521; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_newEncoding; frame_c9acb68dcb0f05e88520ffeb274a2dff->m_frame.f_lineno = 521; { 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 = 521; type_description_1 = "oo"; goto frame_exception_exit_1; } { PyObject *old = par_newEncoding; par_newEncoding = tmp_assign_source_1; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( par_newEncoding ); tmp_compexpr_left_2 = par_newEncoding; 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:; { 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_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_source_name_2; if ( par_newEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "newEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 524; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_newEncoding; tmp_compexpr_left_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_name ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 524; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_3 = const_tuple_033d7372d36223c40c6dd931e2bb5685_tuple; tmp_res = PySequence_Contains( tmp_compexpr_right_3, tmp_compexpr_left_3 ); Py_DECREF( tmp_compexpr_left_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 524; type_description_1 = "oo"; goto frame_exception_exit_1; } 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:; { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lookupEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 525; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_2; frame_c9acb68dcb0f05e88520ffeb274a2dff->m_frame.f_lineno = 525; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, &PyTuple_GET_ITEM( const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_tuple, 0 ) ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 525; type_description_1 = "oo"; goto frame_exception_exit_1; } { PyObject *old = par_newEncoding; par_newEncoding = tmp_assign_source_2; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT( par_newEncoding ); tmp_compexpr_left_4 = par_newEncoding; tmp_compexpr_right_4 = Py_None; tmp_condition_result_4 = ( tmp_compexpr_left_4 == tmp_compexpr_right_4 ) ? 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_raise_type_2; tmp_raise_type_2 = PyExc_AssertionError; exception_type = tmp_raise_type_2; Py_INCREF( tmp_raise_type_2 ); exception_lineno = 526; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_4:; } goto branch_end_3; branch_no_3:; { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_subscribed_name_2; PyObject *tmp_source_name_3; PyObject *tmp_subscript_name_2; if ( par_newEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "newEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 527; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_left_5 = par_newEncoding; 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 = 527; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_charEncoding ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 527; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_2 = const_int_0; tmp_compexpr_right_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); Py_DECREF( tmp_subscribed_name_2 ); if ( tmp_compexpr_right_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 527; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 527; type_description_1 = "oo"; 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_assattr_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_subscribed_name_3; PyObject *tmp_source_name_4; PyObject *tmp_subscript_name_3; PyObject *tmp_assattr_target_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 528; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_subscribed_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_charEncoding ); if ( tmp_subscribed_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 528; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_3 = const_int_0; tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 ); Py_DECREF( tmp_subscribed_name_3 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 528; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_assattr_name_1, 0, tmp_tuple_element_1 ); tmp_tuple_element_1 = const_str_plain_certain; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_assattr_name_1, 1, tmp_tuple_element_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 = 528; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_charEncoding, 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 = 528; type_description_1 = "oo"; goto frame_exception_exit_1; } } goto branch_end_5; branch_no_5:; { PyObject *tmp_called_instance_1; 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 = 530; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_rawStream ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 530; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_c9acb68dcb0f05e88520ffeb274a2dff->m_frame.f_lineno = 530; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_seek, &PyTuple_GET_ITEM( const_tuple_int_0_tuple, 0 ) ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 530; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assattr_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_assattr_target_2; if ( par_newEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "newEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 531; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = par_newEncoding; tmp_assattr_name_2 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_assattr_name_2, 0, tmp_tuple_element_2 ); tmp_tuple_element_2 = const_str_plain_certain; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_assattr_name_2, 1, tmp_tuple_element_2 ); 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 = 531; 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_charEncoding, 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 = 531; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_called_instance_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 = 532; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_self; frame_c9acb68dcb0f05e88520ffeb274a2dff->m_frame.f_lineno = 532; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_reset ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 532; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_raise_type_3; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_3; PyObject *tmp_subscribed_name_4; PyObject *tmp_source_name_6; PyObject *tmp_subscript_name_4; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain__ReparseException ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__ReparseException ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_ReparseException" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 533; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_3 = tmp_mvar_value_3; tmp_left_name_1 = const_str_digest_07d1cc7ba32878d1f6b6821d3e4a76c8; 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 = 533; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_subscribed_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_charEncoding ); if ( tmp_subscribed_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 533; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_4 = const_int_0; tmp_tuple_element_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_4, tmp_subscript_name_4, 0 ); Py_DECREF( tmp_subscribed_name_4 ); if ( tmp_tuple_element_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 533; 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_3 ); if ( par_newEncoding == 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", "newEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 533; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_tuple_element_3 = par_newEncoding; Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_3 ); tmp_args_element_name_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 533; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_c9acb68dcb0f05e88520ffeb274a2dff->m_frame.f_lineno = 533; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_raise_type_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_args_element_name_2 ); if ( tmp_raise_type_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 533; type_description_1 = "oo"; goto frame_exception_exit_1; } exception_type = tmp_raise_type_3; exception_lineno = 533; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_end_5:; } branch_end_3:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_c9acb68dcb0f05e88520ffeb274a2dff ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c9acb68dcb0f05e88520ffeb274a2dff ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c9acb68dcb0f05e88520ffeb274a2dff ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c9acb68dcb0f05e88520ffeb274a2dff, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c9acb68dcb0f05e88520ffeb274a2dff->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c9acb68dcb0f05e88520ffeb274a2dff, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c9acb68dcb0f05e88520ffeb274a2dff, type_description_1, par_self, par_newEncoding ); // Release cached frame. if ( frame_c9acb68dcb0f05e88520ffeb274a2dff == cache_frame_c9acb68dcb0f05e88520ffeb274a2dff ) { Py_DECREF( frame_c9acb68dcb0f05e88520ffeb274a2dff ); } cache_frame_c9acb68dcb0f05e88520ffeb274a2dff = NULL; assertFrameObject( frame_c9acb68dcb0f05e88520ffeb274a2dff ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_24_changeEncoding ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_newEncoding ); par_newEncoding = 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_newEncoding ); par_newEncoding = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_24_changeEncoding ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_25_detectBOM( 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_bomDict = NULL; PyObject *var_string = NULL; PyObject *var_encoding = NULL; PyObject *var_seek = NULL; struct Nuitka_FrameObject *frame_e50baefe499e63491979effb24fb97df; 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_e50baefe499e63491979effb24fb97df = 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_e50baefe499e63491979effb24fb97df, codeobj_e50baefe499e63491979effb24fb97df, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_e50baefe499e63491979effb24fb97df = cache_frame_e50baefe499e63491979effb24fb97df; // Push the new frame as the currently active one. pushFrameStack( frame_e50baefe499e63491979effb24fb97df ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e50baefe499e63491979effb24fb97df ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_dict_key_3; PyObject *tmp_dict_value_3; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_dict_key_4; PyObject *tmp_dict_value_4; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_4; PyObject *tmp_dict_key_5; PyObject *tmp_dict_value_5; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_5; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_codecs ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_codecs ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "codecs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 540; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_dict_key_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_BOM_UTF8 ); if ( tmp_dict_key_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 540; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_dict_value_1 = const_str_digest_c075052d723d6707083e869a0e3659bb; tmp_assign_source_1 = _PyDict_NewPresized( 5 ); tmp_res = PyDict_SetItem( tmp_assign_source_1, tmp_dict_key_1, tmp_dict_value_1 ); Py_DECREF( tmp_dict_key_1 ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); exception_lineno = 539; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_codecs ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_codecs ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_assign_source_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "codecs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 541; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_dict_key_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_BOM_UTF16_LE ); if ( tmp_dict_key_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); exception_lineno = 541; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_dict_value_2 = const_str_digest_1313659eb556d37f6d4c08b89c10540f; tmp_res = PyDict_SetItem( tmp_assign_source_1, tmp_dict_key_2, tmp_dict_value_2 ); Py_DECREF( tmp_dict_key_2 ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); exception_lineno = 539; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_codecs ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_codecs ); } if ( tmp_mvar_value_3 == NULL ) { Py_DECREF( tmp_assign_source_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "codecs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 541; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_3; tmp_dict_key_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_BOM_UTF16_BE ); if ( tmp_dict_key_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); exception_lineno = 541; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_dict_value_3 = const_str_digest_7d8c029aa14d4038a202ab8b1ce8db36; tmp_res = PyDict_SetItem( tmp_assign_source_1, tmp_dict_key_3, tmp_dict_value_3 ); Py_DECREF( tmp_dict_key_3 ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); exception_lineno = 539; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_codecs ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_codecs ); } if ( tmp_mvar_value_4 == NULL ) { Py_DECREF( tmp_assign_source_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "codecs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 542; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_4; tmp_dict_key_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_BOM_UTF32_LE ); if ( tmp_dict_key_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); exception_lineno = 542; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_dict_value_4 = const_str_digest_b7dba5b4650cbc858f79762d79227761; tmp_res = PyDict_SetItem( tmp_assign_source_1, tmp_dict_key_4, tmp_dict_value_4 ); Py_DECREF( tmp_dict_key_4 ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); exception_lineno = 539; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_codecs ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_codecs ); } if ( tmp_mvar_value_5 == NULL ) { Py_DECREF( tmp_assign_source_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "codecs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 542; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_5; tmp_dict_key_5 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_BOM_UTF32_BE ); if ( tmp_dict_key_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); exception_lineno = 542; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_dict_value_5 = const_str_digest_fe1dc6c0177e62b48fcc6bb37e265da1; tmp_res = PyDict_SetItem( tmp_assign_source_1, tmp_dict_key_5, tmp_dict_value_5 ); Py_DECREF( tmp_dict_key_5 ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); exception_lineno = 539; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_bomDict == NULL ); var_bomDict = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_instance_1; PyObject *tmp_source_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 = 546; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_rawStream ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 546; type_description_1 = "ooooo"; goto frame_exception_exit_1; } frame_e50baefe499e63491979effb24fb97df->m_frame.f_lineno = 546; tmp_assign_source_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_read, &PyTuple_GET_ITEM( const_tuple_int_pos_4_tuple, 0 ) ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 546; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_string == NULL ); var_string = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; CHECK_OBJECT( var_string ); tmp_isinstance_inst_1 = var_string; tmp_isinstance_cls_1 = (PyObject *)&PyBytes_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 = 547; type_description_1 = "ooooo"; 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 = 547; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 547; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_1; PyObject *tmp_source_name_7; PyObject *tmp_args_element_name_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; if ( var_bomDict == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bomDict" ); 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_source_name_7 = var_bomDict; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_get ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 550; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( var_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 = 550; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = var_string; tmp_subscript_name_1 = const_slice_none_int_pos_3_none; tmp_args_element_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_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 = 550; type_description_1 = "ooooo"; goto frame_exception_exit_1; } frame_e50baefe499e63491979effb24fb97df->m_frame.f_lineno = 550; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_3 = 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_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 550; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_encoding == NULL ); var_encoding = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; tmp_assign_source_4 = const_int_pos_3; assert( var_seek == NULL ); Py_INCREF( tmp_assign_source_4 ); var_seek = tmp_assign_source_4; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_2; CHECK_OBJECT( var_encoding ); tmp_operand_name_2 = var_encoding; 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 = 552; type_description_1 = "ooooo"; 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_5; PyObject *tmp_called_name_2; PyObject *tmp_source_name_8; PyObject *tmp_args_element_name_2; if ( var_bomDict == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bomDict" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 554; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_8 = var_bomDict; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_get ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 554; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( var_string == 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", "string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 554; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = var_string; frame_e50baefe499e63491979effb24fb97df->m_frame.f_lineno = 554; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 554; type_description_1 = "ooooo"; goto frame_exception_exit_1; } { PyObject *old = var_encoding; var_encoding = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; tmp_assign_source_6 = const_int_pos_4; { PyObject *old = var_seek; var_seek = tmp_assign_source_6; Py_INCREF( var_seek ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_3; CHECK_OBJECT( var_encoding ); tmp_operand_name_3 = var_encoding; 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 = 556; type_description_1 = "ooooo"; 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_7; PyObject *tmp_called_name_3; PyObject *tmp_source_name_9; PyObject *tmp_args_element_name_3; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; if ( var_bomDict == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bomDict" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 557; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_9 = var_bomDict; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_get ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 557; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( var_string == 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", "string" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 557; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = var_string; tmp_subscript_name_2 = const_slice_none_int_pos_2_none; tmp_args_element_name_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 557; type_description_1 = "ooooo"; goto frame_exception_exit_1; } frame_e50baefe499e63491979effb24fb97df->m_frame.f_lineno = 557; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 557; type_description_1 = "ooooo"; goto frame_exception_exit_1; } { PyObject *old = var_encoding; var_encoding = tmp_assign_source_7; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_8; tmp_assign_source_8 = const_int_pos_2; { PyObject *old = var_seek; var_seek = tmp_assign_source_8; Py_INCREF( var_seek ); Py_XDECREF( old ); } } branch_no_3:; } branch_no_2:; } { nuitka_bool tmp_condition_result_4; int tmp_truth_name_1; if ( var_encoding == NULL ) { 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 = 562; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( var_encoding ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 562; type_description_1 = "ooooo"; 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_called_name_4; PyObject *tmp_source_name_10; PyObject *tmp_source_name_11; 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 = 563; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_11 = par_self; tmp_source_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_rawStream ); if ( tmp_source_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 563; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_seek ); Py_DECREF( tmp_source_name_10 ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 563; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( var_seek == 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", "seek" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 563; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = var_seek; frame_e50baefe499e63491979effb24fb97df->m_frame.f_lineno = 563; { 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 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 563; type_description_1 = "ooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_5; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_5; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lookupEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 564; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_called_name_5 = tmp_mvar_value_6; if ( var_encoding == NULL ) { 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 = 564; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = var_encoding; frame_e50baefe499e63491979effb24fb97df->m_frame.f_lineno = 564; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 564; type_description_1 = "ooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_4; branch_no_4:; { PyObject *tmp_called_instance_2; PyObject *tmp_source_name_12; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 566; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_12 = par_self; tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_rawStream ); if ( tmp_called_instance_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 566; type_description_1 = "ooooo"; goto frame_exception_exit_1; } frame_e50baefe499e63491979effb24fb97df->m_frame.f_lineno = 566; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_seek, &PyTuple_GET_ITEM( const_tuple_int_0_tuple, 0 ) ); Py_DECREF( tmp_called_instance_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 566; type_description_1 = "ooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_4:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_e50baefe499e63491979effb24fb97df ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e50baefe499e63491979effb24fb97df ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e50baefe499e63491979effb24fb97df ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e50baefe499e63491979effb24fb97df, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e50baefe499e63491979effb24fb97df->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e50baefe499e63491979effb24fb97df, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e50baefe499e63491979effb24fb97df, type_description_1, par_self, var_bomDict, var_string, var_encoding, var_seek ); // Release cached frame. if ( frame_e50baefe499e63491979effb24fb97df == cache_frame_e50baefe499e63491979effb24fb97df ) { Py_DECREF( frame_e50baefe499e63491979effb24fb97df ); } cache_frame_e50baefe499e63491979effb24fb97df = NULL; assertFrameObject( frame_e50baefe499e63491979effb24fb97df ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_25_detectBOM ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_bomDict ); var_bomDict = NULL; } { Py_XDECREF( var_string ); var_string = NULL; } { Py_XDECREF( var_encoding ); var_encoding = NULL; } { Py_XDECREF( var_seek ); var_seek = 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_bomDict ); var_bomDict = NULL; } { Py_XDECREF( var_string ); var_string = NULL; } { Py_XDECREF( var_encoding ); var_encoding = NULL; } { Py_XDECREF( var_seek ); var_seek = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_25_detectBOM ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_26_detectEncodingMeta( 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_buffer = NULL; PyObject *var_parser = NULL; PyObject *var_encoding = NULL; struct Nuitka_FrameObject *frame_3bcd80e503a3da9594b0ccff62cc85c9; 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_3bcd80e503a3da9594b0ccff62cc85c9 = 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_3bcd80e503a3da9594b0ccff62cc85c9, codeobj_3bcd80e503a3da9594b0ccff62cc85c9, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_3bcd80e503a3da9594b0ccff62cc85c9 = cache_frame_3bcd80e503a3da9594b0ccff62cc85c9; // Push the new frame as the currently active one. pushFrameStack( frame_3bcd80e503a3da9594b0ccff62cc85c9 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_3bcd80e503a3da9594b0ccff62cc85c9 ) == 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; 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_rawStream ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 572; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_read ); 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 = 572; 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 = 572; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_numBytesMeta ); 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 = 572; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_3bcd80e503a3da9594b0ccff62cc85c9->m_frame.f_lineno = 572; { 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 ); 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 = 572; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_buffer == NULL ); var_buffer = 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_buffer ); tmp_isinstance_inst_1 = var_buffer; tmp_isinstance_cls_1 = (PyObject *)&PyBytes_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 = 573; 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 = 573; 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; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 573; 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_2; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_EncodingParser ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EncodingParser ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EncodingParser" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 574; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_1; if ( var_buffer == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "buffer" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 574; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = var_buffer; frame_3bcd80e503a3da9594b0ccff62cc85c9->m_frame.f_lineno = 574; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 574; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_parser == NULL ); var_parser = tmp_assign_source_2; } { PyObject *tmp_called_instance_1; PyObject *tmp_source_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 = 575; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_rawStream ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 575; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_3bcd80e503a3da9594b0ccff62cc85c9->m_frame.f_lineno = 575; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_seek, &PyTuple_GET_ITEM( const_tuple_int_0_tuple, 0 ) ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 575; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_3; PyObject *tmp_called_instance_2; if ( var_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 = 576; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = var_parser; frame_3bcd80e503a3da9594b0ccff62cc85c9->m_frame.f_lineno = 576; tmp_assign_source_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_getEncoding ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 576; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_encoding == NULL ); var_encoding = tmp_assign_source_3; } { 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_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_5; CHECK_OBJECT( var_encoding ); tmp_compexpr_left_1 = var_encoding; 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 ( var_encoding == NULL ) { 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 = 578; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_5 = var_encoding; 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 = 578; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = const_tuple_033d7372d36223c40c6dd931e2bb5685_tuple; tmp_res = PySequence_Contains( tmp_compexpr_right_2, tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 578; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res == 1 ) ? 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:; { PyObject *tmp_assign_source_4; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lookupEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 579; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_name_3 = tmp_mvar_value_2; frame_3bcd80e503a3da9594b0ccff62cc85c9->m_frame.f_lineno = 579; tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, &PyTuple_GET_ITEM( const_tuple_str_digest_c075052d723d6707083e869a0e3659bb_tuple, 0 ) ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 579; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = var_encoding; var_encoding = tmp_assign_source_4; Py_XDECREF( old ); } } branch_no_2:; } { if ( var_encoding == NULL ) { 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 = 581; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = var_encoding; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_3bcd80e503a3da9594b0ccff62cc85c9 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3bcd80e503a3da9594b0ccff62cc85c9 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3bcd80e503a3da9594b0ccff62cc85c9 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_3bcd80e503a3da9594b0ccff62cc85c9, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_3bcd80e503a3da9594b0ccff62cc85c9->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_3bcd80e503a3da9594b0ccff62cc85c9, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_3bcd80e503a3da9594b0ccff62cc85c9, type_description_1, par_self, var_buffer, var_parser, var_encoding ); // Release cached frame. if ( frame_3bcd80e503a3da9594b0ccff62cc85c9 == cache_frame_3bcd80e503a3da9594b0ccff62cc85c9 ) { Py_DECREF( frame_3bcd80e503a3da9594b0ccff62cc85c9 ); } cache_frame_3bcd80e503a3da9594b0ccff62cc85c9 = NULL; assertFrameObject( frame_3bcd80e503a3da9594b0ccff62cc85c9 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_26_detectEncodingMeta ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_buffer ); var_buffer = NULL; } { Py_XDECREF( var_parser ); var_parser = NULL; } { Py_XDECREF( var_encoding ); var_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( var_buffer ); var_buffer = NULL; } { Py_XDECREF( var_parser ); var_parser = NULL; } { Py_XDECREF( var_encoding ); var_encoding = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_26_detectEncodingMeta ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_27___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_self = python_pars[ 0 ]; PyObject *par_value = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_cf3365a861798efb9b223b0aaa1d521a; 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_cf3365a861798efb9b223b0aaa1d521a = 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_cf3365a861798efb9b223b0aaa1d521a, codeobj_cf3365a861798efb9b223b0aaa1d521a, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *) ); frame_cf3365a861798efb9b223b0aaa1d521a = cache_frame_cf3365a861798efb9b223b0aaa1d521a; // Push the new frame as the currently active one. pushFrameStack( frame_cf3365a861798efb9b223b0aaa1d521a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_cf3365a861798efb9b223b0aaa1d521a ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; CHECK_OBJECT( par_value ); tmp_isinstance_inst_1 = par_value; tmp_isinstance_cls_1 = (PyObject *)&PyBytes_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 = 589; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 589; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 589; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_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_called_instance_1; tmp_source_name_1 = (PyObject *)&PyBytes_Type; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___new__ ); assert( !(tmp_called_name_1 == NULL) ); if ( par_self == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 590; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_self; if ( par_value == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 590; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_value; frame_cf3365a861798efb9b223b0aaa1d521a->m_frame.f_lineno = 590; tmp_args_element_name_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_lower ); 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 = 590; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_cf3365a861798efb9b223b0aaa1d521a->m_frame.f_lineno = 590; { 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 = 590; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_cf3365a861798efb9b223b0aaa1d521a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cf3365a861798efb9b223b0aaa1d521a ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cf3365a861798efb9b223b0aaa1d521a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_cf3365a861798efb9b223b0aaa1d521a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_cf3365a861798efb9b223b0aaa1d521a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_cf3365a861798efb9b223b0aaa1d521a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_cf3365a861798efb9b223b0aaa1d521a, type_description_1, par_self, par_value ); // Release cached frame. if ( frame_cf3365a861798efb9b223b0aaa1d521a == cache_frame_cf3365a861798efb9b223b0aaa1d521a ) { Py_DECREF( frame_cf3365a861798efb9b223b0aaa1d521a ); } cache_frame_cf3365a861798efb9b223b0aaa1d521a = NULL; assertFrameObject( frame_cf3365a861798efb9b223b0aaa1d521a ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_27___new__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = 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_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( html5lib$_inputstream$$$function_27___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_html5lib$_inputstream$$$function_28___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_value = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_8256de6e764d673f5bc2b483e0737aa6; 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_8256de6e764d673f5bc2b483e0737aa6 = 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_8256de6e764d673f5bc2b483e0737aa6, codeobj_8256de6e764d673f5bc2b483e0737aa6, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *) ); frame_8256de6e764d673f5bc2b483e0737aa6 = cache_frame_8256de6e764d673f5bc2b483e0737aa6; // Push the new frame as the currently active one. pushFrameStack( frame_8256de6e764d673f5bc2b483e0737aa6 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8256de6e764d673f5bc2b483e0737aa6 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; tmp_assattr_name_1 = const_int_neg_1; CHECK_OBJECT( par_self ); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__position, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 594; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_8256de6e764d673f5bc2b483e0737aa6 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8256de6e764d673f5bc2b483e0737aa6 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8256de6e764d673f5bc2b483e0737aa6, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8256de6e764d673f5bc2b483e0737aa6->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8256de6e764d673f5bc2b483e0737aa6, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8256de6e764d673f5bc2b483e0737aa6, type_description_1, par_self, par_value ); // Release cached frame. if ( frame_8256de6e764d673f5bc2b483e0737aa6 == cache_frame_8256de6e764d673f5bc2b483e0737aa6 ) { Py_DECREF( frame_8256de6e764d673f5bc2b483e0737aa6 ); } cache_frame_8256de6e764d673f5bc2b483e0737aa6 = NULL; assertFrameObject( frame_8256de6e764d673f5bc2b483e0737aa6 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_28___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = 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_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( html5lib$_inputstream$$$function_28___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_29___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 ]; PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { CHECK_OBJECT( par_self ); tmp_return_value = par_self; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_29___iter__ ); 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: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_29___iter__ ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_30___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 *var_p = NULL; PyObject *tmp_assign_unpack_1__assign_source = NULL; struct Nuitka_FrameObject *frame_ddc84713fb692dc72d31420dd6c93c66; 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; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_ddc84713fb692dc72d31420dd6c93c66 = 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_ddc84713fb692dc72d31420dd6c93c66, codeobj_ddc84713fb692dc72d31420dd6c93c66, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *) ); frame_ddc84713fb692dc72d31420dd6c93c66 = cache_frame_ddc84713fb692dc72d31420dd6c93c66; // Push the new frame as the currently active one. pushFrameStack( frame_ddc84713fb692dc72d31420dd6c93c66 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ddc84713fb692dc72d31420dd6c93c66 ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_left_name_1; PyObject *tmp_source_name_1; PyObject *tmp_right_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_left_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__position ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 600; type_description_1 = "oo"; goto try_except_handler_2; } tmp_right_name_1 = const_int_pos_1; tmp_assign_source_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 600; type_description_1 = "oo"; goto try_except_handler_2; } assert( tmp_assign_unpack_1__assign_source == NULL ); tmp_assign_unpack_1__assign_source = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; CHECK_OBJECT( tmp_assign_unpack_1__assign_source ); tmp_assign_source_2 = tmp_assign_unpack_1__assign_source; assert( var_p == NULL ); Py_INCREF( tmp_assign_source_2 ); var_p = tmp_assign_source_2; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( tmp_assign_unpack_1__assign_source ); tmp_assattr_name_1 = tmp_assign_unpack_1__assign_source; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 600; type_description_1 = "oo"; goto try_except_handler_2; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__position, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 600; type_description_1 = "oo"; goto try_except_handler_2; } } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_assign_unpack_1__assign_source ); tmp_assign_unpack_1__assign_source = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { CHECK_OBJECT( (PyObject *)tmp_assign_unpack_1__assign_source ); Py_DECREF( tmp_assign_unpack_1__assign_source ); tmp_assign_unpack_1__assign_source = NULL; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 601; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = var_p; 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 = 601; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_self; tmp_compexpr_right_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 601; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 601; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_StopIteration; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 602; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_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 ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 603; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = var_p; tmp_compexpr_right_2 = const_int_0; tmp_res = RICH_COMPARE_BOOL_LT( 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 = 603; 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:; { PyObject *tmp_raise_type_2; tmp_raise_type_2 = PyExc_TypeError; exception_type = tmp_raise_type_2; Py_INCREF( tmp_raise_type_2 ); exception_lineno = 604; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_2:; } branch_end_1:; } { PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_step_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 = 605; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = par_self; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 605; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_start_name_1 = var_p; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 605; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_left_name_2 = var_p; tmp_right_name_2 = const_int_pos_1; tmp_stop_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 605; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 605; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_ddc84713fb692dc72d31420dd6c93c66 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ddc84713fb692dc72d31420dd6c93c66 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ddc84713fb692dc72d31420dd6c93c66 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ddc84713fb692dc72d31420dd6c93c66, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ddc84713fb692dc72d31420dd6c93c66->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ddc84713fb692dc72d31420dd6c93c66, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ddc84713fb692dc72d31420dd6c93c66, type_description_1, par_self, var_p ); // Release cached frame. if ( frame_ddc84713fb692dc72d31420dd6c93c66 == cache_frame_ddc84713fb692dc72d31420dd6c93c66 ) { Py_DECREF( frame_ddc84713fb692dc72d31420dd6c93c66 ); } cache_frame_ddc84713fb692dc72d31420dd6c93c66 = NULL; assertFrameObject( frame_ddc84713fb692dc72d31420dd6c93c66 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_30___next__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_p ); var_p = 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_p ); var_p = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_30___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_html5lib$_inputstream$$$function_31_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_2c66bc8f8b04b6e462e6d4d980c4a8e1; 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_2c66bc8f8b04b6e462e6d4d980c4a8e1 = 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_2c66bc8f8b04b6e462e6d4d980c4a8e1, codeobj_2c66bc8f8b04b6e462e6d4d980c4a8e1, module_html5lib$_inputstream, sizeof(void *) ); frame_2c66bc8f8b04b6e462e6d4d980c4a8e1 = cache_frame_2c66bc8f8b04b6e462e6d4d980c4a8e1; // Push the new frame as the currently active one. pushFrameStack( frame_2c66bc8f8b04b6e462e6d4d980c4a8e1 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_2c66bc8f8b04b6e462e6d4d980c4a8e1 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; CHECK_OBJECT( par_self ); tmp_called_instance_1 = par_self; frame_2c66bc8f8b04b6e462e6d4d980c4a8e1->m_frame.f_lineno = 609; tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain___next__ ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 609; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_2c66bc8f8b04b6e462e6d4d980c4a8e1 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2c66bc8f8b04b6e462e6d4d980c4a8e1 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2c66bc8f8b04b6e462e6d4d980c4a8e1 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_2c66bc8f8b04b6e462e6d4d980c4a8e1, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_2c66bc8f8b04b6e462e6d4d980c4a8e1->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_2c66bc8f8b04b6e462e6d4d980c4a8e1, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_2c66bc8f8b04b6e462e6d4d980c4a8e1, type_description_1, par_self ); // Release cached frame. if ( frame_2c66bc8f8b04b6e462e6d4d980c4a8e1 == cache_frame_2c66bc8f8b04b6e462e6d4d980c4a8e1 ) { Py_DECREF( frame_2c66bc8f8b04b6e462e6d4d980c4a8e1 ); } cache_frame_2c66bc8f8b04b6e462e6d4d980c4a8e1 = NULL; assertFrameObject( frame_2c66bc8f8b04b6e462e6d4d980c4a8e1 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_31_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( html5lib$_inputstream$$$function_31_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_html5lib$_inputstream$$$function_32_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 *var_p = NULL; PyObject *tmp_assign_unpack_1__assign_source = NULL; struct Nuitka_FrameObject *frame_82fb4041c9ba1347b3fe61ced197a4c1; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_82fb4041c9ba1347b3fe61ced197a4c1 = 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_82fb4041c9ba1347b3fe61ced197a4c1, codeobj_82fb4041c9ba1347b3fe61ced197a4c1, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *) ); frame_82fb4041c9ba1347b3fe61ced197a4c1 = cache_frame_82fb4041c9ba1347b3fe61ced197a4c1; // Push the new frame as the currently active one. pushFrameStack( frame_82fb4041c9ba1347b3fe61ced197a4c1 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_82fb4041c9ba1347b3fe61ced197a4c1 ) == 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__position ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 612; type_description_1 = "oo"; goto frame_exception_exit_1; } assert( var_p == NULL ); var_p = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; CHECK_OBJECT( var_p ); tmp_compexpr_left_1 = var_p; 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 = 613; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_self; tmp_compexpr_right_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 613; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 613; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_StopIteration; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 614; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_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 ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 615; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = var_p; tmp_compexpr_right_2 = const_int_0; tmp_res = RICH_COMPARE_BOOL_LT( 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 = 615; 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:; { PyObject *tmp_raise_type_2; tmp_raise_type_2 = PyExc_TypeError; exception_type = tmp_raise_type_2; Py_INCREF( tmp_raise_type_2 ); exception_lineno = 616; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_2:; } branch_end_1:; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 617; type_description_1 = "oo"; goto try_except_handler_2; } tmp_left_name_1 = var_p; tmp_right_name_1 = const_int_pos_1; tmp_assign_source_2 = BINARY_OPERATION_SUB( 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 = 617; type_description_1 = "oo"; goto try_except_handler_2; } assert( tmp_assign_unpack_1__assign_source == NULL ); tmp_assign_unpack_1__assign_source = tmp_assign_source_2; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( tmp_assign_unpack_1__assign_source ); tmp_assattr_name_1 = tmp_assign_unpack_1__assign_source; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 617; type_description_1 = "oo"; goto try_except_handler_2; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__position, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 617; type_description_1 = "oo"; goto try_except_handler_2; } } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_assign_unpack_1__assign_source ); tmp_assign_unpack_1__assign_source = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { PyObject *tmp_assign_source_3; CHECK_OBJECT( tmp_assign_unpack_1__assign_source ); tmp_assign_source_3 = tmp_assign_unpack_1__assign_source; { PyObject *old = var_p; var_p = tmp_assign_source_3; Py_INCREF( var_p ); Py_XDECREF( old ); } } { CHECK_OBJECT( (PyObject *)tmp_assign_unpack_1__assign_source ); Py_DECREF( tmp_assign_unpack_1__assign_source ); tmp_assign_unpack_1__assign_source = NULL; } { PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_step_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 = 618; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = par_self; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 618; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_start_name_1 = var_p; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 618; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_left_name_2 = var_p; tmp_right_name_2 = const_int_pos_1; tmp_stop_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 618; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 618; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_82fb4041c9ba1347b3fe61ced197a4c1 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_82fb4041c9ba1347b3fe61ced197a4c1 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_82fb4041c9ba1347b3fe61ced197a4c1 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_82fb4041c9ba1347b3fe61ced197a4c1, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_82fb4041c9ba1347b3fe61ced197a4c1->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_82fb4041c9ba1347b3fe61ced197a4c1, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_82fb4041c9ba1347b3fe61ced197a4c1, type_description_1, par_self, var_p ); // Release cached frame. if ( frame_82fb4041c9ba1347b3fe61ced197a4c1 == cache_frame_82fb4041c9ba1347b3fe61ced197a4c1 ) { Py_DECREF( frame_82fb4041c9ba1347b3fe61ced197a4c1 ); } cache_frame_82fb4041c9ba1347b3fe61ced197a4c1 = NULL; assertFrameObject( frame_82fb4041c9ba1347b3fe61ced197a4c1 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_32_previous ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_p ); var_p = 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_p ); var_p = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_32_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_html5lib$_inputstream$$$function_33_setPosition( 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 ]; struct Nuitka_FrameObject *frame_1955f622cad92da0f8aecec162a828a0; 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; static struct Nuitka_FrameObject *cache_frame_1955f622cad92da0f8aecec162a828a0 = 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_1955f622cad92da0f8aecec162a828a0, codeobj_1955f622cad92da0f8aecec162a828a0, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *) ); frame_1955f622cad92da0f8aecec162a828a0 = cache_frame_1955f622cad92da0f8aecec162a828a0; // Push the new frame as the currently active one. pushFrameStack( frame_1955f622cad92da0f8aecec162a828a0 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_1955f622cad92da0f8aecec162a828a0 ) == 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; PyObject *tmp_len_arg_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__position ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 621; 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 = 621; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_self; tmp_compexpr_right_1 = BUILTIN_LEN( tmp_len_arg_1 ); 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 = 621; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_GE( 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 = 621; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_StopIteration; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 622; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_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 = 623; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = 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 = 623; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__position, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 623; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_1955f622cad92da0f8aecec162a828a0 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_1955f622cad92da0f8aecec162a828a0 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_1955f622cad92da0f8aecec162a828a0, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_1955f622cad92da0f8aecec162a828a0->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_1955f622cad92da0f8aecec162a828a0, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_1955f622cad92da0f8aecec162a828a0, type_description_1, par_self, par_position ); // Release cached frame. if ( frame_1955f622cad92da0f8aecec162a828a0 == cache_frame_1955f622cad92da0f8aecec162a828a0 ) { Py_DECREF( frame_1955f622cad92da0f8aecec162a828a0 ); } cache_frame_1955f622cad92da0f8aecec162a828a0 = NULL; assertFrameObject( frame_1955f622cad92da0f8aecec162a828a0 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_33_setPosition ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_position ); par_position = 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_position ); par_position = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_33_setPosition ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_34_getPosition( 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_3cb39b82746e5e0bbb9fa25b9a88e9ae; 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_3cb39b82746e5e0bbb9fa25b9a88e9ae = 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_3cb39b82746e5e0bbb9fa25b9a88e9ae, codeobj_3cb39b82746e5e0bbb9fa25b9a88e9ae, module_html5lib$_inputstream, sizeof(void *) ); frame_3cb39b82746e5e0bbb9fa25b9a88e9ae = cache_frame_3cb39b82746e5e0bbb9fa25b9a88e9ae; // Push the new frame as the currently active one. pushFrameStack( frame_3cb39b82746e5e0bbb9fa25b9a88e9ae ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_3cb39b82746e5e0bbb9fa25b9a88e9ae ) == 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; PyObject *tmp_len_arg_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__position ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 626; type_description_1 = "o"; 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 = 626; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_self; tmp_compexpr_right_1 = BUILTIN_LEN( tmp_len_arg_1 ); 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 = 626; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_res = RICH_COMPARE_BOOL_GE( 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 = 626; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_StopIteration; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 627; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "o"; goto frame_exception_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_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 = 628; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__position ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 628; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = const_int_0; tmp_res = RICH_COMPARE_BOOL_GE( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 628; type_description_1 = "o"; 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_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 = 629; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__position ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 629; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_2; branch_no_2:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_2:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_3cb39b82746e5e0bbb9fa25b9a88e9ae ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3cb39b82746e5e0bbb9fa25b9a88e9ae ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3cb39b82746e5e0bbb9fa25b9a88e9ae ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_3cb39b82746e5e0bbb9fa25b9a88e9ae, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_3cb39b82746e5e0bbb9fa25b9a88e9ae->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_3cb39b82746e5e0bbb9fa25b9a88e9ae, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_3cb39b82746e5e0bbb9fa25b9a88e9ae, type_description_1, par_self ); // Release cached frame. if ( frame_3cb39b82746e5e0bbb9fa25b9a88e9ae == cache_frame_3cb39b82746e5e0bbb9fa25b9a88e9ae ) { Py_DECREF( frame_3cb39b82746e5e0bbb9fa25b9a88e9ae ); } cache_frame_3cb39b82746e5e0bbb9fa25b9a88e9ae = NULL; assertFrameObject( frame_3cb39b82746e5e0bbb9fa25b9a88e9ae ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_34_getPosition ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_34_getPosition ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_35_getCurrentByte( 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_d6c4a17446083670f3269c2c3173a25d; 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_d6c4a17446083670f3269c2c3173a25d = 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_d6c4a17446083670f3269c2c3173a25d, codeobj_d6c4a17446083670f3269c2c3173a25d, module_html5lib$_inputstream, sizeof(void *) ); frame_d6c4a17446083670f3269c2c3173a25d = cache_frame_d6c4a17446083670f3269c2c3173a25d; // Push the new frame as the currently active one. pushFrameStack( frame_d6c4a17446083670f3269c2c3173a25d ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d6c4a17446083670f3269c2c3173a25d ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_source_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_left_name_1; PyObject *tmp_source_name_2; PyObject *tmp_right_name_1; PyObject *tmp_step_name_1; CHECK_OBJECT( par_self ); tmp_subscribed_name_1 = par_self; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_start_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_position ); if ( tmp_start_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 636; type_description_1 = "o"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_start_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 = 636; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_left_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_position ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_start_name_1 ); exception_lineno = 636; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_right_name_1 = const_int_pos_1; tmp_stop_name_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_start_name_1 ); exception_lineno = 636; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_start_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 636; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d6c4a17446083670f3269c2c3173a25d ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d6c4a17446083670f3269c2c3173a25d ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d6c4a17446083670f3269c2c3173a25d ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d6c4a17446083670f3269c2c3173a25d, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d6c4a17446083670f3269c2c3173a25d->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d6c4a17446083670f3269c2c3173a25d, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d6c4a17446083670f3269c2c3173a25d, type_description_1, par_self ); // Release cached frame. if ( frame_d6c4a17446083670f3269c2c3173a25d == cache_frame_d6c4a17446083670f3269c2c3173a25d ) { Py_DECREF( frame_d6c4a17446083670f3269c2c3173a25d ); } cache_frame_d6c4a17446083670f3269c2c3173a25d = NULL; assertFrameObject( frame_d6c4a17446083670f3269c2c3173a25d ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_35_getCurrentByte ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_35_getCurrentByte ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_36_skip( 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_chars = python_pars[ 1 ]; PyObject *var_p = NULL; PyObject *var_c = NULL; struct Nuitka_FrameObject *frame_211695d592fa280de38f845d39b4da90; 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; static struct Nuitka_FrameObject *cache_frame_211695d592fa280de38f845d39b4da90 = 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_211695d592fa280de38f845d39b4da90, codeobj_211695d592fa280de38f845d39b4da90, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_211695d592fa280de38f845d39b4da90 = cache_frame_211695d592fa280de38f845d39b4da90; // Push the new frame as the currently active one. pushFrameStack( frame_211695d592fa280de38f845d39b4da90 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_211695d592fa280de38f845d39b4da90 ) == 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_position ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 642; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_p == NULL ); var_p = tmp_assign_source_1; } { loop_start_1:; { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 643; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = var_p; 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 = 643; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_self; tmp_compexpr_right_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 643; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = RICH_COMPARE_LT( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 643; 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 = 643; 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:; { goto loop_end_1; } branch_no_1:; } { PyObject *tmp_assign_source_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_step_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 = 644; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = par_self; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 644; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_start_name_1 = var_p; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 644; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_1 = var_p; tmp_right_name_1 = const_int_pos_1; tmp_stop_name_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 644; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_assign_source_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 644; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = var_c; var_c = tmp_assign_source_2; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( var_c ); tmp_compexpr_left_2 = var_c; if ( par_chars == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "chars" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 645; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = par_chars; 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 = 645; 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_assattr_name_1; PyObject *tmp_assattr_target_1; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 646; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = var_p; 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 = 646; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__position, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 646; type_description_1 = "oooo"; goto frame_exception_exit_1; } } { if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 647; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = var_c; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_2:; } { PyObject *tmp_assign_source_3; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 648; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_2 = var_p; tmp_right_name_2 = const_int_pos_1; tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_2, tmp_right_name_2 ); tmp_assign_source_3 = tmp_left_name_2; if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 648; type_description_1 = "oooo"; goto frame_exception_exit_1; } var_p = tmp_assign_source_3; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 643; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 649; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_name_2 = var_p; 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 = 649; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__position, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 649; type_description_1 = "oooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_211695d592fa280de38f845d39b4da90 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_211695d592fa280de38f845d39b4da90 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_211695d592fa280de38f845d39b4da90 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_211695d592fa280de38f845d39b4da90, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_211695d592fa280de38f845d39b4da90->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_211695d592fa280de38f845d39b4da90, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_211695d592fa280de38f845d39b4da90, type_description_1, par_self, par_chars, var_p, var_c ); // Release cached frame. if ( frame_211695d592fa280de38f845d39b4da90 == cache_frame_211695d592fa280de38f845d39b4da90 ) { Py_DECREF( frame_211695d592fa280de38f845d39b4da90 ); } cache_frame_211695d592fa280de38f845d39b4da90 = NULL; assertFrameObject( frame_211695d592fa280de38f845d39b4da90 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_36_skip ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_chars ); par_chars = NULL; } { Py_XDECREF( var_p ); var_p = NULL; } { Py_XDECREF( var_c ); var_c = 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_chars ); par_chars = NULL; } { Py_XDECREF( var_p ); var_p = NULL; } { Py_XDECREF( var_c ); var_c = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_36_skip ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_37_skipUntil( 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_chars = python_pars[ 1 ]; PyObject *var_p = NULL; PyObject *var_c = NULL; struct Nuitka_FrameObject *frame_0c272fde91fc2ca133549e67344baf88; 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; static struct Nuitka_FrameObject *cache_frame_0c272fde91fc2ca133549e67344baf88 = 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_0c272fde91fc2ca133549e67344baf88, codeobj_0c272fde91fc2ca133549e67344baf88, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_0c272fde91fc2ca133549e67344baf88 = cache_frame_0c272fde91fc2ca133549e67344baf88; // Push the new frame as the currently active one. pushFrameStack( frame_0c272fde91fc2ca133549e67344baf88 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_0c272fde91fc2ca133549e67344baf88 ) == 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_position ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 653; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_p == NULL ); var_p = tmp_assign_source_1; } { loop_start_1:; { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 654; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = var_p; 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 = 654; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_self; tmp_compexpr_right_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 654; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = RICH_COMPARE_LT( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 654; 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 = 654; 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:; { goto loop_end_1; } branch_no_1:; } { PyObject *tmp_assign_source_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_step_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 = 655; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = par_self; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 655; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_start_name_1 = var_p; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 655; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_1 = var_p; tmp_right_name_1 = const_int_pos_1; tmp_stop_name_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 655; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_assign_source_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 655; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = var_c; var_c = tmp_assign_source_2; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( var_c ); tmp_compexpr_left_2 = var_c; if ( par_chars == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "chars" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 656; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = par_chars; 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 = 656; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 657; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = var_p; 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 = 657; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__position, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 657; type_description_1 = "oooo"; goto frame_exception_exit_1; } } { if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 658; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = var_c; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_2:; } { PyObject *tmp_assign_source_3; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 659; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_2 = var_p; tmp_right_name_2 = const_int_pos_1; tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_2, tmp_right_name_2 ); tmp_assign_source_3 = tmp_left_name_2; if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 659; type_description_1 = "oooo"; goto frame_exception_exit_1; } var_p = tmp_assign_source_3; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 654; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; if ( var_p == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 660; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_name_2 = var_p; 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 = 660; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__position, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 660; type_description_1 = "oooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_0c272fde91fc2ca133549e67344baf88 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0c272fde91fc2ca133549e67344baf88 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0c272fde91fc2ca133549e67344baf88 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_0c272fde91fc2ca133549e67344baf88, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_0c272fde91fc2ca133549e67344baf88->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_0c272fde91fc2ca133549e67344baf88, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_0c272fde91fc2ca133549e67344baf88, type_description_1, par_self, par_chars, var_p, var_c ); // Release cached frame. if ( frame_0c272fde91fc2ca133549e67344baf88 == cache_frame_0c272fde91fc2ca133549e67344baf88 ) { Py_DECREF( frame_0c272fde91fc2ca133549e67344baf88 ); } cache_frame_0c272fde91fc2ca133549e67344baf88 = NULL; assertFrameObject( frame_0c272fde91fc2ca133549e67344baf88 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_37_skipUntil ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_chars ); par_chars = NULL; } { Py_XDECREF( var_p ); var_p = NULL; } { Py_XDECREF( var_c ); var_c = 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_chars ); par_chars = NULL; } { Py_XDECREF( var_p ); var_p = NULL; } { Py_XDECREF( var_c ); var_c = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_37_skipUntil ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_38_matchBytes( 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_bytes = python_pars[ 1 ]; PyObject *var_p = NULL; PyObject *var_data = NULL; PyObject *var_rv = NULL; PyObject *tmp_inplace_assign_attr_1__end = NULL; PyObject *tmp_inplace_assign_attr_1__start = NULL; struct Nuitka_FrameObject *frame_9acdd5698d06771982552941b6a8cc00; 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; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_9acdd5698d06771982552941b6a8cc00 = 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_9acdd5698d06771982552941b6a8cc00, codeobj_9acdd5698d06771982552941b6a8cc00, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_9acdd5698d06771982552941b6a8cc00 = cache_frame_9acdd5698d06771982552941b6a8cc00; // Push the new frame as the currently active one. pushFrameStack( frame_9acdd5698d06771982552941b6a8cc00 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_9acdd5698d06771982552941b6a8cc00 ) == 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_position ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 667; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_p == NULL ); var_p = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_len_arg_1; PyObject *tmp_step_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 = 668; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = par_self; CHECK_OBJECT( var_p ); tmp_start_name_1 = var_p; CHECK_OBJECT( var_p ); tmp_left_name_1 = var_p; if ( par_bytes == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 668; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_len_arg_1 = par_bytes; tmp_right_name_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 668; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_stop_name_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 668; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_assign_source_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 668; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_data == NULL ); var_data = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; CHECK_OBJECT( var_data ); tmp_source_name_2 = var_data; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_startswith ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 669; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( par_bytes == 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", "bytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 669; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_bytes; frame_9acdd5698d06771982552941b6a8cc00->m_frame.f_lineno = 669; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 669; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_rv == NULL ); var_rv = tmp_assign_source_3; } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT( var_rv ); tmp_truth_name_1 = CHECK_IF_TRUE( var_rv ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 670; type_description_1 = "ooooo"; 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_4; 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 = 671; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_assign_source_4 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_position ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 671; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( tmp_inplace_assign_attr_1__start == NULL ); tmp_inplace_assign_attr_1__start = tmp_assign_source_4; } { // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_len_arg_2; CHECK_OBJECT( tmp_inplace_assign_attr_1__start ); tmp_left_name_2 = tmp_inplace_assign_attr_1__start; if ( par_bytes == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 671; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_len_arg_2 = par_bytes; tmp_right_name_2 = BUILTIN_LEN( tmp_len_arg_2 ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 671; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_assign_source_5 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 671; type_description_1 = "ooooo"; goto try_except_handler_2; } assert( tmp_inplace_assign_attr_1__end == NULL ); tmp_inplace_assign_attr_1__end = tmp_assign_source_5; } { // 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 = 671; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_position, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 671; type_description_1 = "ooooo"; 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; } branch_no_1:; } { if ( var_rv == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "rv" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 672; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_return_value = var_rv; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_9acdd5698d06771982552941b6a8cc00 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9acdd5698d06771982552941b6a8cc00 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9acdd5698d06771982552941b6a8cc00 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_9acdd5698d06771982552941b6a8cc00, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_9acdd5698d06771982552941b6a8cc00->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_9acdd5698d06771982552941b6a8cc00, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_9acdd5698d06771982552941b6a8cc00, type_description_1, par_self, par_bytes, var_p, var_data, var_rv ); // Release cached frame. if ( frame_9acdd5698d06771982552941b6a8cc00 == cache_frame_9acdd5698d06771982552941b6a8cc00 ) { Py_DECREF( frame_9acdd5698d06771982552941b6a8cc00 ); } cache_frame_9acdd5698d06771982552941b6a8cc00 = NULL; assertFrameObject( frame_9acdd5698d06771982552941b6a8cc00 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_38_matchBytes ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_bytes ); par_bytes = NULL; } { Py_XDECREF( var_p ); var_p = NULL; } { Py_XDECREF( var_data ); var_data = NULL; } { Py_XDECREF( var_rv ); var_rv = 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_bytes ); par_bytes = NULL; } { Py_XDECREF( var_p ); var_p = NULL; } { Py_XDECREF( var_data ); var_data = NULL; } { Py_XDECREF( var_rv ); var_rv = 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( html5lib$_inputstream$$$function_38_matchBytes ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_39_jumpTo( 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_bytes = python_pars[ 1 ]; PyObject *var_newPosition = NULL; PyObject *tmp_inplace_assign_attr_1__end = NULL; PyObject *tmp_inplace_assign_attr_1__start = NULL; struct Nuitka_FrameObject *frame_456468498105b941d5919b807e4e14fb; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *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_456468498105b941d5919b807e4e14fb = 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_456468498105b941d5919b807e4e14fb, codeobj_456468498105b941d5919b807e4e14fb, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_456468498105b941d5919b807e4e14fb = cache_frame_456468498105b941d5919b807e4e14fb; // Push the new frame as the currently active one. pushFrameStack( frame_456468498105b941d5919b807e4e14fb ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_456468498105b941d5919b807e4e14fb ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_source_name_2; PyObject *tmp_stop_name_1; PyObject *tmp_step_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_self ); tmp_subscribed_name_1 = par_self; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_start_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_position ); if ( tmp_start_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 677; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_stop_name_1 = Py_None; tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_start_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_source_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 677; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_find ); 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 = 677; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_bytes == 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", "bytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 677; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_bytes; frame_456468498105b941d5919b807e4e14fb->m_frame.f_lineno = 677; { 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 = 677; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_newPosition == NULL ); var_newPosition = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( var_newPosition ); tmp_compexpr_left_1 = var_newPosition; tmp_compexpr_right_1 = const_int_neg_1; tmp_res = RICH_COMPARE_BOOL_GT( 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 = 678; 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:; { 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 = 680; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__position ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 680; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = const_int_neg_1; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 680; type_description_1 = "ooo"; 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_assattr_name_1; PyObject *tmp_assattr_target_1; tmp_assattr_name_1 = const_int_0; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 681; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__position, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 681; type_description_1 = "ooo"; goto frame_exception_exit_1; } } branch_no_2:; } { PyObject *tmp_assign_source_2; PyObject *tmp_source_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 = 682; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_assign_source_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain__position ); if ( tmp_assign_source_2 == 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; } assert( tmp_inplace_assign_attr_1__start == NULL ); tmp_inplace_assign_attr_1__start = tmp_assign_source_2; } { // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_left_name_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_2; PyObject *tmp_len_arg_1; PyObject *tmp_right_name_3; CHECK_OBJECT( tmp_inplace_assign_attr_1__start ); tmp_left_name_1 = tmp_inplace_assign_attr_1__start; if ( var_newPosition == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "newPosition" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 682; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_left_name_3 = var_newPosition; if ( par_bytes == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 682; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_len_arg_1 = par_bytes; tmp_right_name_2 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 682; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_left_name_2 = BINARY_OPERATION_ADD( tmp_left_name_3, tmp_right_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 682; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_right_name_3 = const_int_pos_1; tmp_right_name_1 = BINARY_OPERATION_SUB( tmp_left_name_2, tmp_right_name_3 ); Py_DECREF( tmp_left_name_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 682; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_assign_source_3 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 682; type_description_1 = "ooo"; goto try_except_handler_2; } assert( tmp_inplace_assign_attr_1__end == NULL ); tmp_inplace_assign_attr_1__end = tmp_assign_source_3; } { // Tried code: { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; CHECK_OBJECT( tmp_inplace_assign_attr_1__end ); tmp_assattr_name_2 = 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 = 682; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain__position, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 682; type_description_1 = "ooo"; 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; } { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_StopIteration; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 685; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; goto frame_exception_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_456468498105b941d5919b807e4e14fb ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_456468498105b941d5919b807e4e14fb ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_456468498105b941d5919b807e4e14fb ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_456468498105b941d5919b807e4e14fb, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_456468498105b941d5919b807e4e14fb->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_456468498105b941d5919b807e4e14fb, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_456468498105b941d5919b807e4e14fb, type_description_1, par_self, par_bytes, var_newPosition ); // Release cached frame. if ( frame_456468498105b941d5919b807e4e14fb == cache_frame_456468498105b941d5919b807e4e14fb ) { Py_DECREF( frame_456468498105b941d5919b807e4e14fb ); } cache_frame_456468498105b941d5919b807e4e14fb = NULL; assertFrameObject( frame_456468498105b941d5919b807e4e14fb ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_39_jumpTo ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_bytes ); par_bytes = NULL; } { Py_XDECREF( var_newPosition ); var_newPosition = 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_bytes ); par_bytes = NULL; } { Py_XDECREF( var_newPosition ); var_newPosition = 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( html5lib$_inputstream$$$function_39_jumpTo ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_40___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_data = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_869f8af9ae31d6d676563cf5396196fd; 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_869f8af9ae31d6d676563cf5396196fd = 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_869f8af9ae31d6d676563cf5396196fd, codeobj_869f8af9ae31d6d676563cf5396196fd, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *) ); frame_869f8af9ae31d6d676563cf5396196fd = cache_frame_869f8af9ae31d6d676563cf5396196fd; // Push the new frame as the currently active one. pushFrameStack( frame_869f8af9ae31d6d676563cf5396196fd ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_869f8af9ae31d6d676563cf5396196fd ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_assattr_target_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_EncodingBytes ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EncodingBytes ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EncodingBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 693; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_data ); tmp_args_element_name_1 = par_data; frame_869f8af9ae31d6d676563cf5396196fd->m_frame.f_lineno = 693; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assattr_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_assattr_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 693; type_description_1 = "oo"; 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 = 693; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_data, 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 = 693; type_description_1 = "oo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; tmp_assattr_name_2 = 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 = 694; 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_encoding, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 694; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_869f8af9ae31d6d676563cf5396196fd ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_869f8af9ae31d6d676563cf5396196fd ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_869f8af9ae31d6d676563cf5396196fd, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_869f8af9ae31d6d676563cf5396196fd->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_869f8af9ae31d6d676563cf5396196fd, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_869f8af9ae31d6d676563cf5396196fd, type_description_1, par_self, par_data ); // Release cached frame. if ( frame_869f8af9ae31d6d676563cf5396196fd == cache_frame_869f8af9ae31d6d676563cf5396196fd ) { Py_DECREF( frame_869f8af9ae31d6d676563cf5396196fd ); } cache_frame_869f8af9ae31d6d676563cf5396196fd = NULL; assertFrameObject( frame_869f8af9ae31d6d676563cf5396196fd ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_40___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_40___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_41_getEncoding( 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_methodDispatch = NULL; PyObject *var__ = NULL; PyObject *var_keepParsing = NULL; PyObject *var_key = NULL; PyObject *var_method = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_for_loop_2__for_iterator = NULL; PyObject *tmp_for_loop_2__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_43e3d33dc95095b87fc23a4cc34bc93c; 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 *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; int tmp_res; bool tmp_result; 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 *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_43e3d33dc95095b87fc23a4cc34bc93c = 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. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_43e3d33dc95095b87fc23a4cc34bc93c, codeobj_43e3d33dc95095b87fc23a4cc34bc93c, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_43e3d33dc95095b87fc23a4cc34bc93c = cache_frame_43e3d33dc95095b87fc23a4cc34bc93c; // Push the new frame as the currently active one. pushFrameStack( frame_43e3d33dc95095b87fc23a4cc34bc93c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_43e3d33dc95095b87fc23a4cc34bc93c ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_tuple_element_1; PyObject *tmp_tuple_element_2; PyObject *tmp_source_name_1; PyObject *tmp_tuple_element_3; PyObject *tmp_source_name_2; PyObject *tmp_tuple_element_4; PyObject *tmp_source_name_3; PyObject *tmp_tuple_element_5; PyObject *tmp_source_name_4; PyObject *tmp_tuple_element_6; PyObject *tmp_source_name_5; PyObject *tmp_tuple_element_7; PyObject *tmp_source_name_6; tmp_tuple_element_2 = const_bytes_digest_d36d25cdf5d18a8d120a6cfb3f610daf; tmp_tuple_element_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_tuple_element_1, 0, tmp_tuple_element_2 ); CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_handleComment ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_tuple_element_1 ); exception_lineno = 698; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_tuple_element_1, 1, tmp_tuple_element_2 ); tmp_assign_source_1 = PyTuple_New( 6 ); PyTuple_SET_ITEM( tmp_assign_source_1, 0, tmp_tuple_element_1 ); tmp_tuple_element_3 = const_bytes_digest_70ad43ee3f68cf94c8048a93e432af55; tmp_tuple_element_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_tuple_element_1, 0, tmp_tuple_element_3 ); if ( par_self == NULL ) { Py_DECREF( tmp_assign_source_1 ); Py_DECREF( tmp_tuple_element_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 = 699; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_tuple_element_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_handleMeta ); if ( tmp_tuple_element_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); Py_DECREF( tmp_tuple_element_1 ); exception_lineno = 699; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_tuple_element_1, 1, tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_assign_source_1, 1, tmp_tuple_element_1 ); tmp_tuple_element_4 = const_bytes_digest_3f111b8d541d3739da08b0238f56b8c9; tmp_tuple_element_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_tuple_element_1, 0, tmp_tuple_element_4 ); if ( par_self == NULL ) { Py_DECREF( tmp_assign_source_1 ); Py_DECREF( tmp_tuple_element_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 = 700; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_tuple_element_4 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_handlePossibleEndTag ); if ( tmp_tuple_element_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); Py_DECREF( tmp_tuple_element_1 ); exception_lineno = 700; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_tuple_element_1, 1, tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_assign_source_1, 2, tmp_tuple_element_1 ); tmp_tuple_element_5 = const_bytes_digest_7680a62d0277077249559cd5b7a3dcce; tmp_tuple_element_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_5 ); PyTuple_SET_ITEM( tmp_tuple_element_1, 0, tmp_tuple_element_5 ); if ( par_self == NULL ) { Py_DECREF( tmp_assign_source_1 ); Py_DECREF( tmp_tuple_element_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 = 701; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_tuple_element_5 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_handleOther ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); Py_DECREF( tmp_tuple_element_1 ); exception_lineno = 701; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_tuple_element_1, 1, tmp_tuple_element_5 ); PyTuple_SET_ITEM( tmp_assign_source_1, 3, tmp_tuple_element_1 ); tmp_tuple_element_6 = const_bytes_digest_f8d9d13a24477744359a4cdd023a40f5; tmp_tuple_element_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_tuple_element_1, 0, tmp_tuple_element_6 ); if ( par_self == NULL ) { Py_DECREF( tmp_assign_source_1 ); Py_DECREF( tmp_tuple_element_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 = 702; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_tuple_element_6 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_handleOther ); if ( tmp_tuple_element_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); Py_DECREF( tmp_tuple_element_1 ); exception_lineno = 702; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_tuple_element_1, 1, tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_assign_source_1, 4, tmp_tuple_element_1 ); tmp_tuple_element_7 = const_bytes_chr_60; tmp_tuple_element_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_tuple_element_1, 0, tmp_tuple_element_7 ); if ( par_self == NULL ) { Py_DECREF( tmp_assign_source_1 ); Py_DECREF( tmp_tuple_element_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 = 703; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_tuple_element_7 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_handlePossibleStartTag ); if ( tmp_tuple_element_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); Py_DECREF( tmp_tuple_element_1 ); exception_lineno = 703; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_tuple_element_1, 1, tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_assign_source_1, 5, tmp_tuple_element_1 ); assert( var_methodDispatch == NULL ); var_methodDispatch = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; 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 = 704; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_self; tmp_iter_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_data ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 704; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 704; type_description_1 = "oooooo"; 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 = "oooooo"; exception_lineno = 704; 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__; var__ = tmp_assign_source_4; Py_INCREF( var__ ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; tmp_assign_source_5 = Py_True; { PyObject *old = var_keepParsing; var_keepParsing = tmp_assign_source_5; Py_INCREF( var_keepParsing ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; PyObject *tmp_iter_arg_2; if ( var_methodDispatch == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "methodDispatch" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 706; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_iter_arg_2 = var_methodDispatch; tmp_assign_source_6 = MAKE_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 706; type_description_1 = "oooooo"; goto try_except_handler_2; } { PyObject *old = tmp_for_loop_2__for_iterator; tmp_for_loop_2__for_iterator = tmp_assign_source_6; Py_XDECREF( old ); } } { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_7; CHECK_OBJECT( tmp_for_loop_2__for_iterator ); tmp_next_source_2 = tmp_for_loop_2__for_iterator; tmp_assign_source_7 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_7 == 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 = "oooooo"; exception_lineno = 706; goto try_except_handler_3; } } { PyObject *old = tmp_for_loop_2__iter_value; tmp_for_loop_2__iter_value = tmp_assign_source_7; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_8; PyObject *tmp_iter_arg_3; CHECK_OBJECT( tmp_for_loop_2__iter_value ); tmp_iter_arg_3 = tmp_for_loop_2__iter_value; tmp_assign_source_8 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_3 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 706; type_description_1 = "oooooo"; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_8; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_9; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_9 = UNPACK_NEXT( tmp_unpack_1, 0, 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 = "oooooo"; exception_lineno = 706; goto try_except_handler_5; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_9; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_10; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_10 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_10 == 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 = "oooooo"; exception_lineno = 706; goto try_except_handler_5; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_10; 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 = "oooooo"; exception_lineno = 706; goto try_except_handler_5; } } } else { Py_DECREF( tmp_iterator_attempt ); // TODO: Could avoid PyErr_Format. #if PYTHON_VERSION < 300 PyErr_Format( PyExc_ValueError, "too many values to unpack" ); #else PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooo"; exception_lineno = 706; goto try_except_handler_5; } } goto try_end_1; // Exception handler code: try_except_handler_5:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_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_4; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_4:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_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_3; } // 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_11; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_11 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_key; var_key = tmp_assign_source_11; 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_12; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_12 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_method; var_method = tmp_assign_source_12; Py_INCREF( var_method ); 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_called_name_1; PyObject *tmp_source_name_8; PyObject *tmp_source_name_9; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_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 = 707; type_description_1 = "oooooo"; goto try_except_handler_3; } tmp_source_name_9 = par_self; tmp_source_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_data ); if ( tmp_source_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 707; type_description_1 = "oooooo"; goto try_except_handler_3; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_matchBytes ); Py_DECREF( tmp_source_name_8 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 707; type_description_1 = "oooooo"; goto try_except_handler_3; } if ( var_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 = 707; type_description_1 = "oooooo"; goto try_except_handler_3; } tmp_args_element_name_1 = var_key; frame_43e3d33dc95095b87fc23a4cc34bc93c->m_frame.f_lineno = 707; { 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 = 707; type_description_1 = "oooooo"; goto try_except_handler_3; } 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 = 707; type_description_1 = "oooooo"; goto try_except_handler_3; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { // Tried code: { PyObject *tmp_assign_source_13; PyObject *tmp_called_name_2; if ( var_method == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "method" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 709; type_description_1 = "oooooo"; goto try_except_handler_6; } tmp_called_name_2 = var_method; frame_43e3d33dc95095b87fc23a4cc34bc93c->m_frame.f_lineno = 709; tmp_assign_source_13 = CALL_FUNCTION_NO_ARGS( tmp_called_name_2 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 709; type_description_1 = "oooooo"; goto try_except_handler_6; } { PyObject *old = var_keepParsing; var_keepParsing = tmp_assign_source_13; 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_43e3d33dc95095b87fc23a4cc34bc93c, exception_keeper_lineno_3 ); } else if ( exception_keeper_lineno_3 != 0 ) { exception_keeper_tb_3 = ADD_TRACEBACK( exception_keeper_tb_3, frame_43e3d33dc95095b87fc23a4cc34bc93c, 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_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_1 = PyExc_StopIteration; 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 = 711; type_description_1 = "oooooo"; goto try_except_handler_7; } 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_14; tmp_assign_source_14 = Py_False; { PyObject *old = var_keepParsing; var_keepParsing = tmp_assign_source_14; Py_INCREF( var_keepParsing ); Py_XDECREF( old ); } } { goto try_break_handler_7; } goto branch_end_2; branch_no_2:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 708; } if (exception_tb && exception_tb->tb_frame == &frame_43e3d33dc95095b87fc23a4cc34bc93c->m_frame) frame_43e3d33dc95095b87fc23a4cc34bc93c->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooo"; goto try_except_handler_7; } branch_end_2:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_41_getEncoding ); 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 try_except_handler_3; } // 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_2; } // End of try: } // End of try: try_end_3:; } { goto loop_end_2; } branch_no_1:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 706; type_description_1 = "oooooo"; goto try_except_handler_3; } goto loop_start_2; loop_end_2:; } goto try_end_4; // Exception handler code: try_except_handler_3:; 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_4:; } { Py_XDECREF( tmp_for_loop_2__iter_value ); tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator ); Py_DECREF( tmp_for_loop_2__for_iterator ); tmp_for_loop_2__for_iterator = NULL; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_1; if ( var_keepParsing == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "keepParsing" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 714; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_operand_name_1 = var_keepParsing; 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 = 714; type_description_1 = "oooooo"; 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:; { goto loop_end_1; } branch_no_3:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 704; type_description_1 = "oooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_5; // 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_5:; } { 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_source_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 = 717; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_10 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_encoding ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 717; type_description_1 = "oooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_43e3d33dc95095b87fc23a4cc34bc93c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_43e3d33dc95095b87fc23a4cc34bc93c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_43e3d33dc95095b87fc23a4cc34bc93c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_43e3d33dc95095b87fc23a4cc34bc93c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_43e3d33dc95095b87fc23a4cc34bc93c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_43e3d33dc95095b87fc23a4cc34bc93c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_43e3d33dc95095b87fc23a4cc34bc93c, type_description_1, par_self, var_methodDispatch, var__, var_keepParsing, var_key, var_method ); // Release cached frame. if ( frame_43e3d33dc95095b87fc23a4cc34bc93c == cache_frame_43e3d33dc95095b87fc23a4cc34bc93c ) { Py_DECREF( frame_43e3d33dc95095b87fc23a4cc34bc93c ); } cache_frame_43e3d33dc95095b87fc23a4cc34bc93c = NULL; assertFrameObject( frame_43e3d33dc95095b87fc23a4cc34bc93c ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_41_getEncoding ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_methodDispatch ); var_methodDispatch = NULL; } { Py_XDECREF( var__ ); var__ = NULL; } { Py_XDECREF( var_keepParsing ); var_keepParsing = NULL; } { Py_XDECREF( var_key ); var_key = NULL; } { Py_XDECREF( var_method ); var_method = 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( var_methodDispatch ); var_methodDispatch = NULL; } { Py_XDECREF( var__ ); var__ = NULL; } { Py_XDECREF( var_keepParsing ); var_keepParsing = NULL; } { Py_XDECREF( var_key ); var_key = NULL; } { Py_XDECREF( var_method ); var_method = 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( html5lib$_inputstream$$$function_41_getEncoding ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_42_handleComment( 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_048a0dad3d4ab30e0e5d265fe298e917; 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_048a0dad3d4ab30e0e5d265fe298e917 = 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_048a0dad3d4ab30e0e5d265fe298e917, codeobj_048a0dad3d4ab30e0e5d265fe298e917, module_html5lib$_inputstream, sizeof(void *) ); frame_048a0dad3d4ab30e0e5d265fe298e917 = cache_frame_048a0dad3d4ab30e0e5d265fe298e917; // Push the new frame as the currently active one. pushFrameStack( frame_048a0dad3d4ab30e0e5d265fe298e917 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_048a0dad3d4ab30e0e5d265fe298e917 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_data ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 721; type_description_1 = "o"; goto frame_exception_exit_1; } frame_048a0dad3d4ab30e0e5d265fe298e917->m_frame.f_lineno = 721; tmp_return_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_jumpTo, &PyTuple_GET_ITEM( const_tuple_bytes_digest_a3573658f1163029c5bbf5cad380b966_tuple, 0 ) ); 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 = 721; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_048a0dad3d4ab30e0e5d265fe298e917 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_048a0dad3d4ab30e0e5d265fe298e917 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_048a0dad3d4ab30e0e5d265fe298e917 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_048a0dad3d4ab30e0e5d265fe298e917, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_048a0dad3d4ab30e0e5d265fe298e917->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_048a0dad3d4ab30e0e5d265fe298e917, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_048a0dad3d4ab30e0e5d265fe298e917, type_description_1, par_self ); // Release cached frame. if ( frame_048a0dad3d4ab30e0e5d265fe298e917 == cache_frame_048a0dad3d4ab30e0e5d265fe298e917 ) { Py_DECREF( frame_048a0dad3d4ab30e0e5d265fe298e917 ); } cache_frame_048a0dad3d4ab30e0e5d265fe298e917 = NULL; assertFrameObject( frame_048a0dad3d4ab30e0e5d265fe298e917 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_42_handleComment ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_42_handleComment ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_43_handleMeta( 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_hasPragma = NULL; PyObject *var_pendingEncoding = NULL; PyObject *var_attr = NULL; PyObject *var_tentativeEncoding = NULL; PyObject *var_codec = NULL; PyObject *var_contentParser = NULL; struct Nuitka_FrameObject *frame_47735e7d83d31d07b0a5ccb24e783a6a; 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; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_47735e7d83d31d07b0a5ccb24e783a6a = 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_47735e7d83d31d07b0a5ccb24e783a6a, codeobj_47735e7d83d31d07b0a5ccb24e783a6a, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_47735e7d83d31d07b0a5ccb24e783a6a = cache_frame_47735e7d83d31d07b0a5ccb24e783a6a; // Push the new frame as the currently active one. pushFrameStack( frame_47735e7d83d31d07b0a5ccb24e783a6a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_47735e7d83d31d07b0a5ccb24e783a6a ) == 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; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_1; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_data ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 724; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_currentByte ); Py_DECREF( tmp_source_name_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 724; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_spaceCharactersBytes ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_spaceCharactersBytes ); } if ( tmp_mvar_value_1 == NULL ) { Py_DECREF( tmp_compexpr_left_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "spaceCharactersBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 724; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = tmp_mvar_value_1; tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_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 = 724; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_False; assert( var_hasPragma == NULL ); Py_INCREF( tmp_assign_source_1 ); var_hasPragma = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = Py_None; assert( var_pendingEncoding == NULL ); Py_INCREF( tmp_assign_source_2 ); var_pendingEncoding = tmp_assign_source_2; } { loop_start_1:; { PyObject *tmp_assign_source_3; 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 = 732; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; frame_47735e7d83d31d07b0a5ccb24e783a6a->m_frame.f_lineno = 732; tmp_assign_source_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_getAttribute ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 732; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_attr; var_attr = tmp_assign_source_3; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( var_attr ); tmp_compexpr_left_2 = var_attr; 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:; { tmp_return_value = Py_True; 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; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; if ( var_attr == NULL ) { 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 = 736; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = var_attr; tmp_subscript_name_1 = const_int_0; tmp_compexpr_left_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 736; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_3 = const_bytes_digest_8a5dc6aa1131fb15c5283724e3fb1d04; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_left_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 736; type_description_1 = "ooooooo"; 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_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; if ( var_attr == NULL ) { 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 = 737; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = var_attr; tmp_subscript_name_2 = const_int_pos_1; tmp_compexpr_left_4 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 1 ); if ( tmp_compexpr_left_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_4 = const_bytes_digest_bb2cf4efe0e3648521f8771973593799; tmp_assign_source_4 = RICH_COMPARE_EQ( tmp_compexpr_left_4, tmp_compexpr_right_4 ); Py_DECREF( tmp_compexpr_left_4 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_hasPragma; var_hasPragma = tmp_assign_source_4; 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; int tmp_truth_name_1; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; CHECK_OBJECT( var_hasPragma ); tmp_truth_name_1 = CHECK_IF_TRUE( var_hasPragma ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 738; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if ( var_pendingEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pendingEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 738; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_5 = var_pendingEncoding; tmp_compexpr_right_5 = Py_None; tmp_and_right_value_1 = ( tmp_compexpr_left_5 != tmp_compexpr_right_5 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; 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_assattr_name_1; PyObject *tmp_assattr_target_1; if ( var_pendingEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pendingEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 739; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = var_pendingEncoding; 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 = 739; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_encoding, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 739; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } } { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_4:; } goto branch_end_3; branch_no_3:; { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; if ( var_attr == NULL ) { 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 = 741; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_3 = var_attr; tmp_subscript_name_3 = const_int_0; tmp_compexpr_left_6 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 ); if ( tmp_compexpr_left_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 741; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_6 = const_bytes_digest_6afe0f64951244d45fcbde1e86a26673; 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 = 741; type_description_1 = "ooooooo"; 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_assign_source_5; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; if ( var_attr == NULL ) { 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 = 742; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_4 = var_attr; tmp_subscript_name_4 = const_int_pos_1; tmp_assign_source_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_4, tmp_subscript_name_4, 1 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 742; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_tentativeEncoding; var_tentativeEncoding = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; 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_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lookupEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 743; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_2; CHECK_OBJECT( var_tentativeEncoding ); tmp_args_element_name_1 = var_tentativeEncoding; frame_47735e7d83d31d07b0a5ccb24e783a6a->m_frame.f_lineno = 743; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_6 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 743; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_codec; var_codec = tmp_assign_source_6; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; CHECK_OBJECT( var_codec ); tmp_compexpr_left_7 = var_codec; tmp_compexpr_right_7 = Py_None; tmp_condition_result_6 = ( tmp_compexpr_left_7 != tmp_compexpr_right_7 ) ? 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_assattr_name_2; PyObject *tmp_assattr_target_2; if ( var_codec == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "codec" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 745; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_2 = var_codec; 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 = 745; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_encoding, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 745; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } } { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_6:; } goto branch_end_5; branch_no_5:; { nuitka_bool tmp_condition_result_7; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; PyObject *tmp_subscribed_name_5; PyObject *tmp_subscript_name_5; if ( var_attr == NULL ) { 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 = 747; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_5 = var_attr; tmp_subscript_name_5 = const_int_0; tmp_compexpr_left_8 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_5, tmp_subscript_name_5, 0 ); if ( tmp_compexpr_left_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 747; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_8 = const_bytes_digest_712ef6f6361657eca04eca4a827db22a; tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 747; type_description_1 = "ooooooo"; 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_7; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_2; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_3; PyObject *tmp_subscribed_name_6; PyObject *tmp_subscript_name_6; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_ContentAttrParser ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ContentAttrParser ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ContentAttrParser" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 748; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_3; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_EncodingBytes ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_EncodingBytes ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "EncodingBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 748; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = tmp_mvar_value_4; if ( var_attr == NULL ) { 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 = 748; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_6 = var_attr; tmp_subscript_name_6 = const_int_pos_1; tmp_args_element_name_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_6, tmp_subscript_name_6, 1 ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 748; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_47735e7d83d31d07b0a5ccb24e783a6a->m_frame.f_lineno = 748; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_args_element_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_args_element_name_3 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 748; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_47735e7d83d31d07b0a5ccb24e783a6a->m_frame.f_lineno = 748; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_args_element_name_2 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 748; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_contentParser; var_contentParser = tmp_assign_source_7; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_8; PyObject *tmp_called_instance_2; CHECK_OBJECT( var_contentParser ); tmp_called_instance_2 = var_contentParser; frame_47735e7d83d31d07b0a5ccb24e783a6a->m_frame.f_lineno = 749; tmp_assign_source_8 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_parse ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 749; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_tentativeEncoding; var_tentativeEncoding = tmp_assign_source_8; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_8; PyObject *tmp_compexpr_left_9; PyObject *tmp_compexpr_right_9; CHECK_OBJECT( var_tentativeEncoding ); tmp_compexpr_left_9 = var_tentativeEncoding; tmp_compexpr_right_9 = Py_None; tmp_condition_result_8 = ( tmp_compexpr_left_9 != tmp_compexpr_right_9 ) ? 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_9; PyObject *tmp_called_name_4; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_4; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_lookupEncoding ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "lookupEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 751; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_name_4 = tmp_mvar_value_5; if ( var_tentativeEncoding == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tentativeEncoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 751; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = var_tentativeEncoding; frame_47735e7d83d31d07b0a5ccb24e783a6a->m_frame.f_lineno = 751; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_assign_source_9 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 751; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_codec; var_codec = tmp_assign_source_9; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_9; PyObject *tmp_compexpr_left_10; PyObject *tmp_compexpr_right_10; CHECK_OBJECT( var_codec ); tmp_compexpr_left_10 = var_codec; tmp_compexpr_right_10 = Py_None; tmp_condition_result_9 = ( tmp_compexpr_left_10 != tmp_compexpr_right_10 ) ? 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:; { nuitka_bool tmp_condition_result_10; int tmp_truth_name_2; if ( var_hasPragma == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "hasPragma" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 753; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE( var_hasPragma ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 753; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_condition_result_10 = tmp_truth_name_2 == 1 ? 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_3; PyObject *tmp_assattr_target_3; if ( var_codec == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "codec" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 754; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_3 = var_codec; 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 = 754; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_encoding, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } } { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } goto branch_end_10; branch_no_10:; { PyObject *tmp_assign_source_10; if ( var_codec == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "codec" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 757; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_assign_source_10 = var_codec; { PyObject *old = var_pendingEncoding; var_pendingEncoding = tmp_assign_source_10; Py_INCREF( var_pendingEncoding ); Py_XDECREF( old ); } } branch_end_10:; } branch_no_9:; } branch_no_8:; } branch_no_7:; } branch_end_5:; } branch_end_3:; } branch_end_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 730; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } goto loop_start_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_47735e7d83d31d07b0a5ccb24e783a6a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_47735e7d83d31d07b0a5ccb24e783a6a ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_47735e7d83d31d07b0a5ccb24e783a6a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_47735e7d83d31d07b0a5ccb24e783a6a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_47735e7d83d31d07b0a5ccb24e783a6a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_47735e7d83d31d07b0a5ccb24e783a6a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_47735e7d83d31d07b0a5ccb24e783a6a, type_description_1, par_self, var_hasPragma, var_pendingEncoding, var_attr, var_tentativeEncoding, var_codec, var_contentParser ); // Release cached frame. if ( frame_47735e7d83d31d07b0a5ccb24e783a6a == cache_frame_47735e7d83d31d07b0a5ccb24e783a6a ) { Py_DECREF( frame_47735e7d83d31d07b0a5ccb24e783a6a ); } cache_frame_47735e7d83d31d07b0a5ccb24e783a6a = NULL; assertFrameObject( frame_47735e7d83d31d07b0a5ccb24e783a6a ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_43_handleMeta ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_hasPragma ); var_hasPragma = NULL; } { Py_XDECREF( var_pendingEncoding ); var_pendingEncoding = NULL; } { Py_XDECREF( var_attr ); var_attr = NULL; } { Py_XDECREF( var_tentativeEncoding ); var_tentativeEncoding = NULL; } { Py_XDECREF( var_codec ); var_codec = NULL; } { Py_XDECREF( var_contentParser ); var_contentParser = 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_hasPragma ); var_hasPragma = NULL; } { Py_XDECREF( var_pendingEncoding ); var_pendingEncoding = NULL; } { Py_XDECREF( var_attr ); var_attr = NULL; } { Py_XDECREF( var_tentativeEncoding ); var_tentativeEncoding = NULL; } { Py_XDECREF( var_codec ); var_codec = NULL; } { Py_XDECREF( var_contentParser ); var_contentParser = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_43_handleMeta ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_44_handlePossibleStartTag( 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_fd606892d2c313a86766dded1a1ea8d3; 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_fd606892d2c313a86766dded1a1ea8d3 = 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_fd606892d2c313a86766dded1a1ea8d3, codeobj_fd606892d2c313a86766dded1a1ea8d3, module_html5lib$_inputstream, sizeof(void *) ); frame_fd606892d2c313a86766dded1a1ea8d3 = cache_frame_fd606892d2c313a86766dded1a1ea8d3; // Push the new frame as the currently active one. pushFrameStack( frame_fd606892d2c313a86766dded1a1ea8d3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_fd606892d2c313a86766dded1a1ea8d3 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; CHECK_OBJECT( par_self ); tmp_called_instance_1 = par_self; frame_fd606892d2c313a86766dded1a1ea8d3->m_frame.f_lineno = 760; tmp_return_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_handlePossibleTag, &PyTuple_GET_ITEM( const_tuple_false_tuple, 0 ) ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 760; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_fd606892d2c313a86766dded1a1ea8d3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fd606892d2c313a86766dded1a1ea8d3 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fd606892d2c313a86766dded1a1ea8d3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_fd606892d2c313a86766dded1a1ea8d3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_fd606892d2c313a86766dded1a1ea8d3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_fd606892d2c313a86766dded1a1ea8d3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_fd606892d2c313a86766dded1a1ea8d3, type_description_1, par_self ); // Release cached frame. if ( frame_fd606892d2c313a86766dded1a1ea8d3 == cache_frame_fd606892d2c313a86766dded1a1ea8d3 ) { Py_DECREF( frame_fd606892d2c313a86766dded1a1ea8d3 ); } cache_frame_fd606892d2c313a86766dded1a1ea8d3 = NULL; assertFrameObject( frame_fd606892d2c313a86766dded1a1ea8d3 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_44_handlePossibleStartTag ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_44_handlePossibleStartTag ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_45_handlePossibleEndTag( 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_9d33f7f801af3e0211b78c2e96b717f9; 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_9d33f7f801af3e0211b78c2e96b717f9 = 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_9d33f7f801af3e0211b78c2e96b717f9, codeobj_9d33f7f801af3e0211b78c2e96b717f9, module_html5lib$_inputstream, sizeof(void *) ); frame_9d33f7f801af3e0211b78c2e96b717f9 = cache_frame_9d33f7f801af3e0211b78c2e96b717f9; // Push the new frame as the currently active one. pushFrameStack( frame_9d33f7f801af3e0211b78c2e96b717f9 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_9d33f7f801af3e0211b78c2e96b717f9 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_value_name_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_value_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_data ); if ( tmp_value_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 763; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_unused = ITERATOR_NEXT( tmp_value_name_1 ); Py_DECREF( tmp_value_name_1 ); if ( tmp_unused == 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 = "o"; exception_lineno = 763; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { 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 = 764; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; frame_9d33f7f801af3e0211b78c2e96b717f9->m_frame.f_lineno = 764; tmp_return_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_handlePossibleTag, &PyTuple_GET_ITEM( const_tuple_true_tuple, 0 ) ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 764; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_9d33f7f801af3e0211b78c2e96b717f9 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9d33f7f801af3e0211b78c2e96b717f9 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9d33f7f801af3e0211b78c2e96b717f9 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_9d33f7f801af3e0211b78c2e96b717f9, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_9d33f7f801af3e0211b78c2e96b717f9->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_9d33f7f801af3e0211b78c2e96b717f9, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_9d33f7f801af3e0211b78c2e96b717f9, type_description_1, par_self ); // Release cached frame. if ( frame_9d33f7f801af3e0211b78c2e96b717f9 == cache_frame_9d33f7f801af3e0211b78c2e96b717f9 ) { Py_DECREF( frame_9d33f7f801af3e0211b78c2e96b717f9 ); } cache_frame_9d33f7f801af3e0211b78c2e96b717f9 = NULL; assertFrameObject( frame_9d33f7f801af3e0211b78c2e96b717f9 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_45_handlePossibleEndTag ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_45_handlePossibleEndTag ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_46_handlePossibleTag( 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_endTag = python_pars[ 1 ]; PyObject *var_data = NULL; PyObject *var_c = NULL; PyObject *var_attr = NULL; struct Nuitka_FrameObject *frame_b5115939d56cbe45d6f4f0b3fbab4494; 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_b5115939d56cbe45d6f4f0b3fbab4494 = 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_b5115939d56cbe45d6f4f0b3fbab4494, codeobj_b5115939d56cbe45d6f4f0b3fbab4494, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_b5115939d56cbe45d6f4f0b3fbab4494 = cache_frame_b5115939d56cbe45d6f4f0b3fbab4494; // Push the new frame as the currently active one. pushFrameStack( frame_b5115939d56cbe45d6f4f0b3fbab4494 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_b5115939d56cbe45d6f4f0b3fbab4494 ) == 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_data ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 767; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_data == NULL ); var_data = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_1; CHECK_OBJECT( var_data ); tmp_source_name_2 = var_data; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_currentByte ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 768; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_asciiLettersBytes ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_asciiLettersBytes ); } if ( tmp_mvar_value_1 == NULL ) { Py_DECREF( tmp_compexpr_left_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "asciiLettersBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 768; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = tmp_mvar_value_1; tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_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 = 768; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { nuitka_bool tmp_condition_result_2; int tmp_truth_name_1; if ( par_endTag == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "endTag" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 772; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( par_endTag ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 772; type_description_1 = "ooooo"; goto frame_exception_exit_1; } 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_called_instance_1; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 773; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = var_data; frame_b5115939d56cbe45d6f4f0b3fbab4494->m_frame.f_lineno = 773; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_previous ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 773; type_description_1 = "ooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_instance_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 = 774; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_self; frame_b5115939d56cbe45d6f4f0b3fbab4494->m_frame.f_lineno = 774; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_handleOther ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 774; type_description_1 = "ooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_2:; } { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_1; PyObject *tmp_mvar_value_2; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 777; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = var_data; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_skipUntil ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 777; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_spacesAngleBrackets ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_spacesAngleBrackets ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "spacesAngleBrackets" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 777; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = tmp_mvar_value_2; frame_b5115939d56cbe45d6f4f0b3fbab4494->m_frame.f_lineno = 777; { 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 = 777; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_c == NULL ); var_c = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( var_c ); tmp_compexpr_left_2 = var_c; tmp_compexpr_right_2 = const_bytes_chr_60; 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 = 778; type_description_1 = "ooooo"; 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_3; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 781; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_called_instance_3 = var_data; frame_b5115939d56cbe45d6f4f0b3fbab4494->m_frame.f_lineno = 781; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_previous ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 781; type_description_1 = "ooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } goto branch_end_3; branch_no_3:; { PyObject *tmp_assign_source_3; PyObject *tmp_called_instance_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 = 784; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_called_instance_4 = par_self; frame_b5115939d56cbe45d6f4f0b3fbab4494->m_frame.f_lineno = 784; tmp_assign_source_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_4, const_str_plain_getAttribute ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 784; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_attr == NULL ); var_attr = tmp_assign_source_3; } { loop_start_1:; { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; if ( var_attr == NULL ) { 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 = 785; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = var_attr; tmp_compexpr_right_3 = Py_None; tmp_condition_result_4 = ( tmp_compexpr_left_3 == tmp_compexpr_right_3 ) ? 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:; { goto loop_end_1; } branch_no_4:; } { PyObject *tmp_assign_source_4; PyObject *tmp_called_instance_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 = 786; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_called_instance_5 = par_self; frame_b5115939d56cbe45d6f4f0b3fbab4494->m_frame.f_lineno = 786; tmp_assign_source_4 = CALL_METHOD_NO_ARGS( tmp_called_instance_5, const_str_plain_getAttribute ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 786; type_description_1 = "ooooo"; goto frame_exception_exit_1; } { PyObject *old = var_attr; var_attr = tmp_assign_source_4; Py_XDECREF( old ); } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 785; type_description_1 = "ooooo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } branch_end_3:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_b5115939d56cbe45d6f4f0b3fbab4494 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b5115939d56cbe45d6f4f0b3fbab4494 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b5115939d56cbe45d6f4f0b3fbab4494 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_b5115939d56cbe45d6f4f0b3fbab4494, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_b5115939d56cbe45d6f4f0b3fbab4494->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_b5115939d56cbe45d6f4f0b3fbab4494, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_b5115939d56cbe45d6f4f0b3fbab4494, type_description_1, par_self, par_endTag, var_data, var_c, var_attr ); // Release cached frame. if ( frame_b5115939d56cbe45d6f4f0b3fbab4494 == cache_frame_b5115939d56cbe45d6f4f0b3fbab4494 ) { Py_DECREF( frame_b5115939d56cbe45d6f4f0b3fbab4494 ); } cache_frame_b5115939d56cbe45d6f4f0b3fbab4494 = NULL; assertFrameObject( frame_b5115939d56cbe45d6f4f0b3fbab4494 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { 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( html5lib$_inputstream$$$function_46_handlePossibleTag ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_endTag ); par_endTag = NULL; } { Py_XDECREF( var_data ); var_data = NULL; } { Py_XDECREF( var_c ); var_c = NULL; } { Py_XDECREF( var_attr ); var_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_endTag ); par_endTag = NULL; } { Py_XDECREF( var_data ); var_data = NULL; } { Py_XDECREF( var_c ); var_c = NULL; } { Py_XDECREF( var_attr ); var_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( html5lib$_inputstream$$$function_46_handlePossibleTag ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_47_handleOther( 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_f1f694a5c46392b0ff570bf5921a14fe; 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_f1f694a5c46392b0ff570bf5921a14fe = 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_f1f694a5c46392b0ff570bf5921a14fe, codeobj_f1f694a5c46392b0ff570bf5921a14fe, module_html5lib$_inputstream, sizeof(void *) ); frame_f1f694a5c46392b0ff570bf5921a14fe = cache_frame_f1f694a5c46392b0ff570bf5921a14fe; // Push the new frame as the currently active one. pushFrameStack( frame_f1f694a5c46392b0ff570bf5921a14fe ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_f1f694a5c46392b0ff570bf5921a14fe ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_data ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 790; type_description_1 = "o"; goto frame_exception_exit_1; } frame_f1f694a5c46392b0ff570bf5921a14fe->m_frame.f_lineno = 790; tmp_return_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_jumpTo, &PyTuple_GET_ITEM( const_tuple_bytes_chr_62_tuple, 0 ) ); 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 = 790; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_f1f694a5c46392b0ff570bf5921a14fe ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f1f694a5c46392b0ff570bf5921a14fe ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f1f694a5c46392b0ff570bf5921a14fe ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_f1f694a5c46392b0ff570bf5921a14fe, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_f1f694a5c46392b0ff570bf5921a14fe->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_f1f694a5c46392b0ff570bf5921a14fe, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_f1f694a5c46392b0ff570bf5921a14fe, type_description_1, par_self ); // Release cached frame. if ( frame_f1f694a5c46392b0ff570bf5921a14fe == cache_frame_f1f694a5c46392b0ff570bf5921a14fe ) { Py_DECREF( frame_f1f694a5c46392b0ff570bf5921a14fe ); } cache_frame_f1f694a5c46392b0ff570bf5921a14fe = NULL; assertFrameObject( frame_f1f694a5c46392b0ff570bf5921a14fe ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_47_handleOther ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_47_handleOther ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_48_getAttribute( 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_data = NULL; PyObject *var_c = NULL; PyObject *var_attrName = NULL; PyObject *var_attrValue = NULL; PyObject *var_quoteChar = NULL; struct Nuitka_FrameObject *frame_cfc16c8336a32c00bd4aafffa86a8a44; 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_cfc16c8336a32c00bd4aafffa86a8a44 = 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_cfc16c8336a32c00bd4aafffa86a8a44, codeobj_cfc16c8336a32c00bd4aafffa86a8a44, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_cfc16c8336a32c00bd4aafffa86a8a44 = cache_frame_cfc16c8336a32c00bd4aafffa86a8a44; // Push the new frame as the currently active one. pushFrameStack( frame_cfc16c8336a32c00bd4aafffa86a8a44 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_cfc16c8336a32c00bd4aafffa86a8a44 ) == 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_data ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 795; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert( var_data == NULL ); var_data = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_left_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_right_name_1; CHECK_OBJECT( var_data ); tmp_source_name_2 = var_data; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_skip ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 797; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_spaceCharactersBytes ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_spaceCharactersBytes ); } 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", "spaceCharactersBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 797; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_left_name_1 = tmp_mvar_value_1; tmp_right_name_1 = const_frozenset_622e272025b7cb1881422dbacaf3d2cb; tmp_args_element_name_1 = BINARY_OPERATION( PyNumber_Or, 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 = 797; type_description_1 = "oooooo"; goto frame_exception_exit_1; } frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 797; { 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 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 797; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert( var_c == NULL ); var_c = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; int tmp_or_left_truth_1; PyObject *tmp_or_left_value_1; PyObject *tmp_or_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_len_arg_1; CHECK_OBJECT( var_c ); tmp_compexpr_left_1 = var_c; tmp_compexpr_right_1 = Py_None; tmp_or_left_value_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? Py_True : Py_False; tmp_or_left_truth_1 = CHECK_IF_TRUE( tmp_or_left_value_1 ); if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 798; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_len_arg_1 = var_c; tmp_compexpr_left_2 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 798; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = const_int_pos_1; tmp_or_right_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_or_right_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 798; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = tmp_or_right_value_1; goto or_end_1; or_left_1:; Py_INCREF( tmp_or_left_value_1 ); tmp_operand_name_1 = tmp_or_left_value_1; or_end_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 = 798; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 798; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooo"; goto frame_exception_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 800; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = var_c; tmp_compexpr_right_3 = const_tuple_bytes_chr_62_none_tuple; 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 = 800; type_description_1 = "oooooo"; 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:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_2:; } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = PyList_New( 0 ); assert( var_attrName == NULL ); var_attrName = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; tmp_assign_source_4 = PyList_New( 0 ); assert( var_attrValue == NULL ); var_attrValue = tmp_assign_source_4; } { loop_start_1:; { 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_compexpr_left_4; PyObject *tmp_compexpr_right_4; int tmp_truth_name_1; if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 807; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_4 = var_c; tmp_compexpr_right_4 = const_bytes_chr_61; 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 = 807; 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 ( var_attrName == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrName" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 807; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( var_attrName ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 807; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = tmp_truth_name_1 == 1 ? 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:; { goto loop_end_1; } goto branch_end_3; branch_no_3:; { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_mvar_value_2; if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 809; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_5 = var_c; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_spaceCharactersBytes ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_spaceCharactersBytes ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "spaceCharactersBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 809; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_5 = tmp_mvar_value_2; tmp_res = PySequence_Contains( tmp_compexpr_right_5, tmp_compexpr_left_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 809; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_condition_result_4 = ( tmp_res == 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_5; PyObject *tmp_called_instance_1; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 811; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = var_data; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 811; tmp_assign_source_5 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_skip ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; type_description_1 = "oooooo"; goto frame_exception_exit_1; } { PyObject *old = var_c; var_c = tmp_assign_source_5; Py_XDECREF( old ); } } { goto loop_end_1; } goto branch_end_4; branch_no_4:; { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 813; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_6 = var_c; tmp_compexpr_right_6 = const_tuple_bytes_chr_47_bytes_chr_62_tuple; tmp_res = PySequence_Contains( tmp_compexpr_right_6, tmp_compexpr_left_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 813; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_condition_result_5 = ( tmp_res == 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_tuple_element_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_2; tmp_source_name_3 = const_bytes_empty; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_join ); assert( !(tmp_called_name_2 == NULL) ); if ( var_attrName == 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", "attrName" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 814; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = var_attrName; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 814; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 814; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_return_value = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 ); tmp_tuple_element_1 = const_bytes_empty; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 ); goto frame_return_exit_1; } goto branch_end_5; branch_no_5:; { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; PyObject *tmp_mvar_value_3; if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 815; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_7 = var_c; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_asciiUppercaseBytes ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_asciiUppercaseBytes ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "asciiUppercaseBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 815; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_7 = tmp_mvar_value_3; tmp_res = PySequence_Contains( tmp_compexpr_right_7, tmp_compexpr_left_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 815; type_description_1 = "oooooo"; 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_called_name_3; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_3; PyObject *tmp_called_instance_2; if ( var_attrName == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrName" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 816; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = var_attrName; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_append ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 816; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( var_c == 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", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 816; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = var_c; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 816; tmp_args_element_name_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_lower ); 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 = 816; type_description_1 = "oooooo"; goto frame_exception_exit_1; } frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 816; { 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 = 816; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } goto branch_end_6; branch_no_6:; { nuitka_bool tmp_condition_result_7; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 817; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_8 = var_c; tmp_compexpr_right_8 = Py_None; tmp_condition_result_7 = ( tmp_compexpr_left_8 == tmp_compexpr_right_8 ) ? 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:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } goto branch_end_7; branch_no_7:; { PyObject *tmp_called_name_4; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_4; if ( var_attrName == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrName" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 820; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = var_attrName; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_append ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 820; type_description_1 = "oooooo"; goto frame_exception_exit_1; } 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 = 820; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = var_c; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 820; { 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 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 820; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_end_7:; } branch_end_6:; } branch_end_5:; } branch_end_4:; } branch_end_3:; } { PyObject *tmp_assign_source_6; PyObject *tmp_value_name_1; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 822; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_value_name_1 = var_data; tmp_assign_source_6 = ITERATOR_NEXT( tmp_value_name_1 ); 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 = "oooooo"; exception_lineno = 822; goto frame_exception_exit_1; } { PyObject *old = var_c; var_c = tmp_assign_source_6; Py_XDECREF( old ); } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 806; type_description_1 = "oooooo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } { nuitka_bool tmp_condition_result_8; PyObject *tmp_compexpr_left_9; PyObject *tmp_compexpr_right_9; if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 824; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_9 = var_c; tmp_compexpr_right_9 = const_bytes_chr_61; 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 = 824; type_description_1 = "oooooo"; 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_called_instance_3; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 825; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_instance_3 = var_data; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 825; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_previous ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 825; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_tuple_element_2; PyObject *tmp_called_name_5; PyObject *tmp_source_name_6; PyObject *tmp_args_element_name_5; tmp_source_name_6 = const_bytes_empty; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_join ); assert( !(tmp_called_name_5 == NULL) ); if ( var_attrName == 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", "attrName" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 826; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = var_attrName; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 826; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_tuple_element_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 826; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_return_value = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_2 ); tmp_tuple_element_2 = const_bytes_empty; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_2 ); goto frame_return_exit_1; } branch_no_8:; } { PyObject *tmp_value_name_2; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 828; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_value_name_2 = var_data; tmp_unused = ITERATOR_NEXT( tmp_value_name_2 ); if ( tmp_unused == 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 = "oooooo"; exception_lineno = 828; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_7; PyObject *tmp_called_instance_4; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 830; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_instance_4 = var_data; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 830; tmp_assign_source_7 = CALL_METHOD_NO_ARGS( tmp_called_instance_4, const_str_plain_skip ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 830; type_description_1 = "oooooo"; goto frame_exception_exit_1; } { PyObject *old = var_c; var_c = tmp_assign_source_7; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_9; PyObject *tmp_compexpr_left_10; PyObject *tmp_compexpr_right_10; CHECK_OBJECT( var_c ); tmp_compexpr_left_10 = var_c; tmp_compexpr_right_10 = const_tuple_bytes_chr_39_bytes_chr_34_tuple; 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 = 832; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_condition_result_9 = ( tmp_res == 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_assign_source_8; CHECK_OBJECT( var_c ); tmp_assign_source_8 = var_c; assert( var_quoteChar == NULL ); Py_INCREF( tmp_assign_source_8 ); var_quoteChar = tmp_assign_source_8; } { loop_start_2:; { PyObject *tmp_assign_source_9; PyObject *tmp_value_name_3; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 837; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_value_name_3 = var_data; tmp_assign_source_9 = ITERATOR_NEXT( tmp_value_name_3 ); 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 = "oooooo"; exception_lineno = 837; goto frame_exception_exit_1; } { PyObject *old = var_c; var_c = tmp_assign_source_9; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_10; PyObject *tmp_compexpr_left_11; PyObject *tmp_compexpr_right_11; CHECK_OBJECT( var_c ); tmp_compexpr_left_11 = var_c; if ( var_quoteChar == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "quoteChar" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 839; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_11 = var_quoteChar; tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 839; type_description_1 = "oooooo"; 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_value_name_4; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 840; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_value_name_4 = var_data; tmp_unused = ITERATOR_NEXT( tmp_value_name_4 ); if ( tmp_unused == 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 = "oooooo"; exception_lineno = 840; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_tuple_element_3; PyObject *tmp_called_name_6; PyObject *tmp_source_name_7; PyObject *tmp_args_element_name_6; PyObject *tmp_called_name_7; PyObject *tmp_source_name_8; PyObject *tmp_args_element_name_7; tmp_source_name_7 = const_bytes_empty; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_join ); assert( !(tmp_called_name_6 == NULL) ); if ( var_attrName == 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", "attrName" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 841; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = var_attrName; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 841; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_tuple_element_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); if ( tmp_tuple_element_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 841; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_return_value = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_3 ); tmp_source_name_8 = const_bytes_empty; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_join ); assert( !(tmp_called_name_7 == NULL) ); if ( var_attrValue == NULL ) { Py_DECREF( tmp_return_value ); Py_DECREF( tmp_called_name_7 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrValue" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 841; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = var_attrValue; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 841; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_tuple_element_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } Py_DECREF( tmp_called_name_7 ); if ( tmp_tuple_element_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_return_value ); exception_lineno = 841; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_3 ); goto frame_return_exit_1; } goto branch_end_10; branch_no_10:; { nuitka_bool tmp_condition_result_11; PyObject *tmp_compexpr_left_12; PyObject *tmp_compexpr_right_12; PyObject *tmp_mvar_value_4; if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 843; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_12 = var_c; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_asciiUppercaseBytes ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_asciiUppercaseBytes ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "asciiUppercaseBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 843; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_12 = tmp_mvar_value_4; tmp_res = PySequence_Contains( tmp_compexpr_right_12, tmp_compexpr_left_12 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 843; type_description_1 = "oooooo"; goto frame_exception_exit_1; } 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:; { PyObject *tmp_called_name_8; PyObject *tmp_source_name_9; PyObject *tmp_args_element_name_8; PyObject *tmp_called_instance_5; if ( var_attrValue == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrValue" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 844; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_9 = var_attrValue; tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_append ); if ( tmp_called_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 844; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( var_c == 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", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 844; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_instance_5 = var_c; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 844; tmp_args_element_name_8 = CALL_METHOD_NO_ARGS( tmp_called_instance_5, const_str_plain_lower ); if ( tmp_args_element_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_8 ); exception_lineno = 844; type_description_1 = "oooooo"; goto frame_exception_exit_1; } frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 844; { PyObject *call_args[] = { tmp_args_element_name_8 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args ); } Py_DECREF( tmp_called_name_8 ); Py_DECREF( tmp_args_element_name_8 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 844; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } goto branch_end_11; branch_no_11:; { PyObject *tmp_called_name_9; PyObject *tmp_source_name_10; PyObject *tmp_args_element_name_9; if ( var_attrValue == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrValue" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 847; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_10 = var_attrValue; tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_append ); if ( tmp_called_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 847; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( var_c == 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", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 847; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_9 = var_c; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 847; { PyObject *call_args[] = { tmp_args_element_name_9 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args ); } Py_DECREF( tmp_called_name_9 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 847; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_end_11:; } branch_end_10:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; type_description_1 = "oooooo"; goto frame_exception_exit_1; } goto loop_start_2; } goto branch_end_9; branch_no_9:; { nuitka_bool tmp_condition_result_12; PyObject *tmp_compexpr_left_13; PyObject *tmp_compexpr_right_13; CHECK_OBJECT( var_c ); tmp_compexpr_left_13 = var_c; tmp_compexpr_right_13 = const_bytes_chr_62; tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 848; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_condition_result_12 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE ) { goto branch_yes_12; } else { goto branch_no_12; } branch_yes_12:; { PyObject *tmp_tuple_element_4; PyObject *tmp_called_name_10; PyObject *tmp_source_name_11; PyObject *tmp_args_element_name_10; tmp_source_name_11 = const_bytes_empty; tmp_called_name_10 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_join ); assert( !(tmp_called_name_10 == NULL) ); if ( var_attrName == 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", "attrName" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 849; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_10 = var_attrName; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 849; { PyObject *call_args[] = { tmp_args_element_name_10 }; tmp_tuple_element_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_10, call_args ); } Py_DECREF( tmp_called_name_10 ); if ( tmp_tuple_element_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 849; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_return_value = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_4 ); tmp_tuple_element_4 = const_bytes_empty; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_4 ); goto frame_return_exit_1; } goto branch_end_12; branch_no_12:; { nuitka_bool tmp_condition_result_13; PyObject *tmp_compexpr_left_14; PyObject *tmp_compexpr_right_14; PyObject *tmp_mvar_value_5; if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 850; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_14 = var_c; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_asciiUppercaseBytes ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_asciiUppercaseBytes ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "asciiUppercaseBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 850; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_14 = tmp_mvar_value_5; tmp_res = PySequence_Contains( tmp_compexpr_right_14, tmp_compexpr_left_14 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 850; type_description_1 = "oooooo"; goto frame_exception_exit_1; } 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:; { PyObject *tmp_called_name_11; PyObject *tmp_source_name_12; PyObject *tmp_args_element_name_11; PyObject *tmp_called_instance_6; if ( var_attrValue == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrValue" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 851; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_12 = var_attrValue; tmp_called_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_append ); if ( tmp_called_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( var_c == 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", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 851; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_instance_6 = var_c; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 851; tmp_args_element_name_11 = CALL_METHOD_NO_ARGS( tmp_called_instance_6, const_str_plain_lower ); if ( tmp_args_element_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_11 ); exception_lineno = 851; type_description_1 = "oooooo"; goto frame_exception_exit_1; } frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 851; { PyObject *call_args[] = { tmp_args_element_name_11 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_11, call_args ); } Py_DECREF( tmp_called_name_11 ); Py_DECREF( tmp_args_element_name_11 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } goto branch_end_13; branch_no_13:; { nuitka_bool tmp_condition_result_14; PyObject *tmp_compexpr_left_15; PyObject *tmp_compexpr_right_15; if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 852; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_15 = var_c; tmp_compexpr_right_15 = Py_None; tmp_condition_result_14 = ( tmp_compexpr_left_15 == tmp_compexpr_right_15 ) ? 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:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } goto branch_end_14; branch_no_14:; { PyObject *tmp_called_name_12; PyObject *tmp_source_name_13; PyObject *tmp_args_element_name_12; if ( var_attrValue == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrValue" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 855; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_13 = var_attrValue; tmp_called_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_append ); if ( tmp_called_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 855; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( var_c == 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", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 855; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_12 = var_c; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 855; { PyObject *call_args[] = { tmp_args_element_name_12 }; 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 = 855; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_end_14:; } branch_end_13:; } branch_end_12:; } branch_end_9:; } { loop_start_3:; { PyObject *tmp_assign_source_10; PyObject *tmp_value_name_5; if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 858; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_value_name_5 = var_data; tmp_assign_source_10 = ITERATOR_NEXT( tmp_value_name_5 ); if ( tmp_assign_source_10 == 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 = "oooooo"; exception_lineno = 858; goto frame_exception_exit_1; } { PyObject *old = var_c; var_c = tmp_assign_source_10; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_15; PyObject *tmp_compexpr_left_16; PyObject *tmp_compexpr_right_16; PyObject *tmp_mvar_value_6; CHECK_OBJECT( var_c ); tmp_compexpr_left_16 = var_c; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_spacesAngleBrackets ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_spacesAngleBrackets ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "spacesAngleBrackets" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 859; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_16 = tmp_mvar_value_6; tmp_res = PySequence_Contains( tmp_compexpr_right_16, tmp_compexpr_left_16 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 859; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_condition_result_15 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE ) { goto branch_yes_15; } else { goto branch_no_15; } branch_yes_15:; { PyObject *tmp_tuple_element_5; PyObject *tmp_called_name_13; PyObject *tmp_source_name_14; PyObject *tmp_args_element_name_13; PyObject *tmp_called_name_14; PyObject *tmp_source_name_15; PyObject *tmp_args_element_name_14; tmp_source_name_14 = const_bytes_empty; tmp_called_name_13 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_join ); assert( !(tmp_called_name_13 == NULL) ); if ( var_attrName == 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", "attrName" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 860; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_13 = var_attrName; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 860; { PyObject *call_args[] = { tmp_args_element_name_13 }; tmp_tuple_element_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_13, call_args ); } Py_DECREF( tmp_called_name_13 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 860; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_return_value = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_5 ); tmp_source_name_15 = const_bytes_empty; tmp_called_name_14 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_join ); assert( !(tmp_called_name_14 == NULL) ); if ( var_attrValue == NULL ) { Py_DECREF( tmp_return_value ); Py_DECREF( tmp_called_name_14 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrValue" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 860; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_14 = var_attrValue; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 860; { PyObject *call_args[] = { tmp_args_element_name_14 }; tmp_tuple_element_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_14, call_args ); } Py_DECREF( tmp_called_name_14 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_return_value ); exception_lineno = 860; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_5 ); goto frame_return_exit_1; } goto branch_end_15; branch_no_15:; { nuitka_bool tmp_condition_result_16; PyObject *tmp_compexpr_left_17; PyObject *tmp_compexpr_right_17; PyObject *tmp_mvar_value_7; if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 861; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_17 = var_c; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_asciiUppercaseBytes ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_asciiUppercaseBytes ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "asciiUppercaseBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 861; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_17 = tmp_mvar_value_7; tmp_res = PySequence_Contains( tmp_compexpr_right_17, tmp_compexpr_left_17 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 861; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_condition_result_16 = ( tmp_res == 1 ) ? 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_called_name_15; PyObject *tmp_source_name_16; PyObject *tmp_args_element_name_15; PyObject *tmp_called_instance_7; if ( var_attrValue == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrValue" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 862; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_16 = var_attrValue; tmp_called_name_15 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_append ); if ( tmp_called_name_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 862; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( var_c == 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", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 862; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_instance_7 = var_c; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 862; tmp_args_element_name_15 = CALL_METHOD_NO_ARGS( tmp_called_instance_7, const_str_plain_lower ); if ( tmp_args_element_name_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_15 ); exception_lineno = 862; type_description_1 = "oooooo"; goto frame_exception_exit_1; } frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 862; { PyObject *call_args[] = { tmp_args_element_name_15 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_15, call_args ); } Py_DECREF( tmp_called_name_15 ); Py_DECREF( tmp_args_element_name_15 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 862; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } goto branch_end_16; branch_no_16:; { nuitka_bool tmp_condition_result_17; PyObject *tmp_compexpr_left_18; PyObject *tmp_compexpr_right_18; if ( var_c == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 863; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_18 = var_c; tmp_compexpr_right_18 = Py_None; tmp_condition_result_17 = ( tmp_compexpr_left_18 == tmp_compexpr_right_18 ) ? 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:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } goto branch_end_17; branch_no_17:; { PyObject *tmp_called_name_16; PyObject *tmp_source_name_17; PyObject *tmp_args_element_name_16; if ( var_attrValue == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "attrValue" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 866; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_17 = var_attrValue; tmp_called_name_16 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain_append ); if ( tmp_called_name_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 866; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( var_c == 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", "c" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 866; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_args_element_name_16 = var_c; frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame.f_lineno = 866; { PyObject *call_args[] = { tmp_args_element_name_16 }; 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 = 866; type_description_1 = "oooooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_end_17:; } branch_end_16:; } branch_end_15:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 857; type_description_1 = "oooooo"; goto frame_exception_exit_1; } goto loop_start_3; } #if 0 RESTORE_FRAME_EXCEPTION( frame_cfc16c8336a32c00bd4aafffa86a8a44 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cfc16c8336a32c00bd4aafffa86a8a44 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cfc16c8336a32c00bd4aafffa86a8a44 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_cfc16c8336a32c00bd4aafffa86a8a44, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_cfc16c8336a32c00bd4aafffa86a8a44->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_cfc16c8336a32c00bd4aafffa86a8a44, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_cfc16c8336a32c00bd4aafffa86a8a44, type_description_1, par_self, var_data, var_c, var_attrName, var_attrValue, var_quoteChar ); // Release cached frame. if ( frame_cfc16c8336a32c00bd4aafffa86a8a44 == cache_frame_cfc16c8336a32c00bd4aafffa86a8a44 ) { Py_DECREF( frame_cfc16c8336a32c00bd4aafffa86a8a44 ); } cache_frame_cfc16c8336a32c00bd4aafffa86a8a44 = NULL; assertFrameObject( frame_cfc16c8336a32c00bd4aafffa86a8a44 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_48_getAttribute ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_data ); var_data = NULL; } { Py_XDECREF( var_c ); var_c = NULL; } { Py_XDECREF( var_attrName ); var_attrName = NULL; } { Py_XDECREF( var_attrValue ); var_attrValue = NULL; } { Py_XDECREF( var_quoteChar ); var_quoteChar = 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_data ); var_data = NULL; } { Py_XDECREF( var_c ); var_c = NULL; } { Py_XDECREF( var_attrName ); var_attrName = NULL; } { Py_XDECREF( var_attrValue ); var_attrValue = NULL; } { Py_XDECREF( var_quoteChar ); var_quoteChar = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_48_getAttribute ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_49___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_data = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_a08d62fecbcc1336436694a67298b9aa; 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; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_a08d62fecbcc1336436694a67298b9aa = 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_a08d62fecbcc1336436694a67298b9aa, codeobj_a08d62fecbcc1336436694a67298b9aa, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *) ); frame_a08d62fecbcc1336436694a67298b9aa = cache_frame_a08d62fecbcc1336436694a67298b9aa; // Push the new frame as the currently active one. pushFrameStack( frame_a08d62fecbcc1336436694a67298b9aa ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_a08d62fecbcc1336436694a67298b9aa ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; CHECK_OBJECT( par_data ); tmp_isinstance_inst_1 = par_data; tmp_isinstance_cls_1 = (PyObject *)&PyBytes_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 = 871; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 871; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 871; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( par_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 872; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = par_data; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 872; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_data, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 872; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_a08d62fecbcc1336436694a67298b9aa ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a08d62fecbcc1336436694a67298b9aa ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_a08d62fecbcc1336436694a67298b9aa, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_a08d62fecbcc1336436694a67298b9aa->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_a08d62fecbcc1336436694a67298b9aa, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_a08d62fecbcc1336436694a67298b9aa, type_description_1, par_self, par_data ); // Release cached frame. if ( frame_a08d62fecbcc1336436694a67298b9aa == cache_frame_a08d62fecbcc1336436694a67298b9aa ) { Py_DECREF( frame_a08d62fecbcc1336436694a67298b9aa ); } cache_frame_a08d62fecbcc1336436694a67298b9aa = NULL; assertFrameObject( frame_a08d62fecbcc1336436694a67298b9aa ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_49___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_49___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_50_parse( 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_quoteMark = NULL; PyObject *var_oldPosition = NULL; PyObject *tmp_inplace_assign_attr_1__end = NULL; PyObject *tmp_inplace_assign_attr_1__start = NULL; PyObject *tmp_inplace_assign_attr_2__end = NULL; PyObject *tmp_inplace_assign_attr_2__start = NULL; PyObject *tmp_inplace_assign_attr_3__end = NULL; PyObject *tmp_inplace_assign_attr_3__start = NULL; struct Nuitka_FrameObject *frame_5cb44a0875ab33ed887368142ea75423; 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; 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; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; 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_preserved_type_2; PyObject *exception_preserved_value_2; PyTracebackObject *exception_preserved_tb_2; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; static struct Nuitka_FrameObject *cache_frame_5cb44a0875ab33ed887368142ea75423 = NULL; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_5cb44a0875ab33ed887368142ea75423, codeobj_5cb44a0875ab33ed887368142ea75423, module_html5lib$_inputstream, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_5cb44a0875ab33ed887368142ea75423 = cache_frame_5cb44a0875ab33ed887368142ea75423; // Push the new frame as the currently active one. pushFrameStack( frame_5cb44a0875ab33ed887368142ea75423 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5cb44a0875ab33ed887368142ea75423 ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_called_instance_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_data ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 878; type_description_1 = "ooo"; goto try_except_handler_2; } frame_5cb44a0875ab33ed887368142ea75423->m_frame.f_lineno = 878; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_jumpTo, &PyTuple_GET_ITEM( const_tuple_bytes_digest_6afe0f64951244d45fcbde1e86a26673_tuple, 0 ) ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 878; type_description_1 = "ooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { 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 = 879; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_3 = par_self; tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_data ); if ( tmp_source_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 879; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_position ); 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 = 879; type_description_1 = "ooo"; goto try_except_handler_2; } 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 = 879; type_description_1 = "ooo"; goto try_except_handler_3; } 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; PyObject *tmp_source_name_4; 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 = 879; type_description_1 = "ooo"; goto try_except_handler_4; } tmp_source_name_4 = par_self; tmp_assattr_target_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_data ); if ( tmp_assattr_target_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 879; type_description_1 = "ooo"; goto try_except_handler_4; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_position, 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 = 879; type_description_1 = "ooo"; 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_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_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; { 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 try_except_handler_2; } // 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; } { PyObject *tmp_called_instance_2; PyObject *tmp_source_name_5; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 880; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_5 = par_self; tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_data ); if ( tmp_called_instance_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 880; type_description_1 = "ooo"; goto try_except_handler_2; } frame_5cb44a0875ab33ed887368142ea75423->m_frame.f_lineno = 880; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_skip ); Py_DECREF( tmp_called_instance_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 880; type_description_1 = "ooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_6; 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 = 881; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_7 = par_self; tmp_source_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_data ); if ( tmp_source_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 881; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_currentByte ); Py_DECREF( tmp_source_name_6 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 881; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_compexpr_right_1 = const_bytes_chr_61; tmp_operand_name_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 881; type_description_1 = "ooo"; goto try_except_handler_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 = 881; type_description_1 = "ooo"; 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:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_3; PyObject *tmp_source_name_8; PyObject *tmp_source_name_9; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 884; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_9 = par_self; tmp_source_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_data ); if ( tmp_source_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 884; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_assign_source_3 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_position ); Py_DECREF( tmp_source_name_8 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 884; type_description_1 = "ooo"; goto try_except_handler_2; } assert( tmp_inplace_assign_attr_2__start == NULL ); tmp_inplace_assign_attr_2__start = tmp_assign_source_3; } { // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; CHECK_OBJECT( tmp_inplace_assign_attr_2__start ); tmp_left_name_2 = tmp_inplace_assign_attr_2__start; tmp_right_name_2 = const_int_pos_1; tmp_assign_source_4 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_2, tmp_right_name_2 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 884; type_description_1 = "ooo"; goto try_except_handler_5; } assert( tmp_inplace_assign_attr_2__end == NULL ); tmp_inplace_assign_attr_2__end = tmp_assign_source_4; } { // Tried code: { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; PyObject *tmp_source_name_10; CHECK_OBJECT( tmp_inplace_assign_attr_2__end ); tmp_assattr_name_2 = tmp_inplace_assign_attr_2__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 = 884; type_description_1 = "ooo"; goto try_except_handler_6; } tmp_source_name_10 = par_self; tmp_assattr_target_2 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_data ); if ( tmp_assattr_target_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 884; type_description_1 = "ooo"; goto try_except_handler_6; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_position, tmp_assattr_name_2 ); Py_DECREF( tmp_assattr_target_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 884; type_description_1 = "ooo"; goto try_except_handler_6; } } 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; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__end ); Py_DECREF( tmp_inplace_assign_attr_2__end ); tmp_inplace_assign_attr_2__end = 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_5; } // End of try: try_end_3:; } goto try_end_4; // Exception handler code: try_except_handler_5:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__start ); Py_DECREF( tmp_inplace_assign_attr_2__start ); tmp_inplace_assign_attr_2__start = 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_2; } // End of try: try_end_4:; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__end ); Py_DECREF( tmp_inplace_assign_attr_2__end ); tmp_inplace_assign_attr_2__end = NULL; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_2__start ); Py_DECREF( tmp_inplace_assign_attr_2__start ); tmp_inplace_assign_attr_2__start = NULL; } { PyObject *tmp_called_instance_3; 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 = 885; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_11 = par_self; tmp_called_instance_3 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_data ); if ( tmp_called_instance_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 885; type_description_1 = "ooo"; goto try_except_handler_2; } frame_5cb44a0875ab33ed887368142ea75423->m_frame.f_lineno = 885; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_skip ); Py_DECREF( tmp_called_instance_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 885; type_description_1 = "ooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_12; PyObject *tmp_source_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 = 887; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_13 = par_self; tmp_source_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_data ); if ( tmp_source_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 887; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_currentByte ); Py_DECREF( tmp_source_name_12 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 887; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_compexpr_right_2 = const_tuple_bytes_chr_34_bytes_chr_39_tuple; tmp_res = PySequence_Contains( tmp_compexpr_right_2, tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 887; type_description_1 = "ooo"; goto try_except_handler_2; } 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_assign_source_5; PyObject *tmp_source_name_14; PyObject *tmp_source_name_15; 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 = "ooo"; goto try_except_handler_2; } tmp_source_name_15 = par_self; tmp_source_name_14 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_data ); if ( tmp_source_name_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 888; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_assign_source_5 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_currentByte ); Py_DECREF( tmp_source_name_14 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 888; type_description_1 = "ooo"; goto try_except_handler_2; } assert( var_quoteMark == NULL ); var_quoteMark = tmp_assign_source_5; } { PyObject *tmp_assign_source_6; PyObject *tmp_source_name_16; PyObject *tmp_source_name_17; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 889; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_17 = par_self; tmp_source_name_16 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain_data ); if ( tmp_source_name_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 889; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_assign_source_6 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_position ); Py_DECREF( tmp_source_name_16 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 889; type_description_1 = "ooo"; goto try_except_handler_2; } assert( tmp_inplace_assign_attr_3__start == NULL ); tmp_inplace_assign_attr_3__start = tmp_assign_source_6; } { // Tried code: { PyObject *tmp_assign_source_7; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; CHECK_OBJECT( tmp_inplace_assign_attr_3__start ); tmp_left_name_3 = tmp_inplace_assign_attr_3__start; tmp_right_name_3 = const_int_pos_1; tmp_assign_source_7 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_3, tmp_right_name_3 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 889; type_description_1 = "ooo"; goto try_except_handler_7; } assert( tmp_inplace_assign_attr_3__end == NULL ); tmp_inplace_assign_attr_3__end = tmp_assign_source_7; } { // Tried code: { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; PyObject *tmp_source_name_18; CHECK_OBJECT( tmp_inplace_assign_attr_3__end ); tmp_assattr_name_3 = tmp_inplace_assign_attr_3__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 = 889; type_description_1 = "ooo"; goto try_except_handler_8; } tmp_source_name_18 = par_self; tmp_assattr_target_3 = LOOKUP_ATTRIBUTE( tmp_source_name_18, const_str_plain_data ); if ( tmp_assattr_target_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 889; type_description_1 = "ooo"; goto try_except_handler_8; } tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_position, 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 = 889; type_description_1 = "ooo"; goto try_except_handler_8; } } goto try_end_5; // 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_inplace_assign_attr_3__end ); Py_DECREF( tmp_inplace_assign_attr_3__end ); tmp_inplace_assign_attr_3__end = 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_5:; } goto try_end_6; // 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; { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_3__start ); Py_DECREF( tmp_inplace_assign_attr_3__start ); tmp_inplace_assign_attr_3__start = 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_2; } // End of try: try_end_6:; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_3__end ); Py_DECREF( tmp_inplace_assign_attr_3__end ); tmp_inplace_assign_attr_3__end = NULL; } { CHECK_OBJECT( (PyObject *)tmp_inplace_assign_attr_3__start ); Py_DECREF( tmp_inplace_assign_attr_3__start ); tmp_inplace_assign_attr_3__start = NULL; } { PyObject *tmp_assign_source_8; PyObject *tmp_source_name_19; PyObject *tmp_source_name_20; 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 = 890; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_20 = par_self; tmp_source_name_19 = LOOKUP_ATTRIBUTE( tmp_source_name_20, const_str_plain_data ); if ( tmp_source_name_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 890; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_assign_source_8 = LOOKUP_ATTRIBUTE( tmp_source_name_19, const_str_plain_position ); Py_DECREF( tmp_source_name_19 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 890; type_description_1 = "ooo"; goto try_except_handler_2; } assert( var_oldPosition == NULL ); var_oldPosition = tmp_assign_source_8; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_called_name_1; PyObject *tmp_source_name_21; PyObject *tmp_source_name_22; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_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 = 891; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_22 = par_self; tmp_source_name_21 = LOOKUP_ATTRIBUTE( tmp_source_name_22, const_str_plain_data ); if ( tmp_source_name_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 891; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_21, const_str_plain_jumpTo ); Py_DECREF( tmp_source_name_21 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 891; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_quoteMark == 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", "quoteMark" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 891; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_args_element_name_1 = var_quoteMark; frame_5cb44a0875ab33ed887368142ea75423->m_frame.f_lineno = 891; { 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 = 891; type_description_1 = "ooo"; 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 = 891; type_description_1 = "ooo"; goto try_except_handler_2; } 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_subscribed_name_1; PyObject *tmp_source_name_23; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_source_name_24; PyObject *tmp_source_name_25; PyObject *tmp_step_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 = 892; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_23 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_23, const_str_plain_data ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 892; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_oldPosition == 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", "oldPosition" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 892; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_start_name_1 = var_oldPosition; if ( par_self == 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", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 892; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_25 = par_self; tmp_source_name_24 = LOOKUP_ATTRIBUTE( tmp_source_name_25, const_str_plain_data ); if ( tmp_source_name_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_1 ); exception_lineno = 892; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_stop_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_24, const_str_plain_position ); Py_DECREF( tmp_source_name_24 ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_1 ); exception_lineno = 892; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 892; type_description_1 = "ooo"; goto try_except_handler_2; } goto frame_return_exit_1; } goto branch_end_3; branch_no_3:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_3:; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_9; PyObject *tmp_source_name_26; PyObject *tmp_source_name_27; 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 = 897; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_27 = par_self; tmp_source_name_26 = LOOKUP_ATTRIBUTE( tmp_source_name_27, const_str_plain_data ); if ( tmp_source_name_26 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 897; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_assign_source_9 = LOOKUP_ATTRIBUTE( tmp_source_name_26, const_str_plain_position ); Py_DECREF( tmp_source_name_26 ); if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 897; type_description_1 = "ooo"; goto try_except_handler_2; } assert( var_oldPosition == NULL ); var_oldPosition = tmp_assign_source_9; } { // Tried code: { PyObject *tmp_called_name_2; PyObject *tmp_source_name_28; PyObject *tmp_source_name_29; PyObject *tmp_args_element_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 = 899; type_description_1 = "ooo"; goto try_except_handler_9; } tmp_source_name_29 = par_self; tmp_source_name_28 = LOOKUP_ATTRIBUTE( tmp_source_name_29, const_str_plain_data ); if ( tmp_source_name_28 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 899; type_description_1 = "ooo"; goto try_except_handler_9; } tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_28, const_str_plain_skipUntil ); Py_DECREF( tmp_source_name_28 ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 899; type_description_1 = "ooo"; goto try_except_handler_9; } tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_spaceCharactersBytes ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_spaceCharactersBytes ); } if ( tmp_mvar_value_1 == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "spaceCharactersBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 899; type_description_1 = "ooo"; goto try_except_handler_9; } tmp_args_element_name_2 = tmp_mvar_value_1; frame_5cb44a0875ab33ed887368142ea75423->m_frame.f_lineno = 899; { 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 = 899; type_description_1 = "ooo"; goto try_except_handler_9; } Py_DECREF( tmp_unused ); } { PyObject *tmp_subscribed_name_2; PyObject *tmp_source_name_30; PyObject *tmp_subscript_name_2; PyObject *tmp_start_name_2; PyObject *tmp_stop_name_2; PyObject *tmp_source_name_31; PyObject *tmp_source_name_32; PyObject *tmp_step_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 = 900; type_description_1 = "ooo"; goto try_except_handler_9; } tmp_source_name_30 = par_self; tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_30, const_str_plain_data ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 900; type_description_1 = "ooo"; goto try_except_handler_9; } if ( var_oldPosition == 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", "oldPosition" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 900; type_description_1 = "ooo"; goto try_except_handler_9; } tmp_start_name_2 = var_oldPosition; if ( par_self == 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", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 900; type_description_1 = "ooo"; goto try_except_handler_9; } tmp_source_name_32 = par_self; tmp_source_name_31 = LOOKUP_ATTRIBUTE( tmp_source_name_32, const_str_plain_data ); if ( tmp_source_name_31 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_2 ); exception_lineno = 900; type_description_1 = "ooo"; goto try_except_handler_9; } tmp_stop_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_31, const_str_plain_position ); Py_DECREF( tmp_source_name_31 ); if ( tmp_stop_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_2 ); exception_lineno = 900; type_description_1 = "ooo"; goto try_except_handler_9; } tmp_step_name_2 = Py_None; tmp_subscript_name_2 = MAKE_SLICEOBJ3( tmp_start_name_2, tmp_stop_name_2, tmp_step_name_2 ); Py_DECREF( tmp_stop_name_2 ); assert( !(tmp_subscript_name_2 == NULL) ); tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); Py_DECREF( tmp_subscript_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 900; type_description_1 = "ooo"; goto try_except_handler_9; } goto frame_return_exit_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_50_parse ); return NULL; // 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; { // 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_7 == NULL ) { exception_keeper_tb_7 = MAKE_TRACEBACK( frame_5cb44a0875ab33ed887368142ea75423, exception_keeper_lineno_7 ); } else if ( exception_keeper_lineno_7 != 0 ) { exception_keeper_tb_7 = ADD_TRACEBACK( exception_keeper_tb_7, frame_5cb44a0875ab33ed887368142ea75423, exception_keeper_lineno_7 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_7, &exception_keeper_value_7, &exception_keeper_tb_7 ); PyException_SetTraceback( exception_keeper_value_7, (PyObject *)exception_keeper_tb_7 ); PUBLISH_EXCEPTION( &exception_keeper_type_7, &exception_keeper_value_7, &exception_keeper_tb_7 ); } { // Tried code: { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; tmp_compexpr_left_3 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_3 = PyExc_StopIteration; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 901; type_description_1 = "ooo"; goto try_except_handler_10; } 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_subscribed_name_3; PyObject *tmp_source_name_33; PyObject *tmp_subscript_name_3; PyObject *tmp_start_name_3; PyObject *tmp_stop_name_3; PyObject *tmp_step_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 = 903; type_description_1 = "ooo"; goto try_except_handler_10; } tmp_source_name_33 = par_self; tmp_subscribed_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_33, const_str_plain_data ); if ( tmp_subscribed_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 903; type_description_1 = "ooo"; goto try_except_handler_10; } if ( var_oldPosition == NULL ) { Py_DECREF( tmp_subscribed_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "oldPosition" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 903; type_description_1 = "ooo"; goto try_except_handler_10; } tmp_start_name_3 = var_oldPosition; tmp_stop_name_3 = Py_None; tmp_step_name_3 = Py_None; tmp_subscript_name_3 = MAKE_SLICEOBJ3( tmp_start_name_3, tmp_stop_name_3, tmp_step_name_3 ); assert( !(tmp_subscript_name_3 == NULL) ); tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); Py_DECREF( tmp_subscribed_name_3 ); Py_DECREF( tmp_subscript_name_3 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 903; type_description_1 = "ooo"; goto try_except_handler_10; } goto try_return_handler_10; } goto branch_end_4; branch_no_4:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 898; } if (exception_tb && exception_tb->tb_frame == &frame_5cb44a0875ab33ed887368142ea75423->m_frame) frame_5cb44a0875ab33ed887368142ea75423->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooo"; goto try_except_handler_10; } branch_end_4:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_50_parse ); return NULL; // Return handler code: try_return_handler_10:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_10:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto try_except_handler_2; } // End of try: } // End of try: } branch_end_2:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_50_parse ); return NULL; // Exception handler code: try_except_handler_2:; 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; { // 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_9 == NULL ) { exception_keeper_tb_9 = MAKE_TRACEBACK( frame_5cb44a0875ab33ed887368142ea75423, exception_keeper_lineno_9 ); } else if ( exception_keeper_lineno_9 != 0 ) { exception_keeper_tb_9 = ADD_TRACEBACK( exception_keeper_tb_9, frame_5cb44a0875ab33ed887368142ea75423, exception_keeper_lineno_9 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_9, &exception_keeper_value_9, &exception_keeper_tb_9 ); PyException_SetTraceback( exception_keeper_value_9, (PyObject *)exception_keeper_tb_9 ); PUBLISH_EXCEPTION( &exception_keeper_type_9, &exception_keeper_value_9, &exception_keeper_tb_9 ); } { // Tried code: { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; tmp_compexpr_left_4 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_4 = PyExc_StopIteration; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 904; type_description_1 = "ooo"; goto try_except_handler_11; } 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 = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_11; } goto branch_end_5; branch_no_5:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 875; } if (exception_tb && exception_tb->tb_frame == &frame_5cb44a0875ab33ed887368142ea75423->m_frame) frame_5cb44a0875ab33ed887368142ea75423->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooo"; goto try_except_handler_11; } branch_end_5:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_50_parse ); return NULL; // Return handler code: try_return_handler_11:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 ); } { goto frame_return_exit_1; } // 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; { // 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_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto frame_exception_exit_1; } // End of try: } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_5cb44a0875ab33ed887368142ea75423 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5cb44a0875ab33ed887368142ea75423 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5cb44a0875ab33ed887368142ea75423 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5cb44a0875ab33ed887368142ea75423, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5cb44a0875ab33ed887368142ea75423->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5cb44a0875ab33ed887368142ea75423, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5cb44a0875ab33ed887368142ea75423, type_description_1, par_self, var_quoteMark, var_oldPosition ); // Release cached frame. if ( frame_5cb44a0875ab33ed887368142ea75423 == cache_frame_5cb44a0875ab33ed887368142ea75423 ) { Py_DECREF( frame_5cb44a0875ab33ed887368142ea75423 ); } cache_frame_5cb44a0875ab33ed887368142ea75423 = NULL; assertFrameObject( frame_5cb44a0875ab33ed887368142ea75423 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_50_parse ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_quoteMark ); var_quoteMark = NULL; } { Py_XDECREF( var_oldPosition ); var_oldPosition = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_quoteMark ); var_quoteMark = NULL; } { Py_XDECREF( var_oldPosition ); var_oldPosition = NULL; } { // Re-raise. exception_type = exception_keeper_type_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_50_parse ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_html5lib$_inputstream$$$function_51_lookupEncoding( 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_encoding = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_391a38764ffe4d2f9159dcaa1aa17bf6; 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 *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; PyObject *tmp_return_value = NULL; bool tmp_result; 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_2; PyObject *exception_preserved_value_2; PyTracebackObject *exception_preserved_tb_2; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; static struct Nuitka_FrameObject *cache_frame_391a38764ffe4d2f9159dcaa1aa17bf6 = 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_391a38764ffe4d2f9159dcaa1aa17bf6, codeobj_391a38764ffe4d2f9159dcaa1aa17bf6, module_html5lib$_inputstream, sizeof(void *) ); frame_391a38764ffe4d2f9159dcaa1aa17bf6 = cache_frame_391a38764ffe4d2f9159dcaa1aa17bf6; // Push the new frame as the currently active one. pushFrameStack( frame_391a38764ffe4d2f9159dcaa1aa17bf6 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_391a38764ffe4d2f9159dcaa1aa17bf6 ) == 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_encoding ); tmp_isinstance_inst_1 = par_encoding; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_binary_type ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_binary_type ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "binary_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 911; type_description_1 = "o"; 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 = 911; type_description_1 = "o"; 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:; { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_encoding ); tmp_called_instance_1 = par_encoding; frame_391a38764ffe4d2f9159dcaa1aa17bf6->m_frame.f_lineno = 913; tmp_assign_source_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_decode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_tuple, 0 ) ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 913; type_description_1 = "o"; goto try_except_handler_2; } { PyObject *old = par_encoding; par_encoding = tmp_assign_source_1; Py_XDECREF( old ); } } 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; { // 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_391a38764ffe4d2f9159dcaa1aa17bf6, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_391a38764ffe4d2f9159dcaa1aa17bf6, 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_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_1 = PyExc_UnicodeDecodeError; 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 = 914; type_description_1 = "o"; goto try_except_handler_3; } 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:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_3; } goto branch_end_2; branch_no_2:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 912; } if (exception_tb && exception_tb->tb_frame == &frame_391a38764ffe4d2f9159dcaa1aa17bf6->m_frame) frame_391a38764ffe4d2f9159dcaa1aa17bf6->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "o"; goto try_except_handler_3; } branch_end_2:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_51_lookupEncoding ); return NULL; // Return handler code: try_return_handler_3:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { 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; { // 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_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: } // End of try: try_end_1:; } branch_no_1:; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( par_encoding ); tmp_compexpr_left_2 = par_encoding; tmp_compexpr_right_2 = Py_None; tmp_condition_result_3 = ( tmp_compexpr_left_2 != tmp_compexpr_right_2 ) ? 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:; { // Tried code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_webencodings ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_webencodings ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "webencodings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 919; type_description_1 = "o"; goto try_except_handler_4; } tmp_source_name_1 = tmp_mvar_value_2; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_lookup ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 919; type_description_1 = "o"; goto try_except_handler_4; } 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 = 919; type_description_1 = "o"; goto try_except_handler_4; } tmp_args_element_name_1 = par_encoding; frame_391a38764ffe4d2f9159dcaa1aa17bf6->m_frame.f_lineno = 919; { 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 = 919; type_description_1 = "o"; goto try_except_handler_4; } goto frame_return_exit_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_51_lookupEncoding ); return NULL; // Exception handler code: try_except_handler_4:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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_3 == NULL ) { exception_keeper_tb_3 = MAKE_TRACEBACK( frame_391a38764ffe4d2f9159dcaa1aa17bf6, exception_keeper_lineno_3 ); } else if ( exception_keeper_lineno_3 != 0 ) { exception_keeper_tb_3 = ADD_TRACEBACK( exception_keeper_tb_3, frame_391a38764ffe4d2f9159dcaa1aa17bf6, 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_4; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; tmp_compexpr_left_3 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_3 = PyExc_AttributeError; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 920; type_description_1 = "o"; 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:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_5; } goto branch_end_4; branch_no_4:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 918; } if (exception_tb && exception_tb->tb_frame == &frame_391a38764ffe4d2f9159dcaa1aa17bf6->m_frame) frame_391a38764ffe4d2f9159dcaa1aa17bf6->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "o"; goto try_except_handler_5; } branch_end_4:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_51_lookupEncoding ); return NULL; // Return handler code: try_return_handler_5:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 ); } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_5:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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_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: } // End of try: } goto branch_end_3; branch_no_3:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_3:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_391a38764ffe4d2f9159dcaa1aa17bf6 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_391a38764ffe4d2f9159dcaa1aa17bf6 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_391a38764ffe4d2f9159dcaa1aa17bf6 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_391a38764ffe4d2f9159dcaa1aa17bf6, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_391a38764ffe4d2f9159dcaa1aa17bf6->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_391a38764ffe4d2f9159dcaa1aa17bf6, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_391a38764ffe4d2f9159dcaa1aa17bf6, type_description_1, par_encoding ); // Release cached frame. if ( frame_391a38764ffe4d2f9159dcaa1aa17bf6 == cache_frame_391a38764ffe4d2f9159dcaa1aa17bf6 ) { Py_DECREF( frame_391a38764ffe4d2f9159dcaa1aa17bf6 ); } cache_frame_391a38764ffe4d2f9159dcaa1aa17bf6 = NULL; assertFrameObject( frame_391a38764ffe4d2f9159dcaa1aa17bf6 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_51_lookupEncoding ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_encoding ); par_encoding = 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_encoding ); par_encoding = NULL; } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream$$$function_51_lookupEncoding ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_10_reset( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_10_reset, const_str_plain_reset, #if PYTHON_VERSION >= 300 const_str_digest_981d24743730b050649b7ec16702f914, #endif codeobj_2485df424908f66d336c937240ee9d2e, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_11_openStream( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_11_openStream, const_str_plain_openStream, #if PYTHON_VERSION >= 300 const_str_digest_f7f50fc1537b8b1d0c5ae3136a23ecf2, #endif codeobj_15868c33d43ee39e167c7c84b5b7b9b1, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_f4da14ff20371963d5d9610876528089, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_12__position( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_12__position, const_str_plain__position, #if PYTHON_VERSION >= 300 const_str_digest_f08956b79708c54f8a44209d7da9dd55, #endif codeobj_8c921752f17b55fa3455fc148ad2857e, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_13_position( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_13_position, const_str_plain_position, #if PYTHON_VERSION >= 300 const_str_digest_262743a00fe473aef9915e686126ee6e, #endif codeobj_d61bcc941d012c0a324b3dce869a4ed9, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_4bf85dbccb8cd0d8b874b84c390e290e, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_14_char( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_14_char, const_str_plain_char, #if PYTHON_VERSION >= 300 const_str_digest_7fd275e784a39025b1dc911ed5319ed1, #endif codeobj_941d99f591cab6ba5d935040395dce34, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_2e1105f93e0d4bb5d5618487a81d106a, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_15_readChunk( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_15_readChunk, const_str_plain_readChunk, #if PYTHON_VERSION >= 300 const_str_digest_35086c71549d83db1f947306a45f3c4d, #endif codeobj_1e1068d0492a5356915d323de7430ce1, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_16_characterErrorsUCS4( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_16_characterErrorsUCS4, const_str_plain_characterErrorsUCS4, #if PYTHON_VERSION >= 300 const_str_digest_77a848b6ae19e6cd740705b2c97055b1, #endif codeobj_4506ad6087494798b7cfe0cf18fe7651, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_17_characterErrorsUCS2( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_17_characterErrorsUCS2, const_str_plain_characterErrorsUCS2, #if PYTHON_VERSION >= 300 const_str_digest_e8b6980e10fc5952773deb3767df767d, #endif codeobj_7b8059cf035880e0c4ecd7fb10c9cd18, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_18_charsUntil( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_18_charsUntil, const_str_plain_charsUntil, #if PYTHON_VERSION >= 300 const_str_digest_cba4ac6b88df8fc94d78609024df4b97, #endif codeobj_4752019545b2074bff148ecbcf59b766, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_e12496911a4e28ca6e5284639b9eb35e, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_19_unget( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_19_unget, const_str_plain_unget, #if PYTHON_VERSION >= 300 const_str_digest_5ef8df9103ba2e18bcceca1da7d7a1a4, #endif codeobj_dd099ba0bf9d2d0c20fb6b84127a36d9, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_1___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_1___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_565000d2e2828c88ae88de5e042270b7, #endif codeobj_9e50c072ca01450fc5ab5bcfa64b8b11, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_20___init__( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_20___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_7c5fc07a30a4119699fc17162a78f7c0, #endif codeobj_ebd4503eec1f768c1b9076a19a495a81, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_41500ba68ab258bb7ef7792a1e8594d4, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_21_reset( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_21_reset, const_str_plain_reset, #if PYTHON_VERSION >= 300 const_str_digest_f56141545dd8f34e312232781e126a3d, #endif codeobj_0aa2a21b41092c93f546dffd7d76854e, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_22_openStream( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_22_openStream, const_str_plain_openStream, #if PYTHON_VERSION >= 300 const_str_digest_9a58f919c532a0ef6376def3dfaaa82d, #endif codeobj_c1b87b8c7c5978c7c185bb1c5c14a499, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_f4da14ff20371963d5d9610876528089, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_23_determineEncoding( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_23_determineEncoding, const_str_plain_determineEncoding, #if PYTHON_VERSION >= 300 const_str_digest_c860327a2b27f08cd76f4060f8cedec6, #endif codeobj_9b720416c9651497feb245f05224780e, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_24_changeEncoding( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_24_changeEncoding, const_str_plain_changeEncoding, #if PYTHON_VERSION >= 300 const_str_digest_1f64d3b68dda3b8d0f431eb2780200f1, #endif codeobj_c9acb68dcb0f05e88520ffeb274a2dff, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_25_detectBOM( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_25_detectBOM, const_str_plain_detectBOM, #if PYTHON_VERSION >= 300 const_str_digest_e7e96347694e4927cc5c0b003f0e3090, #endif codeobj_e50baefe499e63491979effb24fb97df, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_479f8249e7efe950c363c4565af47de0, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_26_detectEncodingMeta( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_26_detectEncodingMeta, const_str_plain_detectEncodingMeta, #if PYTHON_VERSION >= 300 const_str_digest_34de6d108b236ce117aedde974fbbeea, #endif codeobj_3bcd80e503a3da9594b0ccff62cc85c9, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_4f42531eef737efe2d4d0a598776cd16, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_27___new__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_27___new__, const_str_plain___new__, #if PYTHON_VERSION >= 300 const_str_digest_a0c5ce147f885711f39772d6402ca66e, #endif codeobj_cf3365a861798efb9b223b0aaa1d521a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_28___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_28___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_7555aa0ba328e995c474b36da992085e, #endif codeobj_8256de6e764d673f5bc2b483e0737aa6, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_29___iter__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_29___iter__, const_str_plain___iter__, #if PYTHON_VERSION >= 300 const_str_digest_1966600f9f3e0113fc43379042914814, #endif codeobj_7817641c27cffd8c9371d005a0b6db3d, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_2_tell( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_2_tell, const_str_plain_tell, #if PYTHON_VERSION >= 300 const_str_digest_c3e33328c611f5d131fc2536d3b7c4ec, #endif codeobj_75a9fb578c2f1ae07e46c28af0de0a48, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_30___next__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_30___next__, const_str_plain___next__, #if PYTHON_VERSION >= 300 const_str_digest_fa6c643d2d937767625391c24abb7893, #endif codeobj_ddc84713fb692dc72d31420dd6c93c66, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_31_next( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_31_next, const_str_plain_next, #if PYTHON_VERSION >= 300 const_str_digest_c5c19e7440965f169127d7dd044560e9, #endif codeobj_2c66bc8f8b04b6e462e6d4d980c4a8e1, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_32_previous( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_32_previous, const_str_plain_previous, #if PYTHON_VERSION >= 300 const_str_digest_056cef4f8c5ea819a027e47c0ebb330a, #endif codeobj_82fb4041c9ba1347b3fe61ced197a4c1, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_33_setPosition( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_33_setPosition, const_str_plain_setPosition, #if PYTHON_VERSION >= 300 const_str_digest_916503fed9eba392dc60d2d6ae1486d1, #endif codeobj_1955f622cad92da0f8aecec162a828a0, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_34_getPosition( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_34_getPosition, const_str_plain_getPosition, #if PYTHON_VERSION >= 300 const_str_digest_f4a48333e8c880b004466d2d4e7b2497, #endif codeobj_3cb39b82746e5e0bbb9fa25b9a88e9ae, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_35_getCurrentByte( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_35_getCurrentByte, const_str_plain_getCurrentByte, #if PYTHON_VERSION >= 300 const_str_digest_038740586bcf5fe0108efe071dc94b93, #endif codeobj_d6c4a17446083670f3269c2c3173a25d, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_36_skip( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_36_skip, const_str_plain_skip, #if PYTHON_VERSION >= 300 const_str_digest_d40a1a2ac0148b45065486fa15c189f7, #endif codeobj_211695d592fa280de38f845d39b4da90, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_df54dce2d06ff150847a63331fa17b4a, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_37_skipUntil( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_37_skipUntil, const_str_plain_skipUntil, #if PYTHON_VERSION >= 300 const_str_digest_0e6838fe74594a92db62ba20ab399950, #endif codeobj_0c272fde91fc2ca133549e67344baf88, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_38_matchBytes( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_38_matchBytes, const_str_plain_matchBytes, #if PYTHON_VERSION >= 300 const_str_digest_45019d0902e370dd68b9975c3e3da60b, #endif codeobj_9acdd5698d06771982552941b6a8cc00, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_8280a96d2b16a5038ca7160f6ec4ae9a, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_39_jumpTo( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_39_jumpTo, const_str_plain_jumpTo, #if PYTHON_VERSION >= 300 const_str_digest_26f68a6a6e11c2f4c5601d72b22aa5ff, #endif codeobj_456468498105b941d5919b807e4e14fb, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_1ef434e8eebd19f4806246433ffd6de0, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_3_seek( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_3_seek, const_str_plain_seek, #if PYTHON_VERSION >= 300 const_str_digest_71ab8d1ea3bc5a0f6077044768eb2194, #endif codeobj_6d3ac018d1fb7f9662a58c52497403f5, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_40___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_40___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_d23c7bb764848d3aabdd2ccca06a521c, #endif codeobj_869f8af9ae31d6d676563cf5396196fd, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_839c5c55aba81f311c772a506ce57300, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_41_getEncoding( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_41_getEncoding, const_str_plain_getEncoding, #if PYTHON_VERSION >= 300 const_str_digest_3bac8fcab7a5f92d3e71cda0c37f45fd, #endif codeobj_43e3d33dc95095b87fc23a4cc34bc93c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_42_handleComment( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_42_handleComment, const_str_plain_handleComment, #if PYTHON_VERSION >= 300 const_str_digest_c31c8c777edfe93a198d15f801163615, #endif codeobj_048a0dad3d4ab30e0e5d265fe298e917, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_0ffbd4a7d412464387deb5f400b4ba0b, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_43_handleMeta( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_43_handleMeta, const_str_plain_handleMeta, #if PYTHON_VERSION >= 300 const_str_digest_73cc4aebab4956b52a18e8c1d30842f5, #endif codeobj_47735e7d83d31d07b0a5ccb24e783a6a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_44_handlePossibleStartTag( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_44_handlePossibleStartTag, const_str_plain_handlePossibleStartTag, #if PYTHON_VERSION >= 300 const_str_digest_62363d4d45740ce8e3206426f60ac5a0, #endif codeobj_fd606892d2c313a86766dded1a1ea8d3, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_45_handlePossibleEndTag( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_45_handlePossibleEndTag, const_str_plain_handlePossibleEndTag, #if PYTHON_VERSION >= 300 const_str_digest_c397eab75961124ca254b8861cb91546, #endif codeobj_9d33f7f801af3e0211b78c2e96b717f9, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_46_handlePossibleTag( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_46_handlePossibleTag, const_str_plain_handlePossibleTag, #if PYTHON_VERSION >= 300 const_str_digest_fb481bcf77f4a3fe96ae994f22b4930a, #endif codeobj_b5115939d56cbe45d6f4f0b3fbab4494, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_47_handleOther( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_47_handleOther, const_str_plain_handleOther, #if PYTHON_VERSION >= 300 const_str_digest_d6fdf58ffa3533fe018f2e7883a7d783, #endif codeobj_f1f694a5c46392b0ff570bf5921a14fe, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_48_getAttribute( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_48_getAttribute, const_str_plain_getAttribute, #if PYTHON_VERSION >= 300 const_str_digest_65b1e9d22571e6f4db15aae0775462a6, #endif codeobj_cfc16c8336a32c00bd4aafffa86a8a44, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_5de6d5b1a8e35391fbf87f3c142384c2, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_49___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_49___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_72e2b6713bf58e1c925c9830b74c1018, #endif codeobj_a08d62fecbcc1336436694a67298b9aa, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_4_read( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_4_read, const_str_plain_read, #if PYTHON_VERSION >= 300 const_str_digest_90ac5199a0fb4ae419899350b8740148, #endif codeobj_c144472425cb64137090bcb911a31209, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_50_parse( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_50_parse, const_str_plain_parse, #if PYTHON_VERSION >= 300 const_str_digest_ff7d803498085189e5bbda6bd2825939, #endif codeobj_5cb44a0875ab33ed887368142ea75423, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_51_lookupEncoding( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_51_lookupEncoding, const_str_plain_lookupEncoding, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_391a38764ffe4d2f9159dcaa1aa17bf6, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_a4fd13370687457d2995910602db2ea6, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_5__bufferedBytes( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_5__bufferedBytes, const_str_plain__bufferedBytes, #if PYTHON_VERSION >= 300 const_str_digest_37fa12168ceb4c494c3f7a8af8e44816, #endif codeobj_b54a3af2c97ff4b26772799a5dc175ae, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_6__readStream( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_6__readStream, const_str_plain__readStream, #if PYTHON_VERSION >= 300 const_str_digest_0e430d82fcfd7d55f7b8d4008143db7b, #endif codeobj_d0b3b341f99c47cda8a58501b3737e2a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_7__readFromBuffer( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_7__readFromBuffer, const_str_plain__readFromBuffer, #if PYTHON_VERSION >= 300 const_str_digest_61c117f59bf0347f1831e4ee05d33c4b, #endif codeobj_00196fde7ef830a15fbad60fe50caefa, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_8_HTMLInputStream( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_8_HTMLInputStream, const_str_plain_HTMLInputStream, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_c7a2d3da5a4fb4f9fef2929d39d9f9e2, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_html5lib$_inputstream$$$function_9___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_html5lib$_inputstream$$$function_9___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_7ef8e7fed82752153daf2f48928e9c3f, #endif codeobj_48ba3c04f96eba18ddc319a2b958efa0, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_html5lib$_inputstream, const_str_digest_41500ba68ab258bb7ef7792a1e8594d4, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_html5lib$_inputstream = { PyModuleDef_HEAD_INIT, "html5lib._inputstream", /* m_name */ NULL, /* m_doc */ -1, /* m_size */ NULL, /* m_methods */ NULL, /* m_reload */ NULL, /* m_traverse */ NULL, /* m_clear */ NULL, /* m_free */ }; #endif extern PyObject *const_str_plain___package__; #if PYTHON_VERSION >= 300 extern PyObject *const_str_dot; extern PyObject *const_str_plain___loader__; extern PyObject *metapath_based_loader; #endif #if PYTHON_VERSION >= 340 extern PyObject *const_str_plain___spec__; extern PyObject *const_str_plain__initializing; #endif extern void _initCompiledCellType(); extern void _initCompiledGeneratorType(); extern void _initCompiledFunctionType(); extern void _initCompiledMethodType(); extern void _initCompiledFrameType(); #if PYTHON_VERSION >= 350 extern void _initCompiledCoroutineTypes(); #endif #if PYTHON_VERSION >= 360 extern void _initCompiledAsyncgenTypes(); #endif // The exported interface to CPython. On import of the module, this function // gets called. It has to have an exact function name, in cases it's a shared // library export. This is hidden behind the MOD_INIT_DECL. MOD_INIT_DECL( html5lib$_inputstream ) { #if defined(_NUITKA_EXE) || PYTHON_VERSION >= 300 static bool _init_done = false; // Modules might be imported repeatedly, which is to be ignored. if ( _init_done ) { return MOD_RETURN_VALUE( module_html5lib$_inputstream ); } else { _init_done = true; } #endif #ifdef _NUITKA_MODULE // In case of a stand alone extension module, need to call initialization // the init here because that's the first and only time we are going to get // called here. // Initialize the constant values used. _initBuiltinModule(); createGlobalConstants(); /* Initialize the compiled types of Nuitka. */ _initCompiledCellType(); _initCompiledGeneratorType(); _initCompiledFunctionType(); _initCompiledMethodType(); _initCompiledFrameType(); #if PYTHON_VERSION >= 350 _initCompiledCoroutineTypes(); #endif #if PYTHON_VERSION >= 360 _initCompiledAsyncgenTypes(); #endif #if PYTHON_VERSION < 300 _initSlotCompare(); #endif #if PYTHON_VERSION >= 270 _initSlotIternext(); #endif patchBuiltinModule(); patchTypeComparison(); // Enable meta path based loader if not already done. #ifdef _NUITKA_TRACE puts("html5lib._inputstream: Calling setupMetaPathBasedLoader()."); #endif setupMetaPathBasedLoader(); #if PYTHON_VERSION >= 300 patchInspectModule(); #endif #endif /* The constants only used by this module are created now. */ #ifdef _NUITKA_TRACE puts("html5lib._inputstream: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("html5lib._inputstream: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in inithtml5lib$_inputstream" ); // Create the module object first. There are no methods initially, all are // added dynamically in actual code only. Also no "__doc__" is initially // set at this time, as it could not contain NUL characters this way, they // are instead set in early module code. No "self" for modules, we have no // use for it. #if PYTHON_VERSION < 300 module_html5lib$_inputstream = Py_InitModule4( "html5lib._inputstream", // Module Name NULL, // No methods initially, all are added // dynamically in actual module code only. NULL, // No "__doc__" is initially set, as it could // not contain NUL this way, added early in // actual code. NULL, // No self for modules, we don't use it. PYTHON_API_VERSION ); #else module_html5lib$_inputstream = PyModule_Create( &mdef_html5lib$_inputstream ); #endif moduledict_html5lib$_inputstream = MODULE_DICT( module_html5lib$_inputstream ); // Update "__package__" value to what it ought to be. { #if 0 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___name__ ); char const *module_name_cstr = PyString_AS_STRING( module_name ); char const *last_dot = strrchr( module_name_cstr, '.' ); if ( last_dot != NULL ) { UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___package__, PyString_FromStringAndSize( module_name_cstr, last_dot - module_name_cstr ) ); } #else PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___name__ ); Py_ssize_t dot_index = PyUnicode_Find( module_name, const_str_dot, 0, PyUnicode_GetLength( module_name ), -1 ); if ( dot_index != -1 ) { UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_html5lib$_inputstream ); // 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_3e8c99e8a71b4266b1d42295941d73f3, module_html5lib$_inputstream ); assert( r != -1 ); } #endif // For deep importing of a module we need to have "__builtins__", so we set // it ourselves in the same way than CPython does. Note: This must be done // before the frame object is allocated, or else it may fail. if ( GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___builtins__ ) == NULL ) { PyObject *value = (PyObject *)builtin_module; // Check if main module, not a dict then but the module itself. #if !defined(_NUITKA_EXE) || !0 value = PyModule_GetDict( value ); #endif UPDATE_STRING_DICT0( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___spec__, Py_None ); #else { PyObject *bootstrap_module = PyImport_ImportModule("importlib._bootstrap"); CHECK_OBJECT( bootstrap_module ); PyObject *module_spec_class = PyObject_GetAttrString( bootstrap_module, "ModuleSpec" ); Py_DECREF( bootstrap_module ); PyObject *args[] = { GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___name__ ), metapath_based_loader }; PyObject *spec_value = CALL_FUNCTION_WITH_ARGS2( module_spec_class, args ); SET_ATTRIBUTE( spec_value, const_str_plain__initializing, Py_True ); UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___spec__, spec_value ); Py_DECREF( module_spec_class ); } #endif #endif // Temp variables if any PyObject *outline_0_var_item = NULL; PyObject *outline_1_var_item = NULL; PyObject *outline_2_var_item = 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 *tmp_class_creation_1__bases = NULL; PyObject *tmp_class_creation_1__class_decl_dict = NULL; PyObject *tmp_class_creation_1__metaclass = NULL; PyObject *tmp_class_creation_1__prepared = NULL; PyObject *tmp_class_creation_2__bases = NULL; PyObject *tmp_class_creation_2__class_decl_dict = NULL; PyObject *tmp_class_creation_2__metaclass = NULL; PyObject *tmp_class_creation_2__prepared = NULL; PyObject *tmp_class_creation_3__bases = NULL; PyObject *tmp_class_creation_3__bases_orig = NULL; PyObject *tmp_class_creation_3__class_decl_dict = NULL; PyObject *tmp_class_creation_3__metaclass = NULL; PyObject *tmp_class_creation_3__prepared = NULL; PyObject *tmp_class_creation_4__bases = 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__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_eval_call_1__globals = NULL; PyObject *tmp_eval_call_1__locals = NULL; PyObject *tmp_eval_call_1__source = NULL; PyObject *tmp_import_from_1__module = NULL; PyObject *tmp_import_from_2__module = NULL; PyObject *tmp_import_from_3__module = NULL; PyObject *tmp_import_from_4__module = NULL; PyObject *tmp_listcomp_1__$0 = NULL; PyObject *tmp_listcomp_1__contraction = NULL; PyObject *tmp_listcomp_1__iter_value_0 = NULL; PyObject *tmp_listcomp_2__$0 = NULL; PyObject *tmp_listcomp_2__contraction = NULL; PyObject *tmp_listcomp_2__iter_value_0 = NULL; PyObject *tmp_listcomp_3__$0 = NULL; PyObject *tmp_listcomp_3__contraction = NULL; PyObject *tmp_listcomp_3__iter_value_0 = NULL; struct Nuitka_FrameObject *frame_66fda68140cf2344397fb6bee4976f29; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; bool tmp_result; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; struct Nuitka_FrameObject *frame_dc9065d90bd1cca4e870d6dc4421014c_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = 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; static struct Nuitka_FrameObject *cache_frame_dc9065d90bd1cca4e870d6dc4421014c_2 = NULL; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; struct Nuitka_FrameObject *frame_1182233aa6c0477a1fa6fbe7d159297c_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; static struct Nuitka_FrameObject *cache_frame_1182233aa6c0477a1fa6fbe7d159297c_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; struct Nuitka_FrameObject *frame_08a1e287215a3d35d2ad40f12a00938c_4; NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; static struct Nuitka_FrameObject *cache_frame_08a1e287215a3d35d2ad40f12a00938c_4 = NULL; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; PyObject *locals_html5lib$_inputstream_57 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_ae5ed36cd1632c75a5682038882679da_5; NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL; static struct Nuitka_FrameObject *cache_frame_ae5ed36cd1632c75a5682038882679da_5 = NULL; 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 *locals_html5lib$_inputstream_154 = NULL; struct Nuitka_FrameObject *frame_88543d001724119253dfc5835d99b6a4_6; NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL; static struct Nuitka_FrameObject *cache_frame_88543d001724119253dfc5835d99b6a4_6 = NULL; 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 *exception_keeper_type_19; PyObject *exception_keeper_value_19; PyTracebackObject *exception_keeper_tb_19; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_19; PyObject *locals_html5lib$_inputstream_384 = NULL; struct Nuitka_FrameObject *frame_58252763bcef966d82b75bce6b54dd1b_7; NUITKA_MAY_BE_UNUSED char const *type_description_7 = NULL; static struct Nuitka_FrameObject *cache_frame_58252763bcef966d82b75bce6b54dd1b_7 = NULL; 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 *locals_html5lib$_inputstream_584 = NULL; struct Nuitka_FrameObject *frame_b5557a76044301bfcd69189188647414_8; NUITKA_MAY_BE_UNUSED char const *type_description_8 = NULL; static struct Nuitka_FrameObject *cache_frame_b5557a76044301bfcd69189188647414_8 = NULL; 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 *locals_html5lib$_inputstream_688 = NULL; struct Nuitka_FrameObject *frame_4c01bcc24da40257461deed5e4ea25dc_9; NUITKA_MAY_BE_UNUSED char const *type_description_9 = NULL; static struct Nuitka_FrameObject *cache_frame_4c01bcc24da40257461deed5e4ea25dc_9 = NULL; 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 *exception_keeper_type_28; PyObject *exception_keeper_value_28; PyTracebackObject *exception_keeper_tb_28; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_28; PyObject *locals_html5lib$_inputstream_869 = NULL; struct Nuitka_FrameObject *frame_e046cb410eff9ae507d02c38ccfe41a3_10; NUITKA_MAY_BE_UNUSED char const *type_description_10 = NULL; static struct Nuitka_FrameObject *cache_frame_e046cb410eff9ae507d02c38ccfe41a3_10 = NULL; 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 *exception_keeper_type_31; PyObject *exception_keeper_value_31; PyTracebackObject *exception_keeper_tb_31; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_31; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; UPDATE_STRING_DICT0( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_b0a95434b7641fd82a6f96f8e01512f8; UPDATE_STRING_DICT0( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___file__, tmp_assign_source_2 ); } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = Py_None; UPDATE_STRING_DICT0( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 ); } { PyObject *tmp_assign_source_4; tmp_assign_source_4 = PyImport_ImportModule("__future__"); assert( !(tmp_assign_source_4 == NULL) ); assert( tmp_import_from_1__module == NULL ); Py_INCREF( tmp_assign_source_4 ); tmp_import_from_1__module = tmp_assign_source_4; } // Frame without reuse. frame_66fda68140cf2344397fb6bee4976f29 = MAKE_MODULE_FRAME( codeobj_66fda68140cf2344397fb6bee4976f29, module_html5lib$_inputstream ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_66fda68140cf2344397fb6bee4976f29 ); assert( Py_REFCNT( frame_66fda68140cf2344397fb6bee4976f29 ) == 2 ); // Framed code: { // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_import_name_from_1; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_1 = tmp_import_from_1__module; tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_absolute_import ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_absolute_import, tmp_assign_source_5 ); } { PyObject *tmp_assign_source_6; PyObject *tmp_import_name_from_2; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_2 = tmp_import_from_1__module; tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_division ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_division, tmp_assign_source_6 ); } { PyObject *tmp_assign_source_7; PyObject *tmp_import_name_from_3; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_3 = tmp_import_from_1__module; tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_unicode_literals ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_unicode_literals, tmp_assign_source_7 ); } goto try_end_1; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_import_from_1__module ); Py_DECREF( tmp_import_from_1__module ); tmp_import_from_1__module = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_1__module ); Py_DECREF( tmp_import_from_1__module ); tmp_import_from_1__module = NULL; } { PyObject *tmp_assign_source_8; PyObject *tmp_name_name_1; PyObject *tmp_globals_name_1; PyObject *tmp_locals_name_1; PyObject *tmp_fromlist_name_1; PyObject *tmp_level_name_1; tmp_name_name_1 = const_str_plain_six; tmp_globals_name_1 = (PyObject *)moduledict_html5lib$_inputstream; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = const_tuple_str_plain_text_type_str_plain_binary_type_tuple; tmp_level_name_1 = const_int_0; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 3; tmp_assign_source_8 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 3; goto frame_exception_exit_1; } assert( tmp_import_from_2__module == NULL ); tmp_import_from_2__module = tmp_assign_source_8; } { // Tried code: { PyObject *tmp_assign_source_9; PyObject *tmp_import_name_from_4; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_4 = tmp_import_from_2__module; tmp_assign_source_9 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_text_type ); if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 3; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_text_type, tmp_assign_source_9 ); } { PyObject *tmp_assign_source_10; PyObject *tmp_import_name_from_5; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_5 = tmp_import_from_2__module; tmp_assign_source_10 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_binary_type ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 3; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_binary_type, tmp_assign_source_10 ); } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_import_from_2__module ); Py_DECREF( tmp_import_from_2__module ); tmp_import_from_2__module = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_2__module ); Py_DECREF( tmp_import_from_2__module ); tmp_import_from_2__module = NULL; } { PyObject *tmp_assign_source_11; PyObject *tmp_name_name_2; PyObject *tmp_globals_name_2; PyObject *tmp_locals_name_2; PyObject *tmp_fromlist_name_2; PyObject *tmp_level_name_2; tmp_name_name_2 = const_str_digest_d8d4f5e440c7f01129293c18f6555af5; tmp_globals_name_2 = (PyObject *)moduledict_html5lib$_inputstream; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = const_tuple_str_plain_http_client_str_plain_urllib_tuple; tmp_level_name_2 = const_int_0; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 4; tmp_assign_source_11 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 4; goto frame_exception_exit_1; } assert( tmp_import_from_3__module == NULL ); tmp_import_from_3__module = tmp_assign_source_11; } { // Tried code: { PyObject *tmp_assign_source_12; PyObject *tmp_import_name_from_6; CHECK_OBJECT( tmp_import_from_3__module ); tmp_import_name_from_6 = tmp_import_from_3__module; tmp_assign_source_12 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_http_client ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 4; goto try_except_handler_3; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_http_client, tmp_assign_source_12 ); } { PyObject *tmp_assign_source_13; PyObject *tmp_import_name_from_7; CHECK_OBJECT( tmp_import_from_3__module ); tmp_import_name_from_7 = tmp_import_from_3__module; tmp_assign_source_13 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_urllib ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 4; goto try_except_handler_3; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_urllib, tmp_assign_source_13 ); } goto try_end_3; // Exception handler code: try_except_handler_3:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_import_from_3__module ); Py_DECREF( tmp_import_from_3__module ); tmp_import_from_3__module = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; } // End of try: try_end_3:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_3__module ); Py_DECREF( tmp_import_from_3__module ); tmp_import_from_3__module = NULL; } { PyObject *tmp_assign_source_14; PyObject *tmp_name_name_3; PyObject *tmp_globals_name_3; PyObject *tmp_locals_name_3; PyObject *tmp_fromlist_name_3; PyObject *tmp_level_name_3; tmp_name_name_3 = const_str_plain_codecs; tmp_globals_name_3 = (PyObject *)moduledict_html5lib$_inputstream; tmp_locals_name_3 = Py_None; tmp_fromlist_name_3 = Py_None; tmp_level_name_3 = const_int_0; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 6; tmp_assign_source_14 = 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_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 6; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_codecs, tmp_assign_source_14 ); } { PyObject *tmp_assign_source_15; 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_re; tmp_globals_name_4 = (PyObject *)moduledict_html5lib$_inputstream; tmp_locals_name_4 = Py_None; tmp_fromlist_name_4 = Py_None; tmp_level_name_4 = const_int_0; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 7; tmp_assign_source_15 = 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_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 7; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_re, tmp_assign_source_15 ); } { PyObject *tmp_assign_source_16; 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_webencodings; tmp_globals_name_5 = (PyObject *)moduledict_html5lib$_inputstream; tmp_locals_name_5 = Py_None; tmp_fromlist_name_5 = Py_None; tmp_level_name_5 = const_int_0; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 9; tmp_assign_source_16 = IMPORT_MODULE5( tmp_name_name_5, tmp_globals_name_5, tmp_locals_name_5, tmp_fromlist_name_5, tmp_level_name_5 ); if ( tmp_assign_source_16 == 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_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_webencodings, tmp_assign_source_16 ); } { PyObject *tmp_assign_source_17; 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_constants; tmp_globals_name_6 = (PyObject *)moduledict_html5lib$_inputstream; tmp_locals_name_6 = Py_None; tmp_fromlist_name_6 = const_tuple_37592b84a0bc02ec3c16856223f64414_tuple; tmp_level_name_6 = const_int_pos_1; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 11; tmp_assign_source_17 = 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_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 11; goto frame_exception_exit_1; } assert( tmp_import_from_4__module == NULL ); tmp_import_from_4__module = tmp_assign_source_17; } { // Tried code: { PyObject *tmp_assign_source_18; PyObject *tmp_import_name_from_8; CHECK_OBJECT( tmp_import_from_4__module ); tmp_import_name_from_8 = tmp_import_from_4__module; if ( PyModule_Check( tmp_import_name_from_8 ) ) { tmp_assign_source_18 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_8, (PyObject *)MODULE_DICT(tmp_import_name_from_8), const_str_plain_EOF, const_int_pos_1 ); } else { tmp_assign_source_18 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain_EOF ); } if ( tmp_assign_source_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 11; goto try_except_handler_4; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_EOF, tmp_assign_source_18 ); } { PyObject *tmp_assign_source_19; PyObject *tmp_import_name_from_9; CHECK_OBJECT( tmp_import_from_4__module ); tmp_import_name_from_9 = tmp_import_from_4__module; if ( PyModule_Check( tmp_import_name_from_9 ) ) { tmp_assign_source_19 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_9, (PyObject *)MODULE_DICT(tmp_import_name_from_9), const_str_plain_spaceCharacters, const_int_pos_1 ); } else { tmp_assign_source_19 = IMPORT_NAME( tmp_import_name_from_9, const_str_plain_spaceCharacters ); } if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 11; goto try_except_handler_4; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_spaceCharacters, tmp_assign_source_19 ); } { PyObject *tmp_assign_source_20; PyObject *tmp_import_name_from_10; CHECK_OBJECT( tmp_import_from_4__module ); tmp_import_name_from_10 = tmp_import_from_4__module; if ( PyModule_Check( tmp_import_name_from_10 ) ) { tmp_assign_source_20 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_10, (PyObject *)MODULE_DICT(tmp_import_name_from_10), const_str_plain_asciiLetters, const_int_pos_1 ); } else { tmp_assign_source_20 = IMPORT_NAME( tmp_import_name_from_10, const_str_plain_asciiLetters ); } if ( tmp_assign_source_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 11; goto try_except_handler_4; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_asciiLetters, tmp_assign_source_20 ); } { PyObject *tmp_assign_source_21; PyObject *tmp_import_name_from_11; CHECK_OBJECT( tmp_import_from_4__module ); tmp_import_name_from_11 = tmp_import_from_4__module; if ( PyModule_Check( tmp_import_name_from_11 ) ) { tmp_assign_source_21 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_11, (PyObject *)MODULE_DICT(tmp_import_name_from_11), const_str_plain_asciiUppercase, const_int_pos_1 ); } else { tmp_assign_source_21 = IMPORT_NAME( tmp_import_name_from_11, const_str_plain_asciiUppercase ); } if ( tmp_assign_source_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 11; goto try_except_handler_4; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_asciiUppercase, tmp_assign_source_21 ); } goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_import_from_4__module ); Py_DECREF( tmp_import_from_4__module ); tmp_import_from_4__module = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_4:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_4__module ); Py_DECREF( tmp_import_from_4__module ); tmp_import_from_4__module = NULL; } { PyObject *tmp_assign_source_22; PyObject *tmp_import_name_from_12; 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_plain_constants; tmp_globals_name_7 = (PyObject *)moduledict_html5lib$_inputstream; tmp_locals_name_7 = Py_None; tmp_fromlist_name_7 = const_tuple_str_plain__ReparseException_tuple; tmp_level_name_7 = const_int_pos_1; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 12; tmp_import_name_from_12 = 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_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 12; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_12 ) ) { tmp_assign_source_22 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_12, (PyObject *)MODULE_DICT(tmp_import_name_from_12), const_str_plain__ReparseException, const_int_pos_1 ); } else { tmp_assign_source_22 = IMPORT_NAME( tmp_import_name_from_12, const_str_plain__ReparseException ); } Py_DECREF( tmp_import_name_from_12 ); if ( tmp_assign_source_22 == 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_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain__ReparseException, tmp_assign_source_22 ); } { PyObject *tmp_assign_source_23; PyObject *tmp_import_name_from_13; PyObject *tmp_name_name_8; PyObject *tmp_globals_name_8; PyObject *tmp_locals_name_8; PyObject *tmp_fromlist_name_8; PyObject *tmp_level_name_8; tmp_name_name_8 = const_str_empty; tmp_globals_name_8 = (PyObject *)moduledict_html5lib$_inputstream; tmp_locals_name_8 = Py_None; tmp_fromlist_name_8 = const_tuple_str_plain__utils_tuple; tmp_level_name_8 = const_int_pos_1; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 13; tmp_import_name_from_13 = IMPORT_MODULE5( tmp_name_name_8, tmp_globals_name_8, tmp_locals_name_8, tmp_fromlist_name_8, tmp_level_name_8 ); if ( tmp_import_name_from_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 13; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_13 ) ) { tmp_assign_source_23 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_13, (PyObject *)MODULE_DICT(tmp_import_name_from_13), const_str_plain__utils, const_int_pos_1 ); } else { tmp_assign_source_23 = IMPORT_NAME( tmp_import_name_from_13, const_str_plain__utils ); } Py_DECREF( tmp_import_name_from_13 ); if ( tmp_assign_source_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 13; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain__utils, tmp_assign_source_23 ); } { PyObject *tmp_assign_source_24; PyObject *tmp_import_name_from_14; PyObject *tmp_name_name_9; PyObject *tmp_globals_name_9; PyObject *tmp_locals_name_9; PyObject *tmp_fromlist_name_9; PyObject *tmp_level_name_9; tmp_name_name_9 = const_str_plain_io; tmp_globals_name_9 = (PyObject *)moduledict_html5lib$_inputstream; tmp_locals_name_9 = Py_None; tmp_fromlist_name_9 = const_tuple_str_plain_StringIO_tuple; tmp_level_name_9 = const_int_0; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 15; tmp_import_name_from_14 = IMPORT_MODULE5( tmp_name_name_9, tmp_globals_name_9, tmp_locals_name_9, tmp_fromlist_name_9, tmp_level_name_9 ); if ( tmp_import_name_from_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 15; goto frame_exception_exit_1; } tmp_assign_source_24 = IMPORT_NAME( tmp_import_name_from_14, const_str_plain_StringIO ); Py_DECREF( tmp_import_name_from_14 ); if ( tmp_assign_source_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 15; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_StringIO, tmp_assign_source_24 ); } { // Tried code: { PyObject *tmp_assign_source_25; PyObject *tmp_import_name_from_15; PyObject *tmp_name_name_10; PyObject *tmp_globals_name_10; PyObject *tmp_locals_name_10; PyObject *tmp_fromlist_name_10; PyObject *tmp_level_name_10; tmp_name_name_10 = const_str_plain_io; tmp_globals_name_10 = (PyObject *)moduledict_html5lib$_inputstream; tmp_locals_name_10 = Py_None; tmp_fromlist_name_10 = const_tuple_str_plain_BytesIO_tuple; tmp_level_name_10 = const_int_0; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 18; tmp_import_name_from_15 = IMPORT_MODULE5( tmp_name_name_10, tmp_globals_name_10, tmp_locals_name_10, tmp_fromlist_name_10, tmp_level_name_10 ); if ( tmp_import_name_from_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 18; goto try_except_handler_5; } tmp_assign_source_25 = IMPORT_NAME( tmp_import_name_from_15, const_str_plain_BytesIO ); Py_DECREF( tmp_import_name_from_15 ); if ( tmp_assign_source_25 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 18; goto try_except_handler_5; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_BytesIO, tmp_assign_source_25 ); } 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; { // 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_5 == NULL ) { exception_keeper_tb_5 = MAKE_TRACEBACK( frame_66fda68140cf2344397fb6bee4976f29, exception_keeper_lineno_5 ); } else if ( exception_keeper_lineno_5 != 0 ) { exception_keeper_tb_5 = ADD_TRACEBACK( exception_keeper_tb_5, frame_66fda68140cf2344397fb6bee4976f29, exception_keeper_lineno_5 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_5, &exception_keeper_value_5, &exception_keeper_tb_5 ); PyException_SetTraceback( exception_keeper_value_5, (PyObject *)exception_keeper_tb_5 ); PUBLISH_EXCEPTION( &exception_keeper_type_5, &exception_keeper_value_5, &exception_keeper_tb_5 ); } { // 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 = 19; goto try_except_handler_6; } 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_26; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_StringIO ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_StringIO ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "StringIO" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 20; goto try_except_handler_6; } tmp_assign_source_26 = tmp_mvar_value_1; UPDATE_STRING_DICT0( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_BytesIO, tmp_assign_source_26 ); } goto branch_end_1; branch_no_1:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 17; } if (exception_tb && exception_tb->tb_frame == &frame_66fda68140cf2344397fb6bee4976f29->m_frame) frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = exception_tb->tb_lineno; goto try_except_handler_6; } branch_end_1:; } goto try_end_6; // Exception handler code: try_except_handler_6:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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_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:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } goto try_end_5; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // End of try: try_end_5:; } { PyObject *tmp_assign_source_27; PyObject *tmp_frozenset_arg_1; { // Tried code: { PyObject *tmp_assign_source_28; PyObject *tmp_iter_arg_1; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_spaceCharacters ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_spaceCharacters ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "spaceCharacters" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 23; goto try_except_handler_7; } tmp_iter_arg_1 = tmp_mvar_value_2; tmp_assign_source_28 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_28 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 23; goto try_except_handler_7; } assert( tmp_listcomp_1__$0 == NULL ); tmp_listcomp_1__$0 = tmp_assign_source_28; } { PyObject *tmp_assign_source_29; tmp_assign_source_29 = PyList_New( 0 ); assert( tmp_listcomp_1__contraction == NULL ); tmp_listcomp_1__contraction = tmp_assign_source_29; } MAKE_OR_REUSE_FRAME( cache_frame_dc9065d90bd1cca4e870d6dc4421014c_2, codeobj_dc9065d90bd1cca4e870d6dc4421014c, module_html5lib$_inputstream, sizeof(void *) ); frame_dc9065d90bd1cca4e870d6dc4421014c_2 = cache_frame_dc9065d90bd1cca4e870d6dc4421014c_2; // Push the new frame as the currently active one. pushFrameStack( frame_dc9065d90bd1cca4e870d6dc4421014c_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_dc9065d90bd1cca4e870d6dc4421014c_2 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_30; CHECK_OBJECT( tmp_listcomp_1__$0 ); tmp_next_source_1 = tmp_listcomp_1__$0; tmp_assign_source_30 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_30 == 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 = 23; goto try_except_handler_8; } } { PyObject *old = tmp_listcomp_1__iter_value_0; tmp_listcomp_1__iter_value_0 = tmp_assign_source_30; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_31; CHECK_OBJECT( tmp_listcomp_1__iter_value_0 ); tmp_assign_source_31 = tmp_listcomp_1__iter_value_0; { PyObject *old = outline_0_var_item; outline_0_var_item = tmp_assign_source_31; Py_INCREF( outline_0_var_item ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_append_list_1 = tmp_listcomp_1__contraction; CHECK_OBJECT( outline_0_var_item ); tmp_called_instance_1 = outline_0_var_item; frame_dc9065d90bd1cca4e870d6dc4421014c_2->m_frame.f_lineno = 23; tmp_append_value_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_tuple, 0 ) ); if ( tmp_append_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 23; type_description_2 = "o"; goto try_except_handler_8; } 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 = 23; type_description_2 = "o"; goto try_except_handler_8; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 23; type_description_2 = "o"; goto try_except_handler_8; } goto loop_start_1; loop_end_1:; } { CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_frozenset_arg_1 = tmp_listcomp_1__contraction; Py_INCREF( tmp_frozenset_arg_1 ); goto try_return_handler_8; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_8:; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_8:; 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_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_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto frame_exception_exit_2; } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_dc9065d90bd1cca4e870d6dc4421014c_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dc9065d90bd1cca4e870d6dc4421014c_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_7; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dc9065d90bd1cca4e870d6dc4421014c_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_dc9065d90bd1cca4e870d6dc4421014c_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_dc9065d90bd1cca4e870d6dc4421014c_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_dc9065d90bd1cca4e870d6dc4421014c_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_dc9065d90bd1cca4e870d6dc4421014c_2, type_description_2, outline_0_var_item ); // Release cached frame. if ( frame_dc9065d90bd1cca4e870d6dc4421014c_2 == cache_frame_dc9065d90bd1cca4e870d6dc4421014c_2 ) { Py_DECREF( frame_dc9065d90bd1cca4e870d6dc4421014c_2 ); } cache_frame_dc9065d90bd1cca4e870d6dc4421014c_2 = NULL; assertFrameObject( frame_dc9065d90bd1cca4e870d6dc4421014c_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_7; skip_nested_handling_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_7:; { Py_XDECREF( outline_0_var_item ); outline_0_var_item = NULL; } { goto outline_result_1; } // Exception handler code: try_except_handler_7:; 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( outline_0_var_item ); outline_0_var_item = 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 outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); outline_exception_1:; exception_lineno = 23; goto frame_exception_exit_1; outline_result_1:; tmp_assign_source_27 = PyFrozenSet_New( tmp_frozenset_arg_1 ); Py_DECREF( tmp_frozenset_arg_1 ); if ( tmp_assign_source_27 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 23; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_spaceCharactersBytes, tmp_assign_source_27 ); } { PyObject *tmp_assign_source_32; PyObject *tmp_frozenset_arg_2; { // Tried code: { PyObject *tmp_assign_source_33; PyObject *tmp_iter_arg_2; PyObject *tmp_mvar_value_3; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_asciiLetters ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_asciiLetters ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "asciiLetters" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 24; goto try_except_handler_9; } tmp_iter_arg_2 = tmp_mvar_value_3; tmp_assign_source_33 = MAKE_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_33 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 24; goto try_except_handler_9; } assert( tmp_listcomp_2__$0 == NULL ); tmp_listcomp_2__$0 = tmp_assign_source_33; } { PyObject *tmp_assign_source_34; tmp_assign_source_34 = PyList_New( 0 ); assert( tmp_listcomp_2__contraction == NULL ); tmp_listcomp_2__contraction = tmp_assign_source_34; } MAKE_OR_REUSE_FRAME( cache_frame_1182233aa6c0477a1fa6fbe7d159297c_3, codeobj_1182233aa6c0477a1fa6fbe7d159297c, module_html5lib$_inputstream, sizeof(void *) ); frame_1182233aa6c0477a1fa6fbe7d159297c_3 = cache_frame_1182233aa6c0477a1fa6fbe7d159297c_3; // Push the new frame as the currently active one. pushFrameStack( frame_1182233aa6c0477a1fa6fbe7d159297c_3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_1182233aa6c0477a1fa6fbe7d159297c_3 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_35; CHECK_OBJECT( tmp_listcomp_2__$0 ); tmp_next_source_2 = tmp_listcomp_2__$0; tmp_assign_source_35 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_35 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_2; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_2 = "o"; exception_lineno = 24; goto try_except_handler_10; } } { PyObject *old = tmp_listcomp_2__iter_value_0; tmp_listcomp_2__iter_value_0 = tmp_assign_source_35; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_36; CHECK_OBJECT( tmp_listcomp_2__iter_value_0 ); tmp_assign_source_36 = tmp_listcomp_2__iter_value_0; { PyObject *old = outline_1_var_item; outline_1_var_item = tmp_assign_source_36; Py_INCREF( outline_1_var_item ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_2; PyObject *tmp_append_value_2; PyObject *tmp_called_instance_2; CHECK_OBJECT( tmp_listcomp_2__contraction ); tmp_append_list_2 = tmp_listcomp_2__contraction; CHECK_OBJECT( outline_1_var_item ); tmp_called_instance_2 = outline_1_var_item; frame_1182233aa6c0477a1fa6fbe7d159297c_3->m_frame.f_lineno = 24; tmp_append_value_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_tuple, 0 ) ); if ( tmp_append_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 24; type_description_2 = "o"; goto try_except_handler_10; } assert( PyList_Check( tmp_append_list_2 ) ); tmp_res = PyList_Append( tmp_append_list_2, tmp_append_value_2 ); Py_DECREF( tmp_append_value_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 24; type_description_2 = "o"; goto try_except_handler_10; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 24; type_description_2 = "o"; goto try_except_handler_10; } goto loop_start_2; loop_end_2:; } { CHECK_OBJECT( tmp_listcomp_2__contraction ); tmp_frozenset_arg_2 = tmp_listcomp_2__contraction; Py_INCREF( tmp_frozenset_arg_2 ); goto try_return_handler_10; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_10:; { CHECK_OBJECT( (PyObject *)tmp_listcomp_2__$0 ); Py_DECREF( tmp_listcomp_2__$0 ); tmp_listcomp_2__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_2__contraction ); Py_DECREF( tmp_listcomp_2__contraction ); tmp_listcomp_2__contraction = NULL; } { Py_XDECREF( tmp_listcomp_2__iter_value_0 ); tmp_listcomp_2__iter_value_0 = NULL; } { goto frame_return_exit_2; } // Exception handler code: try_except_handler_10:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_listcomp_2__$0 ); Py_DECREF( tmp_listcomp_2__$0 ); tmp_listcomp_2__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_2__contraction ); Py_DECREF( tmp_listcomp_2__contraction ); tmp_listcomp_2__contraction = NULL; } { Py_XDECREF( tmp_listcomp_2__iter_value_0 ); tmp_listcomp_2__iter_value_0 = 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_3; } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_1182233aa6c0477a1fa6fbe7d159297c_3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_return_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_1182233aa6c0477a1fa6fbe7d159297c_3 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_9; frame_exception_exit_3:; #if 0 RESTORE_FRAME_EXCEPTION( frame_1182233aa6c0477a1fa6fbe7d159297c_3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_1182233aa6c0477a1fa6fbe7d159297c_3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_1182233aa6c0477a1fa6fbe7d159297c_3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_1182233aa6c0477a1fa6fbe7d159297c_3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_1182233aa6c0477a1fa6fbe7d159297c_3, type_description_2, outline_1_var_item ); // Release cached frame. if ( frame_1182233aa6c0477a1fa6fbe7d159297c_3 == cache_frame_1182233aa6c0477a1fa6fbe7d159297c_3 ) { Py_DECREF( frame_1182233aa6c0477a1fa6fbe7d159297c_3 ); } cache_frame_1182233aa6c0477a1fa6fbe7d159297c_3 = NULL; assertFrameObject( frame_1182233aa6c0477a1fa6fbe7d159297c_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_9; skip_nested_handling_2:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_9:; { Py_XDECREF( outline_1_var_item ); outline_1_var_item = NULL; } { goto outline_result_2; } // Exception handler code: try_except_handler_9:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( outline_1_var_item ); outline_1_var_item = 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 outline_exception_2; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); outline_exception_2:; exception_lineno = 24; goto frame_exception_exit_1; outline_result_2:; tmp_assign_source_32 = PyFrozenSet_New( tmp_frozenset_arg_2 ); Py_DECREF( tmp_frozenset_arg_2 ); if ( tmp_assign_source_32 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 24; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_asciiLettersBytes, tmp_assign_source_32 ); } { PyObject *tmp_assign_source_37; PyObject *tmp_frozenset_arg_3; { // Tried code: { PyObject *tmp_assign_source_38; PyObject *tmp_iter_arg_3; PyObject *tmp_mvar_value_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_asciiUppercase ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_asciiUppercase ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "asciiUppercase" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 25; goto try_except_handler_11; } tmp_iter_arg_3 = tmp_mvar_value_4; tmp_assign_source_38 = MAKE_ITERATOR( tmp_iter_arg_3 ); if ( tmp_assign_source_38 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 25; goto try_except_handler_11; } assert( tmp_listcomp_3__$0 == NULL ); tmp_listcomp_3__$0 = tmp_assign_source_38; } { PyObject *tmp_assign_source_39; tmp_assign_source_39 = PyList_New( 0 ); assert( tmp_listcomp_3__contraction == NULL ); tmp_listcomp_3__contraction = tmp_assign_source_39; } MAKE_OR_REUSE_FRAME( cache_frame_08a1e287215a3d35d2ad40f12a00938c_4, codeobj_08a1e287215a3d35d2ad40f12a00938c, module_html5lib$_inputstream, sizeof(void *) ); frame_08a1e287215a3d35d2ad40f12a00938c_4 = cache_frame_08a1e287215a3d35d2ad40f12a00938c_4; // Push the new frame as the currently active one. pushFrameStack( frame_08a1e287215a3d35d2ad40f12a00938c_4 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_08a1e287215a3d35d2ad40f12a00938c_4 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_3:; { PyObject *tmp_next_source_3; PyObject *tmp_assign_source_40; CHECK_OBJECT( tmp_listcomp_3__$0 ); tmp_next_source_3 = tmp_listcomp_3__$0; tmp_assign_source_40 = ITERATOR_NEXT( tmp_next_source_3 ); if ( tmp_assign_source_40 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_3; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_2 = "o"; exception_lineno = 25; goto try_except_handler_12; } } { PyObject *old = tmp_listcomp_3__iter_value_0; tmp_listcomp_3__iter_value_0 = tmp_assign_source_40; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_41; CHECK_OBJECT( tmp_listcomp_3__iter_value_0 ); tmp_assign_source_41 = tmp_listcomp_3__iter_value_0; { PyObject *old = outline_2_var_item; outline_2_var_item = tmp_assign_source_41; Py_INCREF( outline_2_var_item ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_3; PyObject *tmp_append_value_3; PyObject *tmp_called_instance_3; CHECK_OBJECT( tmp_listcomp_3__contraction ); tmp_append_list_3 = tmp_listcomp_3__contraction; CHECK_OBJECT( outline_2_var_item ); tmp_called_instance_3 = outline_2_var_item; frame_08a1e287215a3d35d2ad40f12a00938c_4->m_frame.f_lineno = 25; tmp_append_value_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_tuple, 0 ) ); if ( tmp_append_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 25; type_description_2 = "o"; goto try_except_handler_12; } assert( PyList_Check( tmp_append_list_3 ) ); tmp_res = PyList_Append( tmp_append_list_3, tmp_append_value_3 ); Py_DECREF( tmp_append_value_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 25; type_description_2 = "o"; goto try_except_handler_12; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 25; type_description_2 = "o"; goto try_except_handler_12; } goto loop_start_3; loop_end_3:; } { CHECK_OBJECT( tmp_listcomp_3__contraction ); tmp_frozenset_arg_3 = tmp_listcomp_3__contraction; Py_INCREF( tmp_frozenset_arg_3 ); goto try_return_handler_12; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_12:; { CHECK_OBJECT( (PyObject *)tmp_listcomp_3__$0 ); Py_DECREF( tmp_listcomp_3__$0 ); tmp_listcomp_3__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_3__contraction ); Py_DECREF( tmp_listcomp_3__contraction ); tmp_listcomp_3__contraction = NULL; } { Py_XDECREF( tmp_listcomp_3__iter_value_0 ); tmp_listcomp_3__iter_value_0 = NULL; } { goto frame_return_exit_3; } // Exception handler code: try_except_handler_12:; 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_listcomp_3__$0 ); Py_DECREF( tmp_listcomp_3__$0 ); tmp_listcomp_3__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_3__contraction ); Py_DECREF( tmp_listcomp_3__contraction ); tmp_listcomp_3__contraction = NULL; } { Py_XDECREF( tmp_listcomp_3__iter_value_0 ); tmp_listcomp_3__iter_value_0 = NULL; } { // Re-raise. exception_type = exception_keeper_type_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto frame_exception_exit_4; } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_08a1e287215a3d35d2ad40f12a00938c_4 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_3; frame_return_exit_3:; #if 0 RESTORE_FRAME_EXCEPTION( frame_08a1e287215a3d35d2ad40f12a00938c_4 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_11; frame_exception_exit_4:; #if 0 RESTORE_FRAME_EXCEPTION( frame_08a1e287215a3d35d2ad40f12a00938c_4 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_08a1e287215a3d35d2ad40f12a00938c_4, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_08a1e287215a3d35d2ad40f12a00938c_4->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_08a1e287215a3d35d2ad40f12a00938c_4, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_08a1e287215a3d35d2ad40f12a00938c_4, type_description_2, outline_2_var_item ); // Release cached frame. if ( frame_08a1e287215a3d35d2ad40f12a00938c_4 == cache_frame_08a1e287215a3d35d2ad40f12a00938c_4 ) { Py_DECREF( frame_08a1e287215a3d35d2ad40f12a00938c_4 ); } cache_frame_08a1e287215a3d35d2ad40f12a00938c_4 = NULL; assertFrameObject( frame_08a1e287215a3d35d2ad40f12a00938c_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_11; skip_nested_handling_3:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_11:; { Py_XDECREF( outline_2_var_item ); outline_2_var_item = NULL; } { goto outline_result_3; } // Exception handler code: try_except_handler_11:; 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( outline_2_var_item ); outline_2_var_item = 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 outline_exception_3; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); outline_exception_3:; exception_lineno = 25; goto frame_exception_exit_1; outline_result_3:; tmp_assign_source_37 = PyFrozenSet_New( tmp_frozenset_arg_3 ); Py_DECREF( tmp_frozenset_arg_3 ); if ( tmp_assign_source_37 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 25; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_asciiUppercaseBytes, tmp_assign_source_37 ); } { PyObject *tmp_assign_source_42; PyObject *tmp_left_name_1; PyObject *tmp_mvar_value_5; PyObject *tmp_right_name_1; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_spaceCharactersBytes ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_spaceCharactersBytes ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "spaceCharactersBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 26; goto frame_exception_exit_1; } tmp_left_name_1 = tmp_mvar_value_5; tmp_right_name_1 = const_frozenset_421354444282f8847af7576b01231e07; tmp_assign_source_42 = BINARY_OPERATION( PyNumber_Or, tmp_left_name_1, tmp_right_name_1 ); if ( tmp_assign_source_42 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_spacesAngleBrackets, tmp_assign_source_42 ); } { PyObject *tmp_assign_source_43; tmp_assign_source_43 = const_str_digest_823b54a140c5208d8f6c42d927424d23; UPDATE_STRING_DICT0( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_invalid_unicode_no_surrogate, tmp_assign_source_43 ); } { nuitka_bool tmp_condition_result_2; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_6; PyObject *tmp_attribute_value_1; int tmp_truth_name_1; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain__utils ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__utils ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_utils" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 31; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_6; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_supports_lone_surrogates ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 31; 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 = 31; goto frame_exception_exit_1; } tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_1 ); if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_1; int tmp_and_left_truth_1; PyObject *tmp_and_left_value_1; PyObject *tmp_and_right_value_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_mvar_value_7; PyObject *tmp_subscript_name_1; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_called_instance_4; PyObject *tmp_mvar_value_8; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_invalid_unicode_no_surrogate ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_invalid_unicode_no_surrogate ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "invalid_unicode_no_surrogate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 36; goto frame_exception_exit_1; } tmp_subscribed_name_1 = tmp_mvar_value_7; tmp_subscript_name_1 = const_int_neg_1; tmp_compexpr_left_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, -1 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 36; goto frame_exception_exit_1; } tmp_compexpr_right_2 = const_str_chr_93; tmp_and_left_value_1 = RICH_COMPARE_EQ_NORECURSE( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_and_left_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 36; 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 = 36; 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 ); tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_invalid_unicode_no_surrogate ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_invalid_unicode_no_surrogate ); } if ( tmp_mvar_value_8 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "invalid_unicode_no_surrogate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 36; goto frame_exception_exit_1; } tmp_called_instance_4 = tmp_mvar_value_8; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 36; tmp_compexpr_left_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, const_str_plain_count, &PyTuple_GET_ITEM( const_tuple_str_chr_93_tuple, 0 ) ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 36; goto frame_exception_exit_1; } tmp_compexpr_right_3 = const_int_pos_1; tmp_and_right_value_1 = RICH_COMPARE_EQ_NORECURSE( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_left_3 ); if ( tmp_and_right_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 36; goto frame_exception_exit_1; } tmp_operand_name_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_operand_name_1 = tmp_and_left_value_1; and_end_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 = 36; 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_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 36; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); goto frame_exception_exit_1; } branch_no_3:; } { PyObject *tmp_assign_source_44; PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_9; PyObject *tmp_args_element_name_1; PyObject *tmp_left_name_2; PyObject *tmp_left_name_3; PyObject *tmp_subscribed_name_2; PyObject *tmp_mvar_value_10; PyObject *tmp_subscript_name_2; PyObject *tmp_right_name_2; PyObject *tmp_right_name_3; tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_9 == 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 = 37; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_9; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_compile ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 37; goto frame_exception_exit_1; } tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_invalid_unicode_no_surrogate ); if (unlikely( tmp_mvar_value_10 == NULL )) { tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_invalid_unicode_no_surrogate ); } if ( tmp_mvar_value_10 == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "invalid_unicode_no_surrogate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 37; goto frame_exception_exit_1; } tmp_subscribed_name_2 = tmp_mvar_value_10; tmp_subscript_name_2 = const_slice_none_int_neg_1_none; tmp_left_name_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); if ( tmp_left_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 37; goto frame_exception_exit_1; } { PyObject *tmp_assign_source_45; tmp_assign_source_45 = (PyObject *)moduledict_html5lib$_inputstream; assert( tmp_eval_call_1__locals == NULL ); Py_INCREF( tmp_assign_source_45 ); tmp_eval_call_1__locals = tmp_assign_source_45; } { PyObject *tmp_assign_source_46; tmp_assign_source_46 = (PyObject *)moduledict_html5lib$_inputstream; assert( tmp_eval_call_1__globals == NULL ); Py_INCREF( tmp_assign_source_46 ); tmp_eval_call_1__globals = tmp_assign_source_46; } { PyObject *tmp_assign_source_47; tmp_assign_source_47 = const_str_digest_b43a0101e64bce628bc3e4e92979603b; assert( tmp_eval_call_1__source == NULL ); Py_INCREF( tmp_assign_source_47 ); tmp_eval_call_1__source = tmp_assign_source_47; } { // Tried code: { PyObject *tmp_assign_source_48; PyObject *tmp_called_instance_5; tmp_called_instance_5 = const_str_digest_b43a0101e64bce628bc3e4e92979603b; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 38; tmp_assign_source_48 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_5, const_str_plain_strip, &PyTuple_GET_ITEM( const_tuple_str_digest_ac02ab0238280e341b2aff0eed15b128_tuple, 0 ) ); if ( tmp_assign_source_48 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 38; goto try_except_handler_13; } { PyObject *old = tmp_eval_call_1__source; assert( old != NULL ); tmp_eval_call_1__source = tmp_assign_source_48; Py_DECREF( old ); } } { PyObject *tmp_eval_source_1; PyObject *tmp_eval_globals_1; PyObject *tmp_eval_locals_1; PyObject *tmp_eval_compiled_1; CHECK_OBJECT( tmp_eval_call_1__source ); tmp_eval_source_1 = tmp_eval_call_1__source; CHECK_OBJECT( tmp_eval_call_1__globals ); tmp_eval_globals_1 = tmp_eval_call_1__globals; CHECK_OBJECT( tmp_eval_call_1__locals ); tmp_eval_locals_1 = tmp_eval_call_1__locals; tmp_eval_compiled_1 = COMPILE_CODE( tmp_eval_source_1, const_str_angle_string, const_str_plain_eval, NULL, NULL, NULL ); if ( tmp_eval_compiled_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 38; goto try_except_handler_13; } tmp_right_name_2 = EVAL_CODE( tmp_eval_compiled_1, tmp_eval_globals_1, tmp_eval_locals_1 ); Py_DECREF( tmp_eval_compiled_1 ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 38; goto try_except_handler_13; } goto try_return_handler_13; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_13:; { CHECK_OBJECT( (PyObject *)tmp_eval_call_1__globals ); Py_DECREF( tmp_eval_call_1__globals ); tmp_eval_call_1__globals = NULL; } { CHECK_OBJECT( (PyObject *)tmp_eval_call_1__locals ); Py_DECREF( tmp_eval_call_1__locals ); tmp_eval_call_1__locals = NULL; } { Py_XDECREF( tmp_eval_call_1__source ); tmp_eval_call_1__source = NULL; } { goto outline_result_4; } // Exception handler code: try_except_handler_13:; exception_keeper_type_13 = exception_type; exception_keeper_value_13 = exception_value; exception_keeper_tb_13 = exception_tb; exception_keeper_lineno_13 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_eval_call_1__globals ); Py_DECREF( tmp_eval_call_1__globals ); tmp_eval_call_1__globals = NULL; } { CHECK_OBJECT( (PyObject *)tmp_eval_call_1__locals ); Py_DECREF( tmp_eval_call_1__locals ); tmp_eval_call_1__locals = NULL; } { Py_XDECREF( tmp_eval_call_1__source ); tmp_eval_call_1__source = 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 frame_exception_exit_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); outline_result_4:; tmp_left_name_2 = BINARY_OPERATION_ADD( tmp_left_name_3, tmp_right_name_2 ); Py_DECREF( tmp_left_name_3 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 37; goto frame_exception_exit_1; } tmp_right_name_3 = const_str_chr_93; tmp_args_element_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_3 ); Py_DECREF( tmp_left_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 = 38; goto frame_exception_exit_1; } frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 37; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_44 = 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_assign_source_44 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 37; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_invalid_unicode_re, tmp_assign_source_44 ); } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_49; PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_11; PyObject *tmp_args_element_name_2; PyObject *tmp_mvar_value_12; tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_11 == NULL )) { tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_11 == 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 = 41; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_11; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_compile ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto frame_exception_exit_1; } tmp_mvar_value_12 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_invalid_unicode_no_surrogate ); if (unlikely( tmp_mvar_value_12 == NULL )) { tmp_mvar_value_12 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_invalid_unicode_no_surrogate ); } if ( tmp_mvar_value_12 == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "invalid_unicode_no_surrogate" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 41; goto frame_exception_exit_1; } tmp_args_element_name_2 = tmp_mvar_value_12; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 41; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_49 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_assign_source_49 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_invalid_unicode_re, tmp_assign_source_49 ); } branch_end_2:; } { PyObject *tmp_assign_source_50; tmp_assign_source_50 = PySet_New( const_set_385058b4cd0aa8187d0386e6118a1566 ); UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_non_bmp_invalid_codepoints, tmp_assign_source_50 ); } { PyObject *tmp_assign_source_51; PyObject *tmp_called_instance_6; PyObject *tmp_mvar_value_13; tmp_mvar_value_13 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_13 == NULL )) { tmp_mvar_value_13 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_13 == 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 = 51; goto frame_exception_exit_1; } tmp_called_instance_6 = tmp_mvar_value_13; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 51; tmp_assign_source_51 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_6, const_str_plain_compile, &PyTuple_GET_ITEM( const_tuple_str_digest_8049802043c43f3768e60d14b3c2cbd4_tuple, 0 ) ); if ( tmp_assign_source_51 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 51; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_ascii_punctuation_re, tmp_assign_source_51 ); } { PyObject *tmp_assign_source_52; tmp_assign_source_52 = PyDict_New(); UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_charsUntilRegEx, tmp_assign_source_52 ); } { // Tried code: { PyObject *tmp_assign_source_53; 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_53 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_53 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; goto try_except_handler_14; } assert( tmp_class_creation_1__bases == NULL ); tmp_class_creation_1__bases = tmp_assign_source_53; } { PyObject *tmp_assign_source_54; tmp_assign_source_54 = PyDict_New(); assert( tmp_class_creation_1__class_decl_dict == NULL ); tmp_class_creation_1__class_decl_dict = tmp_assign_source_54; } { PyObject *tmp_assign_source_55; PyObject *tmp_metaclass_name_1; nuitka_bool tmp_condition_result_4; 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_5; int tmp_truth_name_2; PyObject *tmp_type_arg_1; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; 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 = 57; goto try_except_handler_14; } tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == 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 = 57; goto try_except_handler_14; } goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_truth_name_2 = CHECK_IF_TRUE( tmp_class_creation_1__bases ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; goto try_except_handler_14; } tmp_condition_result_5 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == 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_3 = tmp_class_creation_1__bases; tmp_subscript_name_3 = const_int_0; tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 ); if ( tmp_type_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; goto try_except_handler_14; } 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 = 57; goto try_except_handler_14; } 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_55 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_55 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; goto try_except_handler_14; } assert( tmp_class_creation_1__metaclass == NULL ); tmp_class_creation_1__metaclass = tmp_assign_source_55; } { nuitka_bool tmp_condition_result_6; 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 = 57; goto try_except_handler_14; } 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:; { 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 = 57; goto try_except_handler_14; } } branch_no_4:; } { nuitka_bool tmp_condition_result_7; PyObject *tmp_source_name_4; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_4 = tmp_class_creation_1__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_4, const_str_plain___prepare__ ); 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:; { PyObject *tmp_assign_source_56; PyObject *tmp_called_name_3; PyObject *tmp_source_name_5; 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_5 = tmp_class_creation_1__metaclass; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain___prepare__ ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; goto try_except_handler_14; } tmp_tuple_element_1 = const_str_plain_BufferedStream; 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_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 57; tmp_assign_source_56 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_name_1 ); if ( tmp_assign_source_56 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; goto try_except_handler_14; } assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_56; } { nuitka_bool tmp_condition_result_8; PyObject *tmp_operand_name_2; PyObject *tmp_source_name_6; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_source_name_6 = tmp_class_creation_1__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_6, 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 = 57; goto try_except_handler_14; } tmp_condition_result_8 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_raise_type_2; PyObject *tmp_raise_value_1; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_tuple_element_2; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; PyObject *tmp_source_name_7; PyObject *tmp_type_arg_2; tmp_raise_type_2 = PyExc_TypeError; tmp_left_name_4 = 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 = 57; goto try_except_handler_14; } tmp_right_name_4 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_4, 0, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_type_arg_2 = tmp_class_creation_1__prepared; tmp_source_name_7 = BUILTIN_TYPE1( tmp_type_arg_2 ); assert( !(tmp_source_name_7 == NULL) ); tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain___name__ ); Py_DECREF( tmp_source_name_7 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_4 ); exception_lineno = 57; goto try_except_handler_14; } PyTuple_SET_ITEM( tmp_right_name_4, 1, tmp_tuple_element_2 ); tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_4, tmp_right_name_4 ); Py_DECREF( tmp_right_name_4 ); if ( tmp_raise_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; goto try_except_handler_14; } exception_type = tmp_raise_type_2; Py_INCREF( tmp_raise_type_2 ); exception_value = tmp_raise_value_1; exception_lineno = 57; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_14; } branch_no_6:; } goto branch_end_5; branch_no_5:; { PyObject *tmp_assign_source_57; tmp_assign_source_57 = PyDict_New(); assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_57; } branch_end_5:; } { PyObject *tmp_assign_source_58; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_html5lib$_inputstream_57 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_3e8c99e8a71b4266b1d42295941d73f3; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_57, 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 = 57; goto try_except_handler_16; } } { tmp_dictset_value = const_str_digest_d2f61b18558e7b0837483b9d41dabd30; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_57, 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 = 57; goto try_except_handler_16; } } { tmp_dictset_value = const_str_plain_BufferedStream; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_57, 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 = 57; goto try_except_handler_16; } } MAKE_OR_REUSE_FRAME( cache_frame_ae5ed36cd1632c75a5682038882679da_5, codeobj_ae5ed36cd1632c75a5682038882679da, module_html5lib$_inputstream, sizeof(void *) ); frame_ae5ed36cd1632c75a5682038882679da_5 = cache_frame_ae5ed36cd1632c75a5682038882679da_5; // Push the new frame as the currently active one. pushFrameStack( frame_ae5ed36cd1632c75a5682038882679da_5 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ae5ed36cd1632c75a5682038882679da_5 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_1___init__( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_57, 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 = 64; type_description_2 = "o"; goto frame_exception_exit_5; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_2_tell( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_57, const_str_plain_tell, 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 = 69; type_description_2 = "o"; goto frame_exception_exit_5; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_3_seek( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_57, const_str_plain_seek, 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 = 76; type_description_2 = "o"; goto frame_exception_exit_5; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_4_read( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_57, const_str_plain_read, 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 = 85; type_description_2 = "o"; goto frame_exception_exit_5; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_5__bufferedBytes( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_57, const_str_plain__bufferedBytes, 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 = 94; type_description_2 = "o"; goto frame_exception_exit_5; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_6__readStream( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_57, const_str_plain__readStream, 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 = 97; type_description_2 = "o"; goto frame_exception_exit_5; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_7__readFromBuffer( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_57, const_str_plain__readFromBuffer, 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 = 104; type_description_2 = "o"; goto frame_exception_exit_5; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_ae5ed36cd1632c75a5682038882679da_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_ae5ed36cd1632c75a5682038882679da_5 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ae5ed36cd1632c75a5682038882679da_5, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ae5ed36cd1632c75a5682038882679da_5->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ae5ed36cd1632c75a5682038882679da_5, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ae5ed36cd1632c75a5682038882679da_5, type_description_2, outline_3_var___class__ ); // Release cached frame. if ( frame_ae5ed36cd1632c75a5682038882679da_5 == cache_frame_ae5ed36cd1632c75a5682038882679da_5 ) { Py_DECREF( frame_ae5ed36cd1632c75a5682038882679da_5 ); } cache_frame_ae5ed36cd1632c75a5682038882679da_5 = NULL; assertFrameObject( frame_ae5ed36cd1632c75a5682038882679da_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_16; skip_nested_handling_4:; { nuitka_bool tmp_condition_result_9; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_compexpr_left_4 = tmp_class_creation_1__bases; tmp_compexpr_right_4 = const_tuple_type_object_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 = 57; goto try_except_handler_16; } tmp_condition_result_9 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_57, 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 = 57; goto try_except_handler_16; } } branch_no_7:; } { PyObject *tmp_assign_source_59; PyObject *tmp_called_name_4; 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_4 = tmp_class_creation_1__metaclass; tmp_tuple_element_3 = const_str_plain_BufferedStream; tmp_args_name_2 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_3 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_3 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_3 ); tmp_tuple_element_3 = locals_html5lib$_inputstream_57; 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_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 57; tmp_assign_source_59 = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_59 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; goto try_except_handler_16; } assert( outline_3_var___class__ == NULL ); outline_3_var___class__ = tmp_assign_source_59; } { CHECK_OBJECT( outline_3_var___class__ ); tmp_assign_source_58 = outline_3_var___class__; Py_INCREF( tmp_assign_source_58 ); goto try_return_handler_16; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_16:; { Py_DECREF( locals_html5lib$_inputstream_57 ); locals_html5lib$_inputstream_57 = NULL; } { goto try_return_handler_15; } // Exception handler code: try_except_handler_16:; 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_DECREF( locals_html5lib$_inputstream_57 ); locals_html5lib$_inputstream_57 = 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_15; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_15:; { CHECK_OBJECT( (PyObject *)outline_3_var___class__ ); Py_DECREF( outline_3_var___class__ ); outline_3_var___class__ = NULL; } { goto outline_result_5; } // Exception handler code: try_except_handler_15:; 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; { // 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 outline_exception_4; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); outline_exception_4:; exception_lineno = 57; goto try_except_handler_14; outline_result_5:; UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_BufferedStream, tmp_assign_source_58 ); } goto try_end_7; // Exception handler code: try_except_handler_14:; 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_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_16; exception_value = exception_keeper_value_16; exception_tb = exception_keeper_tb_16; exception_lineno = exception_keeper_lineno_16; goto frame_exception_exit_1; } // End of try: try_end_7:; } { 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_60; tmp_assign_source_60 = MAKE_FUNCTION_html5lib$_inputstream$$$function_8_HTMLInputStream( ); UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_HTMLInputStream, tmp_assign_source_60 ); } { // Tried code: { PyObject *tmp_assign_source_61; PyObject *tmp_dircall_arg1_2; tmp_dircall_arg1_2 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_2 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_61 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_61 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 154; goto try_except_handler_17; } assert( tmp_class_creation_2__bases == NULL ); tmp_class_creation_2__bases = tmp_assign_source_61; } { PyObject *tmp_assign_source_62; tmp_assign_source_62 = PyDict_New(); assert( tmp_class_creation_2__class_decl_dict == NULL ); tmp_class_creation_2__class_decl_dict = tmp_assign_source_62; } { PyObject *tmp_assign_source_63; PyObject *tmp_metaclass_name_2; nuitka_bool tmp_condition_result_10; 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_11; int tmp_truth_name_3; PyObject *tmp_type_arg_3; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; 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 = 154; goto try_except_handler_17; } tmp_condition_result_10 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_10 == 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 = 154; goto try_except_handler_17; } goto condexpr_end_3; condexpr_false_3:; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_truth_name_3 = CHECK_IF_TRUE( tmp_class_creation_2__bases ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 154; goto try_except_handler_17; } tmp_condition_result_11 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_11 == 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_4 = tmp_class_creation_2__bases; tmp_subscript_name_4 = const_int_0; tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_4, tmp_subscript_name_4, 0 ); if ( tmp_type_arg_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 154; goto try_except_handler_17; } 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 = 154; goto try_except_handler_17; } 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_63 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 ); Py_DECREF( tmp_metaclass_name_2 ); if ( tmp_assign_source_63 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 154; goto try_except_handler_17; } assert( tmp_class_creation_2__metaclass == NULL ); tmp_class_creation_2__metaclass = tmp_assign_source_63; } { nuitka_bool tmp_condition_result_12; 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 = 154; goto try_except_handler_17; } 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:; { 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 = 154; goto try_except_handler_17; } } branch_no_8:; } { nuitka_bool tmp_condition_result_13; PyObject *tmp_source_name_8; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_8 = tmp_class_creation_2__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_8, const_str_plain___prepare__ ); tmp_condition_result_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:; { PyObject *tmp_assign_source_64; PyObject *tmp_called_name_5; PyObject *tmp_source_name_9; 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_9 = tmp_class_creation_2__metaclass; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain___prepare__ ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 154; goto try_except_handler_17; } tmp_tuple_element_4 = const_str_plain_HTMLUnicodeInputStream; 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_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 154; tmp_assign_source_64 = CALL_FUNCTION( tmp_called_name_5, tmp_args_name_3, tmp_kw_name_3 ); Py_DECREF( tmp_called_name_5 ); Py_DECREF( tmp_args_name_3 ); if ( tmp_assign_source_64 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 154; goto try_except_handler_17; } assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_64; } { nuitka_bool tmp_condition_result_14; PyObject *tmp_operand_name_3; PyObject *tmp_source_name_10; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_source_name_10 = tmp_class_creation_2__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_10, const_str_plain___getitem__ ); tmp_operand_name_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 = 154; goto try_except_handler_17; } tmp_condition_result_14 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { PyObject *tmp_raise_type_3; PyObject *tmp_raise_value_2; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; PyObject *tmp_tuple_element_5; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; PyObject *tmp_source_name_11; PyObject *tmp_type_arg_4; tmp_raise_type_3 = PyExc_TypeError; tmp_left_name_5 = 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 = 154; goto try_except_handler_17; } tmp_right_name_5 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_5, 0, tmp_tuple_element_5 ); CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_type_arg_4 = tmp_class_creation_2__prepared; tmp_source_name_11 = BUILTIN_TYPE1( tmp_type_arg_4 ); assert( !(tmp_source_name_11 == NULL) ); tmp_tuple_element_5 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain___name__ ); Py_DECREF( tmp_source_name_11 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_5 ); exception_lineno = 154; goto try_except_handler_17; } PyTuple_SET_ITEM( tmp_right_name_5, 1, tmp_tuple_element_5 ); tmp_raise_value_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_5, tmp_right_name_5 ); Py_DECREF( tmp_right_name_5 ); if ( tmp_raise_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 154; goto try_except_handler_17; } exception_type = tmp_raise_type_3; Py_INCREF( tmp_raise_type_3 ); exception_value = tmp_raise_value_2; exception_lineno = 154; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_17; } branch_no_10:; } goto branch_end_9; branch_no_9:; { PyObject *tmp_assign_source_65; tmp_assign_source_65 = PyDict_New(); assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_65; } branch_end_9:; } { PyObject *tmp_assign_source_66; { PyObject *tmp_set_locals_2; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_html5lib$_inputstream_154 = tmp_set_locals_2; Py_INCREF( tmp_set_locals_2 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_3e8c99e8a71b4266b1d42295941d73f3; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, 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 = 154; goto try_except_handler_19; } } { tmp_dictset_value = const_str_digest_465b245a39b3de3345d8d6346daa538e; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, 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 = 154; goto try_except_handler_19; } } { tmp_dictset_value = const_str_plain_HTMLUnicodeInputStream; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, 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 = 154; goto try_except_handler_19; } } MAKE_OR_REUSE_FRAME( cache_frame_88543d001724119253dfc5835d99b6a4_6, codeobj_88543d001724119253dfc5835d99b6a4, module_html5lib$_inputstream, sizeof(void *) ); frame_88543d001724119253dfc5835d99b6a4_6 = cache_frame_88543d001724119253dfc5835d99b6a4_6; // Push the new frame as the currently active one. pushFrameStack( frame_88543d001724119253dfc5835d99b6a4_6 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_88543d001724119253dfc5835d99b6a4_6 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_int_pos_10240; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, const_str_plain__defaultChunkSize, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 162; type_description_2 = "o"; goto frame_exception_exit_6; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_9___init__( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, 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 = 164; type_description_2 = "o"; goto frame_exception_exit_6; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_10_reset( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, const_str_plain_reset, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 196; type_description_2 = "o"; goto frame_exception_exit_6; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_11_openStream( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, const_str_plain_openStream, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 210; type_description_2 = "o"; goto frame_exception_exit_6; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_12__position( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, const_str_plain__position, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 224; type_description_2 = "o"; goto frame_exception_exit_6; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_13_position( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, const_str_plain_position, 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 = 235; type_description_2 = "o"; goto frame_exception_exit_6; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_14_char( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, const_str_plain_char, 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 = 240; type_description_2 = "o"; goto frame_exception_exit_6; } } { PyObject *tmp_defaults_1; tmp_defaults_1 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_1 ); tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_15_readChunk( tmp_defaults_1 ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, const_str_plain_readChunk, 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 = 255; type_description_2 = "o"; goto frame_exception_exit_6; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_16_characterErrorsUCS4( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, const_str_plain_characterErrorsUCS4, 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_6; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_17_characterErrorsUCS2( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, const_str_plain_characterErrorsUCS2, 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 = 297; type_description_2 = "o"; goto frame_exception_exit_6; } } { PyObject *tmp_defaults_2; tmp_defaults_2 = const_tuple_false_tuple; Py_INCREF( tmp_defaults_2 ); tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_18_charsUntil( tmp_defaults_2 ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, const_str_plain_charsUntil, 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 = 320; type_description_2 = "o"; goto frame_exception_exit_6; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_19_unget( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, const_str_plain_unget, 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 = 367; type_description_2 = "o"; goto frame_exception_exit_6; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_88543d001724119253dfc5835d99b6a4_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_88543d001724119253dfc5835d99b6a4_6 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_88543d001724119253dfc5835d99b6a4_6, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_88543d001724119253dfc5835d99b6a4_6->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_88543d001724119253dfc5835d99b6a4_6, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_88543d001724119253dfc5835d99b6a4_6, type_description_2, outline_4_var___class__ ); // Release cached frame. if ( frame_88543d001724119253dfc5835d99b6a4_6 == cache_frame_88543d001724119253dfc5835d99b6a4_6 ) { Py_DECREF( frame_88543d001724119253dfc5835d99b6a4_6 ); } cache_frame_88543d001724119253dfc5835d99b6a4_6 = NULL; assertFrameObject( frame_88543d001724119253dfc5835d99b6a4_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_19; skip_nested_handling_5:; { nuitka_bool tmp_condition_result_15; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_compexpr_left_5 = tmp_class_creation_2__bases; tmp_compexpr_right_5 = const_tuple_type_object_tuple; 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 = 154; goto try_except_handler_19; } tmp_condition_result_15 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE ) { goto branch_yes_11; } else { goto branch_no_11; } branch_yes_11:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_154, 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 = 154; goto try_except_handler_19; } } branch_no_11:; } { PyObject *tmp_assign_source_67; PyObject *tmp_called_name_6; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_6; PyObject *tmp_kw_name_4; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_called_name_6 = tmp_class_creation_2__metaclass; tmp_tuple_element_6 = const_str_plain_HTMLUnicodeInputStream; tmp_args_name_4 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_6 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_6 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_6 ); tmp_tuple_element_6 = locals_html5lib$_inputstream_154; 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_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 154; tmp_assign_source_67 = CALL_FUNCTION( tmp_called_name_6, tmp_args_name_4, tmp_kw_name_4 ); Py_DECREF( tmp_args_name_4 ); if ( tmp_assign_source_67 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 154; goto try_except_handler_19; } assert( outline_4_var___class__ == NULL ); outline_4_var___class__ = tmp_assign_source_67; } { CHECK_OBJECT( outline_4_var___class__ ); tmp_assign_source_66 = outline_4_var___class__; Py_INCREF( tmp_assign_source_66 ); goto try_return_handler_19; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_19:; { Py_DECREF( locals_html5lib$_inputstream_154 ); locals_html5lib$_inputstream_154 = NULL; } { goto try_return_handler_18; } // 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; { Py_DECREF( locals_html5lib$_inputstream_154 ); locals_html5lib$_inputstream_154 = NULL; } { // 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 try_except_handler_18; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_18:; { CHECK_OBJECT( (PyObject *)outline_4_var___class__ ); Py_DECREF( outline_4_var___class__ ); outline_4_var___class__ = NULL; } { goto outline_result_6; } // Exception handler code: try_except_handler_18:; 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; { // 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 outline_exception_5; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); outline_exception_5:; exception_lineno = 154; goto try_except_handler_17; outline_result_6:; UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_HTMLUnicodeInputStream, tmp_assign_source_66 ); } goto try_end_8; // Exception handler code: try_except_handler_17:; 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_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_19; exception_value = exception_keeper_value_19; exception_tb = exception_keeper_tb_19; exception_lineno = exception_keeper_lineno_19; goto frame_exception_exit_1; } // End of try: try_end_8:; } { 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_68; PyObject *tmp_tuple_element_7; PyObject *tmp_mvar_value_14; tmp_mvar_value_14 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_HTMLUnicodeInputStream ); if (unlikely( tmp_mvar_value_14 == NULL )) { tmp_mvar_value_14 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_HTMLUnicodeInputStream ); } if ( tmp_mvar_value_14 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "HTMLUnicodeInputStream" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 384; goto try_except_handler_20; } tmp_tuple_element_7 = tmp_mvar_value_14; tmp_assign_source_68 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_assign_source_68, 0, tmp_tuple_element_7 ); assert( tmp_class_creation_3__bases_orig == NULL ); tmp_class_creation_3__bases_orig = tmp_assign_source_68; } { PyObject *tmp_assign_source_69; 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_69 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_69 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 384; goto try_except_handler_20; } assert( tmp_class_creation_3__bases == NULL ); tmp_class_creation_3__bases = tmp_assign_source_69; } { PyObject *tmp_assign_source_70; tmp_assign_source_70 = PyDict_New(); assert( tmp_class_creation_3__class_decl_dict == NULL ); tmp_class_creation_3__class_decl_dict = tmp_assign_source_70; } { PyObject *tmp_assign_source_71; PyObject *tmp_metaclass_name_3; nuitka_bool tmp_condition_result_16; 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_17; int tmp_truth_name_4; PyObject *tmp_type_arg_5; PyObject *tmp_subscribed_name_5; PyObject *tmp_subscript_name_5; 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 = 384; goto try_except_handler_20; } tmp_condition_result_16 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_16 == 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 = 384; goto try_except_handler_20; } goto condexpr_end_5; condexpr_false_5:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_truth_name_4 = CHECK_IF_TRUE( tmp_class_creation_3__bases ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 384; goto try_except_handler_20; } tmp_condition_result_17 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_17 == 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_5 = tmp_class_creation_3__bases; tmp_subscript_name_5 = const_int_0; tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_5, tmp_subscript_name_5, 0 ); if ( tmp_type_arg_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 384; goto try_except_handler_20; } 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 = 384; goto try_except_handler_20; } 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_71 = SELECT_METACLASS( tmp_metaclass_name_3, tmp_bases_name_3 ); Py_DECREF( tmp_metaclass_name_3 ); if ( tmp_assign_source_71 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 384; goto try_except_handler_20; } assert( tmp_class_creation_3__metaclass == NULL ); tmp_class_creation_3__metaclass = tmp_assign_source_71; } { nuitka_bool tmp_condition_result_18; 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 = 384; goto try_except_handler_20; } 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:; { 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 = 384; goto try_except_handler_20; } } branch_no_12:; } { nuitka_bool tmp_condition_result_19; PyObject *tmp_source_name_12; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_source_name_12 = tmp_class_creation_3__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_12, const_str_plain___prepare__ ); 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:; { PyObject *tmp_assign_source_72; PyObject *tmp_called_name_7; PyObject *tmp_source_name_13; 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_13 = tmp_class_creation_3__metaclass; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain___prepare__ ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 384; goto try_except_handler_20; } tmp_tuple_element_8 = const_str_plain_HTMLBinaryInputStream; 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_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 384; tmp_assign_source_72 = CALL_FUNCTION( tmp_called_name_7, tmp_args_name_5, tmp_kw_name_5 ); Py_DECREF( tmp_called_name_7 ); Py_DECREF( tmp_args_name_5 ); if ( tmp_assign_source_72 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 384; goto try_except_handler_20; } assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_72; } { nuitka_bool tmp_condition_result_20; PyObject *tmp_operand_name_4; PyObject *tmp_source_name_14; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_source_name_14 = tmp_class_creation_3__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_14, 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 = 384; goto try_except_handler_20; } tmp_condition_result_20 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_20 == NUITKA_BOOL_TRUE ) { goto branch_yes_14; } else { goto branch_no_14; } branch_yes_14:; { PyObject *tmp_raise_type_4; PyObject *tmp_raise_value_3; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; PyObject *tmp_tuple_element_9; PyObject *tmp_getattr_target_3; PyObject *tmp_getattr_attr_3; PyObject *tmp_getattr_default_3; PyObject *tmp_source_name_15; PyObject *tmp_type_arg_6; tmp_raise_type_4 = PyExc_TypeError; tmp_left_name_6 = 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 = 384; goto try_except_handler_20; } tmp_right_name_6 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_6, 0, tmp_tuple_element_9 ); CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_type_arg_6 = tmp_class_creation_3__prepared; tmp_source_name_15 = BUILTIN_TYPE1( tmp_type_arg_6 ); assert( !(tmp_source_name_15 == NULL) ); tmp_tuple_element_9 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain___name__ ); Py_DECREF( tmp_source_name_15 ); if ( tmp_tuple_element_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_6 ); exception_lineno = 384; goto try_except_handler_20; } PyTuple_SET_ITEM( tmp_right_name_6, 1, tmp_tuple_element_9 ); tmp_raise_value_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_6, tmp_right_name_6 ); Py_DECREF( tmp_right_name_6 ); if ( tmp_raise_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 384; goto try_except_handler_20; } exception_type = tmp_raise_type_4; Py_INCREF( tmp_raise_type_4 ); exception_value = tmp_raise_value_3; exception_lineno = 384; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_20; } branch_no_14:; } goto branch_end_13; branch_no_13:; { PyObject *tmp_assign_source_73; tmp_assign_source_73 = PyDict_New(); assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_73; } branch_end_13:; } { PyObject *tmp_assign_source_74; { PyObject *tmp_set_locals_3; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_set_locals_3 = tmp_class_creation_3__prepared; locals_html5lib$_inputstream_384 = tmp_set_locals_3; Py_INCREF( tmp_set_locals_3 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_3e8c99e8a71b4266b1d42295941d73f3; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_384, 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 = 384; goto try_except_handler_22; } } { tmp_dictset_value = const_str_digest_465b245a39b3de3345d8d6346daa538e; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_384, 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 = 384; goto try_except_handler_22; } } { tmp_dictset_value = const_str_plain_HTMLBinaryInputStream; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_384, 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 = 384; goto try_except_handler_22; } } MAKE_OR_REUSE_FRAME( cache_frame_58252763bcef966d82b75bce6b54dd1b_7, codeobj_58252763bcef966d82b75bce6b54dd1b, module_html5lib$_inputstream, sizeof(void *) ); frame_58252763bcef966d82b75bce6b54dd1b_7 = cache_frame_58252763bcef966d82b75bce6b54dd1b_7; // Push the new frame as the currently active one. pushFrameStack( frame_58252763bcef966d82b75bce6b54dd1b_7 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_58252763bcef966d82b75bce6b54dd1b_7 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_defaults_3; tmp_defaults_3 = const_tuple_52af8b0108856fb31e9014ff5b07caee_tuple; Py_INCREF( tmp_defaults_3 ); tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_20___init__( tmp_defaults_3 ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_384, 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 = 392; type_description_2 = "o"; goto frame_exception_exit_7; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_21_reset( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_384, const_str_plain_reset, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 434; type_description_2 = "o"; goto frame_exception_exit_7; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_22_openStream( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_384, const_str_plain_openStream, 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 = 438; type_description_2 = "o"; goto frame_exception_exit_7; } } { PyObject *tmp_defaults_4; tmp_defaults_4 = const_tuple_true_tuple; Py_INCREF( tmp_defaults_4 ); tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_23_determineEncoding( tmp_defaults_4 ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_384, const_str_plain_determineEncoding, 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 = 457; type_description_2 = "o"; goto frame_exception_exit_7; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_24_changeEncoding( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_384, const_str_plain_changeEncoding, 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 = 519; type_description_2 = "o"; goto frame_exception_exit_7; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_25_detectBOM( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_384, const_str_plain_detectBOM, 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 = 535; type_description_2 = "o"; goto frame_exception_exit_7; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_26_detectEncodingMeta( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_384, const_str_plain_detectEncodingMeta, 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 = 569; type_description_2 = "o"; goto frame_exception_exit_7; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_58252763bcef966d82b75bce6b54dd1b_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_58252763bcef966d82b75bce6b54dd1b_7 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_58252763bcef966d82b75bce6b54dd1b_7, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_58252763bcef966d82b75bce6b54dd1b_7->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_58252763bcef966d82b75bce6b54dd1b_7, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_58252763bcef966d82b75bce6b54dd1b_7, type_description_2, outline_5_var___class__ ); // Release cached frame. if ( frame_58252763bcef966d82b75bce6b54dd1b_7 == cache_frame_58252763bcef966d82b75bce6b54dd1b_7 ) { Py_DECREF( frame_58252763bcef966d82b75bce6b54dd1b_7 ); } cache_frame_58252763bcef966d82b75bce6b54dd1b_7 = NULL; assertFrameObject( frame_58252763bcef966d82b75bce6b54dd1b_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_22; skip_nested_handling_6:; { nuitka_bool tmp_condition_result_21; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_compexpr_left_6 = tmp_class_creation_3__bases; CHECK_OBJECT( tmp_class_creation_3__bases_orig ); tmp_compexpr_right_6 = tmp_class_creation_3__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 = 384; goto try_except_handler_22; } tmp_condition_result_21 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_21 == NUITKA_BOOL_TRUE ) { goto branch_yes_15; } else { goto branch_no_15; } branch_yes_15:; { CHECK_OBJECT( tmp_class_creation_3__bases_orig ); tmp_dictset_value = tmp_class_creation_3__bases_orig; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_384, 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 = 384; goto try_except_handler_22; } } branch_no_15:; } { PyObject *tmp_assign_source_75; PyObject *tmp_called_name_8; PyObject *tmp_args_name_6; PyObject *tmp_tuple_element_10; PyObject *tmp_kw_name_6; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_called_name_8 = tmp_class_creation_3__metaclass; tmp_tuple_element_10 = const_str_plain_HTMLBinaryInputStream; tmp_args_name_6 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_10 ); PyTuple_SET_ITEM( tmp_args_name_6, 0, tmp_tuple_element_10 ); CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_tuple_element_10 = tmp_class_creation_3__bases; Py_INCREF( tmp_tuple_element_10 ); PyTuple_SET_ITEM( tmp_args_name_6, 1, tmp_tuple_element_10 ); tmp_tuple_element_10 = locals_html5lib$_inputstream_384; 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_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 384; tmp_assign_source_75 = CALL_FUNCTION( tmp_called_name_8, tmp_args_name_6, tmp_kw_name_6 ); Py_DECREF( tmp_args_name_6 ); if ( tmp_assign_source_75 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 384; goto try_except_handler_22; } assert( outline_5_var___class__ == NULL ); outline_5_var___class__ = tmp_assign_source_75; } { CHECK_OBJECT( outline_5_var___class__ ); tmp_assign_source_74 = outline_5_var___class__; Py_INCREF( tmp_assign_source_74 ); goto try_return_handler_22; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_22:; { Py_DECREF( locals_html5lib$_inputstream_384 ); locals_html5lib$_inputstream_384 = NULL; } { goto try_return_handler_21; } // 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_DECREF( locals_html5lib$_inputstream_384 ); locals_html5lib$_inputstream_384 = 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 try_except_handler_21; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_21:; { CHECK_OBJECT( (PyObject *)outline_5_var___class__ ); Py_DECREF( outline_5_var___class__ ); outline_5_var___class__ = NULL; } { goto outline_result_7; } // 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; { // 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 outline_exception_6; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); outline_exception_6:; exception_lineno = 384; goto try_except_handler_20; outline_result_7:; UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_HTMLBinaryInputStream, tmp_assign_source_74 ); } goto try_end_9; // Exception handler code: try_except_handler_20:; 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_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_22; exception_value = exception_keeper_value_22; exception_tb = exception_keeper_tb_22; exception_lineno = exception_keeper_lineno_22; goto frame_exception_exit_1; } // End of try: try_end_9:; } { 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_76; PyObject *tmp_dircall_arg1_4; tmp_dircall_arg1_4 = const_tuple_type_bytes_tuple; Py_INCREF( tmp_dircall_arg1_4 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_4}; tmp_assign_source_76 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_76 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 584; goto try_except_handler_23; } assert( tmp_class_creation_4__bases == NULL ); tmp_class_creation_4__bases = tmp_assign_source_76; } { PyObject *tmp_assign_source_77; tmp_assign_source_77 = PyDict_New(); assert( tmp_class_creation_4__class_decl_dict == NULL ); tmp_class_creation_4__class_decl_dict = tmp_assign_source_77; } { PyObject *tmp_assign_source_78; PyObject *tmp_metaclass_name_4; nuitka_bool tmp_condition_result_22; 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_23; int tmp_truth_name_5; PyObject *tmp_type_arg_7; PyObject *tmp_subscribed_name_6; PyObject *tmp_subscript_name_6; 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 = 584; goto try_except_handler_23; } tmp_condition_result_22 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_22 == 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 = 584; goto try_except_handler_23; } goto condexpr_end_7; condexpr_false_7:; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_truth_name_5 = CHECK_IF_TRUE( tmp_class_creation_4__bases ); if ( tmp_truth_name_5 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 584; goto try_except_handler_23; } tmp_condition_result_23 = tmp_truth_name_5 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_23 == 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_6 = tmp_class_creation_4__bases; tmp_subscript_name_6 = const_int_0; tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_6, tmp_subscript_name_6, 0 ); if ( tmp_type_arg_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 584; goto try_except_handler_23; } 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 = 584; goto try_except_handler_23; } 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_78 = SELECT_METACLASS( tmp_metaclass_name_4, tmp_bases_name_4 ); Py_DECREF( tmp_metaclass_name_4 ); if ( tmp_assign_source_78 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 584; goto try_except_handler_23; } assert( tmp_class_creation_4__metaclass == NULL ); tmp_class_creation_4__metaclass = tmp_assign_source_78; } { nuitka_bool tmp_condition_result_24; 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 = 584; 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_16; } else { goto branch_no_16; } branch_yes_16:; { 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 = 584; goto try_except_handler_23; } } branch_no_16:; } { nuitka_bool tmp_condition_result_25; PyObject *tmp_source_name_16; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_source_name_16 = tmp_class_creation_4__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_16, const_str_plain___prepare__ ); 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:; { PyObject *tmp_assign_source_79; PyObject *tmp_called_name_9; PyObject *tmp_source_name_17; PyObject *tmp_args_name_7; PyObject *tmp_tuple_element_11; PyObject *tmp_kw_name_7; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_source_name_17 = tmp_class_creation_4__metaclass; tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain___prepare__ ); if ( tmp_called_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 584; goto try_except_handler_23; } tmp_tuple_element_11 = const_str_plain_EncodingBytes; tmp_args_name_7 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_11 ); PyTuple_SET_ITEM( tmp_args_name_7, 0, tmp_tuple_element_11 ); CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_tuple_element_11 = tmp_class_creation_4__bases; Py_INCREF( tmp_tuple_element_11 ); PyTuple_SET_ITEM( tmp_args_name_7, 1, tmp_tuple_element_11 ); CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_kw_name_7 = tmp_class_creation_4__class_decl_dict; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 584; tmp_assign_source_79 = CALL_FUNCTION( tmp_called_name_9, tmp_args_name_7, tmp_kw_name_7 ); Py_DECREF( tmp_called_name_9 ); Py_DECREF( tmp_args_name_7 ); if ( tmp_assign_source_79 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 584; goto try_except_handler_23; } assert( tmp_class_creation_4__prepared == NULL ); tmp_class_creation_4__prepared = tmp_assign_source_79; } { nuitka_bool tmp_condition_result_26; PyObject *tmp_operand_name_5; PyObject *tmp_source_name_18; CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_source_name_18 = tmp_class_creation_4__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_18, 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 = 584; goto try_except_handler_23; } tmp_condition_result_26 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_26 == NUITKA_BOOL_TRUE ) { goto branch_yes_18; } else { goto branch_no_18; } branch_yes_18:; { PyObject *tmp_raise_type_5; PyObject *tmp_raise_value_4; PyObject *tmp_left_name_7; PyObject *tmp_right_name_7; PyObject *tmp_tuple_element_12; PyObject *tmp_getattr_target_4; PyObject *tmp_getattr_attr_4; PyObject *tmp_getattr_default_4; PyObject *tmp_source_name_19; PyObject *tmp_type_arg_8; tmp_raise_type_5 = PyExc_TypeError; tmp_left_name_7 = 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_12 = BUILTIN_GETATTR( tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4 ); if ( tmp_tuple_element_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 584; goto try_except_handler_23; } tmp_right_name_7 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_7, 0, tmp_tuple_element_12 ); CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_type_arg_8 = tmp_class_creation_4__prepared; tmp_source_name_19 = BUILTIN_TYPE1( tmp_type_arg_8 ); assert( !(tmp_source_name_19 == NULL) ); tmp_tuple_element_12 = LOOKUP_ATTRIBUTE( tmp_source_name_19, const_str_plain___name__ ); Py_DECREF( tmp_source_name_19 ); if ( tmp_tuple_element_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_7 ); exception_lineno = 584; goto try_except_handler_23; } PyTuple_SET_ITEM( tmp_right_name_7, 1, tmp_tuple_element_12 ); tmp_raise_value_4 = BINARY_OPERATION_REMAINDER( tmp_left_name_7, tmp_right_name_7 ); Py_DECREF( tmp_right_name_7 ); if ( tmp_raise_value_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 584; goto try_except_handler_23; } exception_type = tmp_raise_type_5; Py_INCREF( tmp_raise_type_5 ); exception_value = tmp_raise_value_4; exception_lineno = 584; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_23; } branch_no_18:; } goto branch_end_17; branch_no_17:; { PyObject *tmp_assign_source_80; tmp_assign_source_80 = PyDict_New(); assert( tmp_class_creation_4__prepared == NULL ); tmp_class_creation_4__prepared = tmp_assign_source_80; } branch_end_17:; } { PyObject *tmp_assign_source_81; { PyObject *tmp_set_locals_4; CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_set_locals_4 = tmp_class_creation_4__prepared; locals_html5lib$_inputstream_584 = tmp_set_locals_4; Py_INCREF( tmp_set_locals_4 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_3e8c99e8a71b4266b1d42295941d73f3; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, 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 = 584; goto try_except_handler_25; } } { tmp_dictset_value = const_str_digest_41cb5ab31ccd9c69c536fbe0c75f75a0; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, 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 = 584; goto try_except_handler_25; } } { tmp_dictset_value = const_str_plain_EncodingBytes; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, 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 = 584; goto try_except_handler_25; } } MAKE_OR_REUSE_FRAME( cache_frame_b5557a76044301bfcd69189188647414_8, codeobj_b5557a76044301bfcd69189188647414, module_html5lib$_inputstream, sizeof(void *) ); frame_b5557a76044301bfcd69189188647414_8 = cache_frame_b5557a76044301bfcd69189188647414_8; // Push the new frame as the currently active one. pushFrameStack( frame_b5557a76044301bfcd69189188647414_8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_b5557a76044301bfcd69189188647414_8 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_27___new__( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, 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 = 588; type_description_2 = "o"; goto frame_exception_exit_8; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_28___init__( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, 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 = 592; type_description_2 = "o"; goto frame_exception_exit_8; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_29___iter__( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, 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 = 596; type_description_2 = "o"; goto frame_exception_exit_8; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_30___next__( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, 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 = 599; type_description_2 = "o"; goto frame_exception_exit_8; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_31_next( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, 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 = 607; type_description_2 = "o"; goto frame_exception_exit_8; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_32_previous( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, 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 = 611; type_description_2 = "o"; goto frame_exception_exit_8; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_33_setPosition( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, const_str_plain_setPosition, 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 = 620; type_description_2 = "o"; goto frame_exception_exit_8; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_34_getPosition( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, const_str_plain_getPosition, 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_8; } } { nuitka_bool tmp_condition_result_27; PyObject *tmp_called_name_10; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_called_name_11; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; tmp_res = MAPPING_HAS_ITEM( locals_html5lib$_inputstream_584, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 633; type_description_2 = "o"; goto frame_exception_exit_8; } tmp_condition_result_27 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_27 == NUITKA_BOOL_TRUE ) { goto condexpr_true_9; } else { goto condexpr_false_9; } condexpr_true_9:; tmp_called_name_10 = PyObject_GetItem( locals_html5lib$_inputstream_584, const_str_plain_property ); if ( tmp_called_name_10 == 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 = 633; type_description_2 = "o"; goto frame_exception_exit_8; } if ( tmp_called_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 633; type_description_2 = "o"; goto frame_exception_exit_8; } tmp_args_element_name_3 = PyObject_GetItem( locals_html5lib$_inputstream_584, const_str_plain_getPosition ); if ( tmp_args_element_name_3 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { Py_DECREF( tmp_called_name_10 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "getPosition" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 633; type_description_2 = "o"; goto frame_exception_exit_8; } if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_10 ); exception_lineno = 633; type_description_2 = "o"; goto frame_exception_exit_8; } tmp_args_element_name_4 = PyObject_GetItem( locals_html5lib$_inputstream_584, const_str_plain_setPosition ); if ( tmp_args_element_name_4 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { Py_DECREF( tmp_called_name_10 ); Py_DECREF( tmp_args_element_name_3 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "setPosition" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 633; type_description_2 = "o"; goto frame_exception_exit_8; } if ( tmp_args_element_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_10 ); Py_DECREF( tmp_args_element_name_3 ); exception_lineno = 633; type_description_2 = "o"; goto frame_exception_exit_8; } frame_b5557a76044301bfcd69189188647414_8->m_frame.f_lineno = 633; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_10, call_args ); } Py_DECREF( tmp_called_name_10 ); Py_DECREF( tmp_args_element_name_3 ); Py_DECREF( tmp_args_element_name_4 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 633; type_description_2 = "o"; goto frame_exception_exit_8; } goto condexpr_end_9; condexpr_false_9:; tmp_called_name_11 = (PyObject *)&PyProperty_Type; tmp_args_element_name_5 = PyObject_GetItem( locals_html5lib$_inputstream_584, const_str_plain_getPosition ); if ( tmp_args_element_name_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", "getPosition" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 633; type_description_2 = "o"; goto frame_exception_exit_8; } if ( tmp_args_element_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 633; type_description_2 = "o"; goto frame_exception_exit_8; } tmp_args_element_name_6 = PyObject_GetItem( locals_html5lib$_inputstream_584, const_str_plain_setPosition ); if ( tmp_args_element_name_6 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { Py_DECREF( tmp_args_element_name_5 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "setPosition" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 633; type_description_2 = "o"; goto frame_exception_exit_8; } if ( tmp_args_element_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_args_element_name_5 ); exception_lineno = 633; type_description_2 = "o"; goto frame_exception_exit_8; } frame_b5557a76044301bfcd69189188647414_8->m_frame.f_lineno = 633; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_11, call_args ); } Py_DECREF( tmp_args_element_name_5 ); Py_DECREF( tmp_args_element_name_6 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 633; type_description_2 = "o"; goto frame_exception_exit_8; } condexpr_end_9:; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, const_str_plain_position, 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 = 633; type_description_2 = "o"; goto frame_exception_exit_8; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_35_getCurrentByte( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, const_str_plain_getCurrentByte, 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 = 635; type_description_2 = "o"; goto frame_exception_exit_8; } } { nuitka_bool tmp_condition_result_28; PyObject *tmp_called_name_12; PyObject *tmp_args_element_name_7; PyObject *tmp_called_name_13; PyObject *tmp_args_element_name_8; tmp_res = MAPPING_HAS_ITEM( locals_html5lib$_inputstream_584, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 638; type_description_2 = "o"; goto frame_exception_exit_8; } tmp_condition_result_28 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_28 == NUITKA_BOOL_TRUE ) { goto condexpr_true_10; } else { goto condexpr_false_10; } condexpr_true_10:; tmp_called_name_12 = PyObject_GetItem( locals_html5lib$_inputstream_584, const_str_plain_property ); if ( tmp_called_name_12 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 638; type_description_2 = "o"; goto frame_exception_exit_8; } if ( tmp_called_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 638; type_description_2 = "o"; goto frame_exception_exit_8; } tmp_args_element_name_7 = PyObject_GetItem( locals_html5lib$_inputstream_584, const_str_plain_getCurrentByte ); if ( tmp_args_element_name_7 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { Py_DECREF( tmp_called_name_12 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "getCurrentByte" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 638; type_description_2 = "o"; goto frame_exception_exit_8; } if ( tmp_args_element_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_12 ); exception_lineno = 638; type_description_2 = "o"; goto frame_exception_exit_8; } frame_b5557a76044301bfcd69189188647414_8->m_frame.f_lineno = 638; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_12, call_args ); } Py_DECREF( tmp_called_name_12 ); 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 = 638; type_description_2 = "o"; goto frame_exception_exit_8; } goto condexpr_end_10; condexpr_false_10:; tmp_called_name_13 = (PyObject *)&PyProperty_Type; tmp_args_element_name_8 = PyObject_GetItem( locals_html5lib$_inputstream_584, const_str_plain_getCurrentByte ); if ( tmp_args_element_name_8 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "getCurrentByte" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 638; type_description_2 = "o"; goto frame_exception_exit_8; } if ( tmp_args_element_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 638; type_description_2 = "o"; goto frame_exception_exit_8; } frame_b5557a76044301bfcd69189188647414_8->m_frame.f_lineno = 638; { PyObject *call_args[] = { tmp_args_element_name_8 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_13, call_args ); } 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 = 638; type_description_2 = "o"; goto frame_exception_exit_8; } condexpr_end_10:; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, const_str_plain_currentByte, 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 = 638; type_description_2 = "o"; goto frame_exception_exit_8; } } { PyObject *tmp_defaults_5; PyObject *tmp_tuple_element_13; PyObject *tmp_mvar_value_15; tmp_tuple_element_13 = PyObject_GetItem( locals_html5lib$_inputstream_584, const_str_plain_spaceCharactersBytes ); if ( tmp_tuple_element_13 == NULL ) { if ( CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { tmp_mvar_value_15 = GET_STRING_DICT_VALUE( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_spaceCharactersBytes ); if (unlikely( tmp_mvar_value_15 == NULL )) { tmp_mvar_value_15 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_spaceCharactersBytes ); } if ( tmp_mvar_value_15 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "spaceCharactersBytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 640; type_description_2 = "o"; goto frame_exception_exit_8; } tmp_tuple_element_13 = tmp_mvar_value_15; Py_INCREF( tmp_tuple_element_13 ); } } tmp_defaults_5 = PyTuple_New( 1 ); PyTuple_SET_ITEM( tmp_defaults_5, 0, tmp_tuple_element_13 ); tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_36_skip( tmp_defaults_5 ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, const_str_plain_skip, 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 = 640; type_description_2 = "o"; goto frame_exception_exit_8; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_37_skipUntil( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, const_str_plain_skipUntil, 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 = 652; type_description_2 = "o"; goto frame_exception_exit_8; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_38_matchBytes( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, const_str_plain_matchBytes, 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 = 663; type_description_2 = "o"; goto frame_exception_exit_8; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_39_jumpTo( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, const_str_plain_jumpTo, 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 = 674; type_description_2 = "o"; goto frame_exception_exit_8; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_b5557a76044301bfcd69189188647414_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_b5557a76044301bfcd69189188647414_8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_b5557a76044301bfcd69189188647414_8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_b5557a76044301bfcd69189188647414_8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_b5557a76044301bfcd69189188647414_8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_b5557a76044301bfcd69189188647414_8, type_description_2, outline_6_var___class__ ); // Release cached frame. if ( frame_b5557a76044301bfcd69189188647414_8 == cache_frame_b5557a76044301bfcd69189188647414_8 ) { Py_DECREF( frame_b5557a76044301bfcd69189188647414_8 ); } cache_frame_b5557a76044301bfcd69189188647414_8 = NULL; assertFrameObject( frame_b5557a76044301bfcd69189188647414_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_25; skip_nested_handling_7:; { nuitka_bool tmp_condition_result_29; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_compexpr_left_7 = tmp_class_creation_4__bases; tmp_compexpr_right_7 = const_tuple_type_bytes_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_7, tmp_compexpr_right_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 584; goto try_except_handler_25; } 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:; { tmp_dictset_value = const_tuple_type_bytes_tuple; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_584, 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 = 584; goto try_except_handler_25; } } branch_no_19:; } { PyObject *tmp_assign_source_82; PyObject *tmp_called_name_14; 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_14 = tmp_class_creation_4__metaclass; tmp_tuple_element_14 = const_str_plain_EncodingBytes; 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_html5lib$_inputstream_584; 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_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 584; tmp_assign_source_82 = CALL_FUNCTION( tmp_called_name_14, tmp_args_name_8, tmp_kw_name_8 ); Py_DECREF( tmp_args_name_8 ); if ( tmp_assign_source_82 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 584; goto try_except_handler_25; } assert( outline_6_var___class__ == NULL ); outline_6_var___class__ = tmp_assign_source_82; } { CHECK_OBJECT( outline_6_var___class__ ); tmp_assign_source_81 = outline_6_var___class__; Py_INCREF( tmp_assign_source_81 ); goto try_return_handler_25; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_25:; { Py_DECREF( locals_html5lib$_inputstream_584 ); locals_html5lib$_inputstream_584 = NULL; } { goto try_return_handler_24; } // Exception handler code: try_except_handler_25:; 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; { Py_DECREF( locals_html5lib$_inputstream_584 ); locals_html5lib$_inputstream_584 = NULL; } { // 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_24; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_24:; { CHECK_OBJECT( (PyObject *)outline_6_var___class__ ); Py_DECREF( outline_6_var___class__ ); outline_6_var___class__ = NULL; } { goto outline_result_8; } // Exception handler code: try_except_handler_24:; 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; { // 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 outline_exception_7; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); outline_exception_7:; exception_lineno = 584; goto try_except_handler_23; outline_result_8:; UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_EncodingBytes, tmp_assign_source_81 ); } goto try_end_10; // Exception handler code: try_except_handler_23:; 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_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_25; exception_value = exception_keeper_value_25; exception_tb = exception_keeper_tb_25; exception_lineno = exception_keeper_lineno_25; goto frame_exception_exit_1; } // End of try: try_end_10:; } { 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_83; PyObject *tmp_dircall_arg1_5; tmp_dircall_arg1_5 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_5 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_5}; tmp_assign_source_83 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_83 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 688; goto try_except_handler_26; } assert( tmp_class_creation_5__bases == NULL ); tmp_class_creation_5__bases = tmp_assign_source_83; } { PyObject *tmp_assign_source_84; tmp_assign_source_84 = PyDict_New(); assert( tmp_class_creation_5__class_decl_dict == NULL ); tmp_class_creation_5__class_decl_dict = tmp_assign_source_84; } { PyObject *tmp_assign_source_85; PyObject *tmp_metaclass_name_5; nuitka_bool tmp_condition_result_30; 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_31; int tmp_truth_name_6; PyObject *tmp_type_arg_9; PyObject *tmp_subscribed_name_7; PyObject *tmp_subscript_name_7; 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 = 688; goto try_except_handler_26; } tmp_condition_result_30 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_30 == NUITKA_BOOL_TRUE ) { goto condexpr_true_11; } else { goto condexpr_false_11; } condexpr_true_11:; 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 = 688; goto try_except_handler_26; } goto condexpr_end_11; condexpr_false_11:; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_truth_name_6 = CHECK_IF_TRUE( tmp_class_creation_5__bases ); if ( tmp_truth_name_6 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 688; goto try_except_handler_26; } tmp_condition_result_31 = tmp_truth_name_6 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_31 == NUITKA_BOOL_TRUE ) { goto condexpr_true_12; } else { goto condexpr_false_12; } condexpr_true_12:; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_subscribed_name_7 = tmp_class_creation_5__bases; tmp_subscript_name_7 = const_int_0; tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_7, tmp_subscript_name_7, 0 ); if ( tmp_type_arg_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 688; goto try_except_handler_26; } 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 = 688; goto try_except_handler_26; } goto condexpr_end_12; condexpr_false_12:; tmp_metaclass_name_5 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_5 ); condexpr_end_12:; condexpr_end_11:; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_bases_name_5 = tmp_class_creation_5__bases; tmp_assign_source_85 = SELECT_METACLASS( tmp_metaclass_name_5, tmp_bases_name_5 ); Py_DECREF( tmp_metaclass_name_5 ); if ( tmp_assign_source_85 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 688; goto try_except_handler_26; } assert( tmp_class_creation_5__metaclass == NULL ); tmp_class_creation_5__metaclass = tmp_assign_source_85; } { nuitka_bool tmp_condition_result_32; 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 = 688; goto try_except_handler_26; } tmp_condition_result_32 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_32 == NUITKA_BOOL_TRUE ) { goto branch_yes_20; } else { goto branch_no_20; } branch_yes_20:; { 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 = 688; goto try_except_handler_26; } } branch_no_20:; } { nuitka_bool tmp_condition_result_33; 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_33 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_33 == NUITKA_BOOL_TRUE ) { goto branch_yes_21; } else { goto branch_no_21; } branch_yes_21:; { PyObject *tmp_assign_source_86; PyObject *tmp_called_name_15; PyObject *tmp_source_name_21; PyObject *tmp_args_name_9; PyObject *tmp_tuple_element_15; PyObject *tmp_kw_name_9; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_source_name_21 = tmp_class_creation_5__metaclass; tmp_called_name_15 = LOOKUP_ATTRIBUTE( tmp_source_name_21, const_str_plain___prepare__ ); if ( tmp_called_name_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 688; goto try_except_handler_26; } tmp_tuple_element_15 = const_str_plain_EncodingParser; tmp_args_name_9 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_15 ); PyTuple_SET_ITEM( tmp_args_name_9, 0, tmp_tuple_element_15 ); CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_tuple_element_15 = tmp_class_creation_5__bases; Py_INCREF( tmp_tuple_element_15 ); PyTuple_SET_ITEM( tmp_args_name_9, 1, tmp_tuple_element_15 ); CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_kw_name_9 = tmp_class_creation_5__class_decl_dict; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 688; tmp_assign_source_86 = CALL_FUNCTION( tmp_called_name_15, tmp_args_name_9, tmp_kw_name_9 ); Py_DECREF( tmp_called_name_15 ); Py_DECREF( tmp_args_name_9 ); if ( tmp_assign_source_86 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 688; goto try_except_handler_26; } assert( tmp_class_creation_5__prepared == NULL ); tmp_class_creation_5__prepared = tmp_assign_source_86; } { nuitka_bool tmp_condition_result_34; PyObject *tmp_operand_name_6; 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_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 = 688; goto try_except_handler_26; } tmp_condition_result_34 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_34 == NUITKA_BOOL_TRUE ) { goto branch_yes_22; } else { goto branch_no_22; } branch_yes_22:; { PyObject *tmp_raise_type_6; PyObject *tmp_raise_value_5; PyObject *tmp_left_name_8; PyObject *tmp_right_name_8; PyObject *tmp_tuple_element_16; 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_6 = PyExc_TypeError; tmp_left_name_8 = 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_16 = BUILTIN_GETATTR( tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5 ); if ( tmp_tuple_element_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 688; goto try_except_handler_26; } tmp_right_name_8 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_8, 0, tmp_tuple_element_16 ); 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_16 = LOOKUP_ATTRIBUTE( tmp_source_name_23, const_str_plain___name__ ); Py_DECREF( tmp_source_name_23 ); if ( tmp_tuple_element_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_8 ); exception_lineno = 688; goto try_except_handler_26; } PyTuple_SET_ITEM( tmp_right_name_8, 1, tmp_tuple_element_16 ); tmp_raise_value_5 = BINARY_OPERATION_REMAINDER( tmp_left_name_8, tmp_right_name_8 ); Py_DECREF( tmp_right_name_8 ); if ( tmp_raise_value_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 688; goto try_except_handler_26; } exception_type = tmp_raise_type_6; Py_INCREF( tmp_raise_type_6 ); exception_value = tmp_raise_value_5; exception_lineno = 688; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_26; } branch_no_22:; } goto branch_end_21; branch_no_21:; { PyObject *tmp_assign_source_87; tmp_assign_source_87 = PyDict_New(); assert( tmp_class_creation_5__prepared == NULL ); tmp_class_creation_5__prepared = tmp_assign_source_87; } branch_end_21:; } { PyObject *tmp_assign_source_88; { PyObject *tmp_set_locals_5; CHECK_OBJECT( tmp_class_creation_5__prepared ); tmp_set_locals_5 = tmp_class_creation_5__prepared; locals_html5lib$_inputstream_688 = tmp_set_locals_5; Py_INCREF( tmp_set_locals_5 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_3e8c99e8a71b4266b1d42295941d73f3; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_688, 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 = 688; goto try_except_handler_28; } } { tmp_dictset_value = const_str_digest_8a4d33808f66cdb9c879f8b49725f910; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_688, 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 = 688; goto try_except_handler_28; } } { tmp_dictset_value = const_str_plain_EncodingParser; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_688, 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 = 688; goto try_except_handler_28; } } MAKE_OR_REUSE_FRAME( cache_frame_4c01bcc24da40257461deed5e4ea25dc_9, codeobj_4c01bcc24da40257461deed5e4ea25dc, module_html5lib$_inputstream, sizeof(void *) ); frame_4c01bcc24da40257461deed5e4ea25dc_9 = cache_frame_4c01bcc24da40257461deed5e4ea25dc_9; // Push the new frame as the currently active one. pushFrameStack( frame_4c01bcc24da40257461deed5e4ea25dc_9 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4c01bcc24da40257461deed5e4ea25dc_9 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_40___init__( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_688, 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 = 691; type_description_2 = "o"; goto frame_exception_exit_9; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_41_getEncoding( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_688, const_str_plain_getEncoding, 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 = 696; type_description_2 = "o"; goto frame_exception_exit_9; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_42_handleComment( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_688, const_str_plain_handleComment, 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 = 719; type_description_2 = "o"; goto frame_exception_exit_9; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_43_handleMeta( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_688, const_str_plain_handleMeta, 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 = 723; type_description_2 = "o"; goto frame_exception_exit_9; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_44_handlePossibleStartTag( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_688, const_str_plain_handlePossibleStartTag, 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 = 759; type_description_2 = "o"; goto frame_exception_exit_9; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_45_handlePossibleEndTag( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_688, const_str_plain_handlePossibleEndTag, 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 = 762; type_description_2 = "o"; goto frame_exception_exit_9; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_46_handlePossibleTag( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_688, const_str_plain_handlePossibleTag, 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 = 766; type_description_2 = "o"; goto frame_exception_exit_9; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_47_handleOther( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_688, const_str_plain_handleOther, 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 = 789; type_description_2 = "o"; goto frame_exception_exit_9; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_48_getAttribute( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_688, const_str_plain_getAttribute, 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 = 792; type_description_2 = "o"; goto frame_exception_exit_9; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_4c01bcc24da40257461deed5e4ea25dc_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_4c01bcc24da40257461deed5e4ea25dc_9 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4c01bcc24da40257461deed5e4ea25dc_9, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4c01bcc24da40257461deed5e4ea25dc_9->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4c01bcc24da40257461deed5e4ea25dc_9, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4c01bcc24da40257461deed5e4ea25dc_9, type_description_2, outline_7_var___class__ ); // Release cached frame. if ( frame_4c01bcc24da40257461deed5e4ea25dc_9 == cache_frame_4c01bcc24da40257461deed5e4ea25dc_9 ) { Py_DECREF( frame_4c01bcc24da40257461deed5e4ea25dc_9 ); } cache_frame_4c01bcc24da40257461deed5e4ea25dc_9 = NULL; assertFrameObject( frame_4c01bcc24da40257461deed5e4ea25dc_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_28; skip_nested_handling_8:; { nuitka_bool tmp_condition_result_35; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_compexpr_left_8 = tmp_class_creation_5__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 = 688; goto try_except_handler_28; } tmp_condition_result_35 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_35 == NUITKA_BOOL_TRUE ) { goto branch_yes_23; } else { goto branch_no_23; } branch_yes_23:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_688, 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 = 688; goto try_except_handler_28; } } branch_no_23:; } { PyObject *tmp_assign_source_89; PyObject *tmp_called_name_16; PyObject *tmp_args_name_10; PyObject *tmp_tuple_element_17; PyObject *tmp_kw_name_10; CHECK_OBJECT( tmp_class_creation_5__metaclass ); tmp_called_name_16 = tmp_class_creation_5__metaclass; tmp_tuple_element_17 = const_str_plain_EncodingParser; tmp_args_name_10 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_17 ); PyTuple_SET_ITEM( tmp_args_name_10, 0, tmp_tuple_element_17 ); CHECK_OBJECT( tmp_class_creation_5__bases ); tmp_tuple_element_17 = tmp_class_creation_5__bases; Py_INCREF( tmp_tuple_element_17 ); PyTuple_SET_ITEM( tmp_args_name_10, 1, tmp_tuple_element_17 ); tmp_tuple_element_17 = locals_html5lib$_inputstream_688; Py_INCREF( tmp_tuple_element_17 ); PyTuple_SET_ITEM( tmp_args_name_10, 2, tmp_tuple_element_17 ); CHECK_OBJECT( tmp_class_creation_5__class_decl_dict ); tmp_kw_name_10 = tmp_class_creation_5__class_decl_dict; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 688; tmp_assign_source_89 = CALL_FUNCTION( tmp_called_name_16, tmp_args_name_10, tmp_kw_name_10 ); Py_DECREF( tmp_args_name_10 ); if ( tmp_assign_source_89 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 688; goto try_except_handler_28; } assert( outline_7_var___class__ == NULL ); outline_7_var___class__ = tmp_assign_source_89; } { CHECK_OBJECT( outline_7_var___class__ ); tmp_assign_source_88 = outline_7_var___class__; Py_INCREF( tmp_assign_source_88 ); goto try_return_handler_28; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_28:; { Py_DECREF( locals_html5lib$_inputstream_688 ); locals_html5lib$_inputstream_688 = NULL; } { goto try_return_handler_27; } // Exception handler code: try_except_handler_28:; 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_DECREF( locals_html5lib$_inputstream_688 ); locals_html5lib$_inputstream_688 = 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 try_except_handler_27; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_27:; { CHECK_OBJECT( (PyObject *)outline_7_var___class__ ); Py_DECREF( outline_7_var___class__ ); outline_7_var___class__ = NULL; } { goto outline_result_9; } // Exception handler code: try_except_handler_27:; 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; { // 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 outline_exception_8; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); outline_exception_8:; exception_lineno = 688; goto try_except_handler_26; outline_result_9:; UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_EncodingParser, tmp_assign_source_88 ); } goto try_end_11; // Exception handler code: try_except_handler_26:; 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_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_28; exception_value = exception_keeper_value_28; exception_tb = exception_keeper_tb_28; exception_lineno = exception_keeper_lineno_28; goto frame_exception_exit_1; } // End of try: try_end_11:; } { 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_90; 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_90 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_90 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_29; } assert( tmp_class_creation_6__bases == NULL ); tmp_class_creation_6__bases = tmp_assign_source_90; } { PyObject *tmp_assign_source_91; tmp_assign_source_91 = PyDict_New(); assert( tmp_class_creation_6__class_decl_dict == NULL ); tmp_class_creation_6__class_decl_dict = tmp_assign_source_91; } { PyObject *tmp_assign_source_92; PyObject *tmp_metaclass_name_6; nuitka_bool tmp_condition_result_36; 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_37; int tmp_truth_name_7; PyObject *tmp_type_arg_11; PyObject *tmp_subscribed_name_8; PyObject *tmp_subscript_name_8; 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 = 869; goto try_except_handler_29; } tmp_condition_result_36 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_36 == NUITKA_BOOL_TRUE ) { goto condexpr_true_13; } else { goto condexpr_false_13; } condexpr_true_13:; 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 = 869; goto try_except_handler_29; } goto condexpr_end_13; condexpr_false_13:; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_truth_name_7 = CHECK_IF_TRUE( tmp_class_creation_6__bases ); if ( tmp_truth_name_7 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_29; } tmp_condition_result_37 = tmp_truth_name_7 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_37 == NUITKA_BOOL_TRUE ) { goto condexpr_true_14; } else { goto condexpr_false_14; } condexpr_true_14:; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_subscribed_name_8 = tmp_class_creation_6__bases; tmp_subscript_name_8 = const_int_0; tmp_type_arg_11 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_8, tmp_subscript_name_8, 0 ); if ( tmp_type_arg_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_29; } 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 = 869; goto try_except_handler_29; } goto condexpr_end_14; condexpr_false_14:; tmp_metaclass_name_6 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_6 ); condexpr_end_14:; condexpr_end_13:; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_bases_name_6 = tmp_class_creation_6__bases; tmp_assign_source_92 = SELECT_METACLASS( tmp_metaclass_name_6, tmp_bases_name_6 ); Py_DECREF( tmp_metaclass_name_6 ); if ( tmp_assign_source_92 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_29; } assert( tmp_class_creation_6__metaclass == NULL ); tmp_class_creation_6__metaclass = tmp_assign_source_92; } { nuitka_bool tmp_condition_result_38; 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 = 869; goto try_except_handler_29; } tmp_condition_result_38 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_38 == NUITKA_BOOL_TRUE ) { goto branch_yes_24; } else { goto branch_no_24; } branch_yes_24:; { 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 = 869; goto try_except_handler_29; } } branch_no_24:; } { nuitka_bool tmp_condition_result_39; 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_39 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_39 == NUITKA_BOOL_TRUE ) { goto branch_yes_25; } else { goto branch_no_25; } branch_yes_25:; { PyObject *tmp_assign_source_93; PyObject *tmp_called_name_17; PyObject *tmp_source_name_25; PyObject *tmp_args_name_11; PyObject *tmp_tuple_element_18; PyObject *tmp_kw_name_11; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_source_name_25 = tmp_class_creation_6__metaclass; tmp_called_name_17 = LOOKUP_ATTRIBUTE( tmp_source_name_25, const_str_plain___prepare__ ); if ( tmp_called_name_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_29; } tmp_tuple_element_18 = const_str_plain_ContentAttrParser; tmp_args_name_11 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_18 ); PyTuple_SET_ITEM( tmp_args_name_11, 0, tmp_tuple_element_18 ); CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_tuple_element_18 = tmp_class_creation_6__bases; Py_INCREF( tmp_tuple_element_18 ); PyTuple_SET_ITEM( tmp_args_name_11, 1, tmp_tuple_element_18 ); CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_kw_name_11 = tmp_class_creation_6__class_decl_dict; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 869; tmp_assign_source_93 = CALL_FUNCTION( tmp_called_name_17, tmp_args_name_11, tmp_kw_name_11 ); Py_DECREF( tmp_called_name_17 ); Py_DECREF( tmp_args_name_11 ); if ( tmp_assign_source_93 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_29; } assert( tmp_class_creation_6__prepared == NULL ); tmp_class_creation_6__prepared = tmp_assign_source_93; } { nuitka_bool tmp_condition_result_40; PyObject *tmp_operand_name_7; 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_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 = 869; goto try_except_handler_29; } tmp_condition_result_40 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_40 == NUITKA_BOOL_TRUE ) { goto branch_yes_26; } else { goto branch_no_26; } branch_yes_26:; { PyObject *tmp_raise_type_7; PyObject *tmp_raise_value_6; PyObject *tmp_left_name_9; PyObject *tmp_right_name_9; PyObject *tmp_tuple_element_19; 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_7 = PyExc_TypeError; tmp_left_name_9 = 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_19 = BUILTIN_GETATTR( tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6 ); if ( tmp_tuple_element_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_29; } tmp_right_name_9 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_9, 0, tmp_tuple_element_19 ); 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_19 = LOOKUP_ATTRIBUTE( tmp_source_name_27, const_str_plain___name__ ); Py_DECREF( tmp_source_name_27 ); if ( tmp_tuple_element_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_9 ); exception_lineno = 869; goto try_except_handler_29; } PyTuple_SET_ITEM( tmp_right_name_9, 1, tmp_tuple_element_19 ); tmp_raise_value_6 = BINARY_OPERATION_REMAINDER( tmp_left_name_9, tmp_right_name_9 ); Py_DECREF( tmp_right_name_9 ); if ( tmp_raise_value_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_29; } exception_type = tmp_raise_type_7; Py_INCREF( tmp_raise_type_7 ); exception_value = tmp_raise_value_6; exception_lineno = 869; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_29; } branch_no_26:; } goto branch_end_25; branch_no_25:; { PyObject *tmp_assign_source_94; tmp_assign_source_94 = PyDict_New(); assert( tmp_class_creation_6__prepared == NULL ); tmp_class_creation_6__prepared = tmp_assign_source_94; } branch_end_25:; } { PyObject *tmp_assign_source_95; { PyObject *tmp_set_locals_6; CHECK_OBJECT( tmp_class_creation_6__prepared ); tmp_set_locals_6 = tmp_class_creation_6__prepared; locals_html5lib$_inputstream_869 = tmp_set_locals_6; Py_INCREF( tmp_set_locals_6 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_3e8c99e8a71b4266b1d42295941d73f3; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_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_31; } } { tmp_dictset_value = const_str_plain_ContentAttrParser; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_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_31; } } MAKE_OR_REUSE_FRAME( cache_frame_e046cb410eff9ae507d02c38ccfe41a3_10, codeobj_e046cb410eff9ae507d02c38ccfe41a3, module_html5lib$_inputstream, sizeof(void *) ); frame_e046cb410eff9ae507d02c38ccfe41a3_10 = cache_frame_e046cb410eff9ae507d02c38ccfe41a3_10; // Push the new frame as the currently active one. pushFrameStack( frame_e046cb410eff9ae507d02c38ccfe41a3_10 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e046cb410eff9ae507d02c38ccfe41a3_10 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_49___init__( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_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 = 870; type_description_2 = "o"; goto frame_exception_exit_10; } } { tmp_dictset_value = MAKE_FUNCTION_html5lib$_inputstream$$$function_50_parse( ); tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_869, const_str_plain_parse, 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 = 874; type_description_2 = "o"; goto frame_exception_exit_10; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_e046cb410eff9ae507d02c38ccfe41a3_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_e046cb410eff9ae507d02c38ccfe41a3_10 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e046cb410eff9ae507d02c38ccfe41a3_10, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e046cb410eff9ae507d02c38ccfe41a3_10->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e046cb410eff9ae507d02c38ccfe41a3_10, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e046cb410eff9ae507d02c38ccfe41a3_10, type_description_2, outline_8_var___class__ ); // Release cached frame. if ( frame_e046cb410eff9ae507d02c38ccfe41a3_10 == cache_frame_e046cb410eff9ae507d02c38ccfe41a3_10 ) { Py_DECREF( frame_e046cb410eff9ae507d02c38ccfe41a3_10 ); } cache_frame_e046cb410eff9ae507d02c38ccfe41a3_10 = NULL; assertFrameObject( frame_e046cb410eff9ae507d02c38ccfe41a3_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_31; skip_nested_handling_9:; { nuitka_bool tmp_condition_result_41; PyObject *tmp_compexpr_left_9; PyObject *tmp_compexpr_right_9; CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_compexpr_left_9 = tmp_class_creation_6__bases; tmp_compexpr_right_9 = const_tuple_type_object_tuple; 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 = 869; goto try_except_handler_31; } tmp_condition_result_41 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_41 == NUITKA_BOOL_TRUE ) { goto branch_yes_27; } else { goto branch_no_27; } branch_yes_27:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_html5lib$_inputstream_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_31; } } branch_no_27:; } { PyObject *tmp_assign_source_96; PyObject *tmp_called_name_18; PyObject *tmp_args_name_12; PyObject *tmp_tuple_element_20; PyObject *tmp_kw_name_12; CHECK_OBJECT( tmp_class_creation_6__metaclass ); tmp_called_name_18 = tmp_class_creation_6__metaclass; tmp_tuple_element_20 = const_str_plain_ContentAttrParser; tmp_args_name_12 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_20 ); PyTuple_SET_ITEM( tmp_args_name_12, 0, tmp_tuple_element_20 ); CHECK_OBJECT( tmp_class_creation_6__bases ); tmp_tuple_element_20 = tmp_class_creation_6__bases; Py_INCREF( tmp_tuple_element_20 ); PyTuple_SET_ITEM( tmp_args_name_12, 1, tmp_tuple_element_20 ); tmp_tuple_element_20 = locals_html5lib$_inputstream_869; Py_INCREF( tmp_tuple_element_20 ); PyTuple_SET_ITEM( tmp_args_name_12, 2, tmp_tuple_element_20 ); CHECK_OBJECT( tmp_class_creation_6__class_decl_dict ); tmp_kw_name_12 = tmp_class_creation_6__class_decl_dict; frame_66fda68140cf2344397fb6bee4976f29->m_frame.f_lineno = 869; tmp_assign_source_96 = CALL_FUNCTION( tmp_called_name_18, tmp_args_name_12, tmp_kw_name_12 ); Py_DECREF( tmp_args_name_12 ); if ( tmp_assign_source_96 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 869; goto try_except_handler_31; } assert( outline_8_var___class__ == NULL ); outline_8_var___class__ = tmp_assign_source_96; } { CHECK_OBJECT( outline_8_var___class__ ); tmp_assign_source_95 = outline_8_var___class__; Py_INCREF( tmp_assign_source_95 ); goto try_return_handler_31; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_31:; { Py_DECREF( locals_html5lib$_inputstream_869 ); locals_html5lib$_inputstream_869 = NULL; } { goto try_return_handler_30; } // Exception handler code: try_except_handler_31:; 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; { Py_DECREF( locals_html5lib$_inputstream_869 ); locals_html5lib$_inputstream_869 = NULL; } { // 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 try_except_handler_30; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_30:; { CHECK_OBJECT( (PyObject *)outline_8_var___class__ ); Py_DECREF( outline_8_var___class__ ); outline_8_var___class__ = NULL; } { goto outline_result_10; } // Exception handler code: try_except_handler_30:; 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; { // 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 outline_exception_9; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( html5lib$_inputstream ); return MOD_RETURN_VALUE( NULL ); outline_exception_9:; exception_lineno = 869; goto try_except_handler_29; outline_result_10:; UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_ContentAttrParser, tmp_assign_source_95 ); } goto try_end_12; // Exception handler code: try_except_handler_29:; 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_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_31; exception_value = exception_keeper_value_31; exception_tb = exception_keeper_tb_31; exception_lineno = exception_keeper_lineno_31; goto frame_exception_exit_1; } // End of try: try_end_12:; } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_66fda68140cf2344397fb6bee4976f29 ); #endif popFrameStack(); assertFrameObject( frame_66fda68140cf2344397fb6bee4976f29 ); goto frame_no_exception_10; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_66fda68140cf2344397fb6bee4976f29 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_66fda68140cf2344397fb6bee4976f29, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_66fda68140cf2344397fb6bee4976f29->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_66fda68140cf2344397fb6bee4976f29, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_10:; { 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; } { PyObject *tmp_assign_source_97; tmp_assign_source_97 = MAKE_FUNCTION_html5lib$_inputstream$$$function_51_lookupEncoding( ); UPDATE_STRING_DICT1( moduledict_html5lib$_inputstream, (Nuitka_StringObject *)const_str_plain_lookupEncoding, tmp_assign_source_97 ); } return MOD_RETURN_VALUE( module_html5lib$_inputstream ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }