/* Generated code for Python source for module 'requests.utils' * 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_requests$utils 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_requests$utils; PyDictObject *moduledict_requests$utils; /* The module constants used, if any. */ static PyObject *const_str_plain_sample; extern PyObject *const_str_plain_headers; static PyObject *const_str_plain_gettempdir; static PyObject *const_str_digest_6c278c9666d862c6197969556b130f49; extern PyObject *const_str_plain_BOM_UTF32_BE; extern PyObject *const_str_plain_i; extern PyObject *const_str_plain_max; extern PyObject *const_tuple_str_plain_value_tuple; extern PyObject *const_str_plain_bool; extern PyObject *const_str_plain_encode; extern PyObject *const_tuple_str_plain_CaseInsensitiveDict_tuple; static PyObject *const_str_plain_index_of_equals; extern PyObject *const_str_plain_fileno; extern PyObject *const_str_plain_where; static PyObject *const_tuple_bytes_digest_b353d8ef7ea303c0e0b70b8c221a66c7_tuple; extern PyObject *const_str_plain_mode; extern PyObject *const_str_plain_InvalidURL; extern PyObject *const_str_chr_42; static PyObject *const_str_digest_fc3590078ab788a5bd8630502b95ef86; static PyObject *const_tuple_str_plain_url_str_plain_parsed_str_plain_auth_tuple; extern PyObject *const_str_plain_os; extern PyObject *const_str_plain_None; static PyObject *const_tuple_str_digest_8400c7a83e662164e9e46828dcc11a7b_tuple; static PyObject *const_tuple_str_plain_data_str_plain_sample_str_plain_nullcount_tuple; extern PyObject *const_tuple_str_chr_59_tuple; static PyObject *const_str_plain_zip_file; static PyObject *const_str_digest_2a6ee7e480f9d5987d5306e778a2dadb; extern PyObject *const_str_plain_OpenKey; static PyObject *const_str_digest_01155e5cabe077e90821b61922c8a769; static PyObject *const_tuple_str_plain_prepared_request_str_plain_body_seek_tuple; extern PyObject *const_tuple_none_none_none_tuple; extern PyObject *const_int_pos_16; static PyObject *const_str_plain_address_in_network; extern PyObject *const_slice_none_int_pos_2_none; extern PyObject *const_str_plain_contextlib; static PyObject *const_tuple_b5f62889f654ccd6d69e43d68715d30f_tuple; extern PyObject *const_int_pos_32; extern PyObject *const_str_plain___debug__; static PyObject *const_str_plain_no_proxy_arg; static PyObject *const_tuple_str_digest_5f1a5ad79ba73300c045600e1b62e8ce_tuple; static PyObject *const_str_plain_from_key_val_list; extern PyObject *const_str_plain_is_py3; extern PyObject *const_str_plain_flags; static PyObject *const_str_plain_UNRESERVED_SET; static PyObject *const_str_plain_ZipFile; static PyObject *const_str_plain_dict_to_sequence; extern PyObject *const_str_plain_str; extern PyObject *const_str_angle_genexpr; extern PyObject *const_str_plain_inet_aton; static PyObject *const_tuple_int_0_int_pos_2_tuple; static PyObject *const_str_plain_safe_with_percent; static PyObject *const_str_plain_safe_without_percent; static PyObject *const_str_plain_set_environ; extern PyObject *const_str_plain_path; static PyObject *const_tuple_str_digest_3e84da5544c66431c97869ce316fd886_tuple; extern PyObject *const_str_plain_proxy_bypass_environment; extern PyObject *const_str_plain_proxies; static PyObject *const_str_plain_xml_re; extern PyObject *const_tuple_str_plain_k_tuple; static PyObject *const_str_plain_is_valid_cidr; static PyObject *const_tuple_str_plain_r_str_plain_tried_encodings_str_plain_encoding_tuple; static PyObject *const_str_digest_5adee267b0face4c5905392da24f4ab2; static PyObject *const_str_plain_new_scheme; static PyObject *const_str_plain_string_ip; static PyObject *const_str_digest_e7f6df048edbb5552391880581fa119f; static PyObject *const_str_digest_7b19f8e942363720eb2e2ce5f0a6883b; static PyObject *const_str_digest_617ba2f08a6d012d66376bfa8ff64fce; extern PyObject *const_tuple_str_plain___version___tuple; extern PyObject *const_str_plain_ipaddr; static PyObject *const_str_digest_3099c2d8be74fef8b00dbccbdef4b6a8; extern PyObject *const_str_plain_parse_header_links; extern PyObject *const_str_plain_name; extern PyObject *const_str_plain_internetSettings; extern PyObject *const_str_plain_endswith; static PyObject *const_str_plain__parse_list_header; extern PyObject *const_str_plain_proxy; extern PyObject *const_str_plain_exceptions; extern PyObject *const_str_plain_getproxies; static PyObject *const_tuple_str_plain_mask_str_plain_bits_tuple; extern PyObject *const_str_plain_contextmanager; extern PyObject *const_str_plain_False; extern PyObject *const_int_pos_4294967295; static PyObject *const_str_plain_string_network; extern PyObject *const_str_digest_c075052d723d6707083e869a0e3659bb; extern PyObject *const_int_0; static PyObject *const_tuple_str_digest_8eacfd2bc1c4b20bf1908af01d22ac85_tuple; static PyObject *const_tuple_str_plain_string_network_str_plain_mask_tuple; static PyObject *const_tuple_str_plain_obj_str_plain_name_tuple; extern PyObject *const_str_plain_Accept; static PyObject *const_str_plain_items_to_strip; extern PyObject *const_str_plain_cookies; extern PyObject *const_str_digest_db35ab94a03c3cbeb13cbe2a1d728b77; static PyObject *const_str_digest_4b870a3f036b48adabf651d010747cee; extern PyObject *const_str_plain_to_native_string; static PyObject *const_tuple_str_plain_cj_str_plain_cookie_dict_tuple; static PyObject *const_str_digest_2dbf45cefe6a858ae4c9e330816cee35; static PyObject *const_str_plain_unquote_unreserved; extern PyObject *const_tuple_str_chr_61_int_pos_1_tuple; extern PyObject *const_int_pos_4; extern PyObject *const_str_plain_no_proxy; extern PyObject *const_tuple_str_empty_str_empty_tuple; extern PyObject *const_str_plain_parse_dict_header; static PyObject *const_tuple_str_plain_gzip_str_plain_deflate_tuple; extern PyObject *const_str_plain___cached__; extern PyObject *const_tuple_type_OSError_type_OSError_tuple; static PyObject *const_str_digest_24e7db13fab79285a047bc34f1c39262; static PyObject *const_str_plain_raise_errors; extern PyObject *const_tuple_none_tuple; extern PyObject *const_str_plain_prepend_scheme_if_needed; extern PyObject *const_str_plain_basestring; extern PyObject *const_str_plain_basename; extern PyObject *const_str_plain_password; extern PyObject *const_str_plain_winreg; static PyObject *const_str_digest_b92226bee77e9ca773ad5eaea1d64ab0; extern PyObject *const_int_pos_1; extern PyObject *const_str_plain_replace; extern PyObject *const_str_plain_port; static PyObject *const_str_digest_633c190f003b01b3105e5821e352a68c; static PyObject *const_str_plain_netrc_path; extern PyObject *const_str_digest_7cb7e1a5659547478f12d8fe755efd75; static PyObject *const_str_digest_73cc92cfb8c82d43e0ee72f2929025a1; extern PyObject *const_str_plain_HKEY_CURRENT_USER; static PyObject *const_tuple_5fe68b8457838382171ee629cac54bb4_tuple; extern PyObject *const_str_plain_QueryValueEx; extern PyObject *const_tuple_str_dot_str_digest_e56abf9379492360b5ea0226e2912c30_tuple; static PyObject *const_tuple_str_plain_string_str_plain_slice_length_str_plain_pos_tuple; extern PyObject *const_str_plain_url; static PyObject *const_tuple_2a257042fbd9954d55c1aed7a7571073_tuple; static PyObject *const_str_digest_b0baaa3f659b994c4febe715eb88463a; extern PyObject *const_str_plain_get_auth_from_url; static PyObject *const_str_digest_69f2adf41bd07f39ecb3d747da462d8c; static PyObject *const_tuple_str_plain_netrc_str_plain_NetrcParseError_tuple; extern PyObject *const_str_plain_format; extern PyObject *const_str_plain_DEFAULT_CA_BUNDLE_PATH; extern PyObject *const_str_plain_find; extern PyObject *const_str_plain_to_key_val_list; extern PyObject *const_str_plain_pat; extern PyObject *const_str_plain_proxy_bypass_registry; static PyObject *const_str_digest_09007fc08d59704ed0ea4afa4db50241; static PyObject *const_str_plain_params_dict; static PyObject *const_str_digest_633e1705da3559f30dbd6412a648a83b; extern PyObject *const_str_digest_a05fa8f67e9c342eb59afe566750507b; extern PyObject *const_str_digest_3f6240938cc8b4c3691344def7c310a8; extern PyObject *const_str_plain_ProxyOverride; extern PyObject *const_str_plain_string; extern PyObject *const_slice_int_pos_1_none_none; extern PyObject *const_str_plain___file__; static PyObject *const_tuple_str_digest_8d72d6891e854dcc1d8a580c249abf5e_tuple; static PyObject *const_str_plain_parse_list_header; extern PyObject *const_str_plain_h; extern PyObject *const_str_plain_urlparts; static PyObject *const_tuple_ae91a9bc83f1e6ad945b73a7b60e1b53_tuple; extern PyObject *const_tuple_str_digest_c245c8a772b3a33119deac8565a08f57_str_chr_34_tuple; extern PyObject *const_str_plain_struct; extern PyObject *const_str_plain_unpack; extern PyObject *const_tuple_str_chr_44_tuple; extern PyObject *const_str_plain_seek; static PyObject *const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple; extern PyObject *const_str_plain_fragment; static PyObject *const_str_plain_netaddr; extern PyObject *const_str_chr_37; extern PyObject *const_str_chr_61; extern PyObject *const_str_plain_charset; extern PyObject *const_str_plain_strip; extern PyObject *const_str_plain_expanduser; extern PyObject *const_str_plain_proxyEnable; static PyObject *const_str_digest_4dea33ab41a9c08afce0ac23d14eb3d3; extern PyObject *const_str_digest_e56abf9379492360b5ea0226e2912c30; extern PyObject *const_str_plain_fstat; static PyObject *const_str_digest_ffd4deba90c7d9d72e05095729245504; extern PyObject *const_str_plain_getproxies_environment; static PyObject *const_str_digest_8e8420510c76a0dda80114a4b6e7f520; extern PyObject *const_str_plain_platform; extern PyObject *const_tuple_str_plain_d_tuple; static PyObject *const_tuple_6f74c6275de1e86f02f14e9991c5056f_tuple; static PyObject *const_tuple_43ae09f339ad89ed456a776f8a9b1b10_tuple; extern PyObject *const_str_chr_62; static PyObject *const_str_plain_get_encodings_from_content; extern PyObject *const_str_plain_urlparse; static PyObject *const_slice_none_none_int_pos_2; static PyObject *const_str_plain_slice_length; extern PyObject *const_str_digest_c17f72dfbfead5020b880ad5af8b007d; static PyObject *const_str_digest_344ba9dacff6f807121d534630f45272; static PyObject *const_str_digest_8d72d6891e854dcc1d8a580c249abf5e; static PyObject *const_str_plain__netrc; extern PyObject *const_str_digest_141f53ac830b1d16e6fa74a381d6e6a2; extern PyObject *const_str_plain_value; extern PyObject *const_str_plain_tmp; static PyObject *const_str_plain_login_i; static PyObject *const_tuple_2470b89bf3571ca0704d56dd3db8acf3_tuple; static PyObject *const_str_plain_authenticators; extern PyObject *const_str_digest_b737658f4b2da5ff2ae42c0fba5b6033; static PyObject *const_str_digest_bdc973209d43c49959b107e9d3bc389e; extern PyObject *const_str_plain_all; extern PyObject *const_str_plain_netloc; extern PyObject *const_tuple_str_chr_37_tuple; extern PyObject *const_str_chr_64; static PyObject *const_str_plain_loc; extern PyObject *const_str_plain_mask; extern PyObject *const_str_plain_BOM_UTF16_BE; extern PyObject *const_str_plain_integer_types; static PyObject *const_str_plain_bypass; extern PyObject *const_str_digest_efc21bf644358c9c1d2e70e361873562; extern PyObject *const_str_plain_structures; extern PyObject *const_slice_int_neg_1_none_none; static PyObject *const_str_plain__CLEAN_HEADER_REGEX_STR; extern PyObject *const_str_plain_errors; static PyObject *const_tuple_5e6b97aec93c269b44a66b105fdf55e1_tuple; static PyObject *const_str_plain_get_proxy; static PyObject *const_tuple_52624af42ecbb314254b11bf476c64ba_tuple; static PyObject *const_str_digest_c1ddfb2dd740866a4f5e6954adec3a4f; extern PyObject *const_str_plain_error; extern PyObject *const_str_plain_tried_encodings; extern PyObject *const_str_plain_ip; static PyObject *const_str_plain_pragma_re; static PyObject *const_str_plain_dotted_netmask; extern PyObject *const_str_plain_decode; extern PyObject *const_str_plain_pack; extern PyObject *const_str_plain_default_headers; extern PyObject *const_str_plain_k; extern PyObject *const_slice_none_int_pos_1_none; extern PyObject *const_str_plain_f; static PyObject *const_str_digest_8400c7a83e662164e9e46828dcc11a7b; extern PyObject *const_str_plain_UnrewindableBodyError; extern PyObject *const_str_plain_I; static PyObject *const_str_digest_be9264c9f206db662c06c9523361ff13; extern PyObject *const_str_plain_upper; extern PyObject *const_slice_none_int_pos_3_none; extern PyObject *const_str_plain__body_position; static PyObject *const_tuple_38864f8d4d244f4757f65da48d80682f_tuple; extern PyObject *const_str_plain_text; extern PyObject *const_dict_c1d9484056262b621ddfdb207e4e086d; static PyObject *const_str_plain_ri; extern PyObject *const_str_plain_member; extern PyObject *const_str_plain_BOM_UTF8; extern PyObject *const_str_plain_parsed; static PyObject *const_tuple_str_plain_url_str_plain_no_proxy_tuple; extern PyObject *const_slice_none_int_pos_4_none; extern PyObject *const_tuple_str_plain_parse_http_list_tuple; extern PyObject *const_str_digest_a166d0e20cf23102cf939cef62c22331; extern PyObject *const_str_plain_gzip; extern PyObject *const_str_plain_safe; static PyObject *const_tuple_str_plain_value_str_plain_is_filename_tuple; extern PyObject *const_str_plain_InvalidHeader; static PyObject *const_str_plain_NETRC_FILES; extern PyObject *const_str_plain_body_seek; extern PyObject *const_str_plain_d; extern PyObject *const_str_digest_14bf142caba56578f1c00aab6f48a798; extern PyObject *const_str_plain_FileModeWarning; static PyObject *const_str_digest_545c84652c0f941c3ad38f5caba46e64; extern PyObject *const_str_chr_47; static PyObject *const_str_digest_243581530d83f357b8f6ab42fe354711; extern PyObject *const_str_plain_sys; extern PyObject *const_str_plain_io; static PyObject *const_str_digest_f884b70cb128e6c16249d62e69d434c1; static PyObject *const_str_digest_e5a6d953019a662711f922b2f1ebe274; extern PyObject *const_str_plain_parse_http_list; extern PyObject *const_str_plain_socket; extern PyObject *const_str_plain_findall; static PyObject *const_str_digest_60b1cdb7617c4cf1bf768a49706d4a84; extern PyObject *const_str_plain_decoder; extern PyObject *const_str_plain_hostname; extern PyObject *const_str_plain_deflate; extern PyObject *const_str_plain_uri; extern PyObject *const_tuple_str_chr_42_str_digest_548f8d37f9a611777eb26a7105ecad09_tuple; extern PyObject *const_str_plain_key; static PyObject *const_str_plain_replace_chars; extern PyObject *const_slice_int_pos_2_none_none; extern PyObject *const_str_plain_cookiejar_from_dict; extern PyObject *const_bytes_chr_58; static PyObject *const_str_digest_d681723024b376071b1e04f3f1be1da8; extern PyObject *const_str_digest_994b331706f7b8213e511b4daaa43bc4; static PyObject *const_tuple_str_plain_value_str_plain_result_str_plain_item_tuple; extern PyObject *const_str_plain_final; extern PyObject *const_str_plain_compat; extern PyObject *const_str_plain_ascii; extern PyObject *const_str_empty; static PyObject *const_str_digest_ede6fb45eb93b880b7742ed08cef9cc9; static PyObject *const_tuple_str_digest_8f7eb4fe1e52fc4de60fd5e904266c1d_str_plain__netrc_tuple; extern PyObject *const_tuple_type_ImportError_type_AttributeError_tuple; static PyObject *const_tuple_121b5dd8ca49d790b0b5d8abdf6387e1_tuple; static PyObject *const_str_digest_a017e4a450bc2a6987960f048b1b3f70; extern PyObject *const_str_plain_result; extern PyObject *const_str_plain_test; static PyObject *const_frozenset_f8d83c6b96845889ba633997582e29e0; static PyObject *const_str_plain_total_length; extern PyObject *const_dict_50cbed4fd0e1ba2459c2305886c6197e; extern PyObject *const_str_plain_bytes; static PyObject *const_str_digest_616a6ccdd2064867296afe3263b28e08; extern PyObject *const_str_plain_prefix; extern PyObject *const_str_digest_fe2123f8a6a4c2d83daf45621dede669; extern PyObject *const_str_angle_local; extern PyObject *const_str_plain__internal_utils; extern PyObject *const_int_neg_1; static PyObject *const_str_plain_add_dict_to_cookiejar; extern PyObject *const_str_plain_rv; static PyObject *const_str_plain_network; extern PyObject *const_str_plain_scheme; extern PyObject *const_str_chr_0; static PyObject *const_str_plain__null3; static PyObject *const_tuple_79f7f397481c613462364a9198237357_tuple; static PyObject *const_str_plain_host_with_port; extern PyObject *const_str_plain_body; static PyObject *const_tuple_tuple_str_plain_gzip_str_plain_deflate_tuple_tuple; extern PyObject *const_str_plain_pos; extern PyObject *const_str_plain_re; extern PyObject *const_str_plain___doc__; extern PyObject *const_str_plain_proxy_bypass; static PyObject *const_tuple_6d587f58396c7f11b2a6a7c7dc67b046_tuple; extern PyObject *const_str_plain_data; extern PyObject *const_tuple_str_plain_ascii_tuple; extern PyObject *const_str_plain___len__; extern PyObject *const_str_plain_warnings; extern PyObject *const_str_plain_BOM_UTF16_LE; extern PyObject *const_str_plain_ProxyEnable; extern PyObject *const_str_digest_b9c4baf879ebd882d40843df3a4dead7; extern PyObject *const_str_plain_item; extern PyObject *const_str_digest_aecd880ca3bccf51d81538b7916eb8f3; extern PyObject *const_str_plain_guess_json_utf; extern PyObject *const_str_plain_content_type; extern PyObject *const_str_plain_old_value; static PyObject *const_str_digest_3e84da5544c66431c97869ce316fd886; static PyObject *const_str_plain_NetrcParseError; static PyObject *const_str_digest_f26a12f32523001a7d5f29f1d0a37c9a; static PyObject *const_str_digest_9ecf00231f13a299b43c075c61419702; static PyObject *const_str_digest_52a35a07391be97e45602ad35153cce9; static PyObject *const_str_plain_get_unicode_from_response; extern PyObject *const_tuple_empty; extern PyObject *const_str_space; extern PyObject *const_str_digest_8a16d46dcd95163b9cccd3779fc694ad; static PyObject *const_str_digest_70d428cefa5ab579db6f38d2ccfd6785; extern PyObject *const_str_plain_append; extern PyObject *const_str_plain_tell; extern PyObject *const_str_chr_92; extern PyObject *const_str_plain_compile; static PyObject *const_str_digest_bacd6a583aa3decef66f6b830f9ae016; extern PyObject *const_str_plain_b; extern PyObject *const_str_plain_split; static PyObject *const_str_plain_default_user_agent; static PyObject *const_str_plain_is_filename; extern PyObject *const_str_plain_cookie_dict; extern PyObject *const_tuple_str_space_str_empty_tuple; extern PyObject *const_str_plain_iter_slices; extern PyObject *const_str_plain_content; extern PyObject *const_str_plain_val; static PyObject *const_str_plain_nullcount; extern PyObject *const_str_plain_CaseInsensitiveDict; extern PyObject *const_str_plain_exists; extern PyObject *const_str_plain_requote_uri; extern PyObject *const_str_digest_d1c9bee04bd0a9c88e6c11d7c3b4ffd8; static PyObject *const_str_digest_dcefe0e55549f5b76ec8dce27f80c3f5; extern PyObject *const_str_plain_c; extern PyObject *const_str_digest_c245c8a772b3a33119deac8565a08f57; extern PyObject *const_tuple_str_plain_all_tuple; extern PyObject *const_str_plain_iterator; extern PyObject *const_tuple_str_plain_host_tuple; static PyObject *const_str_digest_fabc8a5138721af131e7287fc576bbb6; extern PyObject *const_str_plain_UnsupportedOperation; static PyObject *const_tuple_str_plain_certs_tuple; static PyObject *const_tuple_str_digest_7b19f8e942363720eb2e2ce5f0a6883b_tuple; static PyObject *const_str_digest_13401ef98af5e6a420cb6ea04df8346b; extern PyObject *const_str_plain_codecs; extern PyObject *const_str_plain_chunk; static PyObject *const_str_digest_c68418a4fc9bafa1aad7994602a616fd; static PyObject *const_tuple_str_plain_string_ip_tuple; static PyObject *const_tuple_str_digest_d51435db5366bc56f56795c27a8b5c68_tuple; extern PyObject *const_str_plain_BOM_UTF32_LE; extern PyObject *const_str_plain_get_environ_proxies; extern PyObject *const_tuple_str_chr_47_tuple; extern PyObject *const_str_plain_extract_zipped_paths; extern PyObject *const_str_plain_Mapping; static PyObject *const_str_digest_5f1a5ad79ba73300c045600e1b62e8ce; static PyObject *const_tuple_str_digest_d1c9bee04bd0a9c88e6c11d7c3b4ffd8_tuple; extern PyObject *const_str_plain_rsplit; extern PyObject *const_str_plain_urlunparse; static PyObject *const_str_digest_a03c53ace72132e42f7fc75ef0d2782a; extern PyObject *const_str_plain_get; extern PyObject *const_str_plain_Connection; static PyObject *const_str_plain_charset_re; extern PyObject *const_str_plain_win32; extern PyObject *const_tuple_bytes_empty_tuple; static PyObject *const_str_digest_8eacfd2bc1c4b20bf1908af01d22ac85; extern PyObject *const_str_plain_warn; static PyObject *const_str_plain__null2; static PyObject *const_str_plain_env_name; static PyObject *const_str_digest_7e88a30e97eda1df450a724bcbdb9060; extern PyObject *const_str_plain_stream_decode_response_unicode; extern PyObject *const_str_plain_links; static PyObject *const_str_plain_certs; static PyObject *const_str_plain_archive; extern PyObject *const_str_chr_60; static PyObject *const_str_plain__null; extern PyObject *const_tuple_false_tuple; static PyObject *const_str_digest_f37f0578a1da03ee88da30f61ab79839; extern PyObject *const_str_plain___exit__; static PyObject *const_str_digest_2a87f67f4efa77049ff1e8df07d74298; extern PyObject *const_slice_int_pos_1_int_neg_1_none; static PyObject *const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple; extern PyObject *const_str_plain_tempfile; static PyObject *const_str_digest_11f748942711d9992e88d543414bb2c0; static PyObject *const_str_digest_8f7eb4fe1e52fc4de60fd5e904266c1d; extern PyObject *const_str_plain_link; extern PyObject *const_str_plain_bits; extern PyObject *const_str_plain_items; extern PyObject *const_tuple_str_plain_no_proxy_tuple; static PyObject *const_str_plain__CLEAN_HEADER_REGEX_BYTE; extern PyObject *const_str_plain_param; static PyObject *const_str_digest_a438b9a3da6b12037fbd2eb6dc898651; extern PyObject *const_str_plain___enter__; static PyObject *const_tuple_str_plain_cookiejar_from_dict_tuple; extern PyObject *const_str_plain_join; static PyObject *const_str_plain_dict_from_cookiejar; extern PyObject *const_str_chr_63; static PyObject *const_tuple_str_digest_a438b9a3da6b12037fbd2eb6dc898651_tuple; extern PyObject *const_tuple_type_AttributeError_type_TypeError_tuple; static PyObject *const_str_plain_proxy_keys; static PyObject *const_str_digest_ad1efbb9947826891eabdc18f113510a; extern PyObject *const_str_dot; extern PyObject *const_str_plain_guess_filename; static PyObject *const_str_digest_d764dbd04e0956eeec5b07c1c4d16910; extern PyObject *const_str_plain_quote; extern PyObject *const_str_plain_environ; extern PyObject *const_str_plain_len; extern PyObject *const_tuple_str_chr_64_int_pos_1_tuple; static PyObject *const_str_digest_c5a95eac85f8ee3baa86014b58b79f79; extern PyObject *const_str_plain_extract; extern PyObject *const_tuple_str_digest_7cb7e1a5659547478f12d8fe755efd75_str_chr_92_tuple; extern PyObject *const_tuple_str_plain_to_native_string_tuple; extern PyObject *const_str_chr_44; extern PyObject *const_str_plain_host; extern PyObject *const_str_plain_get_netrc_auth; static PyObject *const_str_plain_proxy_key; static PyObject *const_tuple_2119b439d8cc7db72f0170affdf7cb86_tuple; static PyObject *const_str_plain_isalnum; extern PyObject *const_str_plain_int; static PyObject *const_str_plain_value_changed; static PyObject *const_str_digest_189afa2d940ee0e4886971fafd3b507b; extern PyObject *const_tuple_str_chr_63_str_dot_tuple; extern PyObject *const_str_plain_DeprecationWarning; static PyObject *const_tuple_d262b04787f9cf6e376398f343272793_tuple; extern PyObject *const_str_plain_query; static PyObject *const_str_plain_current_position; static PyObject *const_str_plain_zipfile; extern PyObject *const_str_plain_parts; extern PyObject *const_str_plain_tokens; static PyObject *const_bytes_digest_b353d8ef7ea303c0e0b70b8c221a66c7; static PyObject *const_str_plain__parse_content_type_header; extern PyObject *const_str_plain_username; extern PyObject *const_str_plain_r; static PyObject *const_str_plain_netrc; extern PyObject *const_str_plain_should_bypass_proxies; extern PyObject *const_str_plain_gaierror; extern PyObject *const_str_plain_prepared_request; extern PyObject *const_str_plain_match; static PyObject *const_str_digest_177214e270a1816e1ba3c0c254370090; static PyObject *const_tuple_c629ea22e6e8a5f7b236d28023a11721_tuple; extern PyObject *const_str_plain_check_header_validity; static PyObject *const_str_plain_namelist; extern PyObject *const_str_plain_encoding; extern PyObject *const_str_plain_count; extern PyObject *const_str_plain___version__; static PyObject *const_str_digest_075a5f4a52e870f40cb15bcf9188e7b1; static PyObject *const_tuple_str_plain_cj_str_plain_cookie_dict_str_plain_cookie_tuple; static PyObject *const_str_digest_2e4afc658f4dc023360afc83fde6cccd; static PyObject *const_str_digest_da3a414f588d8a57c8277840d0c12e68; extern PyObject *const_str_plain__winreg; static PyObject *const_str_plain_cj; extern PyObject *const_str_plain_o; extern PyObject *const_str_plain_OrderedDict; static PyObject *const_str_digest_bbd93decf06d714f543f63648bff4b76; extern PyObject *const_str_plain_select_proxy; extern PyObject *const_str_plain_header; extern PyObject *const_tuple_str_chr_61_tuple; extern PyObject *const_str_digest_913ae8f3439742e034c09e3f599385fd; static PyObject *const_tuple_str_plain_headers_str_plain_content_type_str_plain_params_tuple; extern PyObject *const_str_digest_e32643bbdc087df0169bdbc4edb2d9da; extern PyObject *const_str_angle_lambda; extern PyObject *const_bytes_empty; extern PyObject *const_str_plain_urldefragauth; static PyObject *const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_host_tuple; static PyObject *const_str_digest_b0d28f9191843ba1e4ad9123f8d36098; extern PyObject *const_str_plain_unquote; extern PyObject *const_str_plain_netmask; static PyObject *const_tuple_7a9d43821ce5fddc84215fa4f4ac71c1_tuple; extern PyObject *const_str_plain_rewind_body; static PyObject *const_str_plain_is_ipv4_address; extern PyObject *const_str_plain_params; static PyObject *const_tuple_str_chr_59_int_pos_1_tuple; static PyObject *const_str_plain_is_zipfile; static PyObject *const_str_plain_splitstr; static PyObject *const_tuple_f6ac204f4851a040546c841167493b05_tuple; extern PyObject *const_str_plain_get_encoding_from_headers; extern PyObject *const_str_plain_auth; static PyObject *const_str_plain_getincrementaldecoder; extern PyObject *const_str_plain_super_len; extern PyObject *const_str_chr_34; extern PyObject *const_int_pos_3; static PyObject *const_tuple_str_digest_d681723024b376071b1e04f3f1be1da8_tuple; extern PyObject *const_str_plain_proxyOverride; extern PyObject *const_tuple_str_plain_name_tuple; static PyObject *const_str_digest_d51435db5366bc56f56795c27a8b5c68; extern PyObject *const_str_digest_548f8d37f9a611777eb26a7105ecad09; static PyObject *const_str_digest_db10df5befb6234e2efb56544ebb1363; static PyObject *const_str_digest_38d2ee33ae615a511ee96aa02a599e37; extern PyObject *const_str_chr_59; static PyObject *const_str_plain_extracted_path; static PyObject *const_str_digest_848ac26b309d45ee0689be5d2d96b40a; static PyObject *const_str_plain_unquote_header_value; extern PyObject *const_int_pos_2; static PyObject *const_str_plain_net; extern PyObject *const_str_plain_obj; static PyObject *const_str_plain_inet_ntoa; static PyObject *const_str_digest_9299d7c2bed66a7e67fe9b9223b871e1; extern PyObject *const_str_plain_st_size; static PyObject *const_slice_int_pos_1_none_int_pos_2; static PyObject *const_str_plain_proxy_ip; extern PyObject *const_str_plain_cookie; extern PyObject *const_slice_int_0_int_pos_2_none; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_str_plain_sample = UNSTREAM_STRING( &constant_bin[ 259866 ], 6, 1 ); const_str_plain_gettempdir = UNSTREAM_STRING( &constant_bin[ 1091715 ], 10, 1 ); const_str_digest_6c278c9666d862c6197969556b130f49 = UNSTREAM_STRING( &constant_bin[ 1091725 ], 168, 0 ); const_str_plain_index_of_equals = UNSTREAM_STRING( &constant_bin[ 1091893 ], 15, 1 ); const_tuple_bytes_digest_b353d8ef7ea303c0e0b70b8c221a66c7_tuple = PyTuple_New( 1 ); const_bytes_digest_b353d8ef7ea303c0e0b70b8c221a66c7 = UNSTREAM_BYTES( &constant_bin[ 1091908 ], 15 ); PyTuple_SET_ITEM( const_tuple_bytes_digest_b353d8ef7ea303c0e0b70b8c221a66c7_tuple, 0, const_bytes_digest_b353d8ef7ea303c0e0b70b8c221a66c7 ); Py_INCREF( const_bytes_digest_b353d8ef7ea303c0e0b70b8c221a66c7 ); const_str_digest_fc3590078ab788a5bd8630502b95ef86 = UNSTREAM_STRING( &constant_bin[ 1091923 ], 59, 0 ); const_tuple_str_plain_url_str_plain_parsed_str_plain_auth_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_url_str_plain_parsed_str_plain_auth_tuple, 0, const_str_plain_url ); Py_INCREF( const_str_plain_url ); PyTuple_SET_ITEM( const_tuple_str_plain_url_str_plain_parsed_str_plain_auth_tuple, 1, const_str_plain_parsed ); Py_INCREF( const_str_plain_parsed ); PyTuple_SET_ITEM( const_tuple_str_plain_url_str_plain_parsed_str_plain_auth_tuple, 2, const_str_plain_auth ); Py_INCREF( const_str_plain_auth ); const_tuple_str_digest_8400c7a83e662164e9e46828dcc11a7b_tuple = PyTuple_New( 1 ); const_str_digest_8400c7a83e662164e9e46828dcc11a7b = UNSTREAM_STRING( &constant_bin[ 1091982 ], 33, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_8400c7a83e662164e9e46828dcc11a7b_tuple, 0, const_str_digest_8400c7a83e662164e9e46828dcc11a7b ); Py_INCREF( const_str_digest_8400c7a83e662164e9e46828dcc11a7b ); const_tuple_str_plain_data_str_plain_sample_str_plain_nullcount_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_data_str_plain_sample_str_plain_nullcount_tuple, 0, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_str_plain_data_str_plain_sample_str_plain_nullcount_tuple, 1, const_str_plain_sample ); Py_INCREF( const_str_plain_sample ); const_str_plain_nullcount = UNSTREAM_STRING( &constant_bin[ 1092015 ], 9, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_data_str_plain_sample_str_plain_nullcount_tuple, 2, const_str_plain_nullcount ); Py_INCREF( const_str_plain_nullcount ); const_str_plain_zip_file = UNSTREAM_STRING( &constant_bin[ 1092024 ], 8, 1 ); const_str_digest_2a6ee7e480f9d5987d5306e778a2dadb = UNSTREAM_STRING( &constant_bin[ 1092032 ], 6, 0 ); const_str_digest_01155e5cabe077e90821b61922c8a769 = UNSTREAM_STRING( &constant_bin[ 1092038 ], 293, 0 ); const_tuple_str_plain_prepared_request_str_plain_body_seek_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_prepared_request_str_plain_body_seek_tuple, 0, const_str_plain_prepared_request ); Py_INCREF( const_str_plain_prepared_request ); PyTuple_SET_ITEM( const_tuple_str_plain_prepared_request_str_plain_body_seek_tuple, 1, const_str_plain_body_seek ); Py_INCREF( const_str_plain_body_seek ); const_str_plain_address_in_network = UNSTREAM_STRING( &constant_bin[ 1092331 ], 18, 1 ); const_tuple_b5f62889f654ccd6d69e43d68715d30f_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_b5f62889f654ccd6d69e43d68715d30f_tuple, 0, const_str_plain_uri ); Py_INCREF( const_str_plain_uri ); PyTuple_SET_ITEM( const_tuple_b5f62889f654ccd6d69e43d68715d30f_tuple, 1, const_str_plain_parts ); Py_INCREF( const_str_plain_parts ); PyTuple_SET_ITEM( const_tuple_b5f62889f654ccd6d69e43d68715d30f_tuple, 2, const_str_plain_i ); Py_INCREF( const_str_plain_i ); PyTuple_SET_ITEM( const_tuple_b5f62889f654ccd6d69e43d68715d30f_tuple, 3, const_str_plain_h ); Py_INCREF( const_str_plain_h ); PyTuple_SET_ITEM( const_tuple_b5f62889f654ccd6d69e43d68715d30f_tuple, 4, const_str_plain_c ); Py_INCREF( const_str_plain_c ); const_str_plain_no_proxy_arg = UNSTREAM_STRING( &constant_bin[ 1092349 ], 12, 1 ); const_tuple_str_digest_5f1a5ad79ba73300c045600e1b62e8ce_tuple = PyTuple_New( 1 ); const_str_digest_5f1a5ad79ba73300c045600e1b62e8ce = UNSTREAM_STRING( &constant_bin[ 1091908 ], 15, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_5f1a5ad79ba73300c045600e1b62e8ce_tuple, 0, const_str_digest_5f1a5ad79ba73300c045600e1b62e8ce ); Py_INCREF( const_str_digest_5f1a5ad79ba73300c045600e1b62e8ce ); const_str_plain_from_key_val_list = UNSTREAM_STRING( &constant_bin[ 1092361 ], 17, 1 ); const_str_plain_UNRESERVED_SET = UNSTREAM_STRING( &constant_bin[ 1092378 ], 14, 1 ); const_str_plain_ZipFile = UNSTREAM_STRING( &constant_bin[ 1092392 ], 7, 1 ); const_str_plain_dict_to_sequence = UNSTREAM_STRING( &constant_bin[ 1092399 ], 16, 1 ); const_tuple_int_0_int_pos_2_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_int_0_int_pos_2_tuple, 0, const_int_0 ); Py_INCREF( const_int_0 ); PyTuple_SET_ITEM( const_tuple_int_0_int_pos_2_tuple, 1, const_int_pos_2 ); Py_INCREF( const_int_pos_2 ); const_str_plain_safe_with_percent = UNSTREAM_STRING( &constant_bin[ 1092415 ], 17, 1 ); const_str_plain_safe_without_percent = UNSTREAM_STRING( &constant_bin[ 1092432 ], 20, 1 ); const_str_plain_set_environ = UNSTREAM_STRING( &constant_bin[ 1092452 ], 11, 1 ); const_tuple_str_digest_3e84da5544c66431c97869ce316fd886_tuple = PyTuple_New( 1 ); const_str_digest_3e84da5544c66431c97869ce316fd886 = UNSTREAM_STRING( &constant_bin[ 1092463 ], 5, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_3e84da5544c66431c97869ce316fd886_tuple, 0, const_str_digest_3e84da5544c66431c97869ce316fd886 ); Py_INCREF( const_str_digest_3e84da5544c66431c97869ce316fd886 ); const_str_plain_xml_re = UNSTREAM_STRING( &constant_bin[ 1092468 ], 6, 1 ); const_str_plain_is_valid_cidr = UNSTREAM_STRING( &constant_bin[ 1092474 ], 13, 1 ); const_tuple_str_plain_r_str_plain_tried_encodings_str_plain_encoding_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_r_str_plain_tried_encodings_str_plain_encoding_tuple, 0, const_str_plain_r ); Py_INCREF( const_str_plain_r ); PyTuple_SET_ITEM( const_tuple_str_plain_r_str_plain_tried_encodings_str_plain_encoding_tuple, 1, const_str_plain_tried_encodings ); Py_INCREF( const_str_plain_tried_encodings ); PyTuple_SET_ITEM( const_tuple_str_plain_r_str_plain_tried_encodings_str_plain_encoding_tuple, 2, const_str_plain_encoding ); Py_INCREF( const_str_plain_encoding ); const_str_digest_5adee267b0face4c5905392da24f4ab2 = UNSTREAM_STRING( &constant_bin[ 1092487 ], 26, 0 ); const_str_plain_new_scheme = UNSTREAM_STRING( &constant_bin[ 1092513 ], 10, 1 ); const_str_plain_string_ip = UNSTREAM_STRING( &constant_bin[ 1092523 ], 9, 1 ); const_str_digest_e7f6df048edbb5552391880581fa119f = UNSTREAM_STRING( &constant_bin[ 1092532 ], 40, 0 ); const_str_digest_7b19f8e942363720eb2e2ce5f0a6883b = UNSTREAM_STRING( &constant_bin[ 1092572 ], 43, 0 ); const_str_digest_617ba2f08a6d012d66376bfa8ff64fce = UNSTREAM_STRING( &constant_bin[ 638914 ], 3, 0 ); const_str_digest_3099c2d8be74fef8b00dbccbdef4b6a8 = UNSTREAM_STRING( &constant_bin[ 1092615 ], 226, 0 ); const_str_plain__parse_list_header = UNSTREAM_STRING( &constant_bin[ 1092841 ], 18, 1 ); const_tuple_str_plain_mask_str_plain_bits_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_mask_str_plain_bits_tuple, 0, const_str_plain_mask ); Py_INCREF( const_str_plain_mask ); PyTuple_SET_ITEM( const_tuple_str_plain_mask_str_plain_bits_tuple, 1, const_str_plain_bits ); Py_INCREF( const_str_plain_bits ); const_str_plain_string_network = UNSTREAM_STRING( &constant_bin[ 1092859 ], 14, 1 ); const_tuple_str_digest_8eacfd2bc1c4b20bf1908af01d22ac85_tuple = PyTuple_New( 1 ); const_str_digest_8eacfd2bc1c4b20bf1908af01d22ac85 = UNSTREAM_STRING( &constant_bin[ 1092873 ], 43, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_8eacfd2bc1c4b20bf1908af01d22ac85_tuple, 0, const_str_digest_8eacfd2bc1c4b20bf1908af01d22ac85 ); Py_INCREF( const_str_digest_8eacfd2bc1c4b20bf1908af01d22ac85 ); const_tuple_str_plain_string_network_str_plain_mask_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_string_network_str_plain_mask_tuple, 0, const_str_plain_string_network ); Py_INCREF( const_str_plain_string_network ); PyTuple_SET_ITEM( const_tuple_str_plain_string_network_str_plain_mask_tuple, 1, const_str_plain_mask ); Py_INCREF( const_str_plain_mask ); const_tuple_str_plain_obj_str_plain_name_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_obj_str_plain_name_tuple, 0, const_str_plain_obj ); Py_INCREF( const_str_plain_obj ); PyTuple_SET_ITEM( const_tuple_str_plain_obj_str_plain_name_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name ); const_str_plain_items_to_strip = UNSTREAM_STRING( &constant_bin[ 1092916 ], 14, 1 ); const_str_digest_4b870a3f036b48adabf651d010747cee = UNSTREAM_STRING( &constant_bin[ 1092930 ], 213, 0 ); const_tuple_str_plain_cj_str_plain_cookie_dict_tuple = PyTuple_New( 2 ); const_str_plain_cj = UNSTREAM_STRING( &constant_bin[ 178521 ], 2, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_cj_str_plain_cookie_dict_tuple, 0, const_str_plain_cj ); Py_INCREF( const_str_plain_cj ); PyTuple_SET_ITEM( const_tuple_str_plain_cj_str_plain_cookie_dict_tuple, 1, const_str_plain_cookie_dict ); Py_INCREF( const_str_plain_cookie_dict ); const_str_digest_2dbf45cefe6a858ae4c9e330816cee35 = UNSTREAM_STRING( &constant_bin[ 1093143 ], 154, 0 ); const_str_plain_unquote_unreserved = UNSTREAM_STRING( &constant_bin[ 1093297 ], 18, 1 ); const_tuple_str_plain_gzip_str_plain_deflate_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_gzip_str_plain_deflate_tuple, 0, const_str_plain_gzip ); Py_INCREF( const_str_plain_gzip ); PyTuple_SET_ITEM( const_tuple_str_plain_gzip_str_plain_deflate_tuple, 1, const_str_plain_deflate ); Py_INCREF( const_str_plain_deflate ); const_str_digest_24e7db13fab79285a047bc34f1c39262 = UNSTREAM_STRING( &constant_bin[ 1093315 ], 37, 0 ); const_str_plain_raise_errors = UNSTREAM_STRING( &constant_bin[ 1093352 ], 12, 1 ); const_str_digest_b92226bee77e9ca773ad5eaea1d64ab0 = UNSTREAM_STRING( &constant_bin[ 1093364 ], 9, 0 ); const_str_digest_633c190f003b01b3105e5821e352a68c = UNSTREAM_STRING( &constant_bin[ 1093373 ], 2, 0 ); const_str_plain_netrc_path = UNSTREAM_STRING( &constant_bin[ 1093375 ], 10, 1 ); const_str_digest_73cc92cfb8c82d43e0ee72f2929025a1 = UNSTREAM_STRING( &constant_bin[ 1093385 ], 20, 0 ); const_tuple_5fe68b8457838382171ee629cac54bb4_tuple = PyTuple_New( 7 ); PyTuple_SET_ITEM( const_tuple_5fe68b8457838382171ee629cac54bb4_tuple, 0, const_str_plain_ip ); Py_INCREF( const_str_plain_ip ); const_str_plain_net = UNSTREAM_STRING( &constant_bin[ 3220 ], 3, 1 ); PyTuple_SET_ITEM( const_tuple_5fe68b8457838382171ee629cac54bb4_tuple, 1, const_str_plain_net ); Py_INCREF( const_str_plain_net ); PyTuple_SET_ITEM( const_tuple_5fe68b8457838382171ee629cac54bb4_tuple, 2, const_str_plain_ipaddr ); Py_INCREF( const_str_plain_ipaddr ); const_str_plain_netaddr = UNSTREAM_STRING( &constant_bin[ 1093405 ], 7, 1 ); PyTuple_SET_ITEM( const_tuple_5fe68b8457838382171ee629cac54bb4_tuple, 3, const_str_plain_netaddr ); Py_INCREF( const_str_plain_netaddr ); PyTuple_SET_ITEM( const_tuple_5fe68b8457838382171ee629cac54bb4_tuple, 4, const_str_plain_bits ); Py_INCREF( const_str_plain_bits ); PyTuple_SET_ITEM( const_tuple_5fe68b8457838382171ee629cac54bb4_tuple, 5, const_str_plain_netmask ); Py_INCREF( const_str_plain_netmask ); const_str_plain_network = UNSTREAM_STRING( &constant_bin[ 7663 ], 7, 1 ); PyTuple_SET_ITEM( const_tuple_5fe68b8457838382171ee629cac54bb4_tuple, 6, const_str_plain_network ); Py_INCREF( const_str_plain_network ); const_tuple_str_plain_string_str_plain_slice_length_str_plain_pos_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_string_str_plain_slice_length_str_plain_pos_tuple, 0, const_str_plain_string ); Py_INCREF( const_str_plain_string ); const_str_plain_slice_length = UNSTREAM_STRING( &constant_bin[ 1093412 ], 12, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_string_str_plain_slice_length_str_plain_pos_tuple, 1, const_str_plain_slice_length ); Py_INCREF( const_str_plain_slice_length ); PyTuple_SET_ITEM( const_tuple_str_plain_string_str_plain_slice_length_str_plain_pos_tuple, 2, const_str_plain_pos ); Py_INCREF( const_str_plain_pos ); const_tuple_2a257042fbd9954d55c1aed7a7571073_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_2a257042fbd9954d55c1aed7a7571073_tuple, 0, const_str_plain_o ); Py_INCREF( const_str_plain_o ); const_str_plain_total_length = UNSTREAM_STRING( &constant_bin[ 1093424 ], 12, 1 ); PyTuple_SET_ITEM( const_tuple_2a257042fbd9954d55c1aed7a7571073_tuple, 1, const_str_plain_total_length ); Py_INCREF( const_str_plain_total_length ); const_str_plain_current_position = UNSTREAM_STRING( &constant_bin[ 1093436 ], 16, 1 ); PyTuple_SET_ITEM( const_tuple_2a257042fbd9954d55c1aed7a7571073_tuple, 2, const_str_plain_current_position ); Py_INCREF( const_str_plain_current_position ); PyTuple_SET_ITEM( const_tuple_2a257042fbd9954d55c1aed7a7571073_tuple, 3, const_str_plain_fileno ); Py_INCREF( const_str_plain_fileno ); const_str_digest_b0baaa3f659b994c4febe715eb88463a = UNSTREAM_STRING( &constant_bin[ 1093452 ], 55, 0 ); const_str_digest_69f2adf41bd07f39ecb3d747da462d8c = UNSTREAM_STRING( &constant_bin[ 1093507 ], 396, 0 ); const_tuple_str_plain_netrc_str_plain_NetrcParseError_tuple = PyTuple_New( 2 ); const_str_plain_netrc = UNSTREAM_STRING( &constant_bin[ 1091976 ], 5, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_netrc_str_plain_NetrcParseError_tuple, 0, const_str_plain_netrc ); Py_INCREF( const_str_plain_netrc ); const_str_plain_NetrcParseError = UNSTREAM_STRING( &constant_bin[ 1093903 ], 15, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_netrc_str_plain_NetrcParseError_tuple, 1, const_str_plain_NetrcParseError ); Py_INCREF( const_str_plain_NetrcParseError ); const_str_digest_09007fc08d59704ed0ea4afa4db50241 = UNSTREAM_STRING( &constant_bin[ 1093918 ], 79, 0 ); const_str_plain_params_dict = UNSTREAM_STRING( &constant_bin[ 1093997 ], 11, 1 ); const_str_digest_633e1705da3559f30dbd6412a648a83b = UNSTREAM_STRING( &constant_bin[ 1094008 ], 129, 0 ); const_tuple_str_digest_8d72d6891e854dcc1d8a580c249abf5e_tuple = PyTuple_New( 1 ); const_str_digest_8d72d6891e854dcc1d8a580c249abf5e = UNSTREAM_STRING( &constant_bin[ 1094137 ], 36, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_8d72d6891e854dcc1d8a580c249abf5e_tuple, 0, const_str_digest_8d72d6891e854dcc1d8a580c249abf5e ); Py_INCREF( const_str_digest_8d72d6891e854dcc1d8a580c249abf5e ); const_str_plain_parse_list_header = UNSTREAM_STRING( &constant_bin[ 1092842 ], 17, 1 ); const_tuple_ae91a9bc83f1e6ad945b73a7b60e1b53_tuple = PyTuple_New( 9 ); PyTuple_SET_ITEM( const_tuple_ae91a9bc83f1e6ad945b73a7b60e1b53_tuple, 0, const_str_plain_value ); Py_INCREF( const_str_plain_value ); PyTuple_SET_ITEM( const_tuple_ae91a9bc83f1e6ad945b73a7b60e1b53_tuple, 1, const_str_plain_links ); Py_INCREF( const_str_plain_links ); const_str_plain_replace_chars = UNSTREAM_STRING( &constant_bin[ 1094173 ], 13, 1 ); PyTuple_SET_ITEM( const_tuple_ae91a9bc83f1e6ad945b73a7b60e1b53_tuple, 2, const_str_plain_replace_chars ); Py_INCREF( const_str_plain_replace_chars ); PyTuple_SET_ITEM( const_tuple_ae91a9bc83f1e6ad945b73a7b60e1b53_tuple, 3, const_str_plain_val ); Py_INCREF( const_str_plain_val ); PyTuple_SET_ITEM( const_tuple_ae91a9bc83f1e6ad945b73a7b60e1b53_tuple, 4, const_str_plain_url ); Py_INCREF( const_str_plain_url ); PyTuple_SET_ITEM( const_tuple_ae91a9bc83f1e6ad945b73a7b60e1b53_tuple, 5, const_str_plain_params ); Py_INCREF( const_str_plain_params ); PyTuple_SET_ITEM( const_tuple_ae91a9bc83f1e6ad945b73a7b60e1b53_tuple, 6, const_str_plain_link ); Py_INCREF( const_str_plain_link ); PyTuple_SET_ITEM( const_tuple_ae91a9bc83f1e6ad945b73a7b60e1b53_tuple, 7, const_str_plain_param ); Py_INCREF( const_str_plain_param ); PyTuple_SET_ITEM( const_tuple_ae91a9bc83f1e6ad945b73a7b60e1b53_tuple, 8, const_str_plain_key ); Py_INCREF( const_str_plain_key ); const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple = PyTuple_New( 15 ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 0, const_str_plain_quote ); Py_INCREF( const_str_plain_quote ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 1, const_str_plain_urlparse ); Py_INCREF( const_str_plain_urlparse ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 2, const_str_plain_bytes ); Py_INCREF( const_str_plain_bytes ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 3, const_str_plain_str ); Py_INCREF( const_str_plain_str ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 4, const_str_plain_OrderedDict ); Py_INCREF( const_str_plain_OrderedDict ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 5, const_str_plain_unquote ); Py_INCREF( const_str_plain_unquote ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 6, const_str_plain_getproxies ); Py_INCREF( const_str_plain_getproxies ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 7, const_str_plain_proxy_bypass ); Py_INCREF( const_str_plain_proxy_bypass ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 8, const_str_plain_urlunparse ); Py_INCREF( const_str_plain_urlunparse ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 9, const_str_plain_basestring ); Py_INCREF( const_str_plain_basestring ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 10, const_str_plain_integer_types ); Py_INCREF( const_str_plain_integer_types ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 11, const_str_plain_is_py3 ); Py_INCREF( const_str_plain_is_py3 ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 12, const_str_plain_proxy_bypass_environment ); Py_INCREF( const_str_plain_proxy_bypass_environment ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 13, const_str_plain_getproxies_environment ); Py_INCREF( const_str_plain_getproxies_environment ); PyTuple_SET_ITEM( const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple, 14, const_str_plain_Mapping ); Py_INCREF( const_str_plain_Mapping ); const_str_digest_4dea33ab41a9c08afce0ac23d14eb3d3 = UNSTREAM_STRING( &constant_bin[ 1094186 ], 102, 0 ); const_str_digest_ffd4deba90c7d9d72e05095729245504 = UNSTREAM_STRING( &constant_bin[ 1094288 ], 9, 0 ); const_str_digest_8e8420510c76a0dda80114a4b6e7f520 = UNSTREAM_STRING( &constant_bin[ 1094297 ], 47, 0 ); const_tuple_6f74c6275de1e86f02f14e9991c5056f_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_6f74c6275de1e86f02f14e9991c5056f_tuple, 0, const_str_plain_InvalidURL ); Py_INCREF( const_str_plain_InvalidURL ); PyTuple_SET_ITEM( const_tuple_6f74c6275de1e86f02f14e9991c5056f_tuple, 1, const_str_plain_InvalidHeader ); Py_INCREF( const_str_plain_InvalidHeader ); PyTuple_SET_ITEM( const_tuple_6f74c6275de1e86f02f14e9991c5056f_tuple, 2, const_str_plain_FileModeWarning ); Py_INCREF( const_str_plain_FileModeWarning ); PyTuple_SET_ITEM( const_tuple_6f74c6275de1e86f02f14e9991c5056f_tuple, 3, const_str_plain_UnrewindableBodyError ); Py_INCREF( const_str_plain_UnrewindableBodyError ); const_tuple_43ae09f339ad89ed456a776f8a9b1b10_tuple = PyTuple_New( 7 ); PyTuple_SET_ITEM( const_tuple_43ae09f339ad89ed456a776f8a9b1b10_tuple, 0, const_str_plain_url ); Py_INCREF( const_str_plain_url ); PyTuple_SET_ITEM( const_tuple_43ae09f339ad89ed456a776f8a9b1b10_tuple, 1, const_str_plain_scheme ); Py_INCREF( const_str_plain_scheme ); PyTuple_SET_ITEM( const_tuple_43ae09f339ad89ed456a776f8a9b1b10_tuple, 2, const_str_plain_netloc ); Py_INCREF( const_str_plain_netloc ); PyTuple_SET_ITEM( const_tuple_43ae09f339ad89ed456a776f8a9b1b10_tuple, 3, const_str_plain_path ); Py_INCREF( const_str_plain_path ); PyTuple_SET_ITEM( const_tuple_43ae09f339ad89ed456a776f8a9b1b10_tuple, 4, const_str_plain_params ); Py_INCREF( const_str_plain_params ); PyTuple_SET_ITEM( const_tuple_43ae09f339ad89ed456a776f8a9b1b10_tuple, 5, const_str_plain_query ); Py_INCREF( const_str_plain_query ); PyTuple_SET_ITEM( const_tuple_43ae09f339ad89ed456a776f8a9b1b10_tuple, 6, const_str_plain_fragment ); Py_INCREF( const_str_plain_fragment ); const_str_plain_get_encodings_from_content = UNSTREAM_STRING( &constant_bin[ 1094344 ], 26, 1 ); const_slice_none_none_int_pos_2 = PySlice_New( Py_None, Py_None, const_int_pos_2 ); const_str_digest_344ba9dacff6f807121d534630f45272 = UNSTREAM_STRING( &constant_bin[ 1043667 ], 22, 0 ); const_str_plain__netrc = UNSTREAM_STRING( &constant_bin[ 1094370 ], 6, 1 ); const_str_plain_login_i = UNSTREAM_STRING( &constant_bin[ 1094376 ], 7, 1 ); const_tuple_2470b89bf3571ca0704d56dd3db8acf3_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_2470b89bf3571ca0704d56dd3db8acf3_tuple, 0, const_str_plain_host ); Py_INCREF( const_str_plain_host ); PyTuple_SET_ITEM( const_tuple_2470b89bf3571ca0704d56dd3db8acf3_tuple, 1, const_str_plain_winreg ); Py_INCREF( const_str_plain_winreg ); PyTuple_SET_ITEM( const_tuple_2470b89bf3571ca0704d56dd3db8acf3_tuple, 2, const_str_plain_internetSettings ); Py_INCREF( const_str_plain_internetSettings ); PyTuple_SET_ITEM( const_tuple_2470b89bf3571ca0704d56dd3db8acf3_tuple, 3, const_str_plain_proxyEnable ); Py_INCREF( const_str_plain_proxyEnable ); PyTuple_SET_ITEM( const_tuple_2470b89bf3571ca0704d56dd3db8acf3_tuple, 4, const_str_plain_proxyOverride ); Py_INCREF( const_str_plain_proxyOverride ); PyTuple_SET_ITEM( const_tuple_2470b89bf3571ca0704d56dd3db8acf3_tuple, 5, const_str_plain_test ); Py_INCREF( const_str_plain_test ); const_str_plain_authenticators = UNSTREAM_STRING( &constant_bin[ 1094383 ], 14, 1 ); const_str_digest_bdc973209d43c49959b107e9d3bc389e = UNSTREAM_STRING( &constant_bin[ 1094397 ], 39, 0 ); const_str_plain_loc = UNSTREAM_STRING( &constant_bin[ 1449 ], 3, 1 ); const_str_plain_bypass = UNSTREAM_STRING( &constant_bin[ 679520 ], 6, 1 ); const_str_plain__CLEAN_HEADER_REGEX_STR = UNSTREAM_STRING( &constant_bin[ 1094436 ], 23, 1 ); const_tuple_5e6b97aec93c269b44a66b105fdf55e1_tuple = PyTuple_New( 10 ); PyTuple_SET_ITEM( const_tuple_5e6b97aec93c269b44a66b105fdf55e1_tuple, 0, const_str_plain_header ); Py_INCREF( const_str_plain_header ); PyTuple_SET_ITEM( const_tuple_5e6b97aec93c269b44a66b105fdf55e1_tuple, 1, const_str_plain_tokens ); Py_INCREF( const_str_plain_tokens ); PyTuple_SET_ITEM( const_tuple_5e6b97aec93c269b44a66b105fdf55e1_tuple, 2, const_str_plain_content_type ); Py_INCREF( const_str_plain_content_type ); PyTuple_SET_ITEM( const_tuple_5e6b97aec93c269b44a66b105fdf55e1_tuple, 3, const_str_plain_params ); Py_INCREF( const_str_plain_params ); PyTuple_SET_ITEM( const_tuple_5e6b97aec93c269b44a66b105fdf55e1_tuple, 4, const_str_plain_params_dict ); Py_INCREF( const_str_plain_params_dict ); PyTuple_SET_ITEM( const_tuple_5e6b97aec93c269b44a66b105fdf55e1_tuple, 5, const_str_plain_items_to_strip ); Py_INCREF( const_str_plain_items_to_strip ); PyTuple_SET_ITEM( const_tuple_5e6b97aec93c269b44a66b105fdf55e1_tuple, 6, const_str_plain_param ); Py_INCREF( const_str_plain_param ); PyTuple_SET_ITEM( const_tuple_5e6b97aec93c269b44a66b105fdf55e1_tuple, 7, const_str_plain_key ); Py_INCREF( const_str_plain_key ); PyTuple_SET_ITEM( const_tuple_5e6b97aec93c269b44a66b105fdf55e1_tuple, 8, const_str_plain_value ); Py_INCREF( const_str_plain_value ); PyTuple_SET_ITEM( const_tuple_5e6b97aec93c269b44a66b105fdf55e1_tuple, 9, const_str_plain_index_of_equals ); Py_INCREF( const_str_plain_index_of_equals ); const_str_plain_get_proxy = UNSTREAM_STRING( &constant_bin[ 679420 ], 9, 1 ); const_tuple_52624af42ecbb314254b11bf476c64ba_tuple = PyTuple_New( 8 ); PyTuple_SET_ITEM( const_tuple_52624af42ecbb314254b11bf476c64ba_tuple, 0, const_str_plain_url ); Py_INCREF( const_str_plain_url ); PyTuple_SET_ITEM( const_tuple_52624af42ecbb314254b11bf476c64ba_tuple, 1, const_str_plain_new_scheme ); Py_INCREF( const_str_plain_new_scheme ); PyTuple_SET_ITEM( const_tuple_52624af42ecbb314254b11bf476c64ba_tuple, 2, const_str_plain_scheme ); Py_INCREF( const_str_plain_scheme ); PyTuple_SET_ITEM( const_tuple_52624af42ecbb314254b11bf476c64ba_tuple, 3, const_str_plain_netloc ); Py_INCREF( const_str_plain_netloc ); PyTuple_SET_ITEM( const_tuple_52624af42ecbb314254b11bf476c64ba_tuple, 4, const_str_plain_path ); Py_INCREF( const_str_plain_path ); PyTuple_SET_ITEM( const_tuple_52624af42ecbb314254b11bf476c64ba_tuple, 5, const_str_plain_params ); Py_INCREF( const_str_plain_params ); PyTuple_SET_ITEM( const_tuple_52624af42ecbb314254b11bf476c64ba_tuple, 6, const_str_plain_query ); Py_INCREF( const_str_plain_query ); PyTuple_SET_ITEM( const_tuple_52624af42ecbb314254b11bf476c64ba_tuple, 7, const_str_plain_fragment ); Py_INCREF( const_str_plain_fragment ); const_str_digest_c1ddfb2dd740866a4f5e6954adec3a4f = UNSTREAM_STRING( &constant_bin[ 1094459 ], 194, 0 ); const_str_plain_pragma_re = UNSTREAM_STRING( &constant_bin[ 1094653 ], 9, 1 ); const_str_plain_dotted_netmask = UNSTREAM_STRING( &constant_bin[ 1094662 ], 14, 1 ); const_str_digest_be9264c9f206db662c06c9523361ff13 = UNSTREAM_STRING( &constant_bin[ 1094676 ], 239, 0 ); const_tuple_38864f8d4d244f4757f65da48d80682f_tuple = PyTuple_New( 7 ); PyTuple_SET_ITEM( const_tuple_38864f8d4d244f4757f65da48d80682f_tuple, 0, const_str_plain_path ); Py_INCREF( const_str_plain_path ); const_str_plain_archive = UNSTREAM_STRING( &constant_bin[ 106227 ], 7, 1 ); PyTuple_SET_ITEM( const_tuple_38864f8d4d244f4757f65da48d80682f_tuple, 1, const_str_plain_archive ); Py_INCREF( const_str_plain_archive ); PyTuple_SET_ITEM( const_tuple_38864f8d4d244f4757f65da48d80682f_tuple, 2, const_str_plain_member ); Py_INCREF( const_str_plain_member ); PyTuple_SET_ITEM( const_tuple_38864f8d4d244f4757f65da48d80682f_tuple, 3, const_str_plain_prefix ); Py_INCREF( const_str_plain_prefix ); PyTuple_SET_ITEM( const_tuple_38864f8d4d244f4757f65da48d80682f_tuple, 4, const_str_plain_zip_file ); Py_INCREF( const_str_plain_zip_file ); PyTuple_SET_ITEM( const_tuple_38864f8d4d244f4757f65da48d80682f_tuple, 5, const_str_plain_tmp ); Py_INCREF( const_str_plain_tmp ); const_str_plain_extracted_path = UNSTREAM_STRING( &constant_bin[ 1094915 ], 14, 1 ); PyTuple_SET_ITEM( const_tuple_38864f8d4d244f4757f65da48d80682f_tuple, 6, const_str_plain_extracted_path ); Py_INCREF( const_str_plain_extracted_path ); const_str_plain_ri = UNSTREAM_STRING( &constant_bin[ 1430 ], 2, 1 ); const_tuple_str_plain_url_str_plain_no_proxy_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_url_str_plain_no_proxy_tuple, 0, const_str_plain_url ); Py_INCREF( const_str_plain_url ); PyTuple_SET_ITEM( const_tuple_str_plain_url_str_plain_no_proxy_tuple, 1, const_str_plain_no_proxy ); Py_INCREF( const_str_plain_no_proxy ); const_tuple_str_plain_value_str_plain_is_filename_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_value_str_plain_is_filename_tuple, 0, const_str_plain_value ); Py_INCREF( const_str_plain_value ); const_str_plain_is_filename = UNSTREAM_STRING( &constant_bin[ 1094929 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_value_str_plain_is_filename_tuple, 1, const_str_plain_is_filename ); Py_INCREF( const_str_plain_is_filename ); const_str_plain_NETRC_FILES = UNSTREAM_STRING( &constant_bin[ 1094940 ], 11, 1 ); const_str_digest_545c84652c0f941c3ad38f5caba46e64 = UNSTREAM_STRING( &constant_bin[ 1094951 ], 128, 0 ); const_str_digest_243581530d83f357b8f6ab42fe354711 = UNSTREAM_STRING( &constant_bin[ 1095079 ], 163, 0 ); const_str_digest_f884b70cb128e6c16249d62e69d434c1 = UNSTREAM_STRING( &constant_bin[ 1095242 ], 606, 0 ); const_str_digest_e5a6d953019a662711f922b2f1ebe274 = UNSTREAM_STRING( &constant_bin[ 1095848 ], 206, 0 ); const_str_digest_60b1cdb7617c4cf1bf768a49706d4a84 = UNSTREAM_STRING( &constant_bin[ 1096054 ], 125, 0 ); const_str_digest_d681723024b376071b1e04f3f1be1da8 = UNSTREAM_STRING( &constant_bin[ 1096179 ], 59, 0 ); const_tuple_str_plain_value_str_plain_result_str_plain_item_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_value_str_plain_result_str_plain_item_tuple, 0, const_str_plain_value ); Py_INCREF( const_str_plain_value ); PyTuple_SET_ITEM( const_tuple_str_plain_value_str_plain_result_str_plain_item_tuple, 1, const_str_plain_result ); Py_INCREF( const_str_plain_result ); PyTuple_SET_ITEM( const_tuple_str_plain_value_str_plain_result_str_plain_item_tuple, 2, const_str_plain_item ); Py_INCREF( const_str_plain_item ); const_str_digest_ede6fb45eb93b880b7742ed08cef9cc9 = UNSTREAM_STRING( &constant_bin[ 1096238 ], 62, 0 ); const_tuple_str_digest_8f7eb4fe1e52fc4de60fd5e904266c1d_str_plain__netrc_tuple = PyTuple_New( 2 ); const_str_digest_8f7eb4fe1e52fc4de60fd5e904266c1d = UNSTREAM_STRING( &constant_bin[ 1096300 ], 6, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_8f7eb4fe1e52fc4de60fd5e904266c1d_str_plain__netrc_tuple, 0, const_str_digest_8f7eb4fe1e52fc4de60fd5e904266c1d ); Py_INCREF( const_str_digest_8f7eb4fe1e52fc4de60fd5e904266c1d ); PyTuple_SET_ITEM( const_tuple_str_digest_8f7eb4fe1e52fc4de60fd5e904266c1d_str_plain__netrc_tuple, 1, const_str_plain__netrc ); Py_INCREF( const_str_plain__netrc ); const_tuple_121b5dd8ca49d790b0b5d8abdf6387e1_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_121b5dd8ca49d790b0b5d8abdf6387e1_tuple, 0, const_str_plain_iterator ); Py_INCREF( const_str_plain_iterator ); PyTuple_SET_ITEM( const_tuple_121b5dd8ca49d790b0b5d8abdf6387e1_tuple, 1, const_str_plain_r ); Py_INCREF( const_str_plain_r ); PyTuple_SET_ITEM( const_tuple_121b5dd8ca49d790b0b5d8abdf6387e1_tuple, 2, const_str_plain_item ); Py_INCREF( const_str_plain_item ); PyTuple_SET_ITEM( const_tuple_121b5dd8ca49d790b0b5d8abdf6387e1_tuple, 3, const_str_plain_decoder ); Py_INCREF( const_str_plain_decoder ); PyTuple_SET_ITEM( const_tuple_121b5dd8ca49d790b0b5d8abdf6387e1_tuple, 4, const_str_plain_chunk ); Py_INCREF( const_str_plain_chunk ); PyTuple_SET_ITEM( const_tuple_121b5dd8ca49d790b0b5d8abdf6387e1_tuple, 5, const_str_plain_rv ); Py_INCREF( const_str_plain_rv ); const_str_digest_a017e4a450bc2a6987960f048b1b3f70 = UNSTREAM_STRING( &constant_bin[ 1096306 ], 76, 0 ); const_frozenset_f8d83c6b96845889ba633997582e29e0 = PyMarshal_ReadObjectFromString( (char *)&constant_bin[ 1096382 ], 203 ); const_str_digest_616a6ccdd2064867296afe3263b28e08 = UNSTREAM_STRING( &constant_bin[ 1096585 ], 123, 0 ); const_str_plain_add_dict_to_cookiejar = UNSTREAM_STRING( &constant_bin[ 1096708 ], 21, 1 ); const_str_plain__null3 = UNSTREAM_STRING( &constant_bin[ 1096729 ], 6, 1 ); const_tuple_79f7f397481c613462364a9198237357_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_79f7f397481c613462364a9198237357_tuple, 0, const_str_plain_header ); Py_INCREF( const_str_plain_header ); PyTuple_SET_ITEM( const_tuple_79f7f397481c613462364a9198237357_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_79f7f397481c613462364a9198237357_tuple, 2, const_str_plain_value ); Py_INCREF( const_str_plain_value ); PyTuple_SET_ITEM( const_tuple_79f7f397481c613462364a9198237357_tuple, 3, const_str_plain_pat ); Py_INCREF( const_str_plain_pat ); const_str_plain_host_with_port = UNSTREAM_STRING( &constant_bin[ 1096735 ], 14, 1 ); const_tuple_tuple_str_plain_gzip_str_plain_deflate_tuple_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_tuple_str_plain_gzip_str_plain_deflate_tuple_tuple, 0, const_tuple_str_plain_gzip_str_plain_deflate_tuple ); Py_INCREF( const_tuple_str_plain_gzip_str_plain_deflate_tuple ); const_tuple_6d587f58396c7f11b2a6a7c7dc67b046_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_6d587f58396c7f11b2a6a7c7dc67b046_tuple, 0, const_str_plain_value ); Py_INCREF( const_str_plain_value ); PyTuple_SET_ITEM( const_tuple_6d587f58396c7f11b2a6a7c7dc67b046_tuple, 1, const_str_plain_result ); Py_INCREF( const_str_plain_result ); PyTuple_SET_ITEM( const_tuple_6d587f58396c7f11b2a6a7c7dc67b046_tuple, 2, const_str_plain_item ); Py_INCREF( const_str_plain_item ); PyTuple_SET_ITEM( const_tuple_6d587f58396c7f11b2a6a7c7dc67b046_tuple, 3, const_str_plain_name ); Py_INCREF( const_str_plain_name ); const_str_digest_f26a12f32523001a7d5f29f1d0a37c9a = UNSTREAM_STRING( &constant_bin[ 1096749 ], 32, 0 ); const_str_digest_9ecf00231f13a299b43c075c61419702 = UNSTREAM_STRING( &constant_bin[ 1096781 ], 86, 0 ); const_str_digest_52a35a07391be97e45602ad35153cce9 = UNSTREAM_STRING( &constant_bin[ 1096867 ], 148, 0 ); const_str_plain_get_unicode_from_response = UNSTREAM_STRING( &constant_bin[ 1095096 ], 25, 1 ); const_str_digest_70d428cefa5ab579db6f38d2ccfd6785 = UNSTREAM_STRING( &constant_bin[ 1097015 ], 4, 0 ); const_str_digest_bacd6a583aa3decef66f6b830f9ae016 = UNSTREAM_STRING( &constant_bin[ 1097019 ], 453, 0 ); const_str_plain_default_user_agent = UNSTREAM_STRING( &constant_bin[ 1097472 ], 18, 1 ); const_str_digest_dcefe0e55549f5b76ec8dce27f80c3f5 = UNSTREAM_STRING( &constant_bin[ 1094288 ], 6, 0 ); const_str_digest_fabc8a5138721af131e7287fc576bbb6 = UNSTREAM_STRING( &constant_bin[ 1097490 ], 108, 0 ); const_tuple_str_plain_certs_tuple = PyTuple_New( 1 ); const_str_plain_certs = UNSTREAM_STRING( &constant_bin[ 519479 ], 5, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_certs_tuple, 0, const_str_plain_certs ); Py_INCREF( const_str_plain_certs ); const_tuple_str_digest_7b19f8e942363720eb2e2ce5f0a6883b_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_7b19f8e942363720eb2e2ce5f0a6883b_tuple, 0, const_str_digest_7b19f8e942363720eb2e2ce5f0a6883b ); Py_INCREF( const_str_digest_7b19f8e942363720eb2e2ce5f0a6883b ); const_str_digest_13401ef98af5e6a420cb6ea04df8346b = UNSTREAM_STRING( &constant_bin[ 1097598 ], 188, 0 ); const_str_digest_c68418a4fc9bafa1aad7994602a616fd = UNSTREAM_STRING( &constant_bin[ 1066476 ], 21, 0 ); const_tuple_str_plain_string_ip_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_string_ip_tuple, 0, const_str_plain_string_ip ); Py_INCREF( const_str_plain_string_ip ); const_tuple_str_digest_d51435db5366bc56f56795c27a8b5c68_tuple = PyTuple_New( 1 ); const_str_digest_d51435db5366bc56f56795c27a8b5c68 = UNSTREAM_STRING( &constant_bin[ 1042956 ], 15, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_d51435db5366bc56f56795c27a8b5c68_tuple, 0, const_str_digest_d51435db5366bc56f56795c27a8b5c68 ); Py_INCREF( const_str_digest_d51435db5366bc56f56795c27a8b5c68 ); const_tuple_str_digest_d1c9bee04bd0a9c88e6c11d7c3b4ffd8_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_d1c9bee04bd0a9c88e6c11d7c3b4ffd8_tuple, 0, const_str_digest_d1c9bee04bd0a9c88e6c11d7c3b4ffd8 ); Py_INCREF( const_str_digest_d1c9bee04bd0a9c88e6c11d7c3b4ffd8 ); const_str_digest_a03c53ace72132e42f7fc75ef0d2782a = UNSTREAM_STRING( &constant_bin[ 1097786 ], 164, 0 ); const_str_plain_charset_re = UNSTREAM_STRING( &constant_bin[ 1097950 ], 10, 1 ); const_str_plain__null2 = UNSTREAM_STRING( &constant_bin[ 1097960 ], 6, 1 ); const_str_plain_env_name = UNSTREAM_STRING( &constant_bin[ 1095878 ], 8, 1 ); const_str_digest_7e88a30e97eda1df450a724bcbdb9060 = UNSTREAM_STRING( &constant_bin[ 1097966 ], 50, 0 ); const_str_plain__null = UNSTREAM_STRING( &constant_bin[ 19915 ], 5, 1 ); const_str_digest_f37f0578a1da03ee88da30f61ab79839 = UNSTREAM_STRING( &constant_bin[ 1098016 ], 170, 0 ); const_str_digest_2a87f67f4efa77049ff1e8df07d74298 = UNSTREAM_STRING( &constant_bin[ 1098186 ], 173, 0 ); const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple = PyTuple_New( 12 ); PyTuple_SET_ITEM( const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple, 0, const_str_plain_url ); Py_INCREF( const_str_plain_url ); PyTuple_SET_ITEM( const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple, 1, const_str_plain_raise_errors ); Py_INCREF( const_str_plain_raise_errors ); PyTuple_SET_ITEM( const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple, 2, const_str_plain_netrc ); Py_INCREF( const_str_plain_netrc ); PyTuple_SET_ITEM( const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple, 3, const_str_plain_NetrcParseError ); Py_INCREF( const_str_plain_NetrcParseError ); PyTuple_SET_ITEM( const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple, 4, const_str_plain_netrc_path ); Py_INCREF( const_str_plain_netrc_path ); PyTuple_SET_ITEM( const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple, 5, const_str_plain_f ); Py_INCREF( const_str_plain_f ); PyTuple_SET_ITEM( const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple, 6, const_str_plain_loc ); Py_INCREF( const_str_plain_loc ); PyTuple_SET_ITEM( const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple, 7, const_str_plain_ri ); Py_INCREF( const_str_plain_ri ); const_str_plain_splitstr = UNSTREAM_STRING( &constant_bin[ 1098359 ], 8, 1 ); PyTuple_SET_ITEM( const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple, 8, const_str_plain_splitstr ); Py_INCREF( const_str_plain_splitstr ); PyTuple_SET_ITEM( const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple, 9, const_str_plain_host ); Py_INCREF( const_str_plain_host ); PyTuple_SET_ITEM( const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple, 10, const_str_plain__netrc ); Py_INCREF( const_str_plain__netrc ); PyTuple_SET_ITEM( const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple, 11, const_str_plain_login_i ); Py_INCREF( const_str_plain_login_i ); const_str_digest_11f748942711d9992e88d543414bb2c0 = UNSTREAM_STRING( &constant_bin[ 1098367 ], 172, 0 ); const_str_plain__CLEAN_HEADER_REGEX_BYTE = UNSTREAM_STRING( &constant_bin[ 1098539 ], 24, 1 ); const_str_digest_a438b9a3da6b12037fbd2eb6dc898651 = UNSTREAM_STRING( &constant_bin[ 110668 ], 2, 0 ); const_tuple_str_plain_cookiejar_from_dict_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_cookiejar_from_dict_tuple, 0, const_str_plain_cookiejar_from_dict ); Py_INCREF( const_str_plain_cookiejar_from_dict ); const_str_plain_dict_from_cookiejar = UNSTREAM_STRING( &constant_bin[ 1098563 ], 19, 1 ); const_tuple_str_digest_a438b9a3da6b12037fbd2eb6dc898651_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_a438b9a3da6b12037fbd2eb6dc898651_tuple, 0, const_str_digest_a438b9a3da6b12037fbd2eb6dc898651 ); Py_INCREF( const_str_digest_a438b9a3da6b12037fbd2eb6dc898651 ); const_str_plain_proxy_keys = UNSTREAM_STRING( &constant_bin[ 1098582 ], 10, 1 ); const_str_digest_ad1efbb9947826891eabdc18f113510a = UNSTREAM_STRING( &constant_bin[ 1098592 ], 770, 0 ); const_str_digest_d764dbd04e0956eeec5b07c1c4d16910 = UNSTREAM_STRING( &constant_bin[ 1063930 ], 14, 0 ); const_str_digest_c5a95eac85f8ee3baa86014b58b79f79 = UNSTREAM_STRING( &constant_bin[ 1099362 ], 5, 0 ); const_str_plain_proxy_key = UNSTREAM_STRING( &constant_bin[ 1098582 ], 9, 1 ); const_tuple_2119b439d8cc7db72f0170affdf7cb86_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_2119b439d8cc7db72f0170affdf7cb86_tuple, 0, const_str_plain_url ); Py_INCREF( const_str_plain_url ); PyTuple_SET_ITEM( const_tuple_2119b439d8cc7db72f0170affdf7cb86_tuple, 1, const_str_plain_proxies ); Py_INCREF( const_str_plain_proxies ); PyTuple_SET_ITEM( const_tuple_2119b439d8cc7db72f0170affdf7cb86_tuple, 2, const_str_plain_urlparts ); Py_INCREF( const_str_plain_urlparts ); PyTuple_SET_ITEM( const_tuple_2119b439d8cc7db72f0170affdf7cb86_tuple, 3, const_str_plain_proxy_keys ); Py_INCREF( const_str_plain_proxy_keys ); PyTuple_SET_ITEM( const_tuple_2119b439d8cc7db72f0170affdf7cb86_tuple, 4, const_str_plain_proxy ); Py_INCREF( const_str_plain_proxy ); PyTuple_SET_ITEM( const_tuple_2119b439d8cc7db72f0170affdf7cb86_tuple, 5, const_str_plain_proxy_key ); Py_INCREF( const_str_plain_proxy_key ); const_str_plain_isalnum = UNSTREAM_STRING( &constant_bin[ 1099367 ], 7, 1 ); const_str_plain_value_changed = UNSTREAM_STRING( &constant_bin[ 1099374 ], 13, 1 ); const_str_digest_189afa2d940ee0e4886971fafd3b507b = UNSTREAM_STRING( &constant_bin[ 1099387 ], 166, 0 ); const_tuple_d262b04787f9cf6e376398f343272793_tuple = PyTuple_New( 9 ); PyTuple_SET_ITEM( const_tuple_d262b04787f9cf6e376398f343272793_tuple, 0, const_str_plain_url ); Py_INCREF( const_str_plain_url ); PyTuple_SET_ITEM( const_tuple_d262b04787f9cf6e376398f343272793_tuple, 1, const_str_plain_no_proxy ); Py_INCREF( const_str_plain_no_proxy ); PyTuple_SET_ITEM( const_tuple_d262b04787f9cf6e376398f343272793_tuple, 2, const_str_plain_get_proxy ); Py_INCREF( const_str_plain_get_proxy ); PyTuple_SET_ITEM( const_tuple_d262b04787f9cf6e376398f343272793_tuple, 3, const_str_plain_no_proxy_arg ); Py_INCREF( const_str_plain_no_proxy_arg ); PyTuple_SET_ITEM( const_tuple_d262b04787f9cf6e376398f343272793_tuple, 4, const_str_plain_parsed ); Py_INCREF( const_str_plain_parsed ); const_str_plain_proxy_ip = UNSTREAM_STRING( &constant_bin[ 1099553 ], 8, 1 ); PyTuple_SET_ITEM( const_tuple_d262b04787f9cf6e376398f343272793_tuple, 5, const_str_plain_proxy_ip ); Py_INCREF( const_str_plain_proxy_ip ); PyTuple_SET_ITEM( const_tuple_d262b04787f9cf6e376398f343272793_tuple, 6, const_str_plain_host_with_port ); Py_INCREF( const_str_plain_host_with_port ); PyTuple_SET_ITEM( const_tuple_d262b04787f9cf6e376398f343272793_tuple, 7, const_str_plain_host ); Py_INCREF( const_str_plain_host ); PyTuple_SET_ITEM( const_tuple_d262b04787f9cf6e376398f343272793_tuple, 8, const_str_plain_bypass ); Py_INCREF( const_str_plain_bypass ); const_str_plain_zipfile = UNSTREAM_STRING( &constant_bin[ 1099561 ], 7, 1 ); const_str_plain__parse_content_type_header = UNSTREAM_STRING( &constant_bin[ 1099568 ], 26, 1 ); const_str_digest_177214e270a1816e1ba3c0c254370090 = UNSTREAM_STRING( &constant_bin[ 97831 ], 3, 0 ); const_tuple_c629ea22e6e8a5f7b236d28023a11721_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_c629ea22e6e8a5f7b236d28023a11721_tuple, 0, const_str_plain_content ); Py_INCREF( const_str_plain_content ); PyTuple_SET_ITEM( const_tuple_c629ea22e6e8a5f7b236d28023a11721_tuple, 1, const_str_plain_charset_re ); Py_INCREF( const_str_plain_charset_re ); PyTuple_SET_ITEM( const_tuple_c629ea22e6e8a5f7b236d28023a11721_tuple, 2, const_str_plain_pragma_re ); Py_INCREF( const_str_plain_pragma_re ); PyTuple_SET_ITEM( const_tuple_c629ea22e6e8a5f7b236d28023a11721_tuple, 3, const_str_plain_xml_re ); Py_INCREF( const_str_plain_xml_re ); const_str_plain_namelist = UNSTREAM_STRING( &constant_bin[ 1099594 ], 8, 1 ); const_str_digest_075a5f4a52e870f40cb15bcf9188e7b1 = UNSTREAM_STRING( &constant_bin[ 1099602 ], 87, 0 ); const_tuple_str_plain_cj_str_plain_cookie_dict_str_plain_cookie_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_cj_str_plain_cookie_dict_str_plain_cookie_tuple, 0, const_str_plain_cj ); Py_INCREF( const_str_plain_cj ); PyTuple_SET_ITEM( const_tuple_str_plain_cj_str_plain_cookie_dict_str_plain_cookie_tuple, 1, const_str_plain_cookie_dict ); Py_INCREF( const_str_plain_cookie_dict ); PyTuple_SET_ITEM( const_tuple_str_plain_cj_str_plain_cookie_dict_str_plain_cookie_tuple, 2, const_str_plain_cookie ); Py_INCREF( const_str_plain_cookie ); const_str_digest_2e4afc658f4dc023360afc83fde6cccd = UNSTREAM_STRING( &constant_bin[ 1099689 ], 231, 0 ); const_str_digest_da3a414f588d8a57c8277840d0c12e68 = UNSTREAM_STRING( &constant_bin[ 1099920 ], 48, 0 ); const_str_digest_bbd93decf06d714f543f63648bff4b76 = UNSTREAM_STRING( &constant_bin[ 1099968 ], 19, 0 ); const_tuple_str_plain_headers_str_plain_content_type_str_plain_params_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_headers_str_plain_content_type_str_plain_params_tuple, 0, const_str_plain_headers ); Py_INCREF( const_str_plain_headers ); PyTuple_SET_ITEM( const_tuple_str_plain_headers_str_plain_content_type_str_plain_params_tuple, 1, const_str_plain_content_type ); Py_INCREF( const_str_plain_content_type ); PyTuple_SET_ITEM( const_tuple_str_plain_headers_str_plain_content_type_str_plain_params_tuple, 2, const_str_plain_params ); Py_INCREF( const_str_plain_params ); const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_host_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_host_tuple, 0, const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); Py_INCREF( const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); PyTuple_SET_ITEM( const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_host_tuple, 1, const_str_plain_host ); Py_INCREF( const_str_plain_host ); const_str_digest_b0d28f9191843ba1e4ad9123f8d36098 = UNSTREAM_STRING( &constant_bin[ 1099987 ], 57, 0 ); const_tuple_7a9d43821ce5fddc84215fa4f4ac71c1_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_7a9d43821ce5fddc84215fa4f4ac71c1_tuple, 0, const_str_plain_env_name ); Py_INCREF( const_str_plain_env_name ); PyTuple_SET_ITEM( const_tuple_7a9d43821ce5fddc84215fa4f4ac71c1_tuple, 1, const_str_plain_value ); Py_INCREF( const_str_plain_value ); PyTuple_SET_ITEM( const_tuple_7a9d43821ce5fddc84215fa4f4ac71c1_tuple, 2, const_str_plain_value_changed ); Py_INCREF( const_str_plain_value_changed ); PyTuple_SET_ITEM( const_tuple_7a9d43821ce5fddc84215fa4f4ac71c1_tuple, 3, const_str_plain_old_value ); Py_INCREF( const_str_plain_old_value ); const_str_plain_is_ipv4_address = UNSTREAM_STRING( &constant_bin[ 1100044 ], 15, 1 ); const_tuple_str_chr_59_int_pos_1_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_chr_59_int_pos_1_tuple, 0, const_str_chr_59 ); Py_INCREF( const_str_chr_59 ); PyTuple_SET_ITEM( const_tuple_str_chr_59_int_pos_1_tuple, 1, const_int_pos_1 ); Py_INCREF( const_int_pos_1 ); const_str_plain_is_zipfile = UNSTREAM_STRING( &constant_bin[ 1100059 ], 10, 1 ); const_tuple_f6ac204f4851a040546c841167493b05_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_f6ac204f4851a040546c841167493b05_tuple, 0, const_str_plain_uri ); Py_INCREF( const_str_plain_uri ); PyTuple_SET_ITEM( const_tuple_f6ac204f4851a040546c841167493b05_tuple, 1, const_str_plain_safe_with_percent ); Py_INCREF( const_str_plain_safe_with_percent ); PyTuple_SET_ITEM( const_tuple_f6ac204f4851a040546c841167493b05_tuple, 2, const_str_plain_safe_without_percent ); Py_INCREF( const_str_plain_safe_without_percent ); const_str_plain_getincrementaldecoder = UNSTREAM_STRING( &constant_bin[ 1100069 ], 21, 1 ); const_tuple_str_digest_d681723024b376071b1e04f3f1be1da8_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_d681723024b376071b1e04f3f1be1da8_tuple, 0, const_str_digest_d681723024b376071b1e04f3f1be1da8 ); Py_INCREF( const_str_digest_d681723024b376071b1e04f3f1be1da8 ); const_str_digest_db10df5befb6234e2efb56544ebb1363 = UNSTREAM_STRING( &constant_bin[ 1100090 ], 65, 0 ); const_str_digest_38d2ee33ae615a511ee96aa02a599e37 = UNSTREAM_STRING( &constant_bin[ 1093836 ], 43, 0 ); const_str_digest_848ac26b309d45ee0689be5d2d96b40a = UNSTREAM_STRING( &constant_bin[ 1100155 ], 196, 0 ); const_str_plain_unquote_header_value = UNSTREAM_STRING( &constant_bin[ 1100351 ], 20, 1 ); const_str_plain_inet_ntoa = UNSTREAM_STRING( &constant_bin[ 1100371 ], 9, 1 ); const_str_digest_9299d7c2bed66a7e67fe9b9223b871e1 = UNSTREAM_STRING( &constant_bin[ 1100380 ], 23, 0 ); const_slice_int_pos_1_none_int_pos_2 = PySlice_New( const_int_pos_1, Py_None, const_int_pos_2 ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_requests$utils( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_63c7e2a49ffab871c4febcd1c612bc2d; static PyCodeObject *codeobj_d2359c5b7cd4ad8cab3a8f4f13a80d3c; static PyCodeObject *codeobj_6841c72b780de0db60dbe10163dc9be9; static PyCodeObject *codeobj_db8a250e00e6253d385ebae7e500d7db; static PyCodeObject *codeobj_bb1606830baa9a5ee1c3980cf6aa0b47; static PyCodeObject *codeobj_12f7a565da5c5c6bace39399482112d4; static PyCodeObject *codeobj_d3540d366f40473eb6b5c7ac5c4f8c31; static PyCodeObject *codeobj_f52ced90be8fa8798a26adb0d26d8c01; static PyCodeObject *codeobj_69340bb05e66ac99723c62e8b2c8dc7d; static PyCodeObject *codeobj_da372d5fca82dacb3c69f19a5fcc0745; static PyCodeObject *codeobj_1afb276542a2a645df779ed4db5f607b; static PyCodeObject *codeobj_4efb954a45adff6bf3b91046b0089a47; static PyCodeObject *codeobj_4330b20b8b9140a7b99fed4d75389f07; static PyCodeObject *codeobj_c69bfb9909d1c56ef32d79208ee4f122; static PyCodeObject *codeobj_84ae7b14a8e86be45b8f3704278926e6; static PyCodeObject *codeobj_f65dcc635dac28d821fe40704e769d3c; static PyCodeObject *codeobj_5a59cacdc8f590fe668c67589bab90d3; static PyCodeObject *codeobj_d1718f3759ddd22e714079009e1c72ba; static PyCodeObject *codeobj_e96055da711d10a1decf6bf391988e2b; static PyCodeObject *codeobj_c64fe7c5131e2b4d47f1d813872fcec3; static PyCodeObject *codeobj_53625604f63afd50015c7f4573609c31; static PyCodeObject *codeobj_9c93abfe35287ddc7972cfc2670852ca; static PyCodeObject *codeobj_7d86abc71b10f3dc1414d2df81f5d825; static PyCodeObject *codeobj_f1320ffebf1b5a833d0256c3c5f6f210; static PyCodeObject *codeobj_0edca0c1ae57e8a491d86394d3159b2a; static PyCodeObject *codeobj_fb5c090bfcb0c1a83250280f8b5ade06; static PyCodeObject *codeobj_dbcb99fa65840d6d516acb27bfdc2c99; static PyCodeObject *codeobj_08a86fa32bc531d24fda9afa21ef22c8; static PyCodeObject *codeobj_08e4ee68aaf1f860367ee53ebf5f0d1a; static PyCodeObject *codeobj_628cf5bebf7bcccd2cbf6c84dfd1413d; static PyCodeObject *codeobj_50ec2bcbe89fd57d662a1cda83353adc; static PyCodeObject *codeobj_0fef4ce8e4490fa7908ee431f94df303; static PyCodeObject *codeobj_e83754abe4ef35f1e2207f7f200f651a; static PyCodeObject *codeobj_5afe8086b2b3fd4dfcfe0d53edfd26a0; static PyCodeObject *codeobj_da0ee4b3b09d6066d2390df01ca3d7a9; static PyCodeObject *codeobj_c42b6f77702a8b6cdac11e3cf42a028f; static PyCodeObject *codeobj_a802bf7b9264821326eb79571765087f; static PyCodeObject *codeobj_af54800a120c869790d6e173a2ba134f; static PyCodeObject *codeobj_45a631248f89b2102b7a63cc25e75727; static PyCodeObject *codeobj_5791da1cf7fad619738e1f95543badb3; static PyCodeObject *codeobj_b216b791a9f88f685d58dacb8f1408d4; static PyCodeObject *codeobj_595d7a21f725bb4474a573bf058bcffe; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_7e88a30e97eda1df450a724bcbdb9060; codeobj_63c7e2a49ffab871c4febcd1c612bc2d = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 713, const_tuple_str_digest_b9c4baf879ebd882d40843df3a4dead7_str_plain_host_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_d2359c5b7cd4ad8cab3a8f4f13a80d3c = MAKE_CODEOBJ( module_filename_obj, const_str_angle_lambda, 700, const_tuple_str_plain_k_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_6841c72b780de0db60dbe10163dc9be9 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_9299d7c2bed66a7e67fe9b9223b871e1, 1, const_tuple_empty, 0, 0, CO_NOFREE ); codeobj_db8a250e00e6253d385ebae7e500d7db = MAKE_CODEOBJ( module_filename_obj, const_str_plain__parse_content_type_header, 448, const_tuple_5e6b97aec93c269b44a66b105fdf55e1_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_bb1606830baa9a5ee1c3980cf6aa0b47 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_add_dict_to_cookiejar, 417, const_tuple_str_plain_cj_str_plain_cookie_dict_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_12f7a565da5c5c6bace39399482112d4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_address_in_network, 609, const_tuple_5fe68b8457838382171ee629cac54bb4_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_d3540d366f40473eb6b5c7ac5c4f8c31 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_check_header_validity, 926, const_tuple_79f7f397481c613462364a9198237357_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_f52ced90be8fa8798a26adb0d26d8c01 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_default_headers, 801, const_tuple_empty, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_69340bb05e66ac99723c62e8b2c8dc7d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_default_user_agent, 792, const_tuple_str_plain_name_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_da372d5fca82dacb3c69f19a5fcc0745 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_dict_from_cookiejar, 402, const_tuple_str_plain_cj_str_plain_cookie_dict_str_plain_cookie_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_1afb276542a2a645df779ed4db5f607b = MAKE_CODEOBJ( module_filename_obj, const_str_plain_dict_to_sequence, 96, const_tuple_str_plain_d_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_4efb954a45adff6bf3b91046b0089a47 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_dotted_netmask, 624, const_tuple_str_plain_mask_str_plain_bits_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_4330b20b8b9140a7b99fed4d75389f07 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_extract_zipped_paths, 225, const_tuple_38864f8d4d244f4757f65da48d80682f_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_c69bfb9909d1c56ef32d79208ee4f122 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_from_key_val_list, 257, const_tuple_str_plain_value_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_84ae7b14a8e86be45b8f3704278926e6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_auth_from_url, 905, const_tuple_str_plain_url_str_plain_parsed_str_plain_auth_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_f65dcc635dac28d821fe40704e769d3c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_encoding_from_headers, 473, const_tuple_str_plain_headers_str_plain_content_type_str_plain_params_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_5a59cacdc8f590fe668c67589bab90d3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_encodings_from_content, 428, const_tuple_c629ea22e6e8a5f7b236d28023a11721_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_d1718f3759ddd22e714079009e1c72ba = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_environ_proxies, 754, const_tuple_str_plain_url_str_plain_no_proxy_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e96055da711d10a1decf6bf391988e2b = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_netrc_auth, 166, const_tuple_7d98d646891bca4e9eb5008e21185f72_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_c64fe7c5131e2b4d47f1d813872fcec3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_unicode_from_response, 522, const_tuple_str_plain_r_str_plain_tried_encodings_str_plain_encoding_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_53625604f63afd50015c7f4573609c31 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_guess_filename, 217, const_tuple_str_plain_obj_str_plain_name_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_9c93abfe35287ddc7972cfc2670852ca = MAKE_CODEOBJ( module_filename_obj, const_str_plain_guess_json_utf, 856, const_tuple_str_plain_data_str_plain_sample_str_plain_nullcount_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_7d86abc71b10f3dc1414d2df81f5d825 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_is_ipv4_address, 635, const_tuple_str_plain_string_ip_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_f1320ffebf1b5a833d0256c3c5f6f210 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_is_valid_cidr, 646, const_tuple_str_plain_string_network_str_plain_mask_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_0edca0c1ae57e8a491d86394d3159b2a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_iter_slices, 512, const_tuple_str_plain_string_str_plain_slice_length_str_plain_pos_tuple, 2, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_fb5c090bfcb0c1a83250280f8b5ade06 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_parse_dict_header, 342, const_tuple_6d587f58396c7f11b2a6a7c7dc67b046_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_dbcb99fa65840d6d516acb27bfdc2c99 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_parse_header_links, 813, const_tuple_ae91a9bc83f1e6ad945b73a7b60e1b53_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_08a86fa32bc531d24fda9afa21ef22c8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_parse_list_header, 310, const_tuple_str_plain_value_str_plain_result_str_plain_item_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_08e4ee68aaf1f860367ee53ebf5f0d1a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_prepend_scheme_if_needed, 888, const_tuple_52624af42ecbb314254b11bf476c64ba_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_628cf5bebf7bcccd2cbf6c84dfd1413d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_proxy_bypass, 84, const_tuple_str_plain_host_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_50ec2bcbe89fd57d662a1cda83353adc = MAKE_CODEOBJ( module_filename_obj, const_str_plain_proxy_bypass_registry, 45, const_tuple_2470b89bf3571ca0704d56dd3db8acf3_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_0fef4ce8e4490fa7908ee431f94df303 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_requote_uri, 587, const_tuple_f6ac204f4851a040546c841167493b05_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e83754abe4ef35f1e2207f7f200f651a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_rewind_body, 964, const_tuple_str_plain_prepared_request_str_plain_body_seek_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_5afe8086b2b3fd4dfcfe0d53edfd26a0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_select_proxy, 766, const_tuple_2119b439d8cc7db72f0170affdf7cb86_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_da0ee4b3b09d6066d2390df01ca3d7a9 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_set_environ, 670, const_tuple_7a9d43821ce5fddc84215fa4f4ac71c1_tuple, 2, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_c42b6f77702a8b6cdac11e3cf42a028f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_should_bypass_proxies, 692, const_tuple_d262b04787f9cf6e376398f343272793_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_a802bf7b9264821326eb79571765087f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_stream_decode_response_unicode, 494, const_tuple_121b5dd8ca49d790b0b5d8abdf6387e1_tuple, 2, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_af54800a120c869790d6e173a2ba134f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_super_len, 105, const_tuple_2a257042fbd9954d55c1aed7a7571073_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_45a631248f89b2102b7a63cc25e75727 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_to_key_val_list, 282, const_tuple_str_plain_value_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_5791da1cf7fad619738e1f95543badb3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_unquote_header_value, 377, const_tuple_str_plain_value_str_plain_is_filename_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_b216b791a9f88f685d58dacb8f1408d4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_unquote_unreserved, 563, const_tuple_b5f62889f654ccd6d69e43d68715d30f_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_595d7a21f725bb4474a573bf058bcffe = MAKE_CODEOBJ( module_filename_obj, const_str_plain_urldefragauth, 947, const_tuple_43ae09f339ad89ed456a776f8a9b1b10_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); } // The module function declarations. static PyObject *requests$utils$$$function_18_stream_decode_response_unicode$$$genobj_1_stream_decode_response_unicode_maker( void ); static PyObject *requests$utils$$$function_19_iter_slices$$$genobj_1_iter_slices_maker( void ); static PyObject *requests$utils$$$function_27_set_environ$$$genobj_1_set_environ_maker( void ); static PyObject *requests$utils$$$function_28_should_bypass_proxies$$$genexpr_1_genexpr_maker( void ); NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_9_complex_call_helper_pos_star_list( PyObject **python_pars ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_10_parse_list_header( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_11_parse_dict_header( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_12_unquote_header_value( PyObject *defaults ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_13_dict_from_cookiejar( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_14_add_dict_to_cookiejar( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_15_get_encodings_from_content( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_16__parse_content_type_header( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_17_get_encoding_from_headers( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_18_stream_decode_response_unicode( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_19_iter_slices( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_1_proxy_bypass_registry( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_20_get_unicode_from_response( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_21_unquote_unreserved( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_22_requote_uri( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_23_address_in_network( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_24_dotted_netmask( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_25_is_ipv4_address( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_26_is_valid_cidr( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_27_set_environ( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_28_should_bypass_proxies( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_28_should_bypass_proxies$$$function_1_lambda( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_29_get_environ_proxies( PyObject *defaults ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_2_proxy_bypass( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_30_select_proxy( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_31_default_user_agent( PyObject *defaults ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_32_default_headers( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_33_parse_header_links( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_34_guess_json_utf( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_35_prepend_scheme_if_needed( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_36_get_auth_from_url( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_37_check_header_validity( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_38_urldefragauth( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_39_rewind_body( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_3_dict_to_sequence( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_4_super_len( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_5_get_netrc_auth( PyObject *defaults ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_6_guess_filename( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_7_extract_zipped_paths( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_8_from_key_val_list( ); static PyObject *MAKE_FUNCTION_requests$utils$$$function_9_to_key_val_list( ); // The module function definitions. static PyObject *impl_requests$utils$$$function_1_proxy_bypass_registry( 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_host = python_pars[ 0 ]; PyObject *var_winreg = NULL; PyObject *var_internetSettings = NULL; PyObject *var_proxyEnable = NULL; PyObject *var_proxyOverride = NULL; PyObject *var_test = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_50ec2bcbe89fd57d662a1cda83353adc; 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 *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; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; static struct Nuitka_FrameObject *cache_frame_50ec2bcbe89fd57d662a1cda83353adc = NULL; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_50ec2bcbe89fd57d662a1cda83353adc, codeobj_50ec2bcbe89fd57d662a1cda83353adc, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_50ec2bcbe89fd57d662a1cda83353adc = cache_frame_50ec2bcbe89fd57d662a1cda83353adc; // Push the new frame as the currently active one. pushFrameStack( frame_50ec2bcbe89fd57d662a1cda83353adc ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_50ec2bcbe89fd57d662a1cda83353adc ) == 2 ); // Frame stack // Framed code: { // Tried code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_mvar_value_1; int tmp_truth_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_is_py3 ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_is_py3 ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "is_py3" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 47; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_mvar_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 47; type_description_1 = "oooooo"; 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:; { PyObject *tmp_assign_source_1; PyObject *tmp_name_name_1; PyObject *tmp_globals_name_1; PyObject *tmp_locals_name_1; PyObject *tmp_fromlist_name_1; PyObject *tmp_level_name_1; tmp_name_name_1 = const_str_plain_winreg; tmp_globals_name_1 = (PyObject *)moduledict_requests$utils; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = const_int_0; frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame.f_lineno = 48; tmp_assign_source_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_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 48; type_description_1 = "oooooo"; goto try_except_handler_2; } assert( var_winreg == NULL ); var_winreg = tmp_assign_source_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_name_name_2; PyObject *tmp_globals_name_2; PyObject *tmp_locals_name_2; PyObject *tmp_fromlist_name_2; PyObject *tmp_level_name_2; tmp_name_name_2 = const_str_plain__winreg; tmp_globals_name_2 = (PyObject *)moduledict_requests$utils; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = Py_None; tmp_level_name_2 = const_int_0; frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame.f_lineno = 50; tmp_assign_source_2 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 50; type_description_1 = "oooooo"; goto try_except_handler_2; } assert( var_winreg == NULL ); var_winreg = tmp_assign_source_2; } branch_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; { // 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_50ec2bcbe89fd57d662a1cda83353adc, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_50ec2bcbe89fd57d662a1cda83353adc, 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_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 = 51; type_description_1 = "oooooo"; 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_False; 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 = 46; } if (exception_tb && exception_tb->tb_frame == &frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame) frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooo"; goto try_except_handler_3; } branch_end_2:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_1_proxy_bypass_registry ); 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:; } { // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_2; CHECK_OBJECT( var_winreg ); tmp_source_name_1 = var_winreg; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_OpenKey ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 55; type_description_1 = "oooooo"; goto try_except_handler_4; } if ( var_winreg == 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", "winreg" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 55; type_description_1 = "oooooo"; goto try_except_handler_4; } tmp_source_name_2 = var_winreg; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_HKEY_CURRENT_USER ); 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 = 55; type_description_1 = "oooooo"; goto try_except_handler_4; } tmp_args_element_name_2 = const_str_digest_8a16d46dcd95163b9cccd3779fc694ad; frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame.f_lineno = 55; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } 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 = 55; type_description_1 = "oooooo"; goto try_except_handler_4; } assert( var_internetSettings == NULL ); var_internetSettings = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_int_arg_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_subscript_name_1; if ( var_winreg == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "winreg" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 58; type_description_1 = "oooooo"; goto try_except_handler_4; } tmp_source_name_3 = var_winreg; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_QueryValueEx ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 58; type_description_1 = "oooooo"; goto try_except_handler_4; } if ( var_internetSettings == 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", "internetSettings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 58; type_description_1 = "oooooo"; goto try_except_handler_4; } tmp_args_element_name_3 = var_internetSettings; tmp_args_element_name_4 = const_str_plain_ProxyEnable; frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame.f_lineno = 58; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_subscribed_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 58; type_description_1 = "oooooo"; goto try_except_handler_4; } tmp_subscript_name_1 = const_int_0; tmp_int_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_int_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 58; type_description_1 = "oooooo"; goto try_except_handler_4; } tmp_assign_source_4 = PyNumber_Int( tmp_int_arg_1 ); Py_DECREF( tmp_int_arg_1 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 58; type_description_1 = "oooooo"; goto try_except_handler_4; } assert( var_proxyEnable == NULL ); var_proxyEnable = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_subscribed_name_2; PyObject *tmp_called_name_3; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_subscript_name_2; if ( var_winreg == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "winreg" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 61; type_description_1 = "oooooo"; goto try_except_handler_4; } tmp_source_name_4 = var_winreg; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_QueryValueEx ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; type_description_1 = "oooooo"; goto try_except_handler_4; } if ( var_internetSettings == 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", "internetSettings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 61; type_description_1 = "oooooo"; goto try_except_handler_4; } tmp_args_element_name_5 = var_internetSettings; tmp_args_element_name_6 = const_str_plain_ProxyOverride; frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame.f_lineno = 61; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 }; tmp_subscribed_name_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; type_description_1 = "oooooo"; goto try_except_handler_4; } tmp_subscript_name_2 = const_int_0; tmp_assign_source_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); Py_DECREF( tmp_subscribed_name_2 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; type_description_1 = "oooooo"; goto try_except_handler_4; } assert( var_proxyOverride == NULL ); var_proxyOverride = tmp_assign_source_5; } goto try_end_2; // 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_50ec2bcbe89fd57d662a1cda83353adc, exception_keeper_lineno_3 ); } else if ( exception_keeper_lineno_3 != 0 ) { exception_keeper_tb_3 = ADD_TRACEBACK( exception_keeper_tb_3, frame_50ec2bcbe89fd57d662a1cda83353adc, 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_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_2 = PyExc_OSError; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 63; type_description_1 = "oooooo"; goto try_except_handler_5; } tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto try_return_handler_5; } goto branch_end_3; branch_no_3:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 54; } if (exception_tb && exception_tb->tb_frame == &frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame) frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooo"; goto try_except_handler_5; } branch_end_3:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_1_proxy_bypass_registry ); 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: try_end_2:; } { nuitka_bool tmp_condition_result_4; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_operand_name_1; PyObject *tmp_operand_name_2; if ( var_proxyEnable == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "proxyEnable" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 65; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = var_proxyEnable; 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 = 65; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_or_left_value_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; if ( var_proxyOverride == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "proxyOverride" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 65; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_operand_name_2 = var_proxyOverride; 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 = 65; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_or_right_value_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_4 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_4 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_4:; } { PyObject *tmp_assign_source_6; PyObject *tmp_called_instance_1; if ( var_proxyOverride == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "proxyOverride" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 71; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = var_proxyOverride; frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame.f_lineno = 71; tmp_assign_source_6 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_59_tuple, 0 ) ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 71; type_description_1 = "oooooo"; goto frame_exception_exit_1; } { PyObject *old = var_proxyOverride; var_proxyOverride = tmp_assign_source_6; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_7; PyObject *tmp_iter_arg_1; CHECK_OBJECT( var_proxyOverride ); tmp_iter_arg_1 = var_proxyOverride; tmp_assign_source_7 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 73; 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_7; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_8; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_8 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_8 == 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 = 73; goto try_except_handler_6; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_8; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_9 = tmp_for_loop_1__iter_value; { PyObject *old = var_test; var_test = tmp_assign_source_9; Py_INCREF( var_test ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT( var_test ); tmp_compexpr_left_3 = var_test; tmp_compexpr_right_3 = const_str_angle_local; 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 = 74; type_description_1 = "oooooo"; goto try_except_handler_6; } tmp_condition_result_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; tmp_compexpr_left_4 = const_str_dot; if ( par_host == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "host" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 75; type_description_1 = "oooooo"; goto try_except_handler_6; } tmp_compexpr_right_4 = par_host; tmp_res = PySequence_Contains( tmp_compexpr_right_4, tmp_compexpr_left_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 75; type_description_1 = "oooooo"; goto try_except_handler_6; } 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:; { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto try_return_handler_6; } branch_no_6:; } branch_no_5:; } { PyObject *tmp_assign_source_10; PyObject *tmp_called_instance_2; if ( var_test == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "test" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 77; type_description_1 = "oooooo"; goto try_except_handler_6; } tmp_called_instance_2 = var_test; frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame.f_lineno = 77; tmp_assign_source_10 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_2, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_str_dot_str_digest_e56abf9379492360b5ea0226e2912c30_tuple, 0 ) ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 77; type_description_1 = "oooooo"; goto try_except_handler_6; } { PyObject *old = var_test; var_test = tmp_assign_source_10; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_11; PyObject *tmp_called_instance_3; CHECK_OBJECT( var_test ); tmp_called_instance_3 = var_test; frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame.f_lineno = 78; tmp_assign_source_11 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_3, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_str_chr_42_str_digest_548f8d37f9a611777eb26a7105ecad09_tuple, 0 ) ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 78; type_description_1 = "oooooo"; goto try_except_handler_6; } { PyObject *old = var_test; var_test = tmp_assign_source_11; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_12; PyObject *tmp_called_instance_4; CHECK_OBJECT( var_test ); tmp_called_instance_4 = var_test; frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame.f_lineno = 79; tmp_assign_source_12 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_4, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_str_chr_63_str_dot_tuple, 0 ) ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 79; type_description_1 = "oooooo"; goto try_except_handler_6; } { PyObject *old = var_test; var_test = tmp_assign_source_12; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_7; PyObject *tmp_called_name_4; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_2; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; PyObject *tmp_source_name_6; PyObject *tmp_mvar_value_3; int tmp_truth_name_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (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 = 80; type_description_1 = "oooooo"; goto try_except_handler_6; } tmp_source_name_5 = tmp_mvar_value_2; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_match ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; type_description_1 = "oooooo"; goto try_except_handler_6; } if ( var_test == 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", "test" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 80; type_description_1 = "oooooo"; goto try_except_handler_6; } tmp_args_element_name_7 = var_test; if ( par_host == 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", "host" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 80; type_description_1 = "oooooo"; goto try_except_handler_6; } tmp_args_element_name_8 = par_host; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_3 == NULL ) { Py_DECREF( tmp_called_name_4 ); 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 = 80; type_description_1 = "oooooo"; goto try_except_handler_6; } tmp_source_name_6 = tmp_mvar_value_3; tmp_args_element_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_I ); if ( tmp_args_element_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 80; type_description_1 = "oooooo"; goto try_except_handler_6; } frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame.f_lineno = 80; { PyObject *call_args[] = { tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9 }; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_9 ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; type_description_1 = "oooooo"; goto try_except_handler_6; } tmp_truth_name_2 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 80; type_description_1 = "oooooo"; goto try_except_handler_6; } tmp_condition_result_7 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto try_return_handler_6; } branch_no_7:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 73; type_description_1 = "oooooo"; goto try_except_handler_6; } goto loop_start_1; loop_end_1:; } goto try_end_3; // Return handler code: try_return_handler_6:; { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__iter_value ); Py_DECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_6:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto frame_exception_exit_1; } // End of try: try_end_3:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_50ec2bcbe89fd57d662a1cda83353adc ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_50ec2bcbe89fd57d662a1cda83353adc ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_50ec2bcbe89fd57d662a1cda83353adc ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_50ec2bcbe89fd57d662a1cda83353adc, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_50ec2bcbe89fd57d662a1cda83353adc->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_50ec2bcbe89fd57d662a1cda83353adc, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_50ec2bcbe89fd57d662a1cda83353adc, type_description_1, par_host, var_winreg, var_internetSettings, var_proxyEnable, var_proxyOverride, var_test ); // Release cached frame. if ( frame_50ec2bcbe89fd57d662a1cda83353adc == cache_frame_50ec2bcbe89fd57d662a1cda83353adc ) { Py_DECREF( frame_50ec2bcbe89fd57d662a1cda83353adc ); } cache_frame_50ec2bcbe89fd57d662a1cda83353adc = NULL; assertFrameObject( frame_50ec2bcbe89fd57d662a1cda83353adc ); // 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_False; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_1_proxy_bypass_registry ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_host ); par_host = NULL; } { Py_XDECREF( var_winreg ); var_winreg = NULL; } { Py_XDECREF( var_internetSettings ); var_internetSettings = NULL; } { Py_XDECREF( var_proxyEnable ); var_proxyEnable = NULL; } { Py_XDECREF( var_proxyOverride ); var_proxyOverride = NULL; } { Py_XDECREF( var_test ); var_test = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_host ); par_host = NULL; } { Py_XDECREF( var_winreg ); var_winreg = NULL; } { Py_XDECREF( var_internetSettings ); var_internetSettings = NULL; } { Py_XDECREF( var_proxyEnable ); var_proxyEnable = NULL; } { Py_XDECREF( var_proxyOverride ); var_proxyOverride = NULL; } { Py_XDECREF( var_test ); var_test = NULL; } { // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_1_proxy_bypass_registry ); 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_requests$utils$$$function_2_proxy_bypass( 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_host = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_628cf5bebf7bcccd2cbf6c84dfd1413d; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_628cf5bebf7bcccd2cbf6c84dfd1413d = 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_628cf5bebf7bcccd2cbf6c84dfd1413d, codeobj_628cf5bebf7bcccd2cbf6c84dfd1413d, module_requests$utils, sizeof(void *) ); frame_628cf5bebf7bcccd2cbf6c84dfd1413d = cache_frame_628cf5bebf7bcccd2cbf6c84dfd1413d; // Push the new frame as the currently active one. pushFrameStack( frame_628cf5bebf7bcccd2cbf6c84dfd1413d ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_628cf5bebf7bcccd2cbf6c84dfd1413d ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_call_result_1; int tmp_truth_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_getproxies_environment ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_getproxies_environment ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "getproxies_environment" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 90; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; frame_628cf5bebf7bcccd2cbf6c84dfd1413d->m_frame.f_lineno = 90; tmp_call_result_1 = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 90; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 90; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_proxy_bypass_environment ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_proxy_bypass_environment ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "proxy_bypass_environment" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 91; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_2; if ( par_host == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "host" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 91; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_host; frame_628cf5bebf7bcccd2cbf6c84dfd1413d->m_frame.f_lineno = 91; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 91; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_proxy_bypass_registry ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_proxy_bypass_registry ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "proxy_bypass_registry" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 93; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_3 = tmp_mvar_value_3; if ( par_host == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "host" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 93; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_host; frame_628cf5bebf7bcccd2cbf6c84dfd1413d->m_frame.f_lineno = 93; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 93; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_628cf5bebf7bcccd2cbf6c84dfd1413d ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_628cf5bebf7bcccd2cbf6c84dfd1413d ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_628cf5bebf7bcccd2cbf6c84dfd1413d ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_628cf5bebf7bcccd2cbf6c84dfd1413d, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_628cf5bebf7bcccd2cbf6c84dfd1413d->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_628cf5bebf7bcccd2cbf6c84dfd1413d, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_628cf5bebf7bcccd2cbf6c84dfd1413d, type_description_1, par_host ); // Release cached frame. if ( frame_628cf5bebf7bcccd2cbf6c84dfd1413d == cache_frame_628cf5bebf7bcccd2cbf6c84dfd1413d ) { Py_DECREF( frame_628cf5bebf7bcccd2cbf6c84dfd1413d ); } cache_frame_628cf5bebf7bcccd2cbf6c84dfd1413d = NULL; assertFrameObject( frame_628cf5bebf7bcccd2cbf6c84dfd1413d ); // 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( requests$utils$$$function_2_proxy_bypass ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_host ); par_host = 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_host ); par_host = 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( requests$utils$$$function_2_proxy_bypass ); 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_requests$utils$$$function_3_dict_to_sequence( 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_d = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_1afb276542a2a645df779ed4db5f607b; 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_1afb276542a2a645df779ed4db5f607b = 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_1afb276542a2a645df779ed4db5f607b, codeobj_1afb276542a2a645df779ed4db5f607b, module_requests$utils, sizeof(void *) ); frame_1afb276542a2a645df779ed4db5f607b = cache_frame_1afb276542a2a645df779ed4db5f607b; // Push the new frame as the currently active one. pushFrameStack( frame_1afb276542a2a645df779ed4db5f607b ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_1afb276542a2a645df779ed4db5f607b ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_source_name_1; PyObject *tmp_attribute_name_1; CHECK_OBJECT( par_d ); tmp_source_name_1 = par_d; tmp_attribute_name_1 = const_str_plain_items; 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 = 99; 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_assign_source_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_d ); tmp_called_instance_1 = par_d; frame_1afb276542a2a645df779ed4db5f607b->m_frame.f_lineno = 100; tmp_assign_source_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 100; type_description_1 = "o"; goto frame_exception_exit_1; } { PyObject *old = par_d; par_d = tmp_assign_source_1; Py_XDECREF( old ); } } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_1afb276542a2a645df779ed4db5f607b ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_1afb276542a2a645df779ed4db5f607b ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_1afb276542a2a645df779ed4db5f607b, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_1afb276542a2a645df779ed4db5f607b->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_1afb276542a2a645df779ed4db5f607b, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_1afb276542a2a645df779ed4db5f607b, type_description_1, par_d ); // Release cached frame. if ( frame_1afb276542a2a645df779ed4db5f607b == cache_frame_1afb276542a2a645df779ed4db5f607b ) { Py_DECREF( frame_1afb276542a2a645df779ed4db5f607b ); } cache_frame_1afb276542a2a645df779ed4db5f607b = NULL; assertFrameObject( frame_1afb276542a2a645df779ed4db5f607b ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { CHECK_OBJECT( par_d ); tmp_return_value = par_d; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_3_dict_to_sequence ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_d ); Py_DECREF( par_d ); par_d = 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_d ); par_d = 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( requests$utils$$$function_3_dict_to_sequence ); 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_requests$utils$$$function_4_super_len( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_o = python_pars[ 0 ]; PyObject *var_total_length = NULL; PyObject *var_current_position = NULL; PyObject *var_fileno = NULL; nuitka_bool tmp_try_except_1__unhandled_indicator = NUITKA_BOOL_UNASSIGNED; nuitka_bool tmp_try_except_2__unhandled_indicator = NUITKA_BOOL_UNASSIGNED; struct Nuitka_FrameObject *frame_af54800a120c869790d6e173a2ba134f; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; int tmp_res; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *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; 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_preserved_type_2; PyObject *exception_preserved_value_2; PyTracebackObject *exception_preserved_tb_2; 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_preserved_type_3; PyObject *exception_preserved_value_3; PyTracebackObject *exception_preserved_tb_3; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_af54800a120c869790d6e173a2ba134f = 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; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; assert( var_total_length == NULL ); Py_INCREF( tmp_assign_source_1 ); var_total_length = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_int_0; assert( var_current_position == NULL ); Py_INCREF( tmp_assign_source_2 ); var_current_position = tmp_assign_source_2; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_af54800a120c869790d6e173a2ba134f, codeobj_af54800a120c869790d6e173a2ba134f, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_af54800a120c869790d6e173a2ba134f = cache_frame_af54800a120c869790d6e173a2ba134f; // Push the new frame as the currently active one. pushFrameStack( frame_af54800a120c869790d6e173a2ba134f ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_af54800a120c869790d6e173a2ba134f ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_source_name_1; PyObject *tmp_attribute_name_1; CHECK_OBJECT( par_o ); tmp_source_name_1 = par_o; tmp_attribute_name_1 = const_str_plain___len__; 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 = 109; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_3; PyObject *tmp_len_arg_1; CHECK_OBJECT( par_o ); tmp_len_arg_1 = par_o; tmp_assign_source_3 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 110; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = var_total_length; var_total_length = tmp_assign_source_3; Py_XDECREF( old ); } } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_source_name_2; PyObject *tmp_attribute_name_2; CHECK_OBJECT( par_o ); tmp_source_name_2 = par_o; tmp_attribute_name_2 = const_str_plain_len; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_2, tmp_attribute_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 112; 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_4; PyObject *tmp_source_name_3; CHECK_OBJECT( par_o ); tmp_source_name_3 = par_o; tmp_assign_source_4 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_len ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 113; type_description_1 = "oooo"; goto frame_exception_exit_1; } { PyObject *old = var_total_length; var_total_length = tmp_assign_source_4; Py_XDECREF( old ); } } goto branch_end_2; branch_no_2:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_source_name_4; PyObject *tmp_attribute_name_3; CHECK_OBJECT( par_o ); tmp_source_name_4 = par_o; tmp_attribute_name_3 = const_str_plain_fileno; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_4, tmp_attribute_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 115; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { nuitka_bool tmp_assign_source_5; tmp_assign_source_5 = NUITKA_BOOL_TRUE; tmp_try_except_1__unhandled_indicator = tmp_assign_source_5; } { // Tried code: { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_o ); tmp_called_instance_1 = par_o; frame_af54800a120c869790d6e173a2ba134f->m_frame.f_lineno = 117; tmp_assign_source_6 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_fileno ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 117; type_description_1 = "oooo"; goto try_except_handler_3; } assert( var_fileno == NULL ); var_fileno = tmp_assign_source_6; } 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_7; tmp_assign_source_7 = NUITKA_BOOL_FALSE; tmp_try_except_1__unhandled_indicator = tmp_assign_source_7; } { // 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_af54800a120c869790d6e173a2ba134f, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_af54800a120c869790d6e173a2ba134f, 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_4; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_io ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_io ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "io" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 118; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_source_name_5 = tmp_mvar_value_1; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_UnsupportedOperation ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 118; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_res = EXCEPTION_MATCH_BOOL( 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 = 118; type_description_1 = "oooo"; goto try_except_handler_4; } 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 = 118; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_condition_result_4 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 116; } if (exception_tb && exception_tb->tb_frame == &frame_af54800a120c869790d6e173a2ba134f->m_frame) frame_af54800a120c869790d6e173a2ba134f->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooo"; goto try_except_handler_4; } branch_no_4:; } 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( requests$utils$$$function_4_super_len ); return NULL; // End of try: try_end_1:; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; assert( tmp_try_except_1__unhandled_indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_2 = ( tmp_try_except_1__unhandled_indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_2 = Py_True; tmp_condition_result_5 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? 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_8; PyObject *tmp_source_name_6; PyObject *tmp_called_name_1; PyObject *tmp_source_name_7; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 121; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_source_name_7 = tmp_mvar_value_2; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_fstat ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 121; type_description_1 = "oooo"; goto try_except_handler_2; } if ( var_fileno == 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", "fileno" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 121; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_args_element_name_1 = var_fileno; frame_af54800a120c869790d6e173a2ba134f->m_frame.f_lineno = 121; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_source_name_6 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_source_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 121; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_assign_source_8 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_st_size ); Py_DECREF( tmp_source_name_6 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 121; type_description_1 = "oooo"; goto try_except_handler_2; } { PyObject *old = var_total_length; var_total_length = tmp_assign_source_8; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_source_name_8; tmp_compexpr_left_3 = const_str_plain_b; if ( par_o == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "o" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 125; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_source_name_8 = par_o; tmp_compexpr_right_3 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_mode ); if ( tmp_compexpr_right_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 125; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_res = PySequence_Contains( tmp_compexpr_right_3, tmp_compexpr_left_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 125; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_condition_result_6 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_called_name_2; PyObject *tmp_source_name_9; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_mvar_value_4; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_warnings ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_warnings ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "warnings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 126; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_source_name_9 = tmp_mvar_value_3; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_warn ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 126; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_args_element_name_2 = const_str_digest_01155e5cabe077e90821b61922c8a769; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_FileModeWarning ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_FileModeWarning ); } if ( tmp_mvar_value_4 == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "FileModeWarning" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 133; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_args_element_name_3 = tmp_mvar_value_4; frame_af54800a120c869790d6e173a2ba134f->m_frame.f_lineno = 126; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 126; type_description_1 = "oooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_6:; } branch_no_5:; } goto try_end_3; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { } { // 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_3:; } branch_end_2:; } branch_end_1:; } { nuitka_bool tmp_condition_result_7; PyObject *tmp_source_name_10; PyObject *tmp_attribute_name_4; if ( par_o == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "o" ); 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_10 = par_o; tmp_attribute_name_4 = const_str_plain_tell; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_10, tmp_attribute_name_4 ); 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_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:; { nuitka_bool tmp_assign_source_9; tmp_assign_source_9 = NUITKA_BOOL_TRUE; tmp_try_except_2__unhandled_indicator = tmp_assign_source_9; } { // Tried code: { // Tried code: { PyObject *tmp_assign_source_10; PyObject *tmp_called_instance_2; if ( par_o == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "o" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 138; type_description_1 = "oooo"; goto try_except_handler_6; } tmp_called_instance_2 = par_o; frame_af54800a120c869790d6e173a2ba134f->m_frame.f_lineno = 138; tmp_assign_source_10 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_tell ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 138; type_description_1 = "oooo"; goto try_except_handler_6; } { PyObject *old = var_current_position; var_current_position = tmp_assign_source_10; Py_XDECREF( old ); } } goto try_end_4; // Exception handler code: try_except_handler_6:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { nuitka_bool tmp_assign_source_11; tmp_assign_source_11 = NUITKA_BOOL_FALSE; tmp_try_except_2__unhandled_indicator = tmp_assign_source_11; } { // 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_4 == NULL ) { exception_keeper_tb_4 = MAKE_TRACEBACK( frame_af54800a120c869790d6e173a2ba134f, exception_keeper_lineno_4 ); } else if ( exception_keeper_lineno_4 != 0 ) { exception_keeper_tb_4 = ADD_TRACEBACK( exception_keeper_tb_4, frame_af54800a120c869790d6e173a2ba134f, exception_keeper_lineno_4 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4 ); PyException_SetTraceback( exception_keeper_value_4, (PyObject *)exception_keeper_tb_4 ); PUBLISH_EXCEPTION( &exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4 ); } { // Tried code: { nuitka_bool tmp_condition_result_8; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; tmp_compexpr_left_4 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_4 = const_tuple_type_OSError_type_OSError_tuple; 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 = 139; type_description_1 = "oooo"; goto try_except_handler_7; } tmp_condition_result_8 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { nuitka_bool tmp_condition_result_9; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; if ( var_total_length == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "total_length" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 144; type_description_1 = "oooo"; goto try_except_handler_7; } tmp_compexpr_left_5 = var_total_length; tmp_compexpr_right_5 = Py_None; tmp_condition_result_9 = ( tmp_compexpr_left_5 != tmp_compexpr_right_5 ) ? 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_12; if ( var_total_length == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "total_length" ); 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_7; } tmp_assign_source_12 = var_total_length; { PyObject *old = var_current_position; var_current_position = tmp_assign_source_12; Py_INCREF( var_current_position ); Py_XDECREF( old ); } } branch_no_9:; } goto branch_end_8; branch_no_8:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 137; } if (exception_tb && exception_tb->tb_frame == &frame_af54800a120c869790d6e173a2ba134f->m_frame) frame_af54800a120c869790d6e173a2ba134f->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooo"; goto try_except_handler_7; } branch_end_8:; } goto try_end_5; // 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; { // 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_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_5; } // End of try: try_end_5:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 ); } goto try_end_4; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_4_super_len ); return NULL; // End of try: try_end_4:; } { nuitka_bool tmp_condition_result_10; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; assert( tmp_try_except_2__unhandled_indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_6 = ( tmp_try_except_2__unhandled_indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_6 = Py_True; tmp_condition_result_10 = ( tmp_compexpr_left_6 == tmp_compexpr_right_6 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { nuitka_bool tmp_condition_result_11; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_source_name_11; PyObject *tmp_attribute_name_5; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; if ( par_o == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "o" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 147; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_source_name_11 = par_o; tmp_attribute_name_5 = const_str_plain_seek; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_11, tmp_attribute_name_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 147; type_description_1 = "oooo"; goto try_except_handler_5; } 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_total_length == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "total_length" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 147; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_compexpr_left_7 = var_total_length; tmp_compexpr_right_7 = Py_None; tmp_and_right_value_1 = ( tmp_compexpr_left_7 == tmp_compexpr_right_7 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_11 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_11 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE ) { goto branch_yes_11; } else { goto branch_no_11; } branch_yes_11:; { // Tried code: { PyObject *tmp_called_instance_3; if ( par_o == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "o" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 151; type_description_1 = "oooo"; goto try_except_handler_8; } tmp_called_instance_3 = par_o; frame_af54800a120c869790d6e173a2ba134f->m_frame.f_lineno = 151; tmp_unused = CALL_METHOD_WITH_ARGS2( tmp_called_instance_3, const_str_plain_seek, &PyTuple_GET_ITEM( const_tuple_int_0_int_pos_2_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 151; type_description_1 = "oooo"; goto try_except_handler_8; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_13; PyObject *tmp_called_instance_4; if ( par_o == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "o" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 152; type_description_1 = "oooo"; goto try_except_handler_8; } tmp_called_instance_4 = par_o; frame_af54800a120c869790d6e173a2ba134f->m_frame.f_lineno = 152; tmp_assign_source_13 = CALL_METHOD_NO_ARGS( tmp_called_instance_4, const_str_plain_tell ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 152; type_description_1 = "oooo"; goto try_except_handler_8; } { PyObject *old = var_total_length; var_total_length = tmp_assign_source_13; Py_XDECREF( old ); } } { PyObject *tmp_called_name_3; PyObject *tmp_source_name_12; PyObject *tmp_args_element_name_4; int tmp_or_left_truth_1; PyObject *tmp_or_left_value_1; PyObject *tmp_or_right_value_1; if ( par_o == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "o" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 156; type_description_1 = "oooo"; goto try_except_handler_8; } tmp_source_name_12 = par_o; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_seek ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 156; type_description_1 = "oooo"; goto try_except_handler_8; } if ( var_current_position == 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", "current_position" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 156; type_description_1 = "oooo"; goto try_except_handler_8; } tmp_or_left_value_1 = var_current_position; tmp_or_left_truth_1 = CHECK_IF_TRUE( tmp_or_left_value_1 ); if ( tmp_or_left_truth_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 156; type_description_1 = "oooo"; goto try_except_handler_8; } if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; tmp_or_right_value_1 = const_int_0; tmp_args_element_name_4 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_args_element_name_4 = tmp_or_left_value_1; or_end_1:; frame_af54800a120c869790d6e173a2ba134f->m_frame.f_lineno = 156; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 156; type_description_1 = "oooo"; goto try_except_handler_8; } Py_DECREF( tmp_unused ); } goto try_end_6; // Exception handler code: try_except_handler_8:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Preserve existing published exception. exception_preserved_type_3 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_3 ); exception_preserved_value_3 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_3 ); exception_preserved_tb_3 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_3 ); } { if ( exception_keeper_tb_6 == NULL ) { exception_keeper_tb_6 = MAKE_TRACEBACK( frame_af54800a120c869790d6e173a2ba134f, exception_keeper_lineno_6 ); } else if ( exception_keeper_lineno_6 != 0 ) { exception_keeper_tb_6 = ADD_TRACEBACK( exception_keeper_tb_6, frame_af54800a120c869790d6e173a2ba134f, exception_keeper_lineno_6 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_6, &exception_keeper_value_6, &exception_keeper_tb_6 ); PyException_SetTraceback( exception_keeper_value_6, (PyObject *)exception_keeper_tb_6 ); PUBLISH_EXCEPTION( &exception_keeper_type_6, &exception_keeper_value_6, &exception_keeper_tb_6 ); } { // Tried code: { nuitka_bool tmp_condition_result_12; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; tmp_compexpr_left_8 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_8 = const_tuple_type_OSError_type_OSError_tuple; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 157; type_description_1 = "oooo"; goto try_except_handler_9; } 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_assign_source_14; tmp_assign_source_14 = const_int_0; { PyObject *old = var_total_length; var_total_length = tmp_assign_source_14; Py_INCREF( var_total_length ); Py_XDECREF( old ); } } goto branch_end_12; branch_no_12:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 149; } if (exception_tb && exception_tb->tb_frame == &frame_af54800a120c869790d6e173a2ba134f->m_frame) frame_af54800a120c869790d6e173a2ba134f->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooo"; goto try_except_handler_9; } branch_end_12:; } goto try_end_7; // 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; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_3, exception_preserved_value_3, exception_preserved_tb_3 ); } { // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto try_except_handler_5; } // End of try: try_end_7:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_3, exception_preserved_value_3, exception_preserved_tb_3 ); } goto try_end_6; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_4_super_len ); return NULL; // End of try: try_end_6:; } branch_no_11:; } branch_no_10:; } goto try_end_8; // Exception handler code: try_except_handler_5:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { } { // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto frame_exception_exit_1; } // End of try: try_end_8:; } { } branch_no_7:; } { nuitka_bool tmp_condition_result_13; PyObject *tmp_compexpr_left_9; PyObject *tmp_compexpr_right_9; if ( var_total_length == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "total_length" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 160; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_9 = var_total_length; 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_assign_source_15; tmp_assign_source_15 = const_int_0; { PyObject *old = var_total_length; var_total_length = tmp_assign_source_15; Py_INCREF( var_total_length ); Py_XDECREF( old ); } } branch_no_13:; } { PyObject *tmp_called_name_4; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; tmp_called_name_4 = LOOKUP_BUILTIN( const_str_plain_max ); assert( tmp_called_name_4 != NULL ); tmp_args_element_name_5 = const_int_0; if ( var_total_length == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "total_length" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 163; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_1 = var_total_length; if ( var_current_position == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "current_position" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 163; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_right_name_1 = var_current_position; tmp_args_element_name_6 = BINARY_OPERATION_SUB( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_args_element_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 163; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_af54800a120c869790d6e173a2ba134f->m_frame.f_lineno = 163; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_4, call_args ); } Py_DECREF( tmp_args_element_name_6 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 163; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_af54800a120c869790d6e173a2ba134f ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_af54800a120c869790d6e173a2ba134f ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_af54800a120c869790d6e173a2ba134f ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_af54800a120c869790d6e173a2ba134f, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_af54800a120c869790d6e173a2ba134f->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_af54800a120c869790d6e173a2ba134f, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_af54800a120c869790d6e173a2ba134f, type_description_1, par_o, var_total_length, var_current_position, var_fileno ); // Release cached frame. if ( frame_af54800a120c869790d6e173a2ba134f == cache_frame_af54800a120c869790d6e173a2ba134f ) { Py_DECREF( frame_af54800a120c869790d6e173a2ba134f ); } cache_frame_af54800a120c869790d6e173a2ba134f = NULL; assertFrameObject( frame_af54800a120c869790d6e173a2ba134f ); // 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( requests$utils$$$function_4_super_len ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_o ); par_o = NULL; } { Py_XDECREF( var_total_length ); var_total_length = NULL; } { Py_XDECREF( var_current_position ); var_current_position = NULL; } { Py_XDECREF( var_fileno ); var_fileno = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_o ); par_o = NULL; } { Py_XDECREF( var_total_length ); var_total_length = NULL; } { Py_XDECREF( var_current_position ); var_current_position = NULL; } { Py_XDECREF( var_fileno ); var_fileno = 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 function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_4_super_len ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$utils$$$function_5_get_netrc_auth( 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_url = python_pars[ 0 ]; PyObject *par_raise_errors = python_pars[ 1 ]; PyObject *var_netrc = NULL; PyObject *var_NetrcParseError = NULL; PyObject *var_netrc_path = NULL; PyObject *var_f = NULL; PyObject *var_loc = NULL; PyObject *var_ri = NULL; PyObject *var_splitstr = NULL; PyObject *var_host = NULL; PyObject *var__netrc = NULL; PyObject *var_login_i = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_import_from_1__module = NULL; struct Nuitka_FrameObject *frame_e96055da711d10a1decf6bf391988e2b; 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_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; PyObject *tmp_return_value = NULL; bool tmp_result; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *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_2; PyObject *exception_preserved_value_2; PyTracebackObject *exception_preserved_tb_2; 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_3; PyObject *exception_preserved_value_3; PyTracebackObject *exception_preserved_tb_3; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; static struct Nuitka_FrameObject *cache_frame_e96055da711d10a1decf6bf391988e2b = 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; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_e96055da711d10a1decf6bf391988e2b, codeobj_e96055da711d10a1decf6bf391988e2b, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_e96055da711d10a1decf6bf391988e2b = cache_frame_e96055da711d10a1decf6bf391988e2b; // Push the new frame as the currently active one. pushFrameStack( frame_e96055da711d10a1decf6bf391988e2b ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e96055da711d10a1decf6bf391988e2b ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_name_name_1; PyObject *tmp_globals_name_1; PyObject *tmp_locals_name_1; PyObject *tmp_fromlist_name_1; PyObject *tmp_level_name_1; tmp_name_name_1 = const_str_plain_netrc; tmp_globals_name_1 = (PyObject *)moduledict_requests$utils; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = const_tuple_str_plain_netrc_str_plain_NetrcParseError_tuple; tmp_level_name_1 = const_int_0; frame_e96055da711d10a1decf6bf391988e2b->m_frame.f_lineno = 170; tmp_assign_source_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_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 170; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } assert( tmp_import_from_1__module == NULL ); tmp_import_from_1__module = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; 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_2 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_netrc ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 170; type_description_1 = "oooooooooooo"; goto try_except_handler_3; } assert( var_netrc == NULL ); var_netrc = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; 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_3 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_NetrcParseError ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 170; type_description_1 = "oooooooooooo"; goto try_except_handler_3; } assert( var_NetrcParseError == NULL ); var_NetrcParseError = tmp_assign_source_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_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 try_except_handler_2; } // 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_4; tmp_assign_source_4 = Py_None; assert( var_netrc_path == NULL ); Py_INCREF( tmp_assign_source_4 ); var_netrc_path = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_iter_arg_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_NETRC_FILES ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NETRC_FILES ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NETRC_FILES" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 174; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } tmp_iter_arg_1 = tmp_mvar_value_1; 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 = 174; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_5; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_6 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_6 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooooooo"; exception_lineno = 174; goto try_except_handler_4; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_6; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_7; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_7 = tmp_for_loop_1__iter_value; { PyObject *old = var_f; var_f = tmp_assign_source_7; Py_INCREF( var_f ); Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_8; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 176; type_description_1 = "oooooooooooo"; goto try_except_handler_5; } tmp_source_name_2 = tmp_mvar_value_2; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_path ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 176; type_description_1 = "oooooooooooo"; goto try_except_handler_5; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_expanduser ); 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 = 176; type_description_1 = "oooooooooooo"; goto try_except_handler_5; } tmp_source_name_3 = const_str_digest_c5a95eac85f8ee3baa86014b58b79f79; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_format ); assert( !(tmp_called_name_2 == NULL) ); if ( var_f == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "f" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 176; type_description_1 = "oooooooooooo"; goto try_except_handler_5; } tmp_args_element_name_2 = var_f; frame_e96055da711d10a1decf6bf391988e2b->m_frame.f_lineno = 176; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_args_element_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 176; type_description_1 = "oooooooooooo"; goto try_except_handler_5; } frame_e96055da711d10a1decf6bf391988e2b->m_frame.f_lineno = 176; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_8 = 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_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 176; type_description_1 = "oooooooooooo"; goto try_except_handler_5; } { PyObject *old = var_loc; var_loc = tmp_assign_source_8; Py_XDECREF( old ); } } goto try_end_2; // Exception handler code: try_except_handler_5:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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_2 == NULL ) { exception_keeper_tb_2 = MAKE_TRACEBACK( frame_e96055da711d10a1decf6bf391988e2b, exception_keeper_lineno_2 ); } else if ( exception_keeper_lineno_2 != 0 ) { exception_keeper_tb_2 = ADD_TRACEBACK( exception_keeper_tb_2, frame_e96055da711d10a1decf6bf391988e2b, exception_keeper_lineno_2 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2 ); PyException_SetTraceback( exception_keeper_value_2, (PyObject *)exception_keeper_tb_2 ); PUBLISH_EXCEPTION( &exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2 ); } { // 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 = 177; type_description_1 = "oooooooooooo"; 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:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_6; } goto branch_end_1; branch_no_1:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 175; } if (exception_tb && exception_tb->tb_frame == &frame_e96055da711d10a1decf6bf391988e2b->m_frame) frame_e96055da711d10a1decf6bf391988e2b->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooooooooo"; goto try_except_handler_6; } branch_end_1:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_5_get_netrc_auth ); return NULL; // Return handler code: try_return_handler_6:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { goto try_return_handler_4; } // 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; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_4; } // End of try: } // End of try: try_end_2:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_called_name_3; PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_3; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_3; int tmp_truth_name_1; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 183; type_description_1 = "oooooooooooo"; goto try_except_handler_4; } tmp_source_name_5 = tmp_mvar_value_3; tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_path ); if ( tmp_source_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; type_description_1 = "oooooooooooo"; goto try_except_handler_4; } tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_exists ); Py_DECREF( tmp_source_name_4 ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; type_description_1 = "oooooooooooo"; goto try_except_handler_4; } if ( var_loc == 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", "loc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 183; type_description_1 = "oooooooooooo"; goto try_except_handler_4; } tmp_args_element_name_3 = var_loc; frame_e96055da711d10a1decf6bf391988e2b->m_frame.f_lineno = 183; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 183; type_description_1 = "oooooooooooo"; goto try_except_handler_4; } 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 = 183; type_description_1 = "oooooooooooo"; goto try_except_handler_4; } tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_9; if ( var_loc == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "loc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 184; type_description_1 = "oooooooooooo"; goto try_except_handler_4; } tmp_assign_source_9 = var_loc; { PyObject *old = var_netrc_path; var_netrc_path = tmp_assign_source_9; Py_INCREF( var_netrc_path ); Py_XDECREF( old ); } } { goto loop_end_1; } branch_no_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 174; type_description_1 = "oooooooooooo"; goto try_except_handler_4; } goto loop_start_1; loop_end_1:; } goto try_end_3; // Return handler code: try_return_handler_4:; { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__iter_value ); Py_DECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto try_except_handler_2; } // End of try: try_end_3:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( var_netrc_path == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "netrc_path" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 188; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } tmp_compexpr_left_2 = var_netrc_path; 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:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_3:; } { PyObject *tmp_assign_source_10; PyObject *tmp_called_name_4; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_urlparse ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_urlparse ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "urlparse" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 191; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } tmp_called_name_4 = tmp_mvar_value_4; if ( par_url == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "url" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 191; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_4 = par_url; frame_e96055da711d10a1decf6bf391988e2b->m_frame.f_lineno = 191; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_assign_source_10 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 191; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } assert( var_ri == NULL ); var_ri = tmp_assign_source_10; } { PyObject *tmp_assign_source_11; tmp_assign_source_11 = const_bytes_chr_58; assert( var_splitstr == NULL ); Py_INCREF( tmp_assign_source_11 ); var_splitstr = tmp_assign_source_11; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_5; if ( par_url == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "url" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 196; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } tmp_isinstance_inst_1 = par_url; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_str ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 196; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } tmp_isinstance_cls_1 = tmp_mvar_value_5; 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 = 196; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_assign_source_12; PyObject *tmp_called_instance_1; tmp_called_instance_1 = const_bytes_chr_58; frame_e96055da711d10a1decf6bf391988e2b->m_frame.f_lineno = 197; tmp_assign_source_12 = 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_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 197; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } { PyObject *old = var_splitstr; var_splitstr = tmp_assign_source_12; Py_XDECREF( old ); } } branch_no_4:; } { PyObject *tmp_assign_source_13; PyObject *tmp_subscribed_name_1; PyObject *tmp_called_name_5; PyObject *tmp_source_name_6; PyObject *tmp_source_name_7; PyObject *tmp_args_element_name_5; PyObject *tmp_subscript_name_1; if ( var_ri == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ri" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 198; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } tmp_source_name_7 = var_ri; tmp_source_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_netloc ); if ( tmp_source_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 198; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_split ); Py_DECREF( tmp_source_name_6 ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 198; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } if ( var_splitstr == 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", "splitstr" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 198; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } tmp_args_element_name_5 = var_splitstr; frame_e96055da711d10a1decf6bf391988e2b->m_frame.f_lineno = 198; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_subscribed_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 198; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } tmp_subscript_name_1 = const_int_0; tmp_assign_source_13 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 198; type_description_1 = "oooooooooooo"; goto try_except_handler_2; } assert( var_host == NULL ); var_host = tmp_assign_source_13; } { // Tried code: { PyObject *tmp_assign_source_14; PyObject *tmp_called_name_6; PyObject *tmp_source_name_8; PyObject *tmp_called_name_7; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; if ( var_netrc == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "netrc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 201; type_description_1 = "oooooooooooo"; goto try_except_handler_7; } tmp_called_name_7 = var_netrc; if ( var_netrc_path == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "netrc_path" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 201; type_description_1 = "oooooooooooo"; goto try_except_handler_7; } tmp_args_element_name_6 = var_netrc_path; frame_e96055da711d10a1decf6bf391988e2b->m_frame.f_lineno = 201; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_source_name_8 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } if ( tmp_source_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 201; type_description_1 = "oooooooooooo"; goto try_except_handler_7; } tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_authenticators ); Py_DECREF( tmp_source_name_8 ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 201; type_description_1 = "oooooooooooo"; goto try_except_handler_7; } if ( var_host == 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", "host" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 201; type_description_1 = "oooooooooooo"; goto try_except_handler_7; } tmp_args_element_name_7 = var_host; frame_e96055da711d10a1decf6bf391988e2b->m_frame.f_lineno = 201; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_assign_source_14 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 201; type_description_1 = "oooooooooooo"; goto try_except_handler_7; } assert( var__netrc == NULL ); var__netrc = tmp_assign_source_14; } { nuitka_bool tmp_condition_result_5; int tmp_truth_name_2; CHECK_OBJECT( var__netrc ); tmp_truth_name_2 = CHECK_IF_TRUE( var__netrc ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 202; type_description_1 = "oooooooooooo"; goto try_except_handler_7; } tmp_condition_result_5 = tmp_truth_name_2 == 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_assign_source_15; nuitka_bool tmp_condition_result_6; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_subscript_result_1; int tmp_truth_name_3; CHECK_OBJECT( var__netrc ); tmp_subscribed_name_2 = var__netrc; tmp_subscript_name_2 = const_int_0; tmp_subscript_result_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); if ( tmp_subscript_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 204; type_description_1 = "oooooooooooo"; goto try_except_handler_7; } tmp_truth_name_3 = CHECK_IF_TRUE( tmp_subscript_result_1 ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscript_result_1 ); exception_lineno = 204; type_description_1 = "oooooooooooo"; goto try_except_handler_7; } tmp_condition_result_6 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_subscript_result_1 ); if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; tmp_assign_source_15 = const_int_0; goto condexpr_end_1; condexpr_false_1:; tmp_assign_source_15 = const_int_pos_1; condexpr_end_1:; assert( var_login_i == NULL ); Py_INCREF( tmp_assign_source_15 ); var_login_i = tmp_assign_source_15; } { PyObject *tmp_tuple_element_1; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; if ( var__netrc == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "_netrc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 205; type_description_1 = "oooooooooooo"; goto try_except_handler_7; } tmp_subscribed_name_3 = var__netrc; CHECK_OBJECT( var_login_i ); tmp_subscript_name_3 = var_login_i; tmp_tuple_element_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 205; type_description_1 = "oooooooooooo"; goto try_except_handler_7; } tmp_return_value = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 ); if ( var__netrc == NULL ) { Py_DECREF( tmp_return_value ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "_netrc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 205; type_description_1 = "oooooooooooo"; goto try_except_handler_7; } tmp_subscribed_name_4 = var__netrc; tmp_subscript_name_4 = const_int_pos_2; tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_4, tmp_subscript_name_4, 2 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_return_value ); exception_lineno = 205; type_description_1 = "oooooooooooo"; goto try_except_handler_7; } PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 ); goto frame_return_exit_1; } branch_no_5:; } goto try_end_4; // 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; { // 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_5 == NULL ) { exception_keeper_tb_5 = MAKE_TRACEBACK( frame_e96055da711d10a1decf6bf391988e2b, exception_keeper_lineno_5 ); } else if ( exception_keeper_lineno_5 != 0 ) { exception_keeper_tb_5 = ADD_TRACEBACK( exception_keeper_tb_5, frame_e96055da711d10a1decf6bf391988e2b, 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_7; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_tuple_element_2; tmp_compexpr_left_3 = EXC_TYPE(PyThreadState_GET()); if ( var_NetrcParseError == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "NetrcParseError" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 206; type_description_1 = "oooooooooooo"; goto try_except_handler_8; } tmp_tuple_element_2 = var_NetrcParseError; tmp_compexpr_right_3 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_compexpr_right_3, 0, tmp_tuple_element_2 ); tmp_tuple_element_2 = PyExc_IOError; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_compexpr_right_3, 1, tmp_tuple_element_2 ); tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 206; type_description_1 = "oooooooooooo"; goto try_except_handler_8; } tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { nuitka_bool tmp_condition_result_8; int tmp_truth_name_4; if ( par_raise_errors == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "raise_errors" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 209; type_description_1 = "oooooooooooo"; goto try_except_handler_8; } tmp_truth_name_4 = CHECK_IF_TRUE( par_raise_errors ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 209; type_description_1 = "oooooooooooo"; goto try_except_handler_8; } tmp_condition_result_8 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 210; } if (exception_tb && exception_tb->tb_frame == &frame_e96055da711d10a1decf6bf391988e2b->m_frame) frame_e96055da711d10a1decf6bf391988e2b->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooooooooo"; goto try_except_handler_8; } branch_no_7:; } goto branch_end_6; branch_no_6:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 200; } if (exception_tb && exception_tb->tb_frame == &frame_e96055da711d10a1decf6bf391988e2b->m_frame) frame_e96055da711d10a1decf6bf391988e2b->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooooooooo"; goto try_except_handler_8; } branch_end_6:; } goto try_end_5; // Exception handler code: try_except_handler_8:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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_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_5:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 ); } goto try_end_4; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_5_get_netrc_auth ); return NULL; // End of try: try_end_4:; } goto try_end_6; // Exception handler code: try_except_handler_2:; 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_3 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_3 ); exception_preserved_value_3 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_3 ); exception_preserved_tb_3 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_3 ); } { if ( exception_keeper_tb_7 == NULL ) { exception_keeper_tb_7 = MAKE_TRACEBACK( frame_e96055da711d10a1decf6bf391988e2b, exception_keeper_lineno_7 ); } else if ( exception_keeper_lineno_7 != 0 ) { exception_keeper_tb_7 = ADD_TRACEBACK( exception_keeper_tb_7, frame_e96055da711d10a1decf6bf391988e2b, 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_9; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; tmp_compexpr_left_4 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_4 = const_tuple_type_ImportError_type_AttributeError_tuple; 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 = 213; type_description_1 = "oooooooooooo"; goto try_except_handler_9; } 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 = 213; type_description_1 = "oooooooooooo"; goto try_except_handler_9; } tmp_condition_result_9 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_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 = 169; } if (exception_tb && exception_tb->tb_frame == &frame_e96055da711d10a1decf6bf391988e2b->m_frame) frame_e96055da711d10a1decf6bf391988e2b->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooooooooooo"; goto try_except_handler_9; } branch_no_8:; } goto try_end_7; // Exception handler code: try_except_handler_9:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_3, exception_preserved_value_3, exception_preserved_tb_3 ); } { // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto frame_exception_exit_1; } // End of try: try_end_7:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_3, exception_preserved_value_3, exception_preserved_tb_3 ); } goto try_end_6; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_5_get_netrc_auth ); return NULL; // End of try: try_end_6:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_e96055da711d10a1decf6bf391988e2b ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e96055da711d10a1decf6bf391988e2b ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e96055da711d10a1decf6bf391988e2b ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e96055da711d10a1decf6bf391988e2b, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e96055da711d10a1decf6bf391988e2b->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e96055da711d10a1decf6bf391988e2b, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e96055da711d10a1decf6bf391988e2b, type_description_1, par_url, par_raise_errors, var_netrc, var_NetrcParseError, var_netrc_path, var_f, var_loc, var_ri, var_splitstr, var_host, var__netrc, var_login_i ); // Release cached frame. if ( frame_e96055da711d10a1decf6bf391988e2b == cache_frame_e96055da711d10a1decf6bf391988e2b ) { Py_DECREF( frame_e96055da711d10a1decf6bf391988e2b ); } cache_frame_e96055da711d10a1decf6bf391988e2b = NULL; assertFrameObject( frame_e96055da711d10a1decf6bf391988e2b ); // 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( requests$utils$$$function_5_get_netrc_auth ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_url ); par_url = NULL; } { Py_XDECREF( par_raise_errors ); par_raise_errors = NULL; } { Py_XDECREF( var_netrc ); var_netrc = NULL; } { Py_XDECREF( var_NetrcParseError ); var_NetrcParseError = NULL; } { Py_XDECREF( var_netrc_path ); var_netrc_path = NULL; } { Py_XDECREF( var_f ); var_f = NULL; } { Py_XDECREF( var_loc ); var_loc = NULL; } { Py_XDECREF( var_ri ); var_ri = NULL; } { Py_XDECREF( var_splitstr ); var_splitstr = NULL; } { Py_XDECREF( var_host ); var_host = NULL; } { Py_XDECREF( var__netrc ); var__netrc = NULL; } { Py_XDECREF( var_login_i ); var_login_i = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_url ); par_url = NULL; } { Py_XDECREF( par_raise_errors ); par_raise_errors = NULL; } { Py_XDECREF( var_netrc ); var_netrc = NULL; } { Py_XDECREF( var_NetrcParseError ); var_NetrcParseError = NULL; } { Py_XDECREF( var_netrc_path ); var_netrc_path = NULL; } { Py_XDECREF( var_f ); var_f = NULL; } { Py_XDECREF( var_loc ); var_loc = NULL; } { Py_XDECREF( var_ri ); var_ri = NULL; } { Py_XDECREF( var_splitstr ); var_splitstr = NULL; } { Py_XDECREF( var_host ); var_host = NULL; } { Py_XDECREF( var__netrc ); var__netrc = NULL; } { Py_XDECREF( var_login_i ); var_login_i = 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 function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_5_get_netrc_auth ); 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_requests$utils$$$function_6_guess_filename( 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_obj = python_pars[ 0 ]; PyObject *var_name = NULL; struct Nuitka_FrameObject *frame_53625604f63afd50015c7f4573609c31; 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_53625604f63afd50015c7f4573609c31 = 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_53625604f63afd50015c7f4573609c31, codeobj_53625604f63afd50015c7f4573609c31, module_requests$utils, sizeof(void *)+sizeof(void *) ); frame_53625604f63afd50015c7f4573609c31 = cache_frame_53625604f63afd50015c7f4573609c31; // Push the new frame as the currently active one. pushFrameStack( frame_53625604f63afd50015c7f4573609c31 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_53625604f63afd50015c7f4573609c31 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; CHECK_OBJECT( par_obj ); tmp_getattr_target_1 = par_obj; tmp_getattr_attr_1 = const_str_plain_name; tmp_getattr_default_1 = Py_None; tmp_assign_source_1 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 219; type_description_1 = "oo"; goto frame_exception_exit_1; } assert( var_name == NULL ); var_name = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; int tmp_truth_name_1; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; int tmp_and_left_truth_3; nuitka_bool tmp_and_left_value_3; nuitka_bool tmp_and_right_value_3; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; CHECK_OBJECT( var_name ); tmp_truth_name_1 = CHECK_IF_TRUE( var_name ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 220; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; CHECK_OBJECT( var_name ); tmp_isinstance_inst_1 = var_name; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_basestring ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_basestring ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "basestring" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 220; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_isinstance_cls_1 = tmp_mvar_value_1; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 220; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_and_left_value_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; CHECK_OBJECT( var_name ); tmp_subscribed_name_1 = var_name; 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 = 220; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_str_chr_60; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 220; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_and_left_value_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_3 == 1 ) { goto and_right_3; } else { goto and_left_3; } and_right_3:; if ( var_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 221; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = var_name; tmp_subscript_name_2 = const_int_neg_1; tmp_compexpr_left_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, -1 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 221; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = const_str_chr_62; tmp_res = RICH_COMPARE_BOOL_NE( 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 = 221; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_and_right_value_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_right_value_2 = tmp_and_right_value_3; goto and_end_3; and_left_3:; tmp_and_right_value_2 = tmp_and_left_value_3; and_end_3:; tmp_and_right_value_1 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_and_right_value_1 = tmp_and_left_value_2; and_end_2:; tmp_condition_result_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_1 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 222; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_path ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 222; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_basename ); 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 = 222; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( var_name == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 222; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = var_name; frame_53625604f63afd50015c7f4573609c31->m_frame.f_lineno = 222; { 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 = 222; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_53625604f63afd50015c7f4573609c31 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_53625604f63afd50015c7f4573609c31 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_53625604f63afd50015c7f4573609c31 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_53625604f63afd50015c7f4573609c31, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_53625604f63afd50015c7f4573609c31->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_53625604f63afd50015c7f4573609c31, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_53625604f63afd50015c7f4573609c31, type_description_1, par_obj, var_name ); // Release cached frame. if ( frame_53625604f63afd50015c7f4573609c31 == cache_frame_53625604f63afd50015c7f4573609c31 ) { Py_DECREF( frame_53625604f63afd50015c7f4573609c31 ); } cache_frame_53625604f63afd50015c7f4573609c31 = NULL; assertFrameObject( frame_53625604f63afd50015c7f4573609c31 ); // 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( requests$utils$$$function_6_guess_filename ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_obj ); par_obj = NULL; } { Py_XDECREF( var_name ); var_name = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_obj ); par_obj = NULL; } { Py_XDECREF( var_name ); var_name = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_6_guess_filename ); 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_requests$utils$$$function_7_extract_zipped_paths( 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_path = python_pars[ 0 ]; PyObject *var_archive = NULL; PyObject *var_member = NULL; PyObject *var_prefix = NULL; PyObject *var_zip_file = NULL; PyObject *var_tmp = NULL; PyObject *var_extracted_path = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; struct Nuitka_FrameObject *frame_4330b20b8b9140a7b99fed4d75389f07; 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; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; int tmp_res; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; 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_4330b20b8b9140a7b99fed4d75389f07 = 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_4330b20b8b9140a7b99fed4d75389f07, codeobj_4330b20b8b9140a7b99fed4d75389f07, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_4330b20b8b9140a7b99fed4d75389f07 = cache_frame_4330b20b8b9140a7b99fed4d75389f07; // Push the new frame as the currently active one. pushFrameStack( frame_4330b20b8b9140a7b99fed4d75389f07 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4330b20b8b9140a7b99fed4d75389f07 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_1; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; int tmp_truth_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); 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_2 = tmp_mvar_value_1; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_path ); if ( tmp_source_name_1 == 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; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_exists ); 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 = 230; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( par_path == 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", "path" ); 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_args_element_name_1 = par_path; frame_4330b20b8b9140a7b99fed4d75389f07->m_frame.f_lineno = 230; { 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 = 230; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 230; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } 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:; { if ( par_path == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "path" ); 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_return_value = par_path; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 236; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_source_name_4 = tmp_mvar_value_2; tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_path ); if ( tmp_source_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 236; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_split ); 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 = 236; type_description_1 = "ooooooo"; goto try_except_handler_2; } if ( par_path == 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", "path" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 236; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_args_element_name_2 = par_path; frame_4330b20b8b9140a7b99fed4d75389f07->m_frame.f_lineno = 236; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 236; type_description_1 = "ooooooo"; 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 = 236; type_description_1 = "ooooooo"; 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 = "ooooooo"; exception_lineno = 236; 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 = "ooooooo"; exception_lineno = 236; 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 = "ooooooo"; exception_lineno = 236; 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 = "ooooooo"; exception_lineno = 236; 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_archive == NULL ); Py_INCREF( tmp_assign_source_4 ); var_archive = 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_member == NULL ); Py_INCREF( tmp_assign_source_5 ); var_member = tmp_assign_source_5; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { loop_start_1:; { nuitka_bool tmp_condition_result_2; 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_operand_name_2; PyObject *tmp_called_name_3; PyObject *tmp_source_name_5; PyObject *tmp_source_name_6; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_3; if ( var_archive == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "archive" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 237; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = var_archive; tmp_and_left_truth_1 = CHECK_IF_TRUE( tmp_and_left_value_1 ); if ( tmp_and_left_truth_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 237; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 237; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = tmp_mvar_value_3; tmp_source_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_path ); if ( tmp_source_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 237; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_exists ); Py_DECREF( tmp_source_name_5 ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 237; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( var_archive == 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", "archive" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 237; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = var_archive; frame_4330b20b8b9140a7b99fed4d75389f07->m_frame.f_lineno = 237; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_operand_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_operand_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 237; type_description_1 = "ooooooo"; 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 = 237; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res == 0 ) ? Py_True : Py_False; 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 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 237; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { goto loop_end_1; } branch_no_2:; } { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_iter_arg_2; PyObject *tmp_called_name_4; PyObject *tmp_source_name_7; PyObject *tmp_source_name_8; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 238; type_description_1 = "ooooooo"; goto try_except_handler_4; } tmp_source_name_8 = tmp_mvar_value_4; tmp_source_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_path ); if ( tmp_source_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 238; type_description_1 = "ooooooo"; goto try_except_handler_4; } tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_split ); Py_DECREF( tmp_source_name_7 ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 238; type_description_1 = "ooooooo"; goto try_except_handler_4; } if ( var_archive == 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", "archive" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 238; type_description_1 = "ooooooo"; goto try_except_handler_4; } tmp_args_element_name_4 = var_archive; frame_4330b20b8b9140a7b99fed4d75389f07->m_frame.f_lineno = 238; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_iter_arg_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_iter_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 238; type_description_1 = "ooooooo"; goto try_except_handler_4; } tmp_assign_source_6 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 238; type_description_1 = "ooooooo"; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_2__source_iter; tmp_tuple_unpack_2__source_iter = tmp_assign_source_6; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_7; PyObject *tmp_unpack_3; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_3 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_7 = UNPACK_NEXT( tmp_unpack_3, 0, 2 ); if ( tmp_assign_source_7 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooo"; exception_lineno = 238; goto try_except_handler_5; } { PyObject *old = tmp_tuple_unpack_2__element_1; tmp_tuple_unpack_2__element_1 = tmp_assign_source_7; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_8; PyObject *tmp_unpack_4; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_8 = UNPACK_NEXT( tmp_unpack_4, 1, 2 ); if ( tmp_assign_source_8 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooo"; exception_lineno = 238; goto try_except_handler_5; } { PyObject *old = tmp_tuple_unpack_2__element_2; tmp_tuple_unpack_2__element_2 = tmp_assign_source_8; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_2; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_2 ); assert( HAS_ITERNEXT( tmp_iterator_name_2 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_2 )->tp_iternext)( tmp_iterator_name_2 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooo"; exception_lineno = 238; 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 = "ooooooo"; exception_lineno = 238; 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_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_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; { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_4:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_tuple_unpack_2__element_1 ); tmp_assign_source_9 = tmp_tuple_unpack_2__element_1; { PyObject *old = var_archive; var_archive = tmp_assign_source_9; Py_INCREF( var_archive ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { PyObject *tmp_assign_source_10; CHECK_OBJECT( tmp_tuple_unpack_2__element_2 ); tmp_assign_source_10 = tmp_tuple_unpack_2__element_2; { PyObject *old = var_prefix; var_prefix = tmp_assign_source_10; Py_INCREF( var_prefix ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { PyObject *tmp_assign_source_11; PyObject *tmp_called_name_5; PyObject *tmp_source_name_9; PyObject *tmp_args_element_name_5; PyObject *tmp_list_element_1; tmp_source_name_9 = const_str_chr_47; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_join ); assert( !(tmp_called_name_5 == NULL) ); if ( var_prefix == 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", "prefix" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 239; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_list_element_1 = var_prefix; tmp_args_element_name_5 = PyList_New( 2 ); Py_INCREF( tmp_list_element_1 ); PyList_SET_ITEM( tmp_args_element_name_5, 0, tmp_list_element_1 ); if ( var_member == NULL ) { Py_DECREF( tmp_called_name_5 ); Py_DECREF( tmp_args_element_name_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "member" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 239; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_list_element_1 = var_member; Py_INCREF( tmp_list_element_1 ); PyList_SET_ITEM( tmp_args_element_name_5, 1, tmp_list_element_1 ); frame_4330b20b8b9140a7b99fed4d75389f07->m_frame.f_lineno = 239; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_assign_source_11 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); Py_DECREF( tmp_args_element_name_5 ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 239; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_member; var_member = tmp_assign_source_11; Py_XDECREF( old ); } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 237; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_3; PyObject *tmp_called_name_6; PyObject *tmp_source_name_10; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_6; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_zipfile ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_zipfile ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "zipfile" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 241; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_10 = tmp_mvar_value_5; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_is_zipfile ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 241; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( var_archive == 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", "archive" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 241; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = var_archive; frame_4330b20b8b9140a7b99fed4d75389f07->m_frame.f_lineno = 241; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_operand_name_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); if ( tmp_operand_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 241; type_description_1 = "ooooooo"; 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 = 241; 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:; { if ( par_path == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "path" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 242; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_return_value = par_path; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_3:; } { PyObject *tmp_assign_source_12; PyObject *tmp_called_name_7; PyObject *tmp_source_name_11; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_7; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_zipfile ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_zipfile ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "zipfile" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 244; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_11 = tmp_mvar_value_6; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_ZipFile ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 244; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( var_archive == 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", "archive" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 244; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = var_archive; frame_4330b20b8b9140a7b99fed4d75389f07->m_frame.f_lineno = 244; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_assign_source_12 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } Py_DECREF( tmp_called_name_7 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 244; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_zip_file == NULL ); var_zip_file = tmp_assign_source_12; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_called_instance_1; if ( var_member == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "member" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 245; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = var_member; CHECK_OBJECT( var_zip_file ); tmp_called_instance_1 = var_zip_file; frame_4330b20b8b9140a7b99fed4d75389f07->m_frame.f_lineno = 245; tmp_compexpr_right_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_namelist ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 245; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 245; type_description_1 = "ooooooo"; 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:; { if ( par_path == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "path" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 246; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_return_value = par_path; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_4:; } { PyObject *tmp_assign_source_13; PyObject *tmp_called_instance_2; PyObject *tmp_mvar_value_7; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_tempfile ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_tempfile ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "tempfile" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 249; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = tmp_mvar_value_7; frame_4330b20b8b9140a7b99fed4d75389f07->m_frame.f_lineno = 249; tmp_assign_source_13 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_gettempdir ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 249; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_tmp == NULL ); var_tmp = tmp_assign_source_13; } { PyObject *tmp_assign_source_14; PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_12; PyObject *tmp_source_name_13; PyObject *tmp_mvar_value_8; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dircall_arg3_1; PyObject *tmp_called_instance_3; tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_8 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 250; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_13 = tmp_mvar_value_8; tmp_source_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_path ); if ( tmp_source_name_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 250; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_join ); Py_DECREF( tmp_source_name_12 ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 250; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( var_tmp == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tmp" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 250; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = var_tmp; 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 ( var_member == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "member" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 250; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_instance_3 = var_member; frame_4330b20b8b9140a7b99fed4d75389f07->m_frame.f_lineno = 250; tmp_dircall_arg3_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_47_tuple, 0 ) ); if ( tmp_dircall_arg3_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_lineno = 250; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_assign_source_14 = impl___internal__$$$function_9_complex_call_helper_pos_star_list( dir_call_args ); } if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 250; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_extracted_path == NULL ); var_extracted_path = tmp_assign_source_14; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_operand_name_4; PyObject *tmp_called_name_8; PyObject *tmp_source_name_14; PyObject *tmp_source_name_15; PyObject *tmp_mvar_value_9; PyObject *tmp_args_element_name_8; tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_9 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 251; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_15 = tmp_mvar_value_9; tmp_source_name_14 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_path ); if ( tmp_source_name_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 251; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_exists ); Py_DECREF( tmp_source_name_14 ); if ( tmp_called_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 251; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( var_extracted_path == 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", "extracted_path" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 251; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = var_extracted_path; frame_4330b20b8b9140a7b99fed4d75389f07->m_frame.f_lineno = 251; { PyObject *call_args[] = { tmp_args_element_name_8 }; tmp_operand_name_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args ); } Py_DECREF( tmp_called_name_8 ); if ( tmp_operand_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 251; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_4 ); Py_DECREF( tmp_operand_name_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 251; 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_15; PyObject *tmp_called_name_9; PyObject *tmp_source_name_16; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_2; PyObject *tmp_kw_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; if ( var_zip_file == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "zip_file" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 252; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_16 = var_zip_file; tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_extract ); if ( tmp_called_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 252; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( var_member == 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", "member" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 252; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_member; tmp_args_name_1 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_2 ); tmp_dict_key_1 = const_str_plain_path; if ( var_tmp == NULL ) { Py_DECREF( tmp_called_name_9 ); Py_DECREF( tmp_args_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tmp" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 252; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_dict_value_1 = var_tmp; tmp_kw_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 ); assert( !(tmp_res != 0) ); frame_4330b20b8b9140a7b99fed4d75389f07->m_frame.f_lineno = 252; tmp_assign_source_15 = CALL_FUNCTION( tmp_called_name_9, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_9 ); Py_DECREF( tmp_args_name_1 ); Py_DECREF( tmp_kw_name_1 ); if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 252; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_extracted_path; var_extracted_path = tmp_assign_source_15; Py_XDECREF( old ); } } branch_no_5:; } { if ( var_extracted_path == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "extracted_path" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 254; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_extracted_path; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_4330b20b8b9140a7b99fed4d75389f07 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4330b20b8b9140a7b99fed4d75389f07 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4330b20b8b9140a7b99fed4d75389f07 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4330b20b8b9140a7b99fed4d75389f07, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4330b20b8b9140a7b99fed4d75389f07->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4330b20b8b9140a7b99fed4d75389f07, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4330b20b8b9140a7b99fed4d75389f07, type_description_1, par_path, var_archive, var_member, var_prefix, var_zip_file, var_tmp, var_extracted_path ); // Release cached frame. if ( frame_4330b20b8b9140a7b99fed4d75389f07 == cache_frame_4330b20b8b9140a7b99fed4d75389f07 ) { Py_DECREF( frame_4330b20b8b9140a7b99fed4d75389f07 ); } cache_frame_4330b20b8b9140a7b99fed4d75389f07 = NULL; assertFrameObject( frame_4330b20b8b9140a7b99fed4d75389f07 ); // 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( requests$utils$$$function_7_extract_zipped_paths ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_path ); par_path = NULL; } { Py_XDECREF( var_archive ); var_archive = NULL; } { Py_XDECREF( var_member ); var_member = NULL; } { Py_XDECREF( var_prefix ); var_prefix = NULL; } { Py_XDECREF( var_zip_file ); var_zip_file = NULL; } { Py_XDECREF( var_tmp ); var_tmp = NULL; } { Py_XDECREF( var_extracted_path ); var_extracted_path = 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_path ); par_path = NULL; } { Py_XDECREF( var_archive ); var_archive = NULL; } { Py_XDECREF( var_member ); var_member = NULL; } { Py_XDECREF( var_prefix ); var_prefix = NULL; } { Py_XDECREF( var_zip_file ); var_zip_file = NULL; } { Py_XDECREF( var_tmp ); var_tmp = NULL; } { Py_XDECREF( var_extracted_path ); var_extracted_path = 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( requests$utils$$$function_7_extract_zipped_paths ); 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_requests$utils$$$function_8_from_key_val_list( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_value = python_pars[ 0 ]; PyObject *tmp_return_value = NULL; struct Nuitka_FrameObject *frame_c69bfb9909d1c56ef32d79208ee4f122; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; static struct Nuitka_FrameObject *cache_frame_c69bfb9909d1c56ef32d79208ee4f122 = 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: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_value ); tmp_compexpr_left_1 = par_value; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } branch_no_1:; } MAKE_OR_REUSE_FRAME( cache_frame_c69bfb9909d1c56ef32d79208ee4f122, codeobj_c69bfb9909d1c56ef32d79208ee4f122, module_requests$utils, sizeof(void *) ); frame_c69bfb9909d1c56ef32d79208ee4f122 = cache_frame_c69bfb9909d1c56ef32d79208ee4f122; // Push the new frame as the currently active one. pushFrameStack( frame_c69bfb9909d1c56ef32d79208ee4f122 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c69bfb9909d1c56ef32d79208ee4f122 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_2; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_tuple_element_1; PyObject *tmp_mvar_value_1; PyObject *tmp_mvar_value_2; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 276; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_isinstance_inst_1 = par_value; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_str ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 276; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_tuple_element_1 = tmp_mvar_value_1; tmp_isinstance_cls_1 = PyTuple_New( 4 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_isinstance_cls_1, 0, tmp_tuple_element_1 ); tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_bytes ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_bytes ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_isinstance_cls_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "bytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 276; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_tuple_element_1 = tmp_mvar_value_2; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_isinstance_cls_1, 1, tmp_tuple_element_1 ); tmp_tuple_element_1 = (PyObject *)&PyBool_Type; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_isinstance_cls_1, 2, tmp_tuple_element_1 ); tmp_tuple_element_1 = (PyObject *)&PyLong_Type; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_isinstance_cls_1, 3, tmp_tuple_element_1 ); tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); Py_DECREF( tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 276; 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_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_38d2ee33ae615a511ee96aa02a599e37; frame_c69bfb9909d1c56ef32d79208ee4f122->m_frame.f_lineno = 277; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 277; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "o"; goto frame_exception_exit_1; } branch_no_2:; } { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_1; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_OrderedDict ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OrderedDict ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OrderedDict" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 279; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_3; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 279; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_value; frame_c69bfb9909d1c56ef32d79208ee4f122->m_frame.f_lineno = 279; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 279; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_c69bfb9909d1c56ef32d79208ee4f122 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c69bfb9909d1c56ef32d79208ee4f122 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c69bfb9909d1c56ef32d79208ee4f122 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c69bfb9909d1c56ef32d79208ee4f122, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c69bfb9909d1c56ef32d79208ee4f122->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c69bfb9909d1c56ef32d79208ee4f122, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c69bfb9909d1c56ef32d79208ee4f122, type_description_1, par_value ); // Release cached frame. if ( frame_c69bfb9909d1c56ef32d79208ee4f122 == cache_frame_c69bfb9909d1c56ef32d79208ee4f122 ) { Py_DECREF( frame_c69bfb9909d1c56ef32d79208ee4f122 ); } cache_frame_c69bfb9909d1c56ef32d79208ee4f122 = NULL; assertFrameObject( frame_c69bfb9909d1c56ef32d79208ee4f122 ); // 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( requests$utils$$$function_8_from_key_val_list ); return NULL; // Return handler code: try_return_handler_1:; { 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_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( requests$utils$$$function_8_from_key_val_list ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$utils$$$function_9_to_key_val_list( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_value = python_pars[ 0 ]; PyObject *tmp_return_value = NULL; struct Nuitka_FrameObject *frame_45a631248f89b2102b7a63cc25e75727; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; static struct Nuitka_FrameObject *cache_frame_45a631248f89b2102b7a63cc25e75727 = 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: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_value ); tmp_compexpr_left_1 = par_value; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } branch_no_1:; } MAKE_OR_REUSE_FRAME( cache_frame_45a631248f89b2102b7a63cc25e75727, codeobj_45a631248f89b2102b7a63cc25e75727, module_requests$utils, sizeof(void *) ); frame_45a631248f89b2102b7a63cc25e75727 = cache_frame_45a631248f89b2102b7a63cc25e75727; // Push the new frame as the currently active one. pushFrameStack( frame_45a631248f89b2102b7a63cc25e75727 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_45a631248f89b2102b7a63cc25e75727 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_2; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_tuple_element_1; PyObject *tmp_mvar_value_1; PyObject *tmp_mvar_value_2; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 300; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_isinstance_inst_1 = par_value; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_str ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 300; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_tuple_element_1 = tmp_mvar_value_1; tmp_isinstance_cls_1 = PyTuple_New( 4 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_isinstance_cls_1, 0, tmp_tuple_element_1 ); tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_bytes ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_bytes ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_isinstance_cls_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "bytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 300; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_tuple_element_1 = tmp_mvar_value_2; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_isinstance_cls_1, 1, tmp_tuple_element_1 ); tmp_tuple_element_1 = (PyObject *)&PyBool_Type; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_isinstance_cls_1, 2, tmp_tuple_element_1 ); tmp_tuple_element_1 = (PyObject *)&PyLong_Type; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_isinstance_cls_1, 3, tmp_tuple_element_1 ); tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); Py_DECREF( tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 300; 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_raise_type_1; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_38d2ee33ae615a511ee96aa02a599e37; frame_45a631248f89b2102b7a63cc25e75727->m_frame.f_lineno = 301; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ValueError, call_args ); } assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 301; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "o"; goto frame_exception_exit_1; } branch_no_2:; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_isinstance_inst_2; PyObject *tmp_isinstance_cls_2; PyObject *tmp_mvar_value_3; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 303; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_isinstance_inst_2 = par_value; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_Mapping ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Mapping ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Mapping" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 303; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_isinstance_cls_2 = tmp_mvar_value_3; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_2, tmp_isinstance_cls_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 303; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 304; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_value; frame_45a631248f89b2102b7a63cc25e75727->m_frame.f_lineno = 304; tmp_assign_source_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 304; type_description_1 = "o"; goto frame_exception_exit_1; } { PyObject *old = par_value; par_value = tmp_assign_source_1; Py_XDECREF( old ); } } branch_no_3:; } { PyObject *tmp_list_arg_1; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 306; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_list_arg_1 = par_value; tmp_return_value = PySequence_List( tmp_list_arg_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 306; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_45a631248f89b2102b7a63cc25e75727 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_45a631248f89b2102b7a63cc25e75727 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_45a631248f89b2102b7a63cc25e75727 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_45a631248f89b2102b7a63cc25e75727, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_45a631248f89b2102b7a63cc25e75727->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_45a631248f89b2102b7a63cc25e75727, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_45a631248f89b2102b7a63cc25e75727, type_description_1, par_value ); // Release cached frame. if ( frame_45a631248f89b2102b7a63cc25e75727 == cache_frame_45a631248f89b2102b7a63cc25e75727 ) { Py_DECREF( frame_45a631248f89b2102b7a63cc25e75727 ); } cache_frame_45a631248f89b2102b7a63cc25e75727 = NULL; assertFrameObject( frame_45a631248f89b2102b7a63cc25e75727 ); // 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( requests$utils$$$function_9_to_key_val_list ); return NULL; // Return handler code: try_return_handler_1:; { 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_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( requests$utils$$$function_9_to_key_val_list ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$utils$$$function_10_parse_list_header( 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_value = python_pars[ 0 ]; PyObject *var_result = NULL; PyObject *var_item = NULL; PyObject *tmp_comparison_chain_1__comparison_result = NULL; PyObject *tmp_comparison_chain_1__operand_2 = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_08a86fa32bc531d24fda9afa21ef22c8; 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; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_08a86fa32bc531d24fda9afa21ef22c8 = 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. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = PyList_New( 0 ); assert( var_result == NULL ); var_result = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_08a86fa32bc531d24fda9afa21ef22c8, codeobj_08a86fa32bc531d24fda9afa21ef22c8, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_08a86fa32bc531d24fda9afa21ef22c8 = cache_frame_08a86fa32bc531d24fda9afa21ef22c8; // Push the new frame as the currently active one. pushFrameStack( frame_08a86fa32bc531d24fda9afa21ef22c8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_08a86fa32bc531d24fda9afa21ef22c8 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_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_requests$utils, (Nuitka_StringObject *)const_str_plain__parse_list_header ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__parse_list_header ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_parse_list_header" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 334; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_value ); tmp_args_element_name_1 = par_value; frame_08a86fa32bc531d24fda9afa21ef22c8->m_frame.f_lineno = 334; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 334; type_description_1 = "ooo"; goto frame_exception_exit_1; } 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 = 334; 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 = 334; 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_item; var_item = tmp_assign_source_4; Py_INCREF( var_item ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_outline_return_value_1; int tmp_truth_name_1; { // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( var_item ); tmp_subscribed_name_1 = var_item; tmp_subscript_name_1 = const_slice_int_neg_1_none_none; tmp_assign_source_5 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 335; type_description_1 = "ooo"; goto try_except_handler_3; } { PyObject *old = tmp_comparison_chain_1__operand_2; tmp_comparison_chain_1__operand_2 = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; if ( var_item == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "item" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 335; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_subscribed_name_2 = var_item; tmp_subscript_name_2 = const_slice_none_int_pos_1_none; tmp_compexpr_left_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 335; type_description_1 = "ooo"; goto try_except_handler_3; } CHECK_OBJECT( tmp_comparison_chain_1__operand_2 ); tmp_compexpr_right_1 = tmp_comparison_chain_1__operand_2; tmp_assign_source_6 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 335; type_description_1 = "ooo"; goto try_except_handler_3; } { PyObject *old = tmp_comparison_chain_1__comparison_result; tmp_comparison_chain_1__comparison_result = tmp_assign_source_6; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_1; CHECK_OBJECT( tmp_comparison_chain_1__comparison_result ); tmp_operand_name_1 = tmp_comparison_chain_1__comparison_result; 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 = 335; type_description_1 = "ooo"; 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:; { 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_3; } branch_no_2:; } { PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( tmp_comparison_chain_1__operand_2 ); tmp_compexpr_left_2 = tmp_comparison_chain_1__operand_2; tmp_compexpr_right_2 = const_str_chr_34; tmp_outline_return_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_outline_return_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 335; type_description_1 = "ooo"; goto try_except_handler_3; } goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_10_parse_list_header ); return NULL; // Return handler code: try_return_handler_3:; { 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_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; { 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_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: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_10_parse_list_header ); return NULL; outline_result_1:; tmp_truth_name_1 = CHECK_IF_TRUE( tmp_outline_return_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_outline_return_value_1 ); exception_lineno = 335; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_outline_return_value_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_7; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_unquote_header_value ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_unquote_header_value ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "unquote_header_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 336; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_called_name_2 = tmp_mvar_value_2; if ( var_item == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "item" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 336; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_subscribed_name_3 = var_item; tmp_subscript_name_3 = const_slice_int_pos_1_int_neg_1_none; tmp_args_element_name_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 336; type_description_1 = "ooo"; goto try_except_handler_2; } frame_08a86fa32bc531d24fda9afa21ef22c8->m_frame.f_lineno = 336; { 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 = 336; type_description_1 = "ooo"; goto try_except_handler_2; } { PyObject *old = var_item; var_item = tmp_assign_source_7; Py_XDECREF( old ); } } branch_no_1:; } { PyObject *tmp_called_name_3; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_3; if ( var_result == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "result" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 337; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_1 = var_result; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_append ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 337; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_item == 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", "item" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 337; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_args_element_name_3 = var_item; frame_08a86fa32bc531d24fda9afa21ef22c8->m_frame.f_lineno = 337; { 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 = 337; 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 = 334; 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_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 frame_exception_exit_1; } // End of try: try_end_1:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { if ( var_result == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "result" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 338; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = var_result; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_08a86fa32bc531d24fda9afa21ef22c8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_08a86fa32bc531d24fda9afa21ef22c8 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_08a86fa32bc531d24fda9afa21ef22c8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_08a86fa32bc531d24fda9afa21ef22c8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_08a86fa32bc531d24fda9afa21ef22c8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_08a86fa32bc531d24fda9afa21ef22c8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_08a86fa32bc531d24fda9afa21ef22c8, type_description_1, par_value, var_result, var_item ); // Release cached frame. if ( frame_08a86fa32bc531d24fda9afa21ef22c8 == cache_frame_08a86fa32bc531d24fda9afa21ef22c8 ) { Py_DECREF( frame_08a86fa32bc531d24fda9afa21ef22c8 ); } cache_frame_08a86fa32bc531d24fda9afa21ef22c8 = NULL; assertFrameObject( frame_08a86fa32bc531d24fda9afa21ef22c8 ); // 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( requests$utils$$$function_10_parse_list_header ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_value ); par_value = NULL; } { Py_XDECREF( var_result ); var_result = NULL; } { Py_XDECREF( var_item ); var_item = 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_value ); par_value = NULL; } { Py_XDECREF( var_result ); var_result = NULL; } { Py_XDECREF( var_item ); var_item = 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( requests$utils$$$function_10_parse_list_header ); 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_requests$utils$$$function_11_parse_dict_header( 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_value = python_pars[ 0 ]; PyObject *var_result = NULL; PyObject *var_item = NULL; PyObject *var_name = NULL; PyObject *tmp_comparison_chain_1__comparison_result = NULL; PyObject *tmp_comparison_chain_1__operand_2 = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_fb5c090bfcb0c1a83250280f8b5ade06; 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_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_fb5c090bfcb0c1a83250280f8b5ade06 = 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. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = PyDict_New(); assert( var_result == NULL ); var_result = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_fb5c090bfcb0c1a83250280f8b5ade06, codeobj_fb5c090bfcb0c1a83250280f8b5ade06, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_fb5c090bfcb0c1a83250280f8b5ade06 = cache_frame_fb5c090bfcb0c1a83250280f8b5ade06; // Push the new frame as the currently active one. pushFrameStack( frame_fb5c090bfcb0c1a83250280f8b5ade06 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_fb5c090bfcb0c1a83250280f8b5ade06 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_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_requests$utils, (Nuitka_StringObject *)const_str_plain__parse_list_header ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__parse_list_header ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_parse_list_header" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 365; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_value ); tmp_args_element_name_1 = par_value; frame_fb5c090bfcb0c1a83250280f8b5ade06->m_frame.f_lineno = 365; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 365; type_description_1 = "oooo"; 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 = 365; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_2; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_3; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_3 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; exception_lineno = 365; 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_item; var_item = tmp_assign_source_4; Py_INCREF( var_item ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = const_str_chr_61; CHECK_OBJECT( var_item ); tmp_compexpr_right_1 = var_item; 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 = 366; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; tmp_ass_subvalue_1 = Py_None; if ( var_result == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "result" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 367; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_ass_subscribed_1 = var_result; if ( var_item == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "item" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 367; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_ass_subscript_1 = var_item; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 367; type_description_1 = "oooo"; goto try_except_handler_2; } } { goto loop_start_1; } branch_no_1:; } { // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_iter_arg_2; PyObject *tmp_called_instance_1; if ( var_item == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "item" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 369; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_called_instance_1 = var_item; frame_fb5c090bfcb0c1a83250280f8b5ade06->m_frame.f_lineno = 369; tmp_iter_arg_2 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_61_int_pos_1_tuple, 0 ) ); if ( tmp_iter_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 369; type_description_1 = "oooo"; goto try_except_handler_3; } tmp_assign_source_5 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 369; type_description_1 = "oooo"; goto try_except_handler_3; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_5; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_6 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_6 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooo"; exception_lineno = 369; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_6; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_7; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_7 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_7 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooo"; exception_lineno = 369; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_7; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; exception_lineno = 369; goto try_except_handler_4; } } } else { Py_DECREF( tmp_iterator_attempt ); // TODO: Could avoid PyErr_Format. #if PYTHON_VERSION < 300 PyErr_Format( PyExc_ValueError, "too many values to unpack" ); #else PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; exception_lineno = 369; goto try_except_handler_4; } } goto try_end_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_3; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_2; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_8; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_8 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_name; var_name = tmp_assign_source_8; Py_INCREF( var_name ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_9 = tmp_tuple_unpack_1__element_2; { PyObject *old = par_value; par_value = tmp_assign_source_9; Py_INCREF( par_value ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_outline_return_value_1; int tmp_truth_name_1; { // Tried code: { PyObject *tmp_assign_source_10; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 370; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_subscribed_name_1 = par_value; tmp_subscript_name_1 = const_slice_int_neg_1_none_none; tmp_assign_source_10 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 370; type_description_1 = "oooo"; goto try_except_handler_5; } { PyObject *old = tmp_comparison_chain_1__operand_2; tmp_comparison_chain_1__operand_2 = tmp_assign_source_10; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_11; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 370; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_subscribed_name_2 = par_value; tmp_subscript_name_2 = const_slice_none_int_pos_1_none; tmp_compexpr_left_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 370; type_description_1 = "oooo"; goto try_except_handler_5; } CHECK_OBJECT( tmp_comparison_chain_1__operand_2 ); tmp_compexpr_right_2 = tmp_comparison_chain_1__operand_2; tmp_assign_source_11 = RICH_COMPARE_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 370; type_description_1 = "oooo"; goto try_except_handler_5; } { PyObject *old = tmp_comparison_chain_1__comparison_result; tmp_comparison_chain_1__comparison_result = tmp_assign_source_11; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_1; CHECK_OBJECT( tmp_comparison_chain_1__comparison_result ); tmp_operand_name_1 = tmp_comparison_chain_1__comparison_result; 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 = 370; type_description_1 = "oooo"; goto try_except_handler_5; } 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:; { 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_5; } branch_no_3:; } { PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT( tmp_comparison_chain_1__operand_2 ); tmp_compexpr_left_3 = tmp_comparison_chain_1__operand_2; tmp_compexpr_right_3 = const_str_chr_34; tmp_outline_return_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 ); if ( tmp_outline_return_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 370; type_description_1 = "oooo"; goto try_except_handler_5; } goto try_return_handler_5; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_11_parse_dict_header ); return NULL; // Return handler code: try_return_handler_5:; { 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_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_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 try_except_handler_2; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_11_parse_dict_header ); return NULL; outline_result_1:; tmp_truth_name_1 = CHECK_IF_TRUE( tmp_outline_return_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_outline_return_value_1 ); exception_lineno = 370; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_outline_return_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_12; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_unquote_header_value ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_unquote_header_value ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "unquote_header_value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 371; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_called_name_2 = tmp_mvar_value_2; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 371; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_subscribed_name_3 = par_value; tmp_subscript_name_3 = const_slice_int_pos_1_int_neg_1_none; tmp_args_element_name_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 371; type_description_1 = "oooo"; goto try_except_handler_2; } frame_fb5c090bfcb0c1a83250280f8b5ade06->m_frame.f_lineno = 371; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_12 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_args_element_name_2 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 371; type_description_1 = "oooo"; goto try_except_handler_2; } { PyObject *old = par_value; par_value = tmp_assign_source_12; Py_XDECREF( old ); } } branch_no_2:; } { PyObject *tmp_ass_subvalue_2; PyObject *tmp_ass_subscribed_2; PyObject *tmp_ass_subscript_2; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 372; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_ass_subvalue_2 = par_value; if ( var_result == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "result" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 372; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_ass_subscribed_2 = var_result; if ( var_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 372; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_ass_subscript_2 = var_name; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 372; type_description_1 = "oooo"; goto try_except_handler_2; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 365; type_description_1 = "oooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_3; // Exception handler code: try_except_handler_2:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_3:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { if ( var_result == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "result" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 373; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = var_result; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_fb5c090bfcb0c1a83250280f8b5ade06 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fb5c090bfcb0c1a83250280f8b5ade06 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fb5c090bfcb0c1a83250280f8b5ade06 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_fb5c090bfcb0c1a83250280f8b5ade06, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_fb5c090bfcb0c1a83250280f8b5ade06->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_fb5c090bfcb0c1a83250280f8b5ade06, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_fb5c090bfcb0c1a83250280f8b5ade06, type_description_1, par_value, var_result, var_item, var_name ); // Release cached frame. if ( frame_fb5c090bfcb0c1a83250280f8b5ade06 == cache_frame_fb5c090bfcb0c1a83250280f8b5ade06 ) { Py_DECREF( frame_fb5c090bfcb0c1a83250280f8b5ade06 ); } cache_frame_fb5c090bfcb0c1a83250280f8b5ade06 = NULL; assertFrameObject( frame_fb5c090bfcb0c1a83250280f8b5ade06 ); // 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( requests$utils$$$function_11_parse_dict_header ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_value ); par_value = NULL; } { Py_XDECREF( var_result ); var_result = NULL; } { Py_XDECREF( var_item ); var_item = NULL; } { Py_XDECREF( var_name ); var_name = 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_value ); par_value = NULL; } { Py_XDECREF( var_result ); var_result = NULL; } { Py_XDECREF( var_item ); var_item = NULL; } { Py_XDECREF( var_name ); var_name = 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( requests$utils$$$function_11_parse_dict_header ); 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_requests$utils$$$function_12_unquote_header_value( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_value = python_pars[ 0 ]; PyObject *par_is_filename = python_pars[ 1 ]; PyObject *tmp_comparison_chain_1__comparison_result = NULL; PyObject *tmp_comparison_chain_1__operand_2 = NULL; struct Nuitka_FrameObject *frame_5791da1cf7fad619738e1f95543badb3; 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 *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_5791da1cf7fad619738e1f95543badb3 = 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_5791da1cf7fad619738e1f95543badb3, codeobj_5791da1cf7fad619738e1f95543badb3, module_requests$utils, sizeof(void *)+sizeof(void *) ); frame_5791da1cf7fad619738e1f95543badb3 = cache_frame_5791da1cf7fad619738e1f95543badb3; // Push the new frame as the currently active one. pushFrameStack( frame_5791da1cf7fad619738e1f95543badb3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5791da1cf7fad619738e1f95543badb3 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; int tmp_truth_name_1; PyObject *tmp_outline_return_value_1; int tmp_truth_name_2; CHECK_OBJECT( par_value ); tmp_truth_name_1 = CHECK_IF_TRUE( par_value ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 385; type_description_1 = "oo"; 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:; { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( par_value ); tmp_subscribed_name_1 = par_value; tmp_subscript_name_1 = const_int_neg_1; tmp_assign_source_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, -1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 385; type_description_1 = "oo"; goto try_except_handler_2; } assert( tmp_comparison_chain_1__operand_2 == NULL ); tmp_comparison_chain_1__operand_2 = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 385; type_description_1 = "oo"; goto try_except_handler_2; } tmp_subscribed_name_2 = par_value; tmp_subscript_name_2 = const_int_0; tmp_compexpr_left_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 385; type_description_1 = "oo"; goto try_except_handler_2; } CHECK_OBJECT( tmp_comparison_chain_1__operand_2 ); tmp_compexpr_right_1 = tmp_comparison_chain_1__operand_2; tmp_assign_source_2 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 385; type_description_1 = "oo"; goto try_except_handler_2; } assert( tmp_comparison_chain_1__comparison_result == NULL ); tmp_comparison_chain_1__comparison_result = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_1; CHECK_OBJECT( tmp_comparison_chain_1__comparison_result ); tmp_operand_name_1 = tmp_comparison_chain_1__comparison_result; 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 = 385; type_description_1 = "oo"; goto try_except_handler_2; } tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { 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_2; } branch_no_2:; } { PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( tmp_comparison_chain_1__operand_2 ); tmp_compexpr_left_2 = tmp_comparison_chain_1__operand_2; tmp_compexpr_right_2 = const_str_chr_34; tmp_outline_return_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_outline_return_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 385; type_description_1 = "oo"; goto try_except_handler_2; } goto try_return_handler_2; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_12_unquote_header_value ); return NULL; // Return handler code: try_return_handler_2:; { 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_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_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_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: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_12_unquote_header_value ); 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 = 385; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_outline_return_value_1 ); tmp_condition_result_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_1 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_3; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 390; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscribed_name_3 = par_value; tmp_subscript_name_3 = const_slice_int_pos_1_int_neg_1_none; tmp_assign_source_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 390; type_description_1 = "oo"; goto frame_exception_exit_1; } { PyObject *old = par_value; par_value = tmp_assign_source_3; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_3; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_operand_name_2; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; if ( par_is_filename == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "is_filename" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 397; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_operand_name_2 = par_is_filename; 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 = 397; type_description_1 = "oo"; 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_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 397; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscribed_name_4 = par_value; tmp_subscript_name_4 = const_slice_none_int_pos_2_none; tmp_compexpr_left_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_4, tmp_subscript_name_4 ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 397; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_3 = const_str_digest_7cb7e1a5659547478f12d8fe755efd75; tmp_res = RICH_COMPARE_BOOL_NE( 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 = 397; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_or_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_3 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_3 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_called_instance_1; PyObject *tmp_called_instance_2; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 398; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_value; frame_5791da1cf7fad619738e1f95543badb3->m_frame.f_lineno = 398; tmp_called_instance_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_2, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_str_digest_7cb7e1a5659547478f12d8fe755efd75_str_chr_92_tuple, 0 ) ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 398; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_5791da1cf7fad619738e1f95543badb3->m_frame.f_lineno = 398; tmp_return_value = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_str_digest_c245c8a772b3a33119deac8565a08f57_str_chr_34_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 = 398; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_3:; } branch_no_1:; } { if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 399; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_return_value = par_value; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_5791da1cf7fad619738e1f95543badb3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5791da1cf7fad619738e1f95543badb3 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5791da1cf7fad619738e1f95543badb3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5791da1cf7fad619738e1f95543badb3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5791da1cf7fad619738e1f95543badb3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5791da1cf7fad619738e1f95543badb3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5791da1cf7fad619738e1f95543badb3, type_description_1, par_value, par_is_filename ); // Release cached frame. if ( frame_5791da1cf7fad619738e1f95543badb3 == cache_frame_5791da1cf7fad619738e1f95543badb3 ) { Py_DECREF( frame_5791da1cf7fad619738e1f95543badb3 ); } cache_frame_5791da1cf7fad619738e1f95543badb3 = NULL; assertFrameObject( frame_5791da1cf7fad619738e1f95543badb3 ); // 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( requests$utils$$$function_12_unquote_header_value ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_value ); par_value = NULL; } { Py_XDECREF( par_is_filename ); par_is_filename = 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_value ); par_value = NULL; } { Py_XDECREF( par_is_filename ); par_is_filename = 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( requests$utils$$$function_12_unquote_header_value ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$utils$$$function_13_dict_from_cookiejar( 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_cj = python_pars[ 0 ]; PyObject *var_cookie_dict = NULL; PyObject *var_cookie = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_da372d5fca82dacb3c69f19a5fcc0745; 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 *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_da372d5fca82dacb3c69f19a5fcc0745 = 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 = PyDict_New(); assert( var_cookie_dict == NULL ); var_cookie_dict = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_da372d5fca82dacb3c69f19a5fcc0745, codeobj_da372d5fca82dacb3c69f19a5fcc0745, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_da372d5fca82dacb3c69f19a5fcc0745 = cache_frame_da372d5fca82dacb3c69f19a5fcc0745; // Push the new frame as the currently active one. pushFrameStack( frame_da372d5fca82dacb3c69f19a5fcc0745 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_da372d5fca82dacb3c69f19a5fcc0745 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; CHECK_OBJECT( par_cj ); tmp_iter_arg_1 = par_cj; 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 = 411; 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 = 411; 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_cookie; var_cookie = tmp_assign_source_4; Py_INCREF( var_cookie ); Py_XDECREF( old ); } } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_source_name_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; PyObject *tmp_source_name_2; CHECK_OBJECT( var_cookie ); tmp_source_name_1 = var_cookie; tmp_ass_subvalue_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_value ); if ( tmp_ass_subvalue_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 412; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_cookie_dict == NULL ) { Py_DECREF( tmp_ass_subvalue_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cookie_dict" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 412; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_ass_subscribed_1 = var_cookie_dict; if ( var_cookie == NULL ) { Py_DECREF( tmp_ass_subvalue_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cookie" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 412; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_2 = var_cookie; tmp_ass_subscript_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_name ); if ( tmp_ass_subscript_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_ass_subvalue_1 ); exception_lineno = 412; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subscript_1 ); Py_DECREF( tmp_ass_subvalue_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 412; type_description_1 = "ooo"; goto try_except_handler_2; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 411; 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; } { if ( var_cookie_dict == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cookie_dict" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 414; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = var_cookie_dict; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_da372d5fca82dacb3c69f19a5fcc0745 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_da372d5fca82dacb3c69f19a5fcc0745 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_da372d5fca82dacb3c69f19a5fcc0745 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_da372d5fca82dacb3c69f19a5fcc0745, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_da372d5fca82dacb3c69f19a5fcc0745->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_da372d5fca82dacb3c69f19a5fcc0745, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_da372d5fca82dacb3c69f19a5fcc0745, type_description_1, par_cj, var_cookie_dict, var_cookie ); // Release cached frame. if ( frame_da372d5fca82dacb3c69f19a5fcc0745 == cache_frame_da372d5fca82dacb3c69f19a5fcc0745 ) { Py_DECREF( frame_da372d5fca82dacb3c69f19a5fcc0745 ); } cache_frame_da372d5fca82dacb3c69f19a5fcc0745 = NULL; assertFrameObject( frame_da372d5fca82dacb3c69f19a5fcc0745 ); // 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( requests$utils$$$function_13_dict_from_cookiejar ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cj ); par_cj = NULL; } { Py_XDECREF( var_cookie_dict ); var_cookie_dict = NULL; } { Py_XDECREF( var_cookie ); var_cookie = 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_cj ); par_cj = NULL; } { Py_XDECREF( var_cookie_dict ); var_cookie_dict = NULL; } { Py_XDECREF( var_cookie ); var_cookie = 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( requests$utils$$$function_13_dict_from_cookiejar ); 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_requests$utils$$$function_14_add_dict_to_cookiejar( 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_cj = python_pars[ 0 ]; PyObject *par_cookie_dict = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_bb1606830baa9a5ee1c3980cf6aa0b47; 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_bb1606830baa9a5ee1c3980cf6aa0b47 = 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_bb1606830baa9a5ee1c3980cf6aa0b47, codeobj_bb1606830baa9a5ee1c3980cf6aa0b47, module_requests$utils, sizeof(void *)+sizeof(void *) ); frame_bb1606830baa9a5ee1c3980cf6aa0b47 = cache_frame_bb1606830baa9a5ee1c3980cf6aa0b47; // Push the new frame as the currently active one. pushFrameStack( frame_bb1606830baa9a5ee1c3980cf6aa0b47 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_bb1606830baa9a5ee1c3980cf6aa0b47 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_cookiejar_from_dict ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_cookiejar_from_dict ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "cookiejar_from_dict" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 425; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_cookie_dict ); tmp_args_element_name_1 = par_cookie_dict; CHECK_OBJECT( par_cj ); tmp_args_element_name_2 = par_cj; frame_bb1606830baa9a5ee1c3980cf6aa0b47->m_frame.f_lineno = 425; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 425; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_bb1606830baa9a5ee1c3980cf6aa0b47 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_bb1606830baa9a5ee1c3980cf6aa0b47 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_bb1606830baa9a5ee1c3980cf6aa0b47 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_bb1606830baa9a5ee1c3980cf6aa0b47, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_bb1606830baa9a5ee1c3980cf6aa0b47->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_bb1606830baa9a5ee1c3980cf6aa0b47, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_bb1606830baa9a5ee1c3980cf6aa0b47, type_description_1, par_cj, par_cookie_dict ); // Release cached frame. if ( frame_bb1606830baa9a5ee1c3980cf6aa0b47 == cache_frame_bb1606830baa9a5ee1c3980cf6aa0b47 ) { Py_DECREF( frame_bb1606830baa9a5ee1c3980cf6aa0b47 ); } cache_frame_bb1606830baa9a5ee1c3980cf6aa0b47 = NULL; assertFrameObject( frame_bb1606830baa9a5ee1c3980cf6aa0b47 ); // 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( requests$utils$$$function_14_add_dict_to_cookiejar ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cj ); par_cj = NULL; } { Py_XDECREF( par_cookie_dict ); par_cookie_dict = 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_cj ); par_cj = NULL; } { Py_XDECREF( par_cookie_dict ); par_cookie_dict = 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( requests$utils$$$function_14_add_dict_to_cookiejar ); 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_requests$utils$$$function_15_get_encodings_from_content( 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_content = python_pars[ 0 ]; PyObject *var_charset_re = NULL; PyObject *var_pragma_re = NULL; PyObject *var_xml_re = NULL; struct Nuitka_FrameObject *frame_5a59cacdc8f590fe668c67589bab90d3; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_5a59cacdc8f590fe668c67589bab90d3 = 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_5a59cacdc8f590fe668c67589bab90d3, codeobj_5a59cacdc8f590fe668c67589bab90d3, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_5a59cacdc8f590fe668c67589bab90d3 = cache_frame_5a59cacdc8f590fe668c67589bab90d3; // Push the new frame as the currently active one. pushFrameStack( frame_5a59cacdc8f590fe668c67589bab90d3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5a59cacdc8f590fe668c67589bab90d3 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_mvar_value_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_warnings ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_warnings ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "warnings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 433; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_warn ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 433; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = const_str_digest_a03c53ace72132e42f7fc75ef0d2782a; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_DeprecationWarning ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DeprecationWarning ); } 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", "DeprecationWarning" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 437; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = tmp_mvar_value_2; frame_5a59cacdc8f590fe668c67589bab90d3->m_frame.f_lineno = 433; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 433; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_args_name_1; PyObject *tmp_kw_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_4; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_3 == 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 = 439; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_3; 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 = 439; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_name_1 = const_tuple_str_digest_8400c7a83e662164e9e46828dcc11a7b_tuple; tmp_dict_key_1 = const_str_plain_flags; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_4 == NULL ) { Py_DECREF( tmp_called_name_2 ); 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 = 439; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_4; tmp_dict_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_I ); if ( tmp_dict_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 439; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_kw_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 ); Py_DECREF( tmp_dict_value_1 ); assert( !(tmp_res != 0) ); frame_5a59cacdc8f590fe668c67589bab90d3->m_frame.f_lineno = 439; tmp_assign_source_1 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_kw_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 439; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_charset_re == NULL ); var_charset_re = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_3; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_5; PyObject *tmp_args_name_2; PyObject *tmp_kw_name_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_6; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "re" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 440; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_5; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_compile ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 440; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_name_2 = const_tuple_str_digest_7b19f8e942363720eb2e2ce5f0a6883b_tuple; tmp_dict_key_2 = const_str_plain_flags; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_6 == NULL ) { Py_DECREF( tmp_called_name_3 ); 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 = 440; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_6; tmp_dict_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_I ); if ( tmp_dict_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 440; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_kw_name_2 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem( tmp_kw_name_2, tmp_dict_key_2, tmp_dict_value_2 ); Py_DECREF( tmp_dict_value_2 ); assert( !(tmp_res != 0) ); frame_5a59cacdc8f590fe668c67589bab90d3->m_frame.f_lineno = 440; tmp_assign_source_2 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_kw_name_2 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 440; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_pragma_re == NULL ); var_pragma_re = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_7; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_7 == 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 = 441; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = tmp_mvar_value_7; frame_5a59cacdc8f590fe668c67589bab90d3->m_frame.f_lineno = 441; tmp_assign_source_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_compile, &PyTuple_GET_ITEM( const_tuple_str_digest_8d72d6891e854dcc1d8a580c249abf5e_tuple, 0 ) ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 441; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_xml_re == NULL ); var_xml_re = tmp_assign_source_3; } { PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_called_name_4; PyObject *tmp_source_name_6; PyObject *tmp_args_element_name_3; PyObject *tmp_right_name_1; PyObject *tmp_called_name_5; PyObject *tmp_source_name_7; PyObject *tmp_args_element_name_4; PyObject *tmp_right_name_2; PyObject *tmp_called_name_6; PyObject *tmp_source_name_8; PyObject *tmp_args_element_name_5; if ( var_charset_re == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "charset_re" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 443; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_6 = var_charset_re; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_findall ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 443; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_content == 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", "content" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 443; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_content; frame_5a59cacdc8f590fe668c67589bab90d3->m_frame.f_lineno = 443; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_left_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 443; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( var_pragma_re == 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", "pragma_re" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 444; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_7 = var_pragma_re; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_findall ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_2 ); exception_lineno = 444; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_content == NULL ) { Py_DECREF( tmp_left_name_2 ); Py_DECREF( tmp_called_name_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "content" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 444; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_content; frame_5a59cacdc8f590fe668c67589bab90d3->m_frame.f_lineno = 444; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_right_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_2 ); exception_lineno = 444; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_1 ); Py_DECREF( tmp_left_name_2 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 443; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( var_xml_re == 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", "xml_re" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 445; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_8 = var_xml_re; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_findall ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 445; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_content == NULL ) { Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_called_name_6 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "content" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 445; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_content; frame_5a59cacdc8f590fe668c67589bab90d3->m_frame.f_lineno = 445; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_right_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 445; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_2 ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 444; type_description_1 = "oooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_5a59cacdc8f590fe668c67589bab90d3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5a59cacdc8f590fe668c67589bab90d3 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5a59cacdc8f590fe668c67589bab90d3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5a59cacdc8f590fe668c67589bab90d3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5a59cacdc8f590fe668c67589bab90d3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5a59cacdc8f590fe668c67589bab90d3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5a59cacdc8f590fe668c67589bab90d3, type_description_1, par_content, var_charset_re, var_pragma_re, var_xml_re ); // Release cached frame. if ( frame_5a59cacdc8f590fe668c67589bab90d3 == cache_frame_5a59cacdc8f590fe668c67589bab90d3 ) { Py_DECREF( frame_5a59cacdc8f590fe668c67589bab90d3 ); } cache_frame_5a59cacdc8f590fe668c67589bab90d3 = NULL; assertFrameObject( frame_5a59cacdc8f590fe668c67589bab90d3 ); // 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( requests$utils$$$function_15_get_encodings_from_content ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_content ); par_content = NULL; } { Py_XDECREF( var_charset_re ); var_charset_re = NULL; } { Py_XDECREF( var_pragma_re ); var_pragma_re = NULL; } { Py_XDECREF( var_xml_re ); var_xml_re = 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_content ); par_content = NULL; } { Py_XDECREF( var_charset_re ); var_charset_re = NULL; } { Py_XDECREF( var_pragma_re ); var_pragma_re = NULL; } { Py_XDECREF( var_xml_re ); var_xml_re = 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( requests$utils$$$function_15_get_encodings_from_content ); 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_requests$utils$$$function_16__parse_content_type_header( 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_header = python_pars[ 0 ]; PyObject *var_tokens = NULL; PyObject *var_content_type = NULL; PyObject *var_params = NULL; PyObject *var_params_dict = NULL; PyObject *var_items_to_strip = NULL; PyObject *var_param = NULL; PyObject *var_key = NULL; PyObject *var_value = NULL; PyObject *var_index_of_equals = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; struct Nuitka_FrameObject *frame_db8a250e00e6253d385ebae7e500d7db; 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; int tmp_res; 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 *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_db8a250e00e6253d385ebae7e500d7db = NULL; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_db8a250e00e6253d385ebae7e500d7db, codeobj_db8a250e00e6253d385ebae7e500d7db, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_db8a250e00e6253d385ebae7e500d7db = cache_frame_db8a250e00e6253d385ebae7e500d7db; // Push the new frame as the currently active one. pushFrameStack( frame_db8a250e00e6253d385ebae7e500d7db ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_db8a250e00e6253d385ebae7e500d7db ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_header ); tmp_called_instance_1 = par_header; frame_db8a250e00e6253d385ebae7e500d7db->m_frame.f_lineno = 456; tmp_assign_source_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_59_tuple, 0 ) ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 456; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } assert( var_tokens == NULL ); var_tokens = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_tuple_element_1; PyObject *tmp_called_instance_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; CHECK_OBJECT( var_tokens ); tmp_subscribed_name_1 = var_tokens; tmp_subscript_name_1 = const_int_0; tmp_called_instance_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_called_instance_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 457; type_description_1 = "oooooooooo"; goto try_except_handler_2; } frame_db8a250e00e6253d385ebae7e500d7db->m_frame.f_lineno = 457; tmp_tuple_element_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_strip ); Py_DECREF( tmp_called_instance_2 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 457; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_iter_arg_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_iter_arg_1, 0, tmp_tuple_element_1 ); if ( var_tokens == NULL ) { Py_DECREF( tmp_iter_arg_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tokens" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 457; type_description_1 = "oooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_2 = var_tokens; tmp_subscript_name_2 = const_slice_int_pos_1_none_none; tmp_tuple_element_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_iter_arg_1 ); exception_lineno = 457; type_description_1 = "oooooooooo"; goto try_except_handler_2; } PyTuple_SET_ITEM( tmp_iter_arg_1, 1, tmp_tuple_element_1 ); 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 = 457; type_description_1 = "oooooooooo"; 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 = "oooooooooo"; exception_lineno = 457; 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 = "oooooooooo"; exception_lineno = 457; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_2 == NULL ); tmp_tuple_unpack_1__element_2 = tmp_assign_source_4; } 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; } { // 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_5; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_5 = tmp_tuple_unpack_1__element_1; assert( var_content_type == NULL ); Py_INCREF( tmp_assign_source_5 ); var_content_type = tmp_assign_source_5; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_6 = tmp_tuple_unpack_1__element_2; assert( var_params == NULL ); Py_INCREF( tmp_assign_source_6 ); var_params = tmp_assign_source_6; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_assign_source_7; tmp_assign_source_7 = PyDict_New(); assert( var_params_dict == NULL ); var_params_dict = tmp_assign_source_7; } { PyObject *tmp_assign_source_8; tmp_assign_source_8 = const_str_digest_177214e270a1816e1ba3c0c254370090; assert( var_items_to_strip == NULL ); Py_INCREF( tmp_assign_source_8 ); var_items_to_strip = tmp_assign_source_8; } { PyObject *tmp_assign_source_9; PyObject *tmp_iter_arg_2; if ( var_params == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "params" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 461; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_iter_arg_2 = var_params; tmp_assign_source_9 = MAKE_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 461; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_9; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_10; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_10 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_10 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooooo"; exception_lineno = 461; goto try_except_handler_4; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_10; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_11; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_11 = tmp_for_loop_1__iter_value; { PyObject *old = var_param; var_param = tmp_assign_source_11; Py_INCREF( var_param ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_12; PyObject *tmp_called_instance_3; CHECK_OBJECT( var_param ); tmp_called_instance_3 = var_param; frame_db8a250e00e6253d385ebae7e500d7db->m_frame.f_lineno = 462; tmp_assign_source_12 = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_strip ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 462; type_description_1 = "oooooooooo"; goto try_except_handler_4; } { PyObject *old = var_param; var_param = tmp_assign_source_12; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT( var_param ); tmp_truth_name_1 = CHECK_IF_TRUE( var_param ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 463; type_description_1 = "oooooooooo"; goto try_except_handler_4; } 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_13; PyObject *tmp_iter_arg_3; PyObject *tmp_tuple_element_2; CHECK_OBJECT( var_param ); tmp_tuple_element_2 = var_param; tmp_iter_arg_3 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_iter_arg_3, 0, tmp_tuple_element_2 ); tmp_tuple_element_2 = Py_True; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_iter_arg_3, 1, tmp_tuple_element_2 ); tmp_assign_source_13 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_3 ); Py_DECREF( tmp_iter_arg_3 ); assert( !(tmp_assign_source_13 == NULL) ); { PyObject *old = tmp_tuple_unpack_2__source_iter; tmp_tuple_unpack_2__source_iter = tmp_assign_source_13; Py_XDECREF( old ); } } { // Tried code: { // Tried code: { PyObject *tmp_assign_source_14; PyObject *tmp_unpack_3; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_3 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_14 = UNPACK_NEXT( tmp_unpack_3, 0, 2 ); if ( tmp_assign_source_14 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooooo"; exception_lineno = 464; goto try_except_handler_6; } { PyObject *old = tmp_tuple_unpack_2__element_1; tmp_tuple_unpack_2__element_1 = tmp_assign_source_14; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_15; PyObject *tmp_unpack_4; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_15 = UNPACK_NEXT( tmp_unpack_4, 1, 2 ); if ( tmp_assign_source_15 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooooo"; exception_lineno = 464; goto try_except_handler_6; } { PyObject *old = tmp_tuple_unpack_2__element_2; tmp_tuple_unpack_2__element_2 = tmp_assign_source_15; 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; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_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; { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto try_except_handler_4; } // End of try: try_end_4:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { PyObject *tmp_assign_source_16; CHECK_OBJECT( tmp_tuple_unpack_2__element_1 ); tmp_assign_source_16 = tmp_tuple_unpack_2__element_1; { PyObject *old = var_key; var_key = tmp_assign_source_16; Py_INCREF( var_key ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { PyObject *tmp_assign_source_17; CHECK_OBJECT( tmp_tuple_unpack_2__element_2 ); tmp_assign_source_17 = tmp_tuple_unpack_2__element_2; { PyObject *old = var_value; var_value = tmp_assign_source_17; Py_INCREF( var_value ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { PyObject *tmp_assign_source_18; PyObject *tmp_called_instance_4; if ( var_param == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "param" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 465; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_called_instance_4 = var_param; frame_db8a250e00e6253d385ebae7e500d7db->m_frame.f_lineno = 465; tmp_assign_source_18 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, const_str_plain_find, &PyTuple_GET_ITEM( const_tuple_str_chr_61_tuple, 0 ) ); if ( tmp_assign_source_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 465; type_description_1 = "oooooooooo"; goto try_except_handler_4; } { PyObject *old = var_index_of_equals; var_index_of_equals = tmp_assign_source_18; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( var_index_of_equals ); tmp_compexpr_left_1 = var_index_of_equals; tmp_compexpr_right_1 = const_int_neg_1; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 466; 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_assign_source_19; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_step_name_1; PyObject *tmp_args_element_name_1; if ( var_param == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "param" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 467; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_subscribed_name_3 = var_param; tmp_start_name_1 = Py_None; if ( var_index_of_equals == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "index_of_equals" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 467; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_stop_name_1 = var_index_of_equals; tmp_step_name_1 = Py_None; tmp_subscript_name_3 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); assert( !(tmp_subscript_name_3 == NULL) ); tmp_source_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); Py_DECREF( tmp_subscript_name_3 ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 467; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_strip ); 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 = 467; type_description_1 = "oooooooooo"; goto try_except_handler_4; } if ( var_items_to_strip == 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", "items_to_strip" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 467; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_args_element_name_1 = var_items_to_strip; frame_db8a250e00e6253d385ebae7e500d7db->m_frame.f_lineno = 467; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_19 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 467; type_description_1 = "oooooooooo"; goto try_except_handler_4; } { PyObject *old = var_key; var_key = tmp_assign_source_19; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_20; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; PyObject *tmp_start_name_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_stop_name_2; PyObject *tmp_step_name_2; PyObject *tmp_args_element_name_2; if ( var_param == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "param" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 468; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_subscribed_name_4 = var_param; if ( var_index_of_equals == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "index_of_equals" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 468; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_left_name_1 = var_index_of_equals; tmp_right_name_1 = const_int_pos_1; tmp_start_name_2 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_start_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 468; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_stop_name_2 = Py_None; tmp_step_name_2 = Py_None; tmp_subscript_name_4 = MAKE_SLICEOBJ3( tmp_start_name_2, tmp_stop_name_2, tmp_step_name_2 ); Py_DECREF( tmp_start_name_2 ); assert( !(tmp_subscript_name_4 == NULL) ); tmp_source_name_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_4, tmp_subscript_name_4 ); Py_DECREF( tmp_subscript_name_4 ); if ( tmp_source_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 468; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_strip ); Py_DECREF( tmp_source_name_2 ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 468; type_description_1 = "oooooooooo"; goto try_except_handler_4; } if ( var_items_to_strip == 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", "items_to_strip" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 468; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_args_element_name_2 = var_items_to_strip; frame_db8a250e00e6253d385ebae7e500d7db->m_frame.f_lineno = 468; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_20 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_assign_source_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 468; type_description_1 = "oooooooooo"; goto try_except_handler_4; } { PyObject *old = var_value; var_value = tmp_assign_source_20; Py_XDECREF( old ); } } branch_no_2:; } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; if ( var_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 469; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_ass_subvalue_1 = var_value; if ( var_params_dict == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "params_dict" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 469; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_ass_subscribed_1 = var_params_dict; if ( var_key == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 469; type_description_1 = "oooooooooo"; goto try_except_handler_4; } tmp_ass_subscript_1 = var_key; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 469; type_description_1 = "oooooooooo"; goto try_except_handler_4; } } branch_no_1:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 461; type_description_1 = "oooooooooo"; goto try_except_handler_4; } goto loop_start_1; loop_end_1:; } goto try_end_5; // Exception handler code: try_except_handler_4:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto frame_exception_exit_1; } // End of try: try_end_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_tuple_element_3; if ( var_content_type == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "content_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 470; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_3 = var_content_type; tmp_return_value = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_3 ); if ( var_params_dict == NULL ) { Py_DECREF( tmp_return_value ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "params_dict" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 470; type_description_1 = "oooooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_3 = var_params_dict; Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_3 ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_db8a250e00e6253d385ebae7e500d7db ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_db8a250e00e6253d385ebae7e500d7db ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_db8a250e00e6253d385ebae7e500d7db ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_db8a250e00e6253d385ebae7e500d7db, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_db8a250e00e6253d385ebae7e500d7db->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_db8a250e00e6253d385ebae7e500d7db, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_db8a250e00e6253d385ebae7e500d7db, type_description_1, par_header, var_tokens, var_content_type, var_params, var_params_dict, var_items_to_strip, var_param, var_key, var_value, var_index_of_equals ); // Release cached frame. if ( frame_db8a250e00e6253d385ebae7e500d7db == cache_frame_db8a250e00e6253d385ebae7e500d7db ) { Py_DECREF( frame_db8a250e00e6253d385ebae7e500d7db ); } cache_frame_db8a250e00e6253d385ebae7e500d7db = NULL; assertFrameObject( frame_db8a250e00e6253d385ebae7e500d7db ); // 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( requests$utils$$$function_16__parse_content_type_header ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_header ); par_header = NULL; } { Py_XDECREF( var_tokens ); var_tokens = NULL; } { Py_XDECREF( var_content_type ); var_content_type = NULL; } { Py_XDECREF( var_params ); var_params = NULL; } { Py_XDECREF( var_params_dict ); var_params_dict = NULL; } { Py_XDECREF( var_items_to_strip ); var_items_to_strip = NULL; } { Py_XDECREF( var_param ); var_param = NULL; } { Py_XDECREF( var_key ); var_key = NULL; } { Py_XDECREF( var_value ); var_value = NULL; } { Py_XDECREF( var_index_of_equals ); var_index_of_equals = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_header ); par_header = NULL; } { Py_XDECREF( var_tokens ); var_tokens = NULL; } { Py_XDECREF( var_content_type ); var_content_type = NULL; } { Py_XDECREF( var_params ); var_params = NULL; } { Py_XDECREF( var_params_dict ); var_params_dict = NULL; } { Py_XDECREF( var_items_to_strip ); var_items_to_strip = NULL; } { Py_XDECREF( var_param ); var_param = NULL; } { Py_XDECREF( var_key ); var_key = NULL; } { Py_XDECREF( var_value ); var_value = NULL; } { Py_XDECREF( var_index_of_equals ); var_index_of_equals = NULL; } { // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_16__parse_content_type_header ); 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_requests$utils$$$function_17_get_encoding_from_headers( 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_headers = python_pars[ 0 ]; PyObject *var_content_type = NULL; PyObject *var_params = 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_f65dcc635dac28d821fe40704e769d3c; 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; 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; static struct Nuitka_FrameObject *cache_frame_f65dcc635dac28d821fe40704e769d3c = 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_f65dcc635dac28d821fe40704e769d3c, codeobj_f65dcc635dac28d821fe40704e769d3c, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_f65dcc635dac28d821fe40704e769d3c = cache_frame_f65dcc635dac28d821fe40704e769d3c; // Push the new frame as the currently active one. pushFrameStack( frame_f65dcc635dac28d821fe40704e769d3c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_f65dcc635dac28d821fe40704e769d3c ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_headers ); tmp_called_instance_1 = par_headers; frame_f65dcc635dac28d821fe40704e769d3c->m_frame.f_lineno = 480; tmp_assign_source_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_digest_d1c9bee04bd0a9c88e6c11d7c3b4ffd8_tuple, 0 ) ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 480; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_content_type == NULL ); var_content_type = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; CHECK_OBJECT( var_content_type ); tmp_operand_name_1 = var_content_type; 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 = 482; 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:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_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_requests$utils, (Nuitka_StringObject *)const_str_plain__parse_content_type_header ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__parse_content_type_header ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_parse_content_type_header" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 485; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_called_name_1 = tmp_mvar_value_1; if ( var_content_type == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "content_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 485; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_args_element_name_1 = var_content_type; frame_f65dcc635dac28d821fe40704e769d3c->m_frame.f_lineno = 485; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 485; type_description_1 = "ooo"; 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 = 485; 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_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 = "ooo"; exception_lineno = 485; 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 = "ooo"; exception_lineno = 485; 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 = "ooo"; exception_lineno = 485; 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 = 485; 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_5; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_5 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_content_type; var_content_type = tmp_assign_source_5; Py_INCREF( var_content_type ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_6 = tmp_tuple_unpack_1__element_2; assert( var_params == NULL ); Py_INCREF( tmp_assign_source_6 ); var_params = tmp_assign_source_6; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = const_str_plain_charset; if ( var_params == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "params" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 487; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = var_params; 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 = 487; type_description_1 = "ooo"; 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_called_instance_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; if ( var_params == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "params" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 488; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = var_params; tmp_subscript_name_1 = const_str_plain_charset; tmp_called_instance_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); if ( tmp_called_instance_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 488; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_f65dcc635dac28d821fe40704e769d3c->m_frame.f_lineno = 488; tmp_return_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_strip, &PyTuple_GET_ITEM( const_tuple_str_digest_a438b9a3da6b12037fbd2eb6dc898651_tuple, 0 ) ); Py_DECREF( tmp_called_instance_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 488; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_2:; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = const_str_plain_text; if ( var_content_type == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "content_type" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 490; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = var_content_type; 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 = 490; type_description_1 = "ooo"; 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:; { tmp_return_value = const_str_digest_14bf142caba56578f1c00aab6f48a798; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_3:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_f65dcc635dac28d821fe40704e769d3c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f65dcc635dac28d821fe40704e769d3c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f65dcc635dac28d821fe40704e769d3c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_f65dcc635dac28d821fe40704e769d3c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_f65dcc635dac28d821fe40704e769d3c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_f65dcc635dac28d821fe40704e769d3c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_f65dcc635dac28d821fe40704e769d3c, type_description_1, par_headers, var_content_type, var_params ); // Release cached frame. if ( frame_f65dcc635dac28d821fe40704e769d3c == cache_frame_f65dcc635dac28d821fe40704e769d3c ) { Py_DECREF( frame_f65dcc635dac28d821fe40704e769d3c ); } cache_frame_f65dcc635dac28d821fe40704e769d3c = NULL; assertFrameObject( frame_f65dcc635dac28d821fe40704e769d3c ); // 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( requests$utils$$$function_17_get_encoding_from_headers ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_headers ); par_headers = NULL; } { Py_XDECREF( var_content_type ); var_content_type = NULL; } { Py_XDECREF( var_params ); var_params = 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_headers ); par_headers = NULL; } { Py_XDECREF( var_content_type ); var_content_type = NULL; } { Py_XDECREF( var_params ); var_params = 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( requests$utils$$$function_17_get_encoding_from_headers ); 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_requests$utils$$$function_18_stream_decode_response_unicode( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_CellObject *par_iterator = PyCell_NEW1( python_pars[ 0 ] ); struct Nuitka_CellObject *par_r = PyCell_NEW1( python_pars[ 1 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = requests$utils$$$function_18_stream_decode_response_unicode$$$genobj_1_stream_decode_response_unicode_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_iterator; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[1] = par_r; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[1] ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_18_stream_decode_response_unicode ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_iterator ); Py_DECREF( par_iterator ); par_iterator = NULL; } { CHECK_OBJECT( (PyObject *)par_r ); Py_DECREF( par_r ); par_r = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_iterator ); Py_DECREF( par_iterator ); par_iterator = NULL; } { CHECK_OBJECT( (PyObject *)par_r ); Py_DECREF( par_r ); par_r = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_18_stream_decode_response_unicode ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct requests$utils$$$function_18_stream_decode_response_unicode$$$genobj_1_stream_decode_response_unicode_locals { PyObject *var_item; PyObject *var_decoder; PyObject *var_chunk; PyObject *var_rv; PyObject *tmp_for_loop_1__for_iterator; PyObject *tmp_for_loop_1__iter_value; PyObject *tmp_for_loop_2__for_iterator; PyObject *tmp_for_loop_2__iter_value; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; char yield_tmps[1024]; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *tmp_return_value; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; int exception_keeper_lineno_3; }; static PyObject *requests$utils$$$function_18_stream_decode_response_unicode$$$genobj_1_stream_decode_response_unicode_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct requests$utils$$$function_18_stream_decode_response_unicode$$$genobj_1_stream_decode_response_unicode_locals *generator_heap = (struct requests$utils$$$function_18_stream_decode_response_unicode$$$genobj_1_stream_decode_response_unicode_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 3: goto yield_return_3; case 2: goto yield_return_2; case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_item = NULL; generator_heap->var_decoder = NULL; generator_heap->var_chunk = NULL; generator_heap->var_rv = NULL; generator_heap->tmp_for_loop_1__for_iterator = NULL; generator_heap->tmp_for_loop_1__iter_value = NULL; generator_heap->tmp_for_loop_2__for_iterator = NULL; generator_heap->tmp_for_loop_2__iter_value = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; generator_heap->tmp_return_value = NULL; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_a802bf7b9264821326eb79571765087f, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF( generator->m_frame ); assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack #if PYTHON_VERSION >= 340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif Py_CLEAR( generator->m_frame->m_frame.f_back ); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF( generator->m_frame->m_frame.f_back ); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF( generator->m_frame ); Nuitka_Frame_MarkAsExecuting( generator->m_frame ); #if PYTHON_VERSION >= 300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); #if PYTHON_VERSION < 370 generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state ); if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL; Py_XINCREF( generator->m_frame->m_frame.f_exc_type ); generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_value ); generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback ); #else generator->m_exc_state.exc_type = EXC_TYPE( thread_state ); if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL; Py_XINCREF( generator->m_exc_state.exc_type ); generator->m_exc_state.exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_exc_state.exc_value ); generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_exc_state.exc_traceback ); #endif } #endif // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "r" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 497; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } tmp_source_name_1 = PyCell_GET( generator->m_closure[1] ); tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_encoding ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 497; generator_heap->type_description_1 = "ccoooo"; 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_assign_source_1; PyObject *tmp_iter_arg_1; if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "iterator" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 498; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } tmp_iter_arg_1 = PyCell_GET( generator->m_closure[0] ); tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 498; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } assert( generator_heap->tmp_for_loop_1__for_iterator == NULL ); generator_heap->tmp_for_loop_1__for_iterator = tmp_assign_source_1; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_2; CHECK_OBJECT( generator_heap->tmp_for_loop_1__for_iterator ); tmp_next_source_1 = generator_heap->tmp_for_loop_1__for_iterator; tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_2 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "ccoooo"; generator_heap->exception_lineno = 498; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_for_loop_1__iter_value; generator_heap->tmp_for_loop_1__iter_value = tmp_assign_source_2; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_3; CHECK_OBJECT( generator_heap->tmp_for_loop_1__iter_value ); tmp_assign_source_3 = generator_heap->tmp_for_loop_1__iter_value; { PyObject *old = generator_heap->var_item; generator_heap->var_item = tmp_assign_source_3; Py_INCREF( generator_heap->var_item ); Py_XDECREF( old ); } } { PyObject *tmp_expression_name_1; CHECK_OBJECT( generator_heap->var_item ); tmp_expression_name_1 = generator_heap->var_item; Py_INCREF( tmp_expression_name_1 ); Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_source_name_1, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_compexpr_left_1, sizeof(PyObject *), &tmp_compexpr_right_1, sizeof(PyObject *), &tmp_source_name_1, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 499; generator_heap->type_description_1 = "ccoooo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 498; generator_heap->type_description_1 = "ccoooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->tmp_for_loop_1__iter_value ); generator_heap->tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_1__for_iterator ); Py_DECREF( generator_heap->tmp_for_loop_1__for_iterator ); generator_heap->tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { Py_XDECREF( generator_heap->tmp_for_loop_1__iter_value ); generator_heap->tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_1__for_iterator ); Py_DECREF( generator_heap->tmp_for_loop_1__for_iterator ); generator_heap->tmp_for_loop_1__for_iterator = NULL; } { generator_heap->tmp_return_value = Py_None; Py_INCREF( generator_heap->tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_4; PyObject *tmp_called_name_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_3; PyObject *tmp_kw_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (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 ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "codecs" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 502; generator_heap->type_description_1 = "ccoooo"; 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_getincrementaldecoder ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 502; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { Py_DECREF( tmp_called_name_2 ); generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "r" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 502; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } tmp_source_name_3 = PyCell_GET( generator->m_closure[1] ); tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_encoding ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_called_name_2 ); generator_heap->exception_lineno = 502; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } generator->m_frame->m_frame.f_lineno = 502; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_called_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 502; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } tmp_kw_name_1 = PyDict_Copy( const_dict_50cbed4fd0e1ba2459c2305886c6197e ); generator->m_frame->m_frame.f_lineno = 502; tmp_assign_source_4 = CALL_FUNCTION_WITH_KEYARGS( tmp_called_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_kw_name_1 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 502; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } assert( generator_heap->var_decoder == NULL ); generator_heap->var_decoder = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_iter_arg_2; if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "iterator" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 503; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } tmp_iter_arg_2 = PyCell_GET( generator->m_closure[0] ); tmp_assign_source_5 = MAKE_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 503; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } assert( generator_heap->tmp_for_loop_2__for_iterator == NULL ); generator_heap->tmp_for_loop_2__for_iterator = tmp_assign_source_5; } { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_6; CHECK_OBJECT( generator_heap->tmp_for_loop_2__for_iterator ); tmp_next_source_2 = generator_heap->tmp_for_loop_2__for_iterator; tmp_assign_source_6 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_6 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_2; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "ccoooo"; generator_heap->exception_lineno = 503; goto try_except_handler_3; } } { PyObject *old = generator_heap->tmp_for_loop_2__iter_value; generator_heap->tmp_for_loop_2__iter_value = tmp_assign_source_6; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_7; CHECK_OBJECT( generator_heap->tmp_for_loop_2__iter_value ); tmp_assign_source_7 = generator_heap->tmp_for_loop_2__iter_value; { PyObject *old = generator_heap->var_chunk; generator_heap->var_chunk = tmp_assign_source_7; Py_INCREF( generator_heap->var_chunk ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_8; PyObject *tmp_called_name_3; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_2; if ( generator_heap->var_decoder == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "decoder" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 504; generator_heap->type_description_1 = "ccoooo"; goto try_except_handler_3; } tmp_source_name_4 = generator_heap->var_decoder; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_decode ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 504; generator_heap->type_description_1 = "ccoooo"; goto try_except_handler_3; } if ( generator_heap->var_chunk == NULL ) { Py_DECREF( tmp_called_name_3 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "chunk" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 504; generator_heap->type_description_1 = "ccoooo"; goto try_except_handler_3; } tmp_args_element_name_2 = generator_heap->var_chunk; generator->m_frame->m_frame.f_lineno = 504; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_8 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 504; generator_heap->type_description_1 = "ccoooo"; goto try_except_handler_3; } { PyObject *old = generator_heap->var_rv; generator_heap->var_rv = tmp_assign_source_8; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; int tmp_truth_name_1; CHECK_OBJECT( generator_heap->var_rv ); tmp_truth_name_1 = CHECK_IF_TRUE( generator_heap->var_rv ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 505; generator_heap->type_description_1 = "ccoooo"; goto try_except_handler_3; } tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_expression_name_2; CHECK_OBJECT( generator_heap->var_rv ); tmp_expression_name_2 = generator_heap->var_rv; Py_INCREF( tmp_expression_name_2 ); Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_2, sizeof(nuitka_bool), &tmp_truth_name_1, sizeof(int), NULL ); generator->m_yield_return_index = 2; return tmp_expression_name_2; yield_return_2: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_2, sizeof(nuitka_bool), &tmp_truth_name_1, sizeof(int), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 506; generator_heap->type_description_1 = "ccoooo"; goto try_except_handler_3; } tmp_unused = yield_return_value; } branch_no_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 503; generator_heap->type_description_1 = "ccoooo"; goto try_except_handler_3; } goto loop_start_2; loop_end_2:; } goto try_end_2; // Exception handler code: try_except_handler_3:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->tmp_for_loop_2__iter_value ); generator_heap->tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_2__for_iterator ); Py_DECREF( generator_heap->tmp_for_loop_2__for_iterator ); generator_heap->tmp_for_loop_2__for_iterator = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto frame_exception_exit_1; } // End of try: try_end_2:; } { Py_XDECREF( generator_heap->tmp_for_loop_2__iter_value ); generator_heap->tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)generator_heap->tmp_for_loop_2__for_iterator ); Py_DECREF( generator_heap->tmp_for_loop_2__for_iterator ); generator_heap->tmp_for_loop_2__for_iterator = NULL; } { PyObject *tmp_assign_source_9; PyObject *tmp_called_name_4; PyObject *tmp_source_name_5; PyObject *tmp_args_name_1; PyObject *tmp_kw_name_2; if ( generator_heap->var_decoder == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "decoder" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 507; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } tmp_source_name_5 = generator_heap->var_decoder; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_decode ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 507; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } tmp_args_name_1 = const_tuple_bytes_empty_tuple; tmp_kw_name_2 = PyDict_Copy( const_dict_c1d9484056262b621ddfdb207e4e086d ); generator->m_frame->m_frame.f_lineno = 507; tmp_assign_source_9 = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_1, tmp_kw_name_2 ); Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_kw_name_2 ); if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 507; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } { PyObject *old = generator_heap->var_rv; generator_heap->var_rv = tmp_assign_source_9; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_3; int tmp_truth_name_2; CHECK_OBJECT( generator_heap->var_rv ); tmp_truth_name_2 = CHECK_IF_TRUE( generator_heap->var_rv ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 508; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_2 == 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_expression_name_3; CHECK_OBJECT( generator_heap->var_rv ); tmp_expression_name_3 = generator_heap->var_rv; Py_INCREF( tmp_expression_name_3 ); Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_3, sizeof(nuitka_bool), &tmp_truth_name_2, sizeof(int), NULL ); generator->m_yield_return_index = 3; return tmp_expression_name_3; yield_return_3: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_3, sizeof(nuitka_bool), &tmp_truth_name_2, sizeof(int), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 509; generator_heap->type_description_1 = "ccoooo"; goto frame_exception_exit_1; } tmp_unused = yield_return_value; } branch_no_3:; } Nuitka_Frame_MarkAsNotExecuting( generator->m_frame ); #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif // Allow re-use of the frame again. Py_DECREF( generator->m_frame ); goto frame_no_exception_1; frame_return_exit_1:; #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif Py_DECREF( generator->m_frame ); goto try_return_handler_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) ) { if ( generator_heap->exception_tb == NULL ) { generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno ); } else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame ) { generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno ); } Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)generator->m_frame, generator_heap->type_description_1, generator->m_closure[0], generator->m_closure[1], generator_heap->var_item, generator_heap->var_decoder, generator_heap->var_chunk, generator_heap->var_rv ); // Release cached frame. if ( generator->m_frame == cache_m_frame ) { Py_DECREF( generator->m_frame ); } cache_m_frame = NULL; assertFrameObject( generator->m_frame ); } #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif Py_DECREF( generator->m_frame ); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_3; // Return handler code: try_return_handler_1:; { Py_XDECREF( generator_heap->var_item ); generator_heap->var_item = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_3 = generator_heap->exception_type; generator_heap->exception_keeper_value_3 = generator_heap->exception_value; generator_heap->exception_keeper_tb_3 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_3 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->var_item ); generator_heap->var_item = NULL; } { Py_XDECREF( generator_heap->var_decoder ); generator_heap->var_decoder = NULL; } { Py_XDECREF( generator_heap->var_chunk ); generator_heap->var_chunk = NULL; } { Py_XDECREF( generator_heap->var_rv ); generator_heap->var_rv = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_3; generator_heap->exception_value = generator_heap->exception_keeper_value_3; generator_heap->exception_tb = generator_heap->exception_keeper_tb_3; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_3; goto function_exception_exit; } // End of try: try_end_3:; } { Py_XDECREF( generator_heap->var_decoder ); generator_heap->var_decoder = NULL; } { Py_XDECREF( generator_heap->var_chunk ); generator_heap->var_chunk = NULL; } { Py_XDECREF( generator_heap->var_rv ); generator_heap->var_rv = NULL; } return NULL; function_exception_exit: assert( generator_heap->exception_type ); RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb ); return NULL; // The above won't return, but we need to make it clear to the compiler // as well, or else it will complain and/or generate inferior code. assert(false); return NULL; function_return_exit: #if PYTHON_VERSION >= 300 generator->m_returned = generator_heap->tmp_return_value; #endif return NULL; } static PyObject *requests$utils$$$function_18_stream_decode_response_unicode$$$genobj_1_stream_decode_response_unicode_maker( void ) { return Nuitka_Generator_New( requests$utils$$$function_18_stream_decode_response_unicode$$$genobj_1_stream_decode_response_unicode_context, module_requests$utils, const_str_plain_stream_decode_response_unicode, #if PYTHON_VERSION >= 350 NULL, #endif codeobj_a802bf7b9264821326eb79571765087f, 2, sizeof(struct requests$utils$$$function_18_stream_decode_response_unicode$$$genobj_1_stream_decode_response_unicode_locals) ); } static PyObject *impl_requests$utils$$$function_19_iter_slices( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_CellObject *par_string = PyCell_NEW1( python_pars[ 0 ] ); struct Nuitka_CellObject *par_slice_length = PyCell_NEW1( python_pars[ 1 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = requests$utils$$$function_19_iter_slices$$$genobj_1_iter_slices_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_slice_length; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[1] = par_string; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[1] ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_19_iter_slices ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_string ); Py_DECREF( par_string ); par_string = NULL; } { CHECK_OBJECT( (PyObject *)par_slice_length ); Py_DECREF( par_slice_length ); par_slice_length = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_string ); Py_DECREF( par_string ); par_string = NULL; } { CHECK_OBJECT( (PyObject *)par_slice_length ); Py_DECREF( par_slice_length ); par_slice_length = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_19_iter_slices ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct requests$utils$$$function_19_iter_slices$$$genobj_1_iter_slices_locals { PyObject *var_pos; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; int tmp_res; char yield_tmps[1024]; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; }; static PyObject *requests$utils$$$function_19_iter_slices$$$genobj_1_iter_slices_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct requests$utils$$$function_19_iter_slices$$$genobj_1_iter_slices_locals *generator_heap = (struct requests$utils$$$function_19_iter_slices$$$genobj_1_iter_slices_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_pos = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = const_int_0; assert( generator_heap->var_pos == NULL ); Py_INCREF( tmp_assign_source_1 ); generator_heap->var_pos = tmp_assign_source_1; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_0edca0c1ae57e8a491d86394d3159b2a, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *) ); generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF( generator->m_frame ); assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack #if PYTHON_VERSION >= 340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif Py_CLEAR( generator->m_frame->m_frame.f_back ); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF( generator->m_frame->m_frame.f_back ); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF( generator->m_frame ); Nuitka_Frame_MarkAsExecuting( generator->m_frame ); #if PYTHON_VERSION >= 300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); #if PYTHON_VERSION < 370 generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state ); if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL; Py_XINCREF( generator->m_frame->m_frame.f_exc_type ); generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_value ); generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback ); #else generator->m_exc_state.exc_type = EXC_TYPE( thread_state ); if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL; Py_XINCREF( generator->m_exc_state.exc_type ); generator->m_exc_state.exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_exc_state.exc_value ); generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_exc_state.exc_traceback ); #endif } #endif // Framed code: { nuitka_bool tmp_condition_result_1; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "slice_length" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 515; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = PyCell_GET( generator->m_closure[0] ); tmp_compexpr_right_1 = Py_None; tmp_or_left_value_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "slice_length" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 515; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = PyCell_GET( generator->m_closure[0] ); tmp_compexpr_right_2 = const_int_0; generator_heap->tmp_res = RICH_COMPARE_BOOL_LE( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 515; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_or_right_value_1 = ( generator_heap->tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_1 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_1 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_len_arg_1; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "string" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 516; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_len_arg_1 = PyCell_GET( generator->m_closure[1] ); tmp_assign_source_2 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 516; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } { PyObject *old = PyCell_GET( generator->m_closure[0] ); PyCell_SET( generator->m_closure[0], tmp_assign_source_2 ); Py_XDECREF( old ); } } branch_no_1:; } { loop_start_1:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_len_arg_2; if ( generator_heap->var_pos == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pos" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 517; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = generator_heap->var_pos; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "string" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 517; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_len_arg_2 = PyCell_GET( generator->m_closure[1] ); tmp_compexpr_right_3 = BUILTIN_LEN( tmp_len_arg_2 ); if ( tmp_compexpr_right_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 517; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_operand_name_1 = RICH_COMPARE_LT( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 517; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } generator_heap->tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( generator_heap->tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 517; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( generator_heap->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_expression_name_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_1; PyObject *tmp_right_name_1; PyObject *tmp_step_name_1; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "string" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 518; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = PyCell_GET( generator->m_closure[1] ); if ( generator_heap->var_pos == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pos" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 518; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_start_name_1 = generator_heap->var_pos; if ( generator_heap->var_pos == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pos" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 518; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_left_name_1 = generator_heap->var_pos; if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "slice_length" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 518; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_right_name_1 = PyCell_GET( generator->m_closure[0] ); 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( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 518; generator_heap->type_description_1 = "cco"; 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_expression_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_expression_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 518; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_subscribed_name_1, sizeof(PyObject *), &tmp_subscript_name_1, sizeof(PyObject *), &tmp_start_name_1, sizeof(PyObject *), &tmp_stop_name_1, sizeof(PyObject *), &tmp_left_name_1, sizeof(PyObject *), &tmp_right_name_1, sizeof(PyObject *), &tmp_step_name_1, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_subscribed_name_1, sizeof(PyObject *), &tmp_subscript_name_1, sizeof(PyObject *), &tmp_start_name_1, sizeof(PyObject *), &tmp_stop_name_1, sizeof(PyObject *), &tmp_left_name_1, sizeof(PyObject *), &tmp_right_name_1, sizeof(PyObject *), &tmp_step_name_1, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 518; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_unused = yield_return_value; } { PyObject *tmp_assign_source_3; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; if ( generator_heap->var_pos == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pos" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 519; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_left_name_2 = generator_heap->var_pos; if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "slice_length" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 519; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } tmp_right_name_2 = PyCell_GET( generator->m_closure[0] ); generator_heap->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 ( generator_heap->tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 519; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } generator_heap->var_pos = tmp_assign_source_3; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 517; generator_heap->type_description_1 = "cco"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } Nuitka_Frame_MarkAsNotExecuting( generator->m_frame ); #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif // Allow re-use of the frame again. Py_DECREF( generator->m_frame ); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) ) { if ( generator_heap->exception_tb == NULL ) { generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno ); } else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame ) { generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno ); } Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)generator->m_frame, generator_heap->type_description_1, generator->m_closure[1], generator->m_closure[0], generator_heap->var_pos ); // Release cached frame. if ( generator->m_frame == cache_m_frame ) { Py_DECREF( generator->m_frame ); } cache_m_frame = NULL; assertFrameObject( generator->m_frame ); } #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif Py_DECREF( generator->m_frame ); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_1; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->var_pos ); generator_heap->var_pos = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto function_exception_exit; } // End of try: try_end_1:; } { Py_XDECREF( generator_heap->var_pos ); generator_heap->var_pos = NULL; } return NULL; function_exception_exit: assert( generator_heap->exception_type ); RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb ); return NULL; } static PyObject *requests$utils$$$function_19_iter_slices$$$genobj_1_iter_slices_maker( void ) { return Nuitka_Generator_New( requests$utils$$$function_19_iter_slices$$$genobj_1_iter_slices_context, module_requests$utils, const_str_plain_iter_slices, #if PYTHON_VERSION >= 350 NULL, #endif codeobj_0edca0c1ae57e8a491d86394d3159b2a, 2, sizeof(struct requests$utils$$$function_19_iter_slices$$$genobj_1_iter_slices_locals) ); } static PyObject *impl_requests$utils$$$function_20_get_unicode_from_response( 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_r = python_pars[ 0 ]; PyObject *var_tried_encodings = NULL; PyObject *var_encoding = NULL; struct Nuitka_FrameObject *frame_c64fe7c5131e2b4d47f1d813872fcec3; 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; 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; 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_c64fe7c5131e2b4d47f1d813872fcec3 = 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_c64fe7c5131e2b4d47f1d813872fcec3, codeobj_c64fe7c5131e2b4d47f1d813872fcec3, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_c64fe7c5131e2b4d47f1d813872fcec3 = cache_frame_c64fe7c5131e2b4d47f1d813872fcec3; // Push the new frame as the currently active one. pushFrameStack( frame_c64fe7c5131e2b4d47f1d813872fcec3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c64fe7c5131e2b4d47f1d813872fcec3 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_mvar_value_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_warnings ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_warnings ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "warnings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 534; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_warn ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 534; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = const_str_digest_243581530d83f357b8f6ab42fe354711; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_DeprecationWarning ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_DeprecationWarning ); } 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", "DeprecationWarning" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 538; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = tmp_mvar_value_2; frame_c64fe7c5131e2b4d47f1d813872fcec3->m_frame.f_lineno = 534; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 534; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_1; tmp_assign_source_1 = PyList_New( 0 ); assert( var_tried_encodings == NULL ); var_tried_encodings = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_3; PyObject *tmp_source_name_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_get_encoding_from_headers ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_get_encoding_from_headers ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "get_encoding_from_headers" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 543; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_3; if ( par_r == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "r" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 543; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_r; tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_headers ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 543; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_c64fe7c5131e2b4d47f1d813872fcec3->m_frame.f_lineno = 543; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_args_element_name_3 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 543; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_encoding == NULL ); var_encoding = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT( var_encoding ); 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 = 545; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { // Tried code: { PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_4; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_5; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_str ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 547; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_called_name_3 = tmp_mvar_value_4; if ( par_r == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "r" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 547; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_3 = par_r; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_content ); if ( tmp_args_element_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 547; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_encoding == NULL ) { Py_DECREF( tmp_args_element_name_4 ); 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 = 547; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_args_element_name_5 = var_encoding; frame_c64fe7c5131e2b4d47f1d813872fcec3->m_frame.f_lineno = 547; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_args_element_name_4 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 547; type_description_1 = "ooo"; goto try_except_handler_2; } goto frame_return_exit_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_20_get_unicode_from_response ); return NULL; // 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_c64fe7c5131e2b4d47f1d813872fcec3, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_c64fe7c5131e2b4d47f1d813872fcec3, 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_UnicodeError; 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 = 548; type_description_1 = "ooo"; 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:; { PyObject *tmp_called_name_4; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_6; if ( var_tried_encodings == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tried_encodings" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 549; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_source_name_4 = var_tried_encodings; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_append ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 549; type_description_1 = "ooo"; goto try_except_handler_3; } if ( var_encoding == 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", "encoding" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 549; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_args_element_name_6 = var_encoding; frame_c64fe7c5131e2b4d47f1d813872fcec3->m_frame.f_lineno = 549; { PyObject *call_args[] = { tmp_args_element_name_6 }; 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 = 549; type_description_1 = "ooo"; goto try_except_handler_3; } Py_DECREF( tmp_unused ); } goto branch_end_2; branch_no_2:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 546; } if (exception_tb && exception_tb->tb_frame == &frame_c64fe7c5131e2b4d47f1d813872fcec3->m_frame) frame_c64fe7c5131e2b4d47f1d813872fcec3->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooo"; goto try_except_handler_3; } branch_end_2:; } goto try_end_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: try_end_1:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } goto try_end_2; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_20_get_unicode_from_response ); return NULL; // End of try: try_end_2:; } branch_no_1:; } { // Tried code: { PyObject *tmp_called_name_5; PyObject *tmp_mvar_value_5; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_5; PyObject *tmp_kw_name_1; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_str ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_str ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "str" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 553; type_description_1 = "ooo"; goto try_except_handler_4; } tmp_called_name_5 = tmp_mvar_value_5; if ( par_r == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "r" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 553; type_description_1 = "ooo"; goto try_except_handler_4; } tmp_source_name_5 = par_r; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_content ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 553; type_description_1 = "ooo"; goto try_except_handler_4; } tmp_args_name_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 ); if ( var_encoding == NULL ) { Py_DECREF( tmp_args_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 = 553; type_description_1 = "ooo"; goto try_except_handler_4; } tmp_tuple_element_1 = var_encoding; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 ); tmp_kw_name_1 = PyDict_Copy( const_dict_50cbed4fd0e1ba2459c2305886c6197e ); frame_c64fe7c5131e2b4d47f1d813872fcec3->m_frame.f_lineno = 553; tmp_return_value = CALL_FUNCTION( tmp_called_name_5, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_args_name_1 ); Py_DECREF( tmp_kw_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 553; type_description_1 = "ooo"; goto try_except_handler_4; } goto frame_return_exit_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_20_get_unicode_from_response ); 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_c64fe7c5131e2b4d47f1d813872fcec3, exception_keeper_lineno_3 ); } else if ( exception_keeper_lineno_3 != 0 ) { exception_keeper_tb_3 = ADD_TRACEBACK( exception_keeper_tb_3, frame_c64fe7c5131e2b4d47f1d813872fcec3, 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_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_2 = PyExc_TypeError; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 554; type_description_1 = "ooo"; goto try_except_handler_5; } 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_source_name_6; if ( par_r == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "r" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 555; type_description_1 = "ooo"; goto try_except_handler_5; } tmp_source_name_6 = par_r; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_content ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 555; type_description_1 = "ooo"; goto try_except_handler_5; } goto try_return_handler_5; } goto branch_end_3; branch_no_3:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 552; } if (exception_tb && exception_tb->tb_frame == &frame_c64fe7c5131e2b4d47f1d813872fcec3->m_frame) frame_c64fe7c5131e2b4d47f1d813872fcec3->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooo"; goto try_except_handler_5; } branch_end_3:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_20_get_unicode_from_response ); 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: } #if 0 RESTORE_FRAME_EXCEPTION( frame_c64fe7c5131e2b4d47f1d813872fcec3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c64fe7c5131e2b4d47f1d813872fcec3 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c64fe7c5131e2b4d47f1d813872fcec3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c64fe7c5131e2b4d47f1d813872fcec3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c64fe7c5131e2b4d47f1d813872fcec3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c64fe7c5131e2b4d47f1d813872fcec3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c64fe7c5131e2b4d47f1d813872fcec3, type_description_1, par_r, var_tried_encodings, var_encoding ); // Release cached frame. if ( frame_c64fe7c5131e2b4d47f1d813872fcec3 == cache_frame_c64fe7c5131e2b4d47f1d813872fcec3 ) { Py_DECREF( frame_c64fe7c5131e2b4d47f1d813872fcec3 ); } cache_frame_c64fe7c5131e2b4d47f1d813872fcec3 = NULL; assertFrameObject( frame_c64fe7c5131e2b4d47f1d813872fcec3 ); // 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( requests$utils$$$function_20_get_unicode_from_response ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_r ); par_r = NULL; } { Py_XDECREF( var_tried_encodings ); var_tried_encodings = NULL; } { Py_XDECREF( var_encoding ); var_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_r ); par_r = NULL; } { Py_XDECREF( var_tried_encodings ); var_tried_encodings = NULL; } { Py_XDECREF( var_encoding ); var_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( requests$utils$$$function_20_get_unicode_from_response ); 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_requests$utils$$$function_21_unquote_unreserved( 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_uri = python_pars[ 0 ]; PyObject *var_parts = NULL; PyObject *var_i = NULL; PyObject *var_h = NULL; PyObject *var_c = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_b216b791a9f88f685d58dacb8f1408d4; 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; 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 *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_b216b791a9f88f685d58dacb8f1408d4 = 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_b216b791a9f88f685d58dacb8f1408d4, codeobj_b216b791a9f88f685d58dacb8f1408d4, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_b216b791a9f88f685d58dacb8f1408d4 = cache_frame_b216b791a9f88f685d58dacb8f1408d4; // Push the new frame as the currently active one. pushFrameStack( frame_b216b791a9f88f685d58dacb8f1408d4 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_b216b791a9f88f685d58dacb8f1408d4 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_uri ); tmp_called_instance_1 = par_uri; frame_b216b791a9f88f685d58dacb8f1408d4->m_frame.f_lineno = 569; tmp_assign_source_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_37_tuple, 0 ) ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 569; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( var_parts == NULL ); var_parts = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_xrange_low_1; PyObject *tmp_xrange_high_1; PyObject *tmp_len_arg_1; tmp_xrange_low_1 = const_int_pos_1; CHECK_OBJECT( var_parts ); tmp_len_arg_1 = var_parts; tmp_xrange_high_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_xrange_high_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 570; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_iter_arg_1 = BUILTIN_XRANGE2( tmp_xrange_low_1, tmp_xrange_high_1 ); Py_DECREF( tmp_xrange_high_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 570; type_description_1 = "ooooo"; 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 = 570; type_description_1 = "ooooo"; 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 = "ooooo"; exception_lineno = 570; 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_i; var_i = tmp_assign_source_4; Py_INCREF( var_i ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_1; PyObject *tmp_subscript_name_2; if ( var_parts == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 571; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_subscribed_name_2 = var_parts; CHECK_OBJECT( var_i ); tmp_subscript_name_1 = var_i; tmp_subscribed_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_1 ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 571; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_subscript_name_2 = const_slice_int_0_int_pos_2_none; tmp_assign_source_5 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_2 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 571; type_description_1 = "ooooo"; goto try_except_handler_2; } { PyObject *old = var_h; var_h = tmp_assign_source_5; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_2; PyObject *tmp_called_instance_2; PyObject *tmp_call_result_1; int tmp_truth_name_1; CHECK_OBJECT( var_h ); tmp_len_arg_2 = var_h; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_2 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 572; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_compexpr_right_1 = const_int_pos_2; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 572; type_description_1 = "ooooo"; 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_h == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "h" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 572; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_called_instance_2 = var_h; frame_b216b791a9f88f685d58dacb8f1408d4->m_frame.f_lineno = 572; tmp_call_result_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_isalnum ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 572; type_description_1 = "ooooo"; 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 = 572; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_and_right_value_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); tmp_condition_result_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_1 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_chr_arg_1; PyObject *tmp_value_name_1; PyObject *tmp_base_name_1; if ( var_h == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "h" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 574; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_value_name_1 = var_h; tmp_base_name_1 = const_int_pos_16; tmp_chr_arg_1 = TO_INT2( tmp_value_name_1, tmp_base_name_1 ); if ( tmp_chr_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 574; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_assign_source_6 = BUILTIN_CHR( tmp_chr_arg_1 ); Py_DECREF( tmp_chr_arg_1 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 574; type_description_1 = "ooooo"; goto try_except_handler_3; } { PyObject *old = var_c; var_c = tmp_assign_source_6; Py_XDECREF( old ); } } 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; { // 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_b216b791a9f88f685d58dacb8f1408d4, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_b216b791a9f88f685d58dacb8f1408d4, 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_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_2 = PyExc_ValueError; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 575; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_1; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_InvalidURL ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_InvalidURL ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "InvalidURL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 576; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_called_name_1 = tmp_mvar_value_1; tmp_left_name_1 = const_str_digest_24e7db13fab79285a047bc34f1c39262; if ( var_h == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "h" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 576; type_description_1 = "ooooo"; goto try_except_handler_4; } tmp_right_name_1 = var_h; tmp_args_element_name_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 576; type_description_1 = "ooooo"; goto try_except_handler_4; } frame_b216b791a9f88f685d58dacb8f1408d4->m_frame.f_lineno = 576; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_args_element_name_1 ); if ( tmp_raise_type_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 576; type_description_1 = "ooooo"; goto try_except_handler_4; } exception_type = tmp_raise_type_1; exception_lineno = 576; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooo"; goto try_except_handler_4; } goto branch_end_2; branch_no_2:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 573; } if (exception_tb && exception_tb->tb_frame == &frame_b216b791a9f88f685d58dacb8f1408d4->m_frame) frame_b216b791a9f88f685d58dacb8f1408d4->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooo"; goto try_except_handler_4; } branch_end_2:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_21_unquote_unreserved ); return NULL; // 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: } // End of try: try_end_1:; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_mvar_value_2; CHECK_OBJECT( var_c ); tmp_compexpr_left_3 = var_c; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_UNRESERVED_SET ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_UNRESERVED_SET ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "UNRESERVED_SET" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 578; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_compexpr_right_3 = tmp_mvar_value_2; 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 = 578; type_description_1 = "ooooo"; 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_ass_subvalue_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_3; PyObject *tmp_subscript_name_4; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_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 = 579; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_left_name_2 = var_c; if ( var_parts == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 579; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_subscribed_name_4 = var_parts; 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 = 579; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_subscript_name_3 = var_i; tmp_subscribed_name_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_4, tmp_subscript_name_3 ); if ( tmp_subscribed_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 579; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_subscript_name_4 = const_slice_int_pos_2_none_none; tmp_right_name_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_4 ); 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 = 579; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_ass_subvalue_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_ass_subvalue_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 579; type_description_1 = "ooooo"; goto try_except_handler_2; } if ( var_parts == NULL ) { Py_DECREF( tmp_ass_subvalue_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 579; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_ass_subscribed_1 = var_parts; if ( var_i == NULL ) { Py_DECREF( tmp_ass_subvalue_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 = 579; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_ass_subscript_1 = var_i; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subvalue_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 579; type_description_1 = "ooooo"; goto try_except_handler_2; } } goto branch_end_3; branch_no_3:; { PyObject *tmp_ass_subvalue_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_subscribed_name_5; PyObject *tmp_subscript_name_5; PyObject *tmp_ass_subscribed_2; PyObject *tmp_ass_subscript_2; tmp_left_name_3 = const_str_chr_37; if ( var_parts == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 581; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_subscribed_name_5 = var_parts; 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 = 581; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_subscript_name_5 = var_i; tmp_right_name_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_5, tmp_subscript_name_5 ); if ( tmp_right_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 581; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_ass_subvalue_2 = BINARY_OPERATION_ADD( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_ass_subvalue_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 581; type_description_1 = "ooooo"; goto try_except_handler_2; } if ( var_parts == 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", "parts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 581; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_ass_subscribed_2 = var_parts; if ( var_i == 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", "i" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 581; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_ass_subscript_2 = var_i; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2 ); Py_DECREF( tmp_ass_subvalue_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 581; type_description_1 = "ooooo"; goto try_except_handler_2; } } branch_end_3:; } goto branch_end_1; branch_no_1:; { PyObject *tmp_ass_subvalue_3; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; PyObject *tmp_subscribed_name_6; PyObject *tmp_subscript_name_6; PyObject *tmp_ass_subscribed_3; PyObject *tmp_ass_subscript_3; tmp_left_name_4 = const_str_chr_37; if ( var_parts == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 583; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_subscribed_name_6 = var_parts; 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 = 583; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_subscript_name_6 = var_i; tmp_right_name_4 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_6, tmp_subscript_name_6 ); if ( tmp_right_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 583; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_ass_subvalue_3 = BINARY_OPERATION_ADD( tmp_left_name_4, tmp_right_name_4 ); Py_DECREF( tmp_right_name_4 ); if ( tmp_ass_subvalue_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 583; type_description_1 = "ooooo"; goto try_except_handler_2; } if ( var_parts == NULL ) { Py_DECREF( tmp_ass_subvalue_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 583; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_ass_subscribed_3 = var_parts; if ( var_i == NULL ) { Py_DECREF( tmp_ass_subvalue_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "i" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 583; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_ass_subscript_3 = var_i; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3 ); Py_DECREF( tmp_ass_subvalue_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 583; type_description_1 = "ooooo"; goto try_except_handler_2; } } branch_end_1:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 570; type_description_1 = "ooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; } // End of try: try_end_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_called_name_2; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_2; tmp_source_name_1 = const_str_empty; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_join ); assert( !(tmp_called_name_2 == NULL) ); if ( var_parts == 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", "parts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 584; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = var_parts; frame_b216b791a9f88f685d58dacb8f1408d4->m_frame.f_lineno = 584; { 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 = 584; type_description_1 = "ooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_b216b791a9f88f685d58dacb8f1408d4 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b216b791a9f88f685d58dacb8f1408d4 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b216b791a9f88f685d58dacb8f1408d4 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_b216b791a9f88f685d58dacb8f1408d4, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_b216b791a9f88f685d58dacb8f1408d4->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_b216b791a9f88f685d58dacb8f1408d4, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_b216b791a9f88f685d58dacb8f1408d4, type_description_1, par_uri, var_parts, var_i, var_h, var_c ); // Release cached frame. if ( frame_b216b791a9f88f685d58dacb8f1408d4 == cache_frame_b216b791a9f88f685d58dacb8f1408d4 ) { Py_DECREF( frame_b216b791a9f88f685d58dacb8f1408d4 ); } cache_frame_b216b791a9f88f685d58dacb8f1408d4 = NULL; assertFrameObject( frame_b216b791a9f88f685d58dacb8f1408d4 ); // 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( requests$utils$$$function_21_unquote_unreserved ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_uri ); par_uri = NULL; } { Py_XDECREF( var_parts ); var_parts = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_h ); var_h = NULL; } { Py_XDECREF( var_c ); var_c = 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_uri ); par_uri = NULL; } { Py_XDECREF( var_parts ); var_parts = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_h ); var_h = NULL; } { Py_XDECREF( var_c ); 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 function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_21_unquote_unreserved ); 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_requests$utils$$$function_22_requote_uri( 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_uri = python_pars[ 0 ]; PyObject *var_safe_with_percent = NULL; PyObject *var_safe_without_percent = NULL; struct Nuitka_FrameObject *frame_0fef4ce8e4490fa7908ee431f94df303; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; 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; static struct Nuitka_FrameObject *cache_frame_0fef4ce8e4490fa7908ee431f94df303 = 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. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = const_str_digest_73cc92cfb8c82d43e0ee72f2929025a1; assert( var_safe_with_percent == NULL ); Py_INCREF( tmp_assign_source_1 ); var_safe_with_percent = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_bbd93decf06d714f543f63648bff4b76; assert( var_safe_without_percent == NULL ); Py_INCREF( tmp_assign_source_2 ); var_safe_without_percent = tmp_assign_source_2; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_0fef4ce8e4490fa7908ee431f94df303, codeobj_0fef4ce8e4490fa7908ee431f94df303, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_0fef4ce8e4490fa7908ee431f94df303 = cache_frame_0fef4ce8e4490fa7908ee431f94df303; // Push the new frame as the currently active one. pushFrameStack( frame_0fef4ce8e4490fa7908ee431f94df303 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_0fef4ce8e4490fa7908ee431f94df303 ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; PyObject *tmp_kw_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_quote ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_quote ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "quote" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 601; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_called_name_1 = tmp_mvar_value_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_unquote_unreserved ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_unquote_unreserved ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "unquote_unreserved" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 601; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_called_name_2 = tmp_mvar_value_2; CHECK_OBJECT( par_uri ); tmp_args_element_name_1 = par_uri; frame_0fef4ce8e4490fa7908ee431f94df303->m_frame.f_lineno = 601; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 601; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_args_name_1 = PyTuple_New( 1 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 ); tmp_dict_key_1 = const_str_plain_safe; if ( var_safe_with_percent == NULL ) { Py_DECREF( tmp_args_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "safe_with_percent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 601; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_dict_value_1 = var_safe_with_percent; tmp_kw_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 ); assert( !(tmp_res != 0) ); frame_0fef4ce8e4490fa7908ee431f94df303->m_frame.f_lineno = 601; tmp_return_value = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_args_name_1 ); Py_DECREF( tmp_kw_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 601; type_description_1 = "ooo"; goto try_except_handler_2; } goto frame_return_exit_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_22_requote_uri ); return NULL; // 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_0fef4ce8e4490fa7908ee431f94df303, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_0fef4ce8e4490fa7908ee431f94df303, 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; PyObject *tmp_mvar_value_3; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_InvalidURL ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_InvalidURL ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "InvalidURL" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 602; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_compexpr_right_1 = tmp_mvar_value_3; 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 = 602; type_description_1 = "ooo"; 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_called_name_3; PyObject *tmp_mvar_value_4; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_kw_name_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_quote ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_quote ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "quote" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 606; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_called_name_3 = tmp_mvar_value_4; if ( par_uri == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "uri" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 606; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_tuple_element_2 = par_uri; tmp_args_name_2 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_2 ); tmp_dict_key_2 = const_str_plain_safe; if ( var_safe_without_percent == NULL ) { Py_DECREF( tmp_args_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "safe_without_percent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 606; type_description_1 = "ooo"; goto try_except_handler_3; } tmp_dict_value_2 = var_safe_without_percent; tmp_kw_name_2 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem( tmp_kw_name_2, tmp_dict_key_2, tmp_dict_value_2 ); assert( !(tmp_res != 0) ); frame_0fef4ce8e4490fa7908ee431f94df303->m_frame.f_lineno = 606; tmp_return_value = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); Py_DECREF( tmp_kw_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 606; type_description_1 = "ooo"; goto try_except_handler_3; } goto try_return_handler_3; } goto branch_end_1; branch_no_1:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 597; } if (exception_tb && exception_tb->tb_frame == &frame_0fef4ce8e4490fa7908ee431f94df303->m_frame) frame_0fef4ce8e4490fa7908ee431f94df303->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooo"; goto try_except_handler_3; } branch_end_1:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_22_requote_uri ); 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: } #if 0 RESTORE_FRAME_EXCEPTION( frame_0fef4ce8e4490fa7908ee431f94df303 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0fef4ce8e4490fa7908ee431f94df303 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_0fef4ce8e4490fa7908ee431f94df303 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_0fef4ce8e4490fa7908ee431f94df303, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_0fef4ce8e4490fa7908ee431f94df303->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_0fef4ce8e4490fa7908ee431f94df303, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_0fef4ce8e4490fa7908ee431f94df303, type_description_1, par_uri, var_safe_with_percent, var_safe_without_percent ); // Release cached frame. if ( frame_0fef4ce8e4490fa7908ee431f94df303 == cache_frame_0fef4ce8e4490fa7908ee431f94df303 ) { Py_DECREF( frame_0fef4ce8e4490fa7908ee431f94df303 ); } cache_frame_0fef4ce8e4490fa7908ee431f94df303 = NULL; assertFrameObject( frame_0fef4ce8e4490fa7908ee431f94df303 ); // 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( requests$utils$$$function_22_requote_uri ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_uri ); par_uri = NULL; } { Py_XDECREF( var_safe_with_percent ); var_safe_with_percent = NULL; } { Py_XDECREF( var_safe_without_percent ); var_safe_without_percent = 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_uri ); par_uri = NULL; } { Py_XDECREF( var_safe_with_percent ); var_safe_with_percent = NULL; } { Py_XDECREF( var_safe_without_percent ); var_safe_without_percent = 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( requests$utils$$$function_22_requote_uri ); 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_requests$utils$$$function_23_address_in_network( 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_ip = python_pars[ 0 ]; PyObject *par_net = python_pars[ 1 ]; PyObject *var_ipaddr = NULL; PyObject *var_netaddr = NULL; PyObject *var_bits = NULL; PyObject *var_netmask = NULL; PyObject *var_network = 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_12f7a565da5c5c6bace39399482112d4; 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_12f7a565da5c5c6bace39399482112d4 = 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_12f7a565da5c5c6bace39399482112d4, codeobj_12f7a565da5c5c6bace39399482112d4, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_12f7a565da5c5c6bace39399482112d4 = cache_frame_12f7a565da5c5c6bace39399482112d4; // Push the new frame as the currently active one. pushFrameStack( frame_12f7a565da5c5c6bace39399482112d4 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_12f7a565da5c5c6bace39399482112d4 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_3; PyObject *tmp_subscript_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_struct ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_struct ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "struct" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 617; 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_unpack ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 617; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = const_str_digest_633c190f003b01b3105e5821e352a68c; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_socket ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_socket ); } 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", "socket" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 617; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_inet_aton ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 617; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( par_ip == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ip" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 617; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_ip; frame_12f7a565da5c5c6bace39399482112d4->m_frame.f_lineno = 617; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_args_element_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 617; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_12f7a565da5c5c6bace39399482112d4->m_frame.f_lineno = 617; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_subscribed_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 617; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_int_0; tmp_assign_source_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 617; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_ipaddr == NULL ); var_ipaddr = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_1; if ( par_net == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "net" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 618; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_called_instance_1 = par_net; frame_12f7a565da5c5c6bace39399482112d4->m_frame.f_lineno = 618; tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_47_tuple, 0 ) ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 618; type_description_1 = "ooooooo"; 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 = 618; type_description_1 = "ooooooo"; 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 = "ooooooo"; exception_lineno = 618; 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 = "ooooooo"; exception_lineno = 618; 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 = "ooooooo"; exception_lineno = 618; 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 = "ooooooo"; exception_lineno = 618; 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_5; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_5 = tmp_tuple_unpack_1__element_1; assert( var_netaddr == NULL ); Py_INCREF( tmp_assign_source_5 ); var_netaddr = tmp_assign_source_5; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_6 = tmp_tuple_unpack_1__element_2; assert( var_bits == NULL ); Py_INCREF( tmp_assign_source_6 ); var_bits = tmp_assign_source_6; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_assign_source_7; PyObject *tmp_subscribed_name_2; PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; PyObject *tmp_called_name_4; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_6; PyObject *tmp_called_name_5; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_7; PyObject *tmp_int_arg_1; PyObject *tmp_subscript_name_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_struct ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_struct ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "struct" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 619; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_3; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_unpack ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 619; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_4 = const_str_digest_633c190f003b01b3105e5821e352a68c; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_socket ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_socket ); } if ( tmp_mvar_value_4 == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "socket" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 619; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_4; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_inet_aton ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 619; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_dotted_netmask ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_dotted_netmask ); } if ( tmp_mvar_value_5 == NULL ) { Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "dotted_netmask" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 619; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_name_5 = tmp_mvar_value_5; if ( var_bits == NULL ) { Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bits" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 619; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_int_arg_1 = var_bits; tmp_args_element_name_7 = PyNumber_Int( tmp_int_arg_1 ); if ( tmp_args_element_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 619; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_12f7a565da5c5c6bace39399482112d4->m_frame.f_lineno = 619; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_args_element_name_6 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_args_element_name_7 ); if ( tmp_args_element_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 619; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_12f7a565da5c5c6bace39399482112d4->m_frame.f_lineno = 619; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_args_element_name_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_6 ); if ( tmp_args_element_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 619; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_12f7a565da5c5c6bace39399482112d4->m_frame.f_lineno = 619; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_subscribed_name_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_5 ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 619; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_2 = const_int_0; tmp_assign_source_7 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); Py_DECREF( tmp_subscribed_name_2 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 619; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_netmask == NULL ); var_netmask = tmp_assign_source_7; } { PyObject *tmp_assign_source_8; PyObject *tmp_left_name_1; PyObject *tmp_subscribed_name_3; PyObject *tmp_called_name_6; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; PyObject *tmp_called_name_7; PyObject *tmp_source_name_6; PyObject *tmp_mvar_value_7; PyObject *tmp_args_element_name_10; PyObject *tmp_subscript_name_3; PyObject *tmp_right_name_1; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_struct ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_struct ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "struct" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 620; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_6; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_unpack ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 620; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = const_str_digest_633c190f003b01b3105e5821e352a68c; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_socket ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_socket ); } if ( tmp_mvar_value_7 == NULL ) { Py_DECREF( tmp_called_name_6 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "socket" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 620; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = tmp_mvar_value_7; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_inet_aton ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_6 ); exception_lineno = 620; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( var_netaddr == NULL ) { Py_DECREF( tmp_called_name_6 ); Py_DECREF( tmp_called_name_7 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "netaddr" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 620; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_10 = var_netaddr; frame_12f7a565da5c5c6bace39399482112d4->m_frame.f_lineno = 620; { PyObject *call_args[] = { tmp_args_element_name_10 }; tmp_args_element_name_9 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } Py_DECREF( tmp_called_name_7 ); if ( tmp_args_element_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_6 ); exception_lineno = 620; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_12f7a565da5c5c6bace39399482112d4->m_frame.f_lineno = 620; { PyObject *call_args[] = { tmp_args_element_name_8, tmp_args_element_name_9 }; tmp_subscribed_name_3 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); Py_DECREF( tmp_args_element_name_9 ); if ( tmp_subscribed_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 620; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_3 = const_int_0; tmp_left_name_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 ); Py_DECREF( tmp_subscribed_name_3 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 620; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( var_netmask == 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", "netmask" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 620; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_right_name_1 = var_netmask; tmp_assign_source_8 = BINARY_OPERATION( PyNumber_And, tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 620; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_network == NULL ); var_network = tmp_assign_source_8; } { PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; if ( var_ipaddr == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ipaddr" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 621; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_left_name_2 = var_ipaddr; if ( var_netmask == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "netmask" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 621; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_right_name_2 = var_netmask; tmp_compexpr_left_1 = BINARY_OPERATION( PyNumber_And, tmp_left_name_2, tmp_right_name_2 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 621; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( var_network == 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", "network" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 621; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_left_name_3 = var_network; if ( var_netmask == 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", "netmask" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 621; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_right_name_3 = var_netmask; tmp_compexpr_right_1 = BINARY_OPERATION( PyNumber_And, tmp_left_name_3, tmp_right_name_3 ); 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 = "ooooooo"; goto frame_exception_exit_1; } tmp_return_value = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 621; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_12f7a565da5c5c6bace39399482112d4 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_12f7a565da5c5c6bace39399482112d4 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_12f7a565da5c5c6bace39399482112d4 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_12f7a565da5c5c6bace39399482112d4, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_12f7a565da5c5c6bace39399482112d4->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_12f7a565da5c5c6bace39399482112d4, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_12f7a565da5c5c6bace39399482112d4, type_description_1, par_ip, par_net, var_ipaddr, var_netaddr, var_bits, var_netmask, var_network ); // Release cached frame. if ( frame_12f7a565da5c5c6bace39399482112d4 == cache_frame_12f7a565da5c5c6bace39399482112d4 ) { Py_DECREF( frame_12f7a565da5c5c6bace39399482112d4 ); } cache_frame_12f7a565da5c5c6bace39399482112d4 = NULL; assertFrameObject( frame_12f7a565da5c5c6bace39399482112d4 ); // 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( requests$utils$$$function_23_address_in_network ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_ip ); par_ip = NULL; } { Py_XDECREF( par_net ); par_net = NULL; } { Py_XDECREF( var_ipaddr ); var_ipaddr = NULL; } { Py_XDECREF( var_netaddr ); var_netaddr = NULL; } { Py_XDECREF( var_bits ); var_bits = NULL; } { Py_XDECREF( var_netmask ); var_netmask = NULL; } { Py_XDECREF( var_network ); var_network = 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_ip ); par_ip = NULL; } { Py_XDECREF( par_net ); par_net = NULL; } { Py_XDECREF( var_ipaddr ); var_ipaddr = NULL; } { Py_XDECREF( var_netaddr ); var_netaddr = NULL; } { Py_XDECREF( var_bits ); var_bits = NULL; } { Py_XDECREF( var_netmask ); var_netmask = NULL; } { Py_XDECREF( var_network ); var_network = 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( requests$utils$$$function_23_address_in_network ); 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_requests$utils$$$function_24_dotted_netmask( 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_mask = python_pars[ 0 ]; PyObject *var_bits = NULL; struct Nuitka_FrameObject *frame_4efb954a45adff6bf3b91046b0089a47; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_4efb954a45adff6bf3b91046b0089a47 = 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_4efb954a45adff6bf3b91046b0089a47, codeobj_4efb954a45adff6bf3b91046b0089a47, module_requests$utils, sizeof(void *)+sizeof(void *) ); frame_4efb954a45adff6bf3b91046b0089a47 = cache_frame_4efb954a45adff6bf3b91046b0089a47; // Push the new frame as the currently active one. pushFrameStack( frame_4efb954a45adff6bf3b91046b0089a47 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4efb954a45adff6bf3b91046b0089a47 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; 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_left_name_4; PyObject *tmp_right_name_3; PyObject *tmp_right_name_4; tmp_left_name_1 = const_int_pos_4294967295; tmp_left_name_3 = const_int_pos_1; tmp_left_name_4 = const_int_pos_32; CHECK_OBJECT( par_mask ); tmp_right_name_3 = par_mask; tmp_right_name_2 = BINARY_OPERATION_SUB( tmp_left_name_4, tmp_right_name_3 ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 631; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_left_name_2 = BINARY_OPERATION( PyNumber_Lshift, 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 = 631; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_right_name_4 = const_int_pos_1; tmp_right_name_1 = BINARY_OPERATION_SUB( tmp_left_name_2, tmp_right_name_4 ); 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 = 631; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assign_source_1 = BINARY_OPERATION( PyNumber_Xor, tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 631; type_description_1 = "oo"; goto frame_exception_exit_1; } assert( var_bits == NULL ); var_bits = tmp_assign_source_1; } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_socket ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_socket ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "socket" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 632; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_inet_ntoa ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 632; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_struct ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_struct ); } 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", "struct" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 632; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_pack ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 632; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = const_str_digest_e32643bbdc087df0169bdbc4edb2d9da; if ( var_bits == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bits" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 632; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = var_bits; frame_4efb954a45adff6bf3b91046b0089a47->m_frame.f_lineno = 632; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_args_element_name_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 632; type_description_1 = "oo"; goto frame_exception_exit_1; } frame_4efb954a45adff6bf3b91046b0089a47->m_frame.f_lineno = 632; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 632; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_4efb954a45adff6bf3b91046b0089a47 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4efb954a45adff6bf3b91046b0089a47 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4efb954a45adff6bf3b91046b0089a47 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4efb954a45adff6bf3b91046b0089a47, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4efb954a45adff6bf3b91046b0089a47->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4efb954a45adff6bf3b91046b0089a47, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4efb954a45adff6bf3b91046b0089a47, type_description_1, par_mask, var_bits ); // Release cached frame. if ( frame_4efb954a45adff6bf3b91046b0089a47 == cache_frame_4efb954a45adff6bf3b91046b0089a47 ) { Py_DECREF( frame_4efb954a45adff6bf3b91046b0089a47 ); } cache_frame_4efb954a45adff6bf3b91046b0089a47 = NULL; assertFrameObject( frame_4efb954a45adff6bf3b91046b0089a47 ); // 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( requests$utils$$$function_24_dotted_netmask ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_mask ); par_mask = NULL; } { Py_XDECREF( var_bits ); var_bits = 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_mask ); par_mask = NULL; } { Py_XDECREF( var_bits ); var_bits = 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( requests$utils$$$function_24_dotted_netmask ); 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_requests$utils$$$function_25_is_ipv4_address( 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_string_ip = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_7d86abc71b10f3dc1414d2df81f5d825; 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 *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 *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; static struct Nuitka_FrameObject *cache_frame_7d86abc71b10f3dc1414d2df81f5d825 = 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_7d86abc71b10f3dc1414d2df81f5d825, codeobj_7d86abc71b10f3dc1414d2df81f5d825, module_requests$utils, sizeof(void *) ); frame_7d86abc71b10f3dc1414d2df81f5d825 = cache_frame_7d86abc71b10f3dc1414d2df81f5d825; // Push the new frame as the currently active one. pushFrameStack( frame_7d86abc71b10f3dc1414d2df81f5d825 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7d86abc71b10f3dc1414d2df81f5d825 ) == 2 ); // Frame stack // Framed code: { // Tried code: { 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_requests$utils, (Nuitka_StringObject *)const_str_plain_socket ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_socket ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "socket" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 640; type_description_1 = "o"; goto try_except_handler_2; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_inet_aton ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 640; type_description_1 = "o"; goto try_except_handler_2; } if ( par_string_ip == 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_ip" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 640; type_description_1 = "o"; goto try_except_handler_2; } tmp_args_element_name_1 = par_string_ip; frame_7d86abc71b10f3dc1414d2df81f5d825->m_frame.f_lineno = 640; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 640; type_description_1 = "o"; 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_7d86abc71b10f3dc1414d2df81f5d825, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_7d86abc71b10f3dc1414d2df81f5d825, 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; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_socket ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_socket ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "socket" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 641; type_description_1 = "o"; goto try_except_handler_3; } tmp_source_name_2 = tmp_mvar_value_2; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_error ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 641; type_description_1 = "o"; goto try_except_handler_3; } tmp_res = EXCEPTION_MATCH_BOOL( 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 = 641; type_description_1 = "o"; 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:; { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto try_return_handler_3; } goto branch_end_1; branch_no_1:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 639; } if (exception_tb && exception_tb->tb_frame == &frame_7d86abc71b10f3dc1414d2df81f5d825->m_frame) frame_7d86abc71b10f3dc1414d2df81f5d825->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "o"; goto try_except_handler_3; } branch_end_1:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_25_is_ipv4_address ); 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:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_7d86abc71b10f3dc1414d2df81f5d825 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7d86abc71b10f3dc1414d2df81f5d825 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7d86abc71b10f3dc1414d2df81f5d825 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7d86abc71b10f3dc1414d2df81f5d825, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7d86abc71b10f3dc1414d2df81f5d825->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7d86abc71b10f3dc1414d2df81f5d825, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7d86abc71b10f3dc1414d2df81f5d825, type_description_1, par_string_ip ); // Release cached frame. if ( frame_7d86abc71b10f3dc1414d2df81f5d825 == cache_frame_7d86abc71b10f3dc1414d2df81f5d825 ) { Py_DECREF( frame_7d86abc71b10f3dc1414d2df81f5d825 ); } cache_frame_7d86abc71b10f3dc1414d2df81f5d825 = NULL; assertFrameObject( frame_7d86abc71b10f3dc1414d2df81f5d825 ); // 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( requests$utils$$$function_25_is_ipv4_address ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_string_ip ); par_string_ip = 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_string_ip ); par_string_ip = 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( requests$utils$$$function_25_is_ipv4_address ); 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_requests$utils$$$function_26_is_valid_cidr( 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_string_network = python_pars[ 0 ]; PyObject *var_mask = NULL; struct Nuitka_FrameObject *frame_f1320ffebf1b5a833d0256c3c5f6f210; 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; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_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_f1320ffebf1b5a833d0256c3c5f6f210 = 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_f1320ffebf1b5a833d0256c3c5f6f210, codeobj_f1320ffebf1b5a833d0256c3c5f6f210, module_requests$utils, sizeof(void *)+sizeof(void *) ); frame_f1320ffebf1b5a833d0256c3c5f6f210 = cache_frame_f1320ffebf1b5a833d0256c3c5f6f210; // Push the new frame as the currently active one. pushFrameStack( frame_f1320ffebf1b5a833d0256c3c5f6f210 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_f1320ffebf1b5a833d0256c3c5f6f210 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_string_network ); tmp_called_instance_1 = par_string_network; frame_f1320ffebf1b5a833d0256c3c5f6f210->m_frame.f_lineno = 652; tmp_compexpr_left_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_count, &PyTuple_GET_ITEM( const_tuple_str_chr_47_tuple, 0 ) ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 652; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_pos_1; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 652; 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:; { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_int_arg_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_called_instance_2; PyObject *tmp_subscript_name_1; if ( par_string_network == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "string_network" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 654; type_description_1 = "oo"; goto try_except_handler_2; } tmp_called_instance_2 = par_string_network; frame_f1320ffebf1b5a833d0256c3c5f6f210->m_frame.f_lineno = 654; tmp_subscribed_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_47_tuple, 0 ) ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 654; type_description_1 = "oo"; goto try_except_handler_2; } tmp_subscript_name_1 = const_int_pos_1; tmp_int_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_int_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 654; type_description_1 = "oo"; goto try_except_handler_2; } tmp_assign_source_1 = PyNumber_Int( tmp_int_arg_1 ); Py_DECREF( tmp_int_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 654; type_description_1 = "oo"; goto try_except_handler_2; } assert( var_mask == NULL ); var_mask = 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_f1320ffebf1b5a833d0256c3c5f6f210, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_f1320ffebf1b5a833d0256c3c5f6f210, 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_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_2 = PyExc_ValueError; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 655; type_description_1 = "oo"; 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_False; 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 = 653; } if (exception_tb && exception_tb->tb_frame == &frame_f1320ffebf1b5a833d0256c3c5f6f210->m_frame) frame_f1320ffebf1b5a833d0256c3c5f6f210->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oo"; goto try_except_handler_3; } branch_end_2:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_26_is_valid_cidr ); 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:; } { nuitka_bool tmp_condition_result_3; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT( var_mask ); tmp_compexpr_left_3 = var_mask; tmp_compexpr_right_3 = const_int_pos_1; tmp_res = RICH_COMPARE_BOOL_LT( 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 = 658; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_or_left_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; if ( var_mask == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "mask" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 658; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_left_4 = var_mask; tmp_compexpr_right_4 = const_int_pos_32; tmp_res = RICH_COMPARE_BOOL_GT( 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 = 658; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_or_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_3 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_3 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_3:; } { // Tried code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_called_instance_3; PyObject *tmp_subscript_name_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_socket ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_socket ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "socket" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 662; type_description_1 = "oo"; goto try_except_handler_4; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_inet_aton ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 662; type_description_1 = "oo"; goto try_except_handler_4; } if ( par_string_network == 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_network" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 662; type_description_1 = "oo"; goto try_except_handler_4; } tmp_called_instance_3 = par_string_network; frame_f1320ffebf1b5a833d0256c3c5f6f210->m_frame.f_lineno = 662; tmp_subscribed_name_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_47_tuple, 0 ) ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 662; type_description_1 = "oo"; goto try_except_handler_4; } tmp_subscript_name_2 = const_int_0; tmp_args_element_name_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); Py_DECREF( tmp_subscribed_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 = 662; type_description_1 = "oo"; goto try_except_handler_4; } frame_f1320ffebf1b5a833d0256c3c5f6f210->m_frame.f_lineno = 662; { 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 = 662; type_description_1 = "oo"; goto try_except_handler_4; } Py_DECREF( tmp_unused ); } goto try_end_2; // 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_f1320ffebf1b5a833d0256c3c5f6f210, exception_keeper_lineno_3 ); } else if ( exception_keeper_lineno_3 != 0 ) { exception_keeper_tb_3 = ADD_TRACEBACK( exception_keeper_tb_3, frame_f1320ffebf1b5a833d0256c3c5f6f210, 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_5; PyObject *tmp_compexpr_right_5; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; tmp_compexpr_left_5 = EXC_TYPE(PyThreadState_GET()); tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_socket ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_socket ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "socket" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 663; type_description_1 = "oo"; goto try_except_handler_5; } tmp_source_name_2 = tmp_mvar_value_2; tmp_compexpr_right_5 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_error ); if ( tmp_compexpr_right_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 663; type_description_1 = "oo"; goto try_except_handler_5; } tmp_res = EXCEPTION_MATCH_BOOL( 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 = 663; type_description_1 = "oo"; 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_False; 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 = 661; } if (exception_tb && exception_tb->tb_frame == &frame_f1320ffebf1b5a833d0256c3c5f6f210->m_frame) frame_f1320ffebf1b5a833d0256c3c5f6f210->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oo"; goto try_except_handler_5; } branch_end_4:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_26_is_valid_cidr ); 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: try_end_2:; } goto branch_end_1; branch_no_1:; { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_f1320ffebf1b5a833d0256c3c5f6f210 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f1320ffebf1b5a833d0256c3c5f6f210 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f1320ffebf1b5a833d0256c3c5f6f210 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_f1320ffebf1b5a833d0256c3c5f6f210, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_f1320ffebf1b5a833d0256c3c5f6f210->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_f1320ffebf1b5a833d0256c3c5f6f210, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_f1320ffebf1b5a833d0256c3c5f6f210, type_description_1, par_string_network, var_mask ); // Release cached frame. if ( frame_f1320ffebf1b5a833d0256c3c5f6f210 == cache_frame_f1320ffebf1b5a833d0256c3c5f6f210 ) { Py_DECREF( frame_f1320ffebf1b5a833d0256c3c5f6f210 ); } cache_frame_f1320ffebf1b5a833d0256c3c5f6f210 = NULL; assertFrameObject( frame_f1320ffebf1b5a833d0256c3c5f6f210 ); // 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( requests$utils$$$function_26_is_valid_cidr ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_string_network ); par_string_network = NULL; } { Py_XDECREF( var_mask ); var_mask = 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_string_network ); par_string_network = NULL; } { Py_XDECREF( var_mask ); var_mask = 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( requests$utils$$$function_26_is_valid_cidr ); 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_requests$utils$$$function_27_set_environ( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_CellObject *par_env_name = PyCell_NEW1( python_pars[ 0 ] ); struct Nuitka_CellObject *par_value = PyCell_NEW1( python_pars[ 1 ] ); PyObject *tmp_return_value = NULL; // Actual function code. { // Tried code: { tmp_return_value = requests$utils$$$function_27_set_environ$$$genobj_1_set_environ_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = par_env_name; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] ); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[1] = par_value; Py_INCREF( ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[1] ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_27_set_environ ); return NULL; // Return handler code: try_return_handler_1:; { CHECK_OBJECT( (PyObject *)par_env_name ); Py_DECREF( par_env_name ); par_env_name = NULL; } { CHECK_OBJECT( (PyObject *)par_value ); Py_DECREF( par_value ); par_value = NULL; } { goto function_return_exit; } // End of try: } { CHECK_OBJECT( (PyObject *)par_env_name ); Py_DECREF( par_env_name ); par_env_name = NULL; } { CHECK_OBJECT( (PyObject *)par_value ); Py_DECREF( par_value ); par_value = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_27_set_environ ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct requests$utils$$$function_27_set_environ$$$genobj_1_set_environ_locals { PyObject *var_value_changed; PyObject *var_old_value; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; 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; int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; int exception_keeper_lineno_3; }; static PyObject *requests$utils$$$function_27_set_environ$$$genobj_1_set_environ_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct requests$utils$$$function_27_set_environ$$$genobj_1_set_environ_locals *generator_heap = (struct requests$utils$$$function_27_set_environ$$$genobj_1_set_environ_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_value_changed = NULL; generator_heap->var_old_value = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_da0ee4b3b09d6066d2390df01ca3d7a9, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF( generator->m_frame ); assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack #if PYTHON_VERSION >= 340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif Py_CLEAR( generator->m_frame->m_frame.f_back ); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF( generator->m_frame->m_frame.f_back ); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF( generator->m_frame ); Nuitka_Frame_MarkAsExecuting( generator->m_frame ); #if PYTHON_VERSION >= 300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); #if PYTHON_VERSION < 370 generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state ); if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL; Py_XINCREF( generator->m_frame->m_frame.f_exc_type ); generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_value ); generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback ); #else generator->m_exc_state.exc_type = EXC_TYPE( thread_state ); if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL; Py_XINCREF( generator->m_exc_state.exc_type ); generator->m_exc_state.exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_exc_state.exc_value ); generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_exc_state.exc_traceback ); #endif } #endif // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "value" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 678; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = PyCell_GET( generator->m_closure[1] ); tmp_compexpr_right_1 = Py_None; tmp_assign_source_1 = ( tmp_compexpr_left_1 != tmp_compexpr_right_1 ) ? Py_True : Py_False; assert( generator_heap->var_value_changed == NULL ); Py_INCREF( tmp_assign_source_1 ); generator_heap->var_value_changed = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT( generator_heap->var_value_changed ); tmp_truth_name_1 = CHECK_IF_TRUE( generator_heap->var_value_changed ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 679; generator_heap->type_description_1 = "ccoo"; 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_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_1 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 680; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_1; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_environ ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 680; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get ); Py_DECREF( tmp_source_name_1 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 680; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { Py_DECREF( tmp_called_name_1 ); generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "env_name" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 680; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = PyCell_GET( generator->m_closure[0] ); generator->m_frame->m_frame.f_lineno = 680; { 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( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 680; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } assert( generator_heap->var_old_value == NULL ); generator_heap->var_old_value = tmp_assign_source_2; } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_2; PyObject *tmp_ass_subscript_1; if ( PyCell_GET( generator->m_closure[1] ) == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "value" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 681; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_ass_subvalue_1 = PyCell_GET( generator->m_closure[1] ); tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_2 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 681; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_2; tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_environ ); if ( tmp_ass_subscribed_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 681; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { Py_DECREF( tmp_ass_subscribed_1 ); generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "env_name" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 681; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_ass_subscript_1 = PyCell_GET( generator->m_closure[0] ); generator_heap->tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subscribed_1 ); if ( generator_heap->tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 681; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } } branch_no_1:; } { // Tried code: { PyObject *tmp_expression_name_1; tmp_expression_name_1 = Py_None; Py_INCREF( tmp_expression_name_1 ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 683; generator_heap->type_description_1 = "ccoo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } goto try_end_1; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { // Preserve existing published exception. generator_heap->exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( generator_heap->exception_preserved_type_1 ); generator_heap->exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( generator_heap->exception_preserved_value_1 ); generator_heap->exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( generator_heap->exception_preserved_tb_1 ); } { if ( generator_heap->exception_keeper_tb_1 == NULL ) { generator_heap->exception_keeper_tb_1 = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_keeper_lineno_1 ); } else if ( generator_heap->exception_keeper_lineno_1 != 0 ) { generator_heap->exception_keeper_tb_1 = ADD_TRACEBACK( generator_heap->exception_keeper_tb_1, generator->m_frame, generator_heap->exception_keeper_lineno_1 ); } NORMALIZE_EXCEPTION( &generator_heap->exception_keeper_type_1, &generator_heap->exception_keeper_value_1, &generator_heap->exception_keeper_tb_1 ); PyException_SetTraceback( generator_heap->exception_keeper_value_1, (PyObject *)generator_heap->exception_keeper_tb_1 ); PUBLISH_EXCEPTION( &generator_heap->exception_keeper_type_1, &generator_heap->exception_keeper_value_1, &generator_heap->exception_keeper_tb_1 ); } { // Tried code: { nuitka_bool tmp_condition_result_2; int tmp_truth_name_2; if ( generator_heap->var_value_changed == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value_changed" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 685; generator_heap->type_description_1 = "ccoo"; goto try_except_handler_3; } tmp_truth_name_2 = CHECK_IF_TRUE( generator_heap->var_value_changed ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 685; generator_heap->type_description_1 = "ccoo"; goto try_except_handler_3; } tmp_condition_result_2 = tmp_truth_name_2 == 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:; { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; if ( generator_heap->var_old_value == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "old_value" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 686; generator_heap->type_description_1 = "ccoo"; goto try_except_handler_3; } tmp_compexpr_left_2 = generator_heap->var_old_value; 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:; { PyObject *tmp_delsubscr_target_1; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_3; PyObject *tmp_delsubscr_subscript_1; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_3 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 687; generator_heap->type_description_1 = "ccoo"; goto try_except_handler_3; } tmp_source_name_4 = tmp_mvar_value_3; tmp_delsubscr_target_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_environ ); if ( tmp_delsubscr_target_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 687; generator_heap->type_description_1 = "ccoo"; goto try_except_handler_3; } if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { Py_DECREF( tmp_delsubscr_target_1 ); generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "env_name" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 687; generator_heap->type_description_1 = "ccoo"; goto try_except_handler_3; } tmp_delsubscr_subscript_1 = PyCell_GET( generator->m_closure[0] ); generator_heap->tmp_result = DEL_SUBSCRIPT( tmp_delsubscr_target_1, tmp_delsubscr_subscript_1 ); Py_DECREF( tmp_delsubscr_target_1 ); if ( generator_heap->tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 687; generator_heap->type_description_1 = "ccoo"; goto try_except_handler_3; } } goto branch_end_3; branch_no_3:; { PyObject *tmp_ass_subvalue_2; PyObject *tmp_ass_subscribed_2; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_4; PyObject *tmp_ass_subscript_2; if ( generator_heap->var_old_value == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "old_value" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 689; generator_heap->type_description_1 = "ccoo"; goto try_except_handler_3; } tmp_ass_subvalue_2 = generator_heap->var_old_value; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_4 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 689; generator_heap->type_description_1 = "ccoo"; goto try_except_handler_3; } tmp_source_name_5 = tmp_mvar_value_4; tmp_ass_subscribed_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_environ ); if ( tmp_ass_subscribed_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 689; generator_heap->type_description_1 = "ccoo"; goto try_except_handler_3; } if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { Py_DECREF( tmp_ass_subscribed_2 ); generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "env_name" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 689; generator_heap->type_description_1 = "ccoo"; goto try_except_handler_3; } tmp_ass_subscript_2 = PyCell_GET( generator->m_closure[0] ); generator_heap->tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2 ); Py_DECREF( tmp_ass_subscribed_2 ); if ( generator_heap->tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 689; generator_heap->type_description_1 = "ccoo"; goto try_except_handler_3; } } branch_end_3:; } branch_no_2:; } { generator_heap->tmp_result = RERAISE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); if (unlikely( generator_heap->tmp_result == false )) { generator_heap->exception_lineno = 682; } if (generator_heap->exception_tb && generator_heap->exception_tb->tb_frame == &generator->m_frame->m_frame) generator->m_frame->m_frame.f_lineno = generator_heap->exception_tb->tb_lineno; generator_heap->type_description_1 = "ccoo"; goto try_except_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_27_set_environ$$$genobj_1_set_environ ); return NULL; // Exception handler code: try_except_handler_3:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( generator_heap->exception_preserved_type_1, generator_heap->exception_preserved_value_1, generator_heap->exception_preserved_tb_1 ); } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto frame_exception_exit_1; } // End of try: } // End of try: try_end_1:; } { nuitka_bool tmp_condition_result_4; int tmp_truth_name_3; if ( generator_heap->var_value_changed == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value_changed" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 685; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_truth_name_3 = CHECK_IF_TRUE( generator_heap->var_value_changed ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 685; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_condition_result_4 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; if ( generator_heap->var_old_value == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "old_value" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 686; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = generator_heap->var_old_value; tmp_compexpr_right_3 = Py_None; tmp_condition_result_5 = ( tmp_compexpr_left_3 == tmp_compexpr_right_3 ) ? 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_delsubscr_target_2; PyObject *tmp_source_name_6; PyObject *tmp_mvar_value_5; PyObject *tmp_delsubscr_subscript_2; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_5 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 687; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_source_name_6 = tmp_mvar_value_5; tmp_delsubscr_target_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_environ ); if ( tmp_delsubscr_target_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 687; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { Py_DECREF( tmp_delsubscr_target_2 ); generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "env_name" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 687; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_delsubscr_subscript_2 = PyCell_GET( generator->m_closure[0] ); generator_heap->tmp_result = DEL_SUBSCRIPT( tmp_delsubscr_target_2, tmp_delsubscr_subscript_2 ); Py_DECREF( tmp_delsubscr_target_2 ); if ( generator_heap->tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 687; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } } goto branch_end_5; branch_no_5:; { PyObject *tmp_ass_subvalue_3; PyObject *tmp_ass_subscribed_3; PyObject *tmp_source_name_7; PyObject *tmp_mvar_value_6; PyObject *tmp_ass_subscript_3; if ( generator_heap->var_old_value == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "old_value" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 689; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_ass_subvalue_3 = generator_heap->var_old_value; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_6 == NULL ) { generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 689; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_source_name_7 = tmp_mvar_value_6; tmp_ass_subscribed_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_environ ); if ( tmp_ass_subscribed_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 689; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } if ( PyCell_GET( generator->m_closure[0] ) == NULL ) { Py_DECREF( tmp_ass_subscribed_3 ); generator_heap->exception_type = PyExc_NameError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "env_name" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 689; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } tmp_ass_subscript_3 = PyCell_GET( generator->m_closure[0] ); generator_heap->tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3 ); Py_DECREF( tmp_ass_subscribed_3 ); if ( generator_heap->tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 689; generator_heap->type_description_1 = "ccoo"; goto frame_exception_exit_1; } } branch_end_5:; } branch_no_4:; } Nuitka_Frame_MarkAsNotExecuting( generator->m_frame ); #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif // Allow re-use of the frame again. Py_DECREF( generator->m_frame ); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) ) { if ( generator_heap->exception_tb == NULL ) { generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno ); } else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame ) { generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno ); } Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)generator->m_frame, generator_heap->type_description_1, generator->m_closure[0], generator->m_closure[1], generator_heap->var_value_changed, generator_heap->var_old_value ); // Release cached frame. if ( generator->m_frame == cache_m_frame ) { Py_DECREF( generator->m_frame ); } cache_m_frame = NULL; assertFrameObject( generator->m_frame ); } #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif Py_DECREF( generator->m_frame ); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_2; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_3 = generator_heap->exception_type; generator_heap->exception_keeper_value_3 = generator_heap->exception_value; generator_heap->exception_keeper_tb_3 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_3 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->var_value_changed ); generator_heap->var_value_changed = NULL; } { Py_XDECREF( generator_heap->var_old_value ); generator_heap->var_old_value = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_3; generator_heap->exception_value = generator_heap->exception_keeper_value_3; generator_heap->exception_tb = generator_heap->exception_keeper_tb_3; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_3; goto function_exception_exit; } // End of try: try_end_2:; } { Py_XDECREF( generator_heap->var_value_changed ); generator_heap->var_value_changed = NULL; } { Py_XDECREF( generator_heap->var_old_value ); generator_heap->var_old_value = NULL; } return NULL; function_exception_exit: assert( generator_heap->exception_type ); RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb ); return NULL; } static PyObject *requests$utils$$$function_27_set_environ$$$genobj_1_set_environ_maker( void ) { return Nuitka_Generator_New( requests$utils$$$function_27_set_environ$$$genobj_1_set_environ_context, module_requests$utils, const_str_plain_set_environ, #if PYTHON_VERSION >= 350 NULL, #endif codeobj_da0ee4b3b09d6066d2390df01ca3d7a9, 2, sizeof(struct requests$utils$$$function_27_set_environ$$$genobj_1_set_environ_locals) ); } static PyObject *impl_requests$utils$$$function_28_should_bypass_proxies( 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_url = python_pars[ 0 ]; PyObject *par_no_proxy = python_pars[ 1 ]; PyObject *var_get_proxy = NULL; PyObject *var_no_proxy_arg = NULL; PyObject *var_parsed = NULL; PyObject *var_proxy_ip = NULL; PyObject *var_host_with_port = NULL; PyObject *var_host = NULL; PyObject *var_bypass = 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_genexpr_1__$0 = NULL; PyObject *tmp_with_1__enter = NULL; PyObject *tmp_with_1__exit = NULL; nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED; PyObject *tmp_with_1__source = NULL; struct Nuitka_FrameObject *frame_c42b6f77702a8b6cdac11e3cf42a028f; 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; 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_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; 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_2; PyObject *exception_preserved_value_2; PyTracebackObject *exception_preserved_tb_2; 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; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; static struct Nuitka_FrameObject *cache_frame_c42b6f77702a8b6cdac11e3cf42a028f = 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; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = MAKE_FUNCTION_requests$utils$$$function_28_should_bypass_proxies$$$function_1_lambda( ); assert( var_get_proxy == NULL ); var_get_proxy = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; CHECK_OBJECT( par_no_proxy ); tmp_assign_source_2 = par_no_proxy; assert( var_no_proxy_arg == NULL ); Py_INCREF( tmp_assign_source_2 ); var_no_proxy_arg = tmp_assign_source_2; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_c42b6f77702a8b6cdac11e3cf42a028f, codeobj_c42b6f77702a8b6cdac11e3cf42a028f, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_c42b6f77702a8b6cdac11e3cf42a028f = cache_frame_c42b6f77702a8b6cdac11e3cf42a028f; // Push the new frame as the currently active one. pushFrameStack( frame_c42b6f77702a8b6cdac11e3cf42a028f ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c42b6f77702a8b6cdac11e3cf42a028f ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_no_proxy ); tmp_compexpr_left_1 = par_no_proxy; 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_3; PyObject *tmp_called_name_1; if ( var_get_proxy == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "get_proxy" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 706; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = var_get_proxy; frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 706; tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, &PyTuple_GET_ITEM( const_tuple_str_plain_no_proxy_tuple, 0 ) ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 706; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_no_proxy; par_no_proxy = tmp_assign_source_3; Py_XDECREF( old ); } } branch_no_1:; } { PyObject *tmp_assign_source_4; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_urlparse ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_urlparse ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "urlparse" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 707; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_1; if ( par_url == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "url" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 707; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_url; frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 707; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 707; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert( var_parsed == NULL ); var_parsed = tmp_assign_source_4; } { nuitka_bool tmp_condition_result_2; int tmp_truth_name_1; if ( par_no_proxy == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "no_proxy" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 709; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( par_no_proxy ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 709; type_description_1 = "ooooooooo"; 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_assign_source_5; { PyObject *tmp_assign_source_6; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_1; PyObject *tmp_called_instance_2; if ( par_no_proxy == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "no_proxy" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 713; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_no_proxy; frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 713; tmp_called_instance_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_2, const_str_plain_replace, &PyTuple_GET_ITEM( const_tuple_str_space_str_empty_tuple, 0 ) ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 713; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 713; tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_44_tuple, 0 ) ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 713; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_6 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 713; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert( tmp_genexpr_1__$0 == NULL ); tmp_genexpr_1__$0 = tmp_assign_source_6; } { // Tried code: { tmp_assign_source_5 = requests$utils$$$function_28_should_bypass_proxies$$$genexpr_1_genexpr_maker(); ((struct Nuitka_GeneratorObject *)tmp_assign_source_5)->m_closure[0] = PyCell_NEW0( tmp_genexpr_1__$0 ); goto try_return_handler_2; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_28_should_bypass_proxies ); return NULL; // Return handler code: try_return_handler_2:; { CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 ); Py_DECREF( tmp_genexpr_1__$0 ); tmp_genexpr_1__$0 = NULL; } { goto outline_result_1; } // End of try: } { CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 ); Py_DECREF( tmp_genexpr_1__$0 ); tmp_genexpr_1__$0 = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_28_should_bypass_proxies ); return NULL; outline_result_1:; { PyObject *old = par_no_proxy; par_no_proxy = tmp_assign_source_5; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_3; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_2; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_1; int tmp_truth_name_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_is_ipv4_address ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_is_ipv4_address ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "is_ipv4_address" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 716; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = tmp_mvar_value_2; if ( var_parsed == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parsed" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 716; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = var_parsed; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_hostname ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 716; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 716; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } 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 = 716; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } 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 = 716; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_7; PyObject *tmp_iter_arg_2; if ( par_no_proxy == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "no_proxy" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 717; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_iter_arg_2 = par_no_proxy; tmp_assign_source_7 = MAKE_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 717; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_7; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_8; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_8 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_8 == 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 = "ooooooooo"; exception_lineno = 717; goto try_except_handler_3; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_8; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_9 = tmp_for_loop_1__iter_value; { PyObject *old = var_proxy_ip; var_proxy_ip = tmp_assign_source_9; Py_INCREF( var_proxy_ip ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_4; PyObject *tmp_called_name_4; PyObject *tmp_mvar_value_3; PyObject *tmp_call_result_2; PyObject *tmp_args_element_name_3; int tmp_truth_name_3; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_is_valid_cidr ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_is_valid_cidr ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "is_valid_cidr" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 718; type_description_1 = "ooooooooo"; goto try_except_handler_3; } tmp_called_name_4 = tmp_mvar_value_3; CHECK_OBJECT( var_proxy_ip ); tmp_args_element_name_3 = var_proxy_ip; frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 718; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } if ( tmp_call_result_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 718; type_description_1 = "ooooooooo"; goto try_except_handler_3; } tmp_truth_name_3 = CHECK_IF_TRUE( tmp_call_result_2 ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_2 ); exception_lineno = 718; type_description_1 = "ooooooooo"; goto try_except_handler_3; } tmp_condition_result_4 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_2 ); 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_called_name_5; PyObject *tmp_mvar_value_4; PyObject *tmp_call_result_3; PyObject *tmp_args_element_name_4; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_5; int tmp_truth_name_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_address_in_network ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_address_in_network ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "address_in_network" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 719; type_description_1 = "ooooooooo"; goto try_except_handler_3; } tmp_called_name_5 = tmp_mvar_value_4; if ( var_parsed == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parsed" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 719; type_description_1 = "ooooooooo"; goto try_except_handler_3; } tmp_source_name_2 = var_parsed; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_hostname ); if ( tmp_args_element_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 719; type_description_1 = "ooooooooo"; goto try_except_handler_3; } if ( var_proxy_ip == NULL ) { Py_DECREF( tmp_args_element_name_4 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "proxy_ip" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 719; type_description_1 = "ooooooooo"; goto try_except_handler_3; } tmp_args_element_name_5 = var_proxy_ip; frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 719; { PyObject *call_args[] = { tmp_args_element_name_4, tmp_args_element_name_5 }; tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_5, call_args ); } Py_DECREF( tmp_args_element_name_4 ); if ( tmp_call_result_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 719; type_description_1 = "ooooooooo"; goto try_except_handler_3; } tmp_truth_name_4 = CHECK_IF_TRUE( tmp_call_result_3 ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_3 ); exception_lineno = 719; type_description_1 = "ooooooooo"; goto try_except_handler_3; } tmp_condition_result_5 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_3 ); if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto try_return_handler_3; } branch_no_5:; } goto branch_end_4; branch_no_4:; { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_3; if ( var_parsed == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parsed" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 721; type_description_1 = "ooooooooo"; goto try_except_handler_3; } tmp_source_name_3 = var_parsed; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_hostname ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 721; type_description_1 = "ooooooooo"; goto try_except_handler_3; } if ( var_proxy_ip == 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", "proxy_ip" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 721; type_description_1 = "ooooooooo"; goto try_except_handler_3; } tmp_compexpr_right_2 = var_proxy_ip; 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 = 721; type_description_1 = "ooooooooo"; goto try_except_handler_3; } 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:; { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto try_return_handler_3; } branch_no_6:; } branch_end_4:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 717; type_description_1 = "ooooooooo"; goto try_except_handler_3; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Return handler code: try_return_handler_3:; { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__iter_value ); Py_DECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_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; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } goto branch_end_3; branch_no_3:; { PyObject *tmp_assign_source_10; PyObject *tmp_source_name_4; if ( var_parsed == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parsed" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 726; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = var_parsed; tmp_assign_source_10 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_hostname ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 726; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert( var_host_with_port == NULL ); var_host_with_port = tmp_assign_source_10; } { nuitka_bool tmp_condition_result_7; PyObject *tmp_source_name_5; PyObject *tmp_attribute_value_1; int tmp_truth_name_5; if ( var_parsed == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parsed" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 727; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = var_parsed; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_port ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 727; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_5 = CHECK_IF_TRUE( tmp_attribute_value_1 ); if ( tmp_truth_name_5 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_1 ); exception_lineno = 727; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_7 = tmp_truth_name_5 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_1 ); if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_assign_source_11; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_called_name_6; PyObject *tmp_source_name_6; PyObject *tmp_args_element_name_6; PyObject *tmp_source_name_7; if ( var_host_with_port == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "host_with_port" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 728; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_left_name_1 = var_host_with_port; tmp_source_name_6 = const_str_digest_aecd880ca3bccf51d81538b7916eb8f3; tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_format ); assert( !(tmp_called_name_6 == NULL) ); if ( var_parsed == 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", "parsed" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 728; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_source_name_7 = var_parsed; tmp_args_element_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_port ); if ( tmp_args_element_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_6 ); exception_lineno = 728; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 728; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_right_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); Py_DECREF( tmp_args_element_name_6 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 728; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_1, tmp_right_name_1 ); tmp_assign_source_11 = 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 = 728; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } var_host_with_port = tmp_assign_source_11; } branch_no_7:; } { PyObject *tmp_assign_source_12; PyObject *tmp_iter_arg_3; if ( par_no_proxy == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "no_proxy" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 730; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_iter_arg_3 = par_no_proxy; tmp_assign_source_12 = MAKE_ITERATOR( tmp_iter_arg_3 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 730; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_2__for_iterator == NULL ); tmp_for_loop_2__for_iterator = tmp_assign_source_12; } { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_13; CHECK_OBJECT( tmp_for_loop_2__for_iterator ); tmp_next_source_2 = tmp_for_loop_2__for_iterator; tmp_assign_source_13 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_13 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_2; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; exception_lineno = 730; goto try_except_handler_4; } } { PyObject *old = tmp_for_loop_2__iter_value; tmp_for_loop_2__iter_value = tmp_assign_source_13; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_14; CHECK_OBJECT( tmp_for_loop_2__iter_value ); tmp_assign_source_14 = tmp_for_loop_2__iter_value; { PyObject *old = var_host; var_host = tmp_assign_source_14; Py_INCREF( var_host ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_8; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_called_name_7; PyObject *tmp_source_name_8; PyObject *tmp_source_name_9; PyObject *tmp_call_result_4; PyObject *tmp_args_element_name_7; int tmp_truth_name_6; PyObject *tmp_called_name_8; PyObject *tmp_source_name_10; PyObject *tmp_call_result_5; PyObject *tmp_args_element_name_8; int tmp_truth_name_7; if ( var_parsed == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parsed" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 731; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_source_name_9 = var_parsed; tmp_source_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_hostname ); if ( tmp_source_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 731; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_endswith ); Py_DECREF( tmp_source_name_8 ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 731; type_description_1 = "ooooooooo"; goto try_except_handler_4; } if ( var_host == 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", "host" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 731; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_args_element_name_7 = var_host; frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 731; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } Py_DECREF( tmp_called_name_7 ); if ( tmp_call_result_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 731; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_truth_name_6 = CHECK_IF_TRUE( tmp_call_result_4 ); if ( tmp_truth_name_6 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_4 ); exception_lineno = 731; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_or_left_value_1 = tmp_truth_name_6 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_4 ); tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; if ( var_host_with_port == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "host_with_port" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 731; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_source_name_10 = var_host_with_port; tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_endswith ); if ( tmp_called_name_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 731; type_description_1 = "ooooooooo"; goto try_except_handler_4; } if ( var_host == 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", "host" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 731; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_args_element_name_8 = var_host; frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 731; { PyObject *call_args[] = { tmp_args_element_name_8 }; tmp_call_result_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args ); } Py_DECREF( tmp_called_name_8 ); if ( tmp_call_result_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 731; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_truth_name_7 = CHECK_IF_TRUE( tmp_call_result_5 ); if ( tmp_truth_name_7 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_5 ); exception_lineno = 731; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_or_right_value_1 = tmp_truth_name_7 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_5 ); tmp_condition_result_8 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_8 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto try_return_handler_4; } branch_no_8:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 730; type_description_1 = "ooooooooo"; goto try_except_handler_4; } goto loop_start_2; loop_end_2:; } goto try_end_2; // Return handler code: try_return_handler_4:; { CHECK_OBJECT( (PyObject *)tmp_for_loop_2__iter_value ); Py_DECREF( tmp_for_loop_2__iter_value ); tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator ); Py_DECREF( tmp_for_loop_2__for_iterator ); tmp_for_loop_2__for_iterator = NULL; } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_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_2__iter_value ); tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator ); Py_DECREF( tmp_for_loop_2__for_iterator ); tmp_for_loop_2__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; } // End of try: try_end_2:; } { Py_XDECREF( tmp_for_loop_2__iter_value ); tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator ); Py_DECREF( tmp_for_loop_2__for_iterator ); tmp_for_loop_2__for_iterator = NULL; } branch_end_3:; } branch_no_2:; } { // Tried code: { PyObject *tmp_assign_source_15; PyObject *tmp_called_name_9; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_9; PyObject *tmp_args_element_name_10; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_set_environ ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_set_environ ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "set_environ" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 742; type_description_1 = "ooooooooo"; goto try_except_handler_5; } tmp_called_name_9 = tmp_mvar_value_5; tmp_args_element_name_9 = const_str_plain_no_proxy; if ( var_no_proxy_arg == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "no_proxy_arg" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 742; type_description_1 = "ooooooooo"; goto try_except_handler_5; } tmp_args_element_name_10 = var_no_proxy_arg; frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 742; { PyObject *call_args[] = { tmp_args_element_name_9, tmp_args_element_name_10 }; tmp_assign_source_15 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_9, call_args ); } if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 742; type_description_1 = "ooooooooo"; goto try_except_handler_5; } assert( tmp_with_1__source == NULL ); tmp_with_1__source = tmp_assign_source_15; } { PyObject *tmp_assign_source_16; PyObject *tmp_called_name_10; PyObject *tmp_source_name_11; CHECK_OBJECT( tmp_with_1__source ); tmp_source_name_11 = tmp_with_1__source; tmp_called_name_10 = LOOKUP_SPECIAL( tmp_source_name_11, const_str_plain___enter__ ); if ( tmp_called_name_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 742; type_description_1 = "ooooooooo"; goto try_except_handler_5; } frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 742; tmp_assign_source_16 = CALL_FUNCTION_NO_ARGS( tmp_called_name_10 ); Py_DECREF( tmp_called_name_10 ); if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 742; type_description_1 = "ooooooooo"; goto try_except_handler_5; } assert( tmp_with_1__enter == NULL ); tmp_with_1__enter = tmp_assign_source_16; } { PyObject *tmp_assign_source_17; PyObject *tmp_source_name_12; CHECK_OBJECT( tmp_with_1__source ); tmp_source_name_12 = tmp_with_1__source; tmp_assign_source_17 = LOOKUP_SPECIAL( tmp_source_name_12, const_str_plain___exit__ ); if ( tmp_assign_source_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 742; type_description_1 = "ooooooooo"; goto try_except_handler_5; } assert( tmp_with_1__exit == NULL ); tmp_with_1__exit = tmp_assign_source_17; } { nuitka_bool tmp_assign_source_18; tmp_assign_source_18 = NUITKA_BOOL_TRUE; tmp_with_1__indicator = tmp_assign_source_18; } { // Tried code: { // Tried code: { // Tried code: { PyObject *tmp_assign_source_19; PyObject *tmp_called_name_11; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_11; PyObject *tmp_source_name_13; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_proxy_bypass ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_proxy_bypass ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "proxy_bypass" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 744; type_description_1 = "ooooooooo"; goto try_except_handler_8; } tmp_called_name_11 = tmp_mvar_value_6; if ( var_parsed == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parsed" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 744; type_description_1 = "ooooooooo"; goto try_except_handler_8; } tmp_source_name_13 = var_parsed; tmp_args_element_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_hostname ); if ( tmp_args_element_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 744; type_description_1 = "ooooooooo"; goto try_except_handler_8; } frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 744; { PyObject *call_args[] = { tmp_args_element_name_11 }; tmp_assign_source_19 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_11, call_args ); } Py_DECREF( tmp_args_element_name_11 ); if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 744; type_description_1 = "ooooooooo"; goto try_except_handler_8; } assert( var_bypass == NULL ); var_bypass = tmp_assign_source_19; } goto try_end_3; // Exception handler code: try_except_handler_8:; 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_c42b6f77702a8b6cdac11e3cf42a028f, exception_keeper_lineno_3 ); } else if ( exception_keeper_lineno_3 != 0 ) { exception_keeper_tb_3 = ADD_TRACEBACK( exception_keeper_tb_3, frame_c42b6f77702a8b6cdac11e3cf42a028f, 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_9; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_14; PyObject *tmp_mvar_value_7; tmp_compexpr_left_3 = EXC_TYPE(PyThreadState_GET()); tmp_tuple_element_1 = PyExc_TypeError; tmp_compexpr_right_3 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_compexpr_right_3, 0, tmp_tuple_element_1 ); tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_socket ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_socket ); } if ( tmp_mvar_value_7 == NULL ) { Py_DECREF( tmp_compexpr_right_3 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "socket" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 745; type_description_1 = "ooooooooo"; goto try_except_handler_9; } tmp_source_name_14 = tmp_mvar_value_7; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_gaierror ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_right_3 ); exception_lineno = 745; type_description_1 = "ooooooooo"; goto try_except_handler_9; } PyTuple_SET_ITEM( tmp_compexpr_right_3, 1, tmp_tuple_element_1 ); tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 745; type_description_1 = "ooooooooo"; goto try_except_handler_9; } tmp_condition_result_9 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { PyObject *tmp_assign_source_20; tmp_assign_source_20 = Py_False; assert( var_bypass == NULL ); Py_INCREF( tmp_assign_source_20 ); var_bypass = tmp_assign_source_20; } goto branch_end_9; branch_no_9:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 743; } if (exception_tb && exception_tb->tb_frame == &frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame) frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooooooo"; goto try_except_handler_9; } branch_end_9:; } goto try_end_4; // Exception handler code: try_except_handler_9:; 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_7; } // 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_3; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_28_should_bypass_proxies ); return NULL; // End of try: try_end_3:; } goto try_end_5; // 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; { // 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_5 == NULL ) { exception_keeper_tb_5 = MAKE_TRACEBACK( frame_c42b6f77702a8b6cdac11e3cf42a028f, exception_keeper_lineno_5 ); } else if ( exception_keeper_lineno_5 != 0 ) { exception_keeper_tb_5 = ADD_TRACEBACK( exception_keeper_tb_5, frame_c42b6f77702a8b6cdac11e3cf42a028f, 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_10; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; tmp_compexpr_left_4 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_4 = PyExc_BaseException; 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 = 742; type_description_1 = "ooooooooo"; goto try_except_handler_10; } 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:; { nuitka_bool tmp_assign_source_21; tmp_assign_source_21 = NUITKA_BOOL_FALSE; tmp_with_1__indicator = tmp_assign_source_21; } { nuitka_bool tmp_condition_result_11; PyObject *tmp_operand_name_1; PyObject *tmp_called_name_12; PyObject *tmp_args_element_name_12; PyObject *tmp_args_element_name_13; PyObject *tmp_args_element_name_14; CHECK_OBJECT( tmp_with_1__exit ); tmp_called_name_12 = tmp_with_1__exit; tmp_args_element_name_12 = EXC_TYPE(PyThreadState_GET()); tmp_args_element_name_13 = EXC_VALUE(PyThreadState_GET()); tmp_args_element_name_14 = EXC_TRACEBACK(PyThreadState_GET()); frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 742; { PyObject *call_args[] = { tmp_args_element_name_12, tmp_args_element_name_13, tmp_args_element_name_14 }; tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_12, call_args ); } if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 742; type_description_1 = "ooooooooo"; goto try_except_handler_10; } 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 = 742; type_description_1 = "ooooooooo"; goto try_except_handler_10; } 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:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 742; } if (exception_tb && exception_tb->tb_frame == &frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame) frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooooooo"; goto try_except_handler_10; } branch_no_11:; } goto branch_end_10; branch_no_10:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 742; } if (exception_tb && exception_tb->tb_frame == &frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame) frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooooooo"; goto try_except_handler_10; } branch_end_10:; } goto try_end_6; // Exception handler code: try_except_handler_10:; 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_2, exception_preserved_value_2, exception_preserved_tb_2 ); } { // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto try_except_handler_6; } // End of try: try_end_6:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 ); } goto try_end_5; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_28_should_bypass_proxies ); return NULL; // End of try: try_end_5:; } goto try_end_7; // Exception handler code: try_except_handler_6:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { nuitka_bool tmp_condition_result_12; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; assert( tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_5 = ( tmp_with_1__indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_5 = Py_True; tmp_condition_result_12 = ( tmp_compexpr_left_5 == tmp_compexpr_right_5 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE ) { goto branch_yes_12; } else { goto branch_no_12; } branch_yes_12:; { PyObject *tmp_called_name_13; CHECK_OBJECT( tmp_with_1__exit ); tmp_called_name_13 = tmp_with_1__exit; frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 742; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_13, &PyTuple_GET_ITEM( const_tuple_none_none_none_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( exception_keeper_type_7 ); Py_XDECREF( exception_keeper_value_7 ); Py_XDECREF( exception_keeper_tb_7 ); exception_lineno = 742; type_description_1 = "ooooooooo"; goto try_except_handler_5; } Py_DECREF( tmp_unused ); } branch_no_12:; } { // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto try_except_handler_5; } // End of try: try_end_7:; } { nuitka_bool tmp_condition_result_13; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; assert( tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_6 = ( tmp_with_1__indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_6 = Py_True; tmp_condition_result_13 = ( tmp_compexpr_left_6 == tmp_compexpr_right_6 ) ? 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_14; CHECK_OBJECT( tmp_with_1__exit ); tmp_called_name_14 = tmp_with_1__exit; frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame.f_lineno = 742; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_14, &PyTuple_GET_ITEM( const_tuple_none_none_none_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 742; type_description_1 = "ooooooooo"; goto try_except_handler_5; } Py_DECREF( tmp_unused ); } branch_no_13:; } goto try_end_8; // Exception handler code: try_except_handler_5:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_with_1__source ); tmp_with_1__source = NULL; } { Py_XDECREF( tmp_with_1__enter ); tmp_with_1__enter = NULL; } { Py_XDECREF( tmp_with_1__exit ); tmp_with_1__exit = NULL; } { } { // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto frame_exception_exit_1; } // End of try: try_end_8:; } { CHECK_OBJECT( (PyObject *)tmp_with_1__source ); Py_DECREF( tmp_with_1__source ); tmp_with_1__source = NULL; } { CHECK_OBJECT( (PyObject *)tmp_with_1__enter ); Py_DECREF( tmp_with_1__enter ); tmp_with_1__enter = NULL; } { CHECK_OBJECT( (PyObject *)tmp_with_1__exit ); Py_DECREF( tmp_with_1__exit ); tmp_with_1__exit = NULL; } { } { nuitka_bool tmp_condition_result_14; int tmp_truth_name_8; if ( var_bypass == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bypass" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 748; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_8 = CHECK_IF_TRUE( var_bypass ); if ( tmp_truth_name_8 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 748; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_14 = tmp_truth_name_8 == 1 ? 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_True; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_14:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_c42b6f77702a8b6cdac11e3cf42a028f ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c42b6f77702a8b6cdac11e3cf42a028f ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c42b6f77702a8b6cdac11e3cf42a028f ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c42b6f77702a8b6cdac11e3cf42a028f, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c42b6f77702a8b6cdac11e3cf42a028f->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c42b6f77702a8b6cdac11e3cf42a028f, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c42b6f77702a8b6cdac11e3cf42a028f, type_description_1, par_url, par_no_proxy, var_get_proxy, var_no_proxy_arg, var_parsed, var_proxy_ip, var_host_with_port, var_host, var_bypass ); // Release cached frame. if ( frame_c42b6f77702a8b6cdac11e3cf42a028f == cache_frame_c42b6f77702a8b6cdac11e3cf42a028f ) { Py_DECREF( frame_c42b6f77702a8b6cdac11e3cf42a028f ); } cache_frame_c42b6f77702a8b6cdac11e3cf42a028f = NULL; assertFrameObject( frame_c42b6f77702a8b6cdac11e3cf42a028f ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_28_should_bypass_proxies ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_url ); par_url = NULL; } { Py_XDECREF( par_no_proxy ); par_no_proxy = NULL; } { Py_XDECREF( var_get_proxy ); var_get_proxy = NULL; } { Py_XDECREF( var_no_proxy_arg ); var_no_proxy_arg = NULL; } { Py_XDECREF( var_parsed ); var_parsed = NULL; } { Py_XDECREF( var_proxy_ip ); var_proxy_ip = NULL; } { Py_XDECREF( var_host_with_port ); var_host_with_port = NULL; } { Py_XDECREF( var_host ); var_host = NULL; } { Py_XDECREF( var_bypass ); var_bypass = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_url ); par_url = NULL; } { Py_XDECREF( par_no_proxy ); par_no_proxy = NULL; } { Py_XDECREF( var_get_proxy ); var_get_proxy = NULL; } { Py_XDECREF( var_no_proxy_arg ); var_no_proxy_arg = NULL; } { Py_XDECREF( var_parsed ); var_parsed = NULL; } { Py_XDECREF( var_proxy_ip ); var_proxy_ip = NULL; } { Py_XDECREF( var_host_with_port ); var_host_with_port = NULL; } { Py_XDECREF( var_host ); var_host = NULL; } { Py_XDECREF( var_bypass ); var_bypass = 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 function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_28_should_bypass_proxies ); 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_requests$utils$$$function_28_should_bypass_proxies$$$function_1_lambda( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_k = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c; 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_d2359c5b7cd4ad8cab3a8f4f13a80d3c = 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_d2359c5b7cd4ad8cab3a8f4f13a80d3c, codeobj_d2359c5b7cd4ad8cab3a8f4f13a80d3c, module_requests$utils, sizeof(void *) ); frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c = cache_frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c; // Push the new frame as the currently active one. pushFrameStack( frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c ) == 2 ); // Frame stack // Framed code: { int tmp_or_left_truth_1; PyObject *tmp_or_left_value_1; PyObject *tmp_or_right_value_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; PyObject *tmp_called_instance_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 700; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_1; tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_environ ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 700; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get ); Py_DECREF( tmp_source_name_1 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 700; type_description_1 = "o"; goto frame_exception_exit_1; } if ( par_k == 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", "k" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 700; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_k; frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c->m_frame.f_lineno = 700; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_or_left_value_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_or_left_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 700; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_or_left_truth_1 = CHECK_IF_TRUE( tmp_or_left_value_1 ); if ( tmp_or_left_truth_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_or_left_value_1 ); exception_lineno = 700; type_description_1 = "o"; goto frame_exception_exit_1; } if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; Py_DECREF( tmp_or_left_value_1 ); tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 700; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_2; tmp_source_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_environ ); if ( tmp_source_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 700; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_get ); 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 = 700; type_description_1 = "o"; goto frame_exception_exit_1; } if ( par_k == 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", "k" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 700; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_k; frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c->m_frame.f_lineno = 700; tmp_args_element_name_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_upper ); 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 = 700; type_description_1 = "o"; goto frame_exception_exit_1; } frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c->m_frame.f_lineno = 700; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_or_right_value_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_or_right_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 700; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_return_value = tmp_or_left_value_1; or_end_1:; goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c, type_description_1, par_k ); // Release cached frame. if ( frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c == cache_frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c ) { Py_DECREF( frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c ); } cache_frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c = NULL; assertFrameObject( frame_d2359c5b7cd4ad8cab3a8f4f13a80d3c ); // 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( requests$utils$$$function_28_should_bypass_proxies$$$function_1_lambda ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_k ); par_k = 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_k ); par_k = 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( requests$utils$$$function_28_should_bypass_proxies$$$function_1_lambda ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct requests$utils$$$function_28_should_bypass_proxies$$$genexpr_1_genexpr_locals { PyObject *var_host; PyObject *tmp_iter_value_0; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; char yield_tmps[1024]; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; }; static PyObject *requests$utils$$$function_28_should_bypass_proxies$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct requests$utils$$$function_28_should_bypass_proxies$$$genexpr_1_genexpr_locals *generator_heap = (struct requests$utils$$$function_28_should_bypass_proxies$$$genexpr_1_genexpr_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_host = NULL; generator_heap->tmp_iter_value_0 = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_63c7e2a49ffab871c4febcd1c612bc2d, module_requests$utils, sizeof(void *)+sizeof(void *) ); generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF( generator->m_frame ); assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack #if PYTHON_VERSION >= 340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif Py_CLEAR( generator->m_frame->m_frame.f_back ); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF( generator->m_frame->m_frame.f_back ); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF( generator->m_frame ); Nuitka_Frame_MarkAsExecuting( generator->m_frame ); #if PYTHON_VERSION >= 300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); #if PYTHON_VERSION < 370 generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state ); if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL; Py_XINCREF( generator->m_frame->m_frame.f_exc_type ); generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_value ); generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback ); #else generator->m_exc_state.exc_type = EXC_TYPE( thread_state ); if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL; Py_XINCREF( generator->m_exc_state.exc_type ); generator->m_exc_state.exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_exc_state.exc_value ); generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_exc_state.exc_traceback ); #endif } #endif // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_1; CHECK_OBJECT( PyCell_GET( generator->m_closure[0] ) ); tmp_next_source_1 = PyCell_GET( generator->m_closure[0] ); tmp_assign_source_1 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_1 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "No"; generator_heap->exception_lineno = 713; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_iter_value_0; generator_heap->tmp_iter_value_0 = tmp_assign_source_1; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_2; CHECK_OBJECT( generator_heap->tmp_iter_value_0 ); tmp_assign_source_2 = generator_heap->tmp_iter_value_0; { PyObject *old = generator_heap->var_host; generator_heap->var_host = tmp_assign_source_2; Py_INCREF( generator_heap->var_host ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT( generator_heap->var_host ); tmp_truth_name_1 = CHECK_IF_TRUE( generator_heap->var_host ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 713; generator_heap->type_description_1 = "No"; 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:; { PyObject *tmp_expression_name_1; CHECK_OBJECT( generator_heap->var_host ); tmp_expression_name_1 = generator_heap->var_host; Py_INCREF( tmp_expression_name_1 ); Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_truth_name_1, sizeof(int), NULL ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_condition_result_1, sizeof(nuitka_bool), &tmp_truth_name_1, sizeof(int), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 713; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } tmp_unused = yield_return_value; } branch_no_1:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 713; generator_heap->type_description_1 = "No"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->tmp_iter_value_0 ); generator_heap->tmp_iter_value_0 = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } Nuitka_Frame_MarkAsNotExecuting( generator->m_frame ); #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif // Allow re-use of the frame again. Py_DECREF( generator->m_frame ); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) ) { if ( generator_heap->exception_tb == NULL ) { generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno ); } else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame ) { generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno ); } Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)generator->m_frame, generator_heap->type_description_1, NULL, generator_heap->var_host ); // Release cached frame. if ( generator->m_frame == cache_m_frame ) { Py_DECREF( generator->m_frame ); } cache_m_frame = NULL; assertFrameObject( generator->m_frame ); } #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif Py_DECREF( generator->m_frame ); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_2; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->var_host ); generator_heap->var_host = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto function_exception_exit; } // End of try: try_end_2:; } { Py_XDECREF( generator_heap->tmp_iter_value_0 ); generator_heap->tmp_iter_value_0 = NULL; } { Py_XDECREF( generator_heap->var_host ); generator_heap->var_host = NULL; } return NULL; function_exception_exit: assert( generator_heap->exception_type ); RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb ); return NULL; } static PyObject *requests$utils$$$function_28_should_bypass_proxies$$$genexpr_1_genexpr_maker( void ) { return Nuitka_Generator_New( requests$utils$$$function_28_should_bypass_proxies$$$genexpr_1_genexpr_context, module_requests$utils, const_str_angle_genexpr, #if PYTHON_VERSION >= 350 const_str_digest_e7f6df048edbb5552391880581fa119f, #endif codeobj_63c7e2a49ffab871c4febcd1c612bc2d, 1, sizeof(struct requests$utils$$$function_28_should_bypass_proxies$$$genexpr_1_genexpr_locals) ); } static PyObject *impl_requests$utils$$$function_29_get_environ_proxies( 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_url = python_pars[ 0 ]; PyObject *par_no_proxy = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_d1718f3759ddd22e714079009e1c72ba; 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_d1718f3759ddd22e714079009e1c72ba = 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_d1718f3759ddd22e714079009e1c72ba, codeobj_d1718f3759ddd22e714079009e1c72ba, module_requests$utils, sizeof(void *)+sizeof(void *) ); frame_d1718f3759ddd22e714079009e1c72ba = cache_frame_d1718f3759ddd22e714079009e1c72ba; // Push the new frame as the currently active one. pushFrameStack( frame_d1718f3759ddd22e714079009e1c72ba ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d1718f3759ddd22e714079009e1c72ba ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_call_result_1; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kw_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; int tmp_truth_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_should_bypass_proxies ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_should_bypass_proxies ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "should_bypass_proxies" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 760; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_url ); tmp_tuple_element_1 = par_url; tmp_args_name_1 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 ); tmp_dict_key_1 = const_str_plain_no_proxy; CHECK_OBJECT( par_no_proxy ); tmp_dict_value_1 = par_no_proxy; tmp_kw_name_1 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 ); assert( !(tmp_res != 0) ); frame_d1718f3759ddd22e714079009e1c72ba->m_frame.f_lineno = 760; tmp_call_result_1 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_args_name_1 ); Py_DECREF( tmp_kw_name_1 ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 760; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 760; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_return_value = PyDict_New(); goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_getproxies ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_getproxies ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "getproxies" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 763; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_2; frame_d1718f3759ddd22e714079009e1c72ba->m_frame.f_lineno = 763; tmp_return_value = CALL_FUNCTION_NO_ARGS( tmp_called_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 763; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d1718f3759ddd22e714079009e1c72ba ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d1718f3759ddd22e714079009e1c72ba ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d1718f3759ddd22e714079009e1c72ba ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d1718f3759ddd22e714079009e1c72ba, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d1718f3759ddd22e714079009e1c72ba->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d1718f3759ddd22e714079009e1c72ba, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d1718f3759ddd22e714079009e1c72ba, type_description_1, par_url, par_no_proxy ); // Release cached frame. if ( frame_d1718f3759ddd22e714079009e1c72ba == cache_frame_d1718f3759ddd22e714079009e1c72ba ) { Py_DECREF( frame_d1718f3759ddd22e714079009e1c72ba ); } cache_frame_d1718f3759ddd22e714079009e1c72ba = NULL; assertFrameObject( frame_d1718f3759ddd22e714079009e1c72ba ); // 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( requests$utils$$$function_29_get_environ_proxies ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_url ); par_url = NULL; } { Py_XDECREF( par_no_proxy ); par_no_proxy = 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_url ); par_url = NULL; } { Py_XDECREF( par_no_proxy ); par_no_proxy = 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( requests$utils$$$function_29_get_environ_proxies ); 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_requests$utils$$$function_30_select_proxy( 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_url = python_pars[ 0 ]; PyObject *par_proxies = python_pars[ 1 ]; PyObject *var_urlparts = NULL; PyObject *var_proxy_keys = NULL; PyObject *var_proxy = NULL; PyObject *var_proxy_key = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_5afe8086b2b3fd4dfcfe0d53edfd26a0; 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; static struct Nuitka_FrameObject *cache_frame_5afe8086b2b3fd4dfcfe0d53edfd26a0 = 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_5afe8086b2b3fd4dfcfe0d53edfd26a0, codeobj_5afe8086b2b3fd4dfcfe0d53edfd26a0, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_5afe8086b2b3fd4dfcfe0d53edfd26a0 = cache_frame_5afe8086b2b3fd4dfcfe0d53edfd26a0; // Push the new frame as the currently active one. pushFrameStack( frame_5afe8086b2b3fd4dfcfe0d53edfd26a0 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5afe8086b2b3fd4dfcfe0d53edfd26a0 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; int tmp_or_left_truth_1; PyObject *tmp_or_left_value_1; PyObject *tmp_or_right_value_1; CHECK_OBJECT( par_proxies ); tmp_or_left_value_1 = par_proxies; tmp_or_left_truth_1 = CHECK_IF_TRUE( tmp_or_left_value_1 ); if ( tmp_or_left_truth_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 772; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; tmp_or_right_value_1 = PyDict_New(); tmp_assign_source_1 = tmp_or_right_value_1; goto or_end_1; or_left_1:; Py_INCREF( tmp_or_left_value_1 ); tmp_assign_source_1 = tmp_or_left_value_1; or_end_1:; { PyObject *old = par_proxies; assert( old != NULL ); par_proxies = tmp_assign_source_1; Py_DECREF( old ); } } { 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_requests$utils, (Nuitka_StringObject *)const_str_plain_urlparse ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_urlparse ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "urlparse" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 773; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_url ); tmp_args_element_name_1 = par_url; frame_5afe8086b2b3fd4dfcfe0d53edfd26a0->m_frame.f_lineno = 773; { 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 = 773; type_description_1 = "oooooo"; goto frame_exception_exit_1; } assert( var_urlparts == NULL ); var_urlparts = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; CHECK_OBJECT( var_urlparts ); tmp_source_name_1 = var_urlparts; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_hostname ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 774; type_description_1 = "oooooo"; 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_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_3; PyObject *tmp_called_instance_1; if ( par_proxies == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "proxies" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 775; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_proxies; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_get ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 775; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( var_urlparts == 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", "urlparts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 775; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = var_urlparts; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_scheme ); 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 = 775; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( par_proxies == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "proxies" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 775; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_proxies; frame_5afe8086b2b3fd4dfcfe0d53edfd26a0->m_frame.f_lineno = 775; tmp_args_element_name_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_plain_all_tuple, 0 ) ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); exception_lineno = 775; type_description_1 = "oooooo"; goto frame_exception_exit_1; } frame_5afe8086b2b3fd4dfcfe0d53edfd26a0->m_frame.f_lineno = 775; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 775; type_description_1 = "oooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_3; PyObject *tmp_list_element_1; PyObject *tmp_left_name_1; PyObject *tmp_left_name_2; PyObject *tmp_source_name_4; PyObject *tmp_right_name_1; PyObject *tmp_right_name_2; PyObject *tmp_source_name_5; PyObject *tmp_source_name_6; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_source_name_7; if ( var_urlparts == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "urlparts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 778; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = var_urlparts; tmp_left_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_scheme ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 778; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_right_name_1 = const_str_digest_a05fa8f67e9c342eb59afe566750507b; tmp_left_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_1 ); Py_DECREF( tmp_left_name_2 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 778; type_description_1 = "oooooo"; goto frame_exception_exit_1; } if ( var_urlparts == 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", "urlparts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 778; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = var_urlparts; tmp_right_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_hostname ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 778; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_list_element_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_2 ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_list_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 778; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = PyList_New( 4 ); PyList_SET_ITEM( tmp_assign_source_3, 0, tmp_list_element_1 ); if ( var_urlparts == NULL ) { Py_DECREF( tmp_assign_source_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "urlparts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 779; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = var_urlparts; tmp_list_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_scheme ); if ( tmp_list_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_3 ); exception_lineno = 779; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyList_SET_ITEM( tmp_assign_source_3, 1, tmp_list_element_1 ); tmp_left_name_3 = const_str_digest_2a6ee7e480f9d5987d5306e778a2dadb; if ( var_urlparts == NULL ) { Py_DECREF( tmp_assign_source_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "urlparts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 780; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_source_name_7 = var_urlparts; tmp_right_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_hostname ); if ( tmp_right_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_3 ); exception_lineno = 780; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_list_element_1 = BINARY_OPERATION_ADD( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_list_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_3 ); exception_lineno = 780; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyList_SET_ITEM( tmp_assign_source_3, 2, tmp_list_element_1 ); tmp_list_element_1 = const_str_plain_all; Py_INCREF( tmp_list_element_1 ); PyList_SET_ITEM( tmp_assign_source_3, 3, tmp_list_element_1 ); assert( var_proxy_keys == NULL ); var_proxy_keys = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; tmp_assign_source_4 = Py_None; assert( var_proxy == NULL ); Py_INCREF( tmp_assign_source_4 ); var_proxy = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_iter_arg_1; CHECK_OBJECT( var_proxy_keys ); tmp_iter_arg_1 = var_proxy_keys; 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 = 784; 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_5; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_6 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_6 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooo"; exception_lineno = 784; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_6; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_7; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_7 = tmp_for_loop_1__iter_value; { PyObject *old = var_proxy_key; var_proxy_key = tmp_assign_source_7; Py_INCREF( var_proxy_key ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( var_proxy_key ); tmp_compexpr_left_2 = var_proxy_key; if ( par_proxies == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "proxies" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 785; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_compexpr_right_2 = par_proxies; 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 = 785; type_description_1 = "oooooo"; 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_8; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; if ( par_proxies == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "proxies" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 786; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_subscribed_name_1 = par_proxies; if ( var_proxy_key == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "proxy_key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 786; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_subscript_name_1 = var_proxy_key; tmp_assign_source_8 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 786; type_description_1 = "oooooo"; goto try_except_handler_2; } { PyObject *old = var_proxy; var_proxy = tmp_assign_source_8; Py_XDECREF( old ); } } { goto loop_end_1; } branch_no_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 784; type_description_1 = "oooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { if ( var_proxy == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "proxy" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 789; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_return_value = var_proxy; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_5afe8086b2b3fd4dfcfe0d53edfd26a0 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5afe8086b2b3fd4dfcfe0d53edfd26a0 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5afe8086b2b3fd4dfcfe0d53edfd26a0 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5afe8086b2b3fd4dfcfe0d53edfd26a0, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5afe8086b2b3fd4dfcfe0d53edfd26a0->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5afe8086b2b3fd4dfcfe0d53edfd26a0, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5afe8086b2b3fd4dfcfe0d53edfd26a0, type_description_1, par_url, par_proxies, var_urlparts, var_proxy_keys, var_proxy, var_proxy_key ); // Release cached frame. if ( frame_5afe8086b2b3fd4dfcfe0d53edfd26a0 == cache_frame_5afe8086b2b3fd4dfcfe0d53edfd26a0 ) { Py_DECREF( frame_5afe8086b2b3fd4dfcfe0d53edfd26a0 ); } cache_frame_5afe8086b2b3fd4dfcfe0d53edfd26a0 = NULL; assertFrameObject( frame_5afe8086b2b3fd4dfcfe0d53edfd26a0 ); // 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( requests$utils$$$function_30_select_proxy ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_url ); par_url = NULL; } { Py_XDECREF( par_proxies ); par_proxies = NULL; } { Py_XDECREF( var_urlparts ); var_urlparts = NULL; } { Py_XDECREF( var_proxy_keys ); var_proxy_keys = NULL; } { Py_XDECREF( var_proxy ); var_proxy = NULL; } { Py_XDECREF( var_proxy_key ); var_proxy_key = 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_url ); par_url = NULL; } { Py_XDECREF( par_proxies ); par_proxies = NULL; } { Py_XDECREF( var_urlparts ); var_urlparts = NULL; } { Py_XDECREF( var_proxy_keys ); var_proxy_keys = NULL; } { Py_XDECREF( var_proxy ); var_proxy = NULL; } { Py_XDECREF( var_proxy_key ); var_proxy_key = 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( requests$utils$$$function_30_select_proxy ); 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_requests$utils$$$function_31_default_user_agent( 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_name = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_69340bb05e66ac99723c62e8b2c8dc7d; 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_69340bb05e66ac99723c62e8b2c8dc7d = 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_69340bb05e66ac99723c62e8b2c8dc7d, codeobj_69340bb05e66ac99723c62e8b2c8dc7d, module_requests$utils, sizeof(void *) ); frame_69340bb05e66ac99723c62e8b2c8dc7d = cache_frame_69340bb05e66ac99723c62e8b2c8dc7d; // Push the new frame as the currently active one. pushFrameStack( frame_69340bb05e66ac99723c62e8b2c8dc7d ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_69340bb05e66ac99723c62e8b2c8dc7d ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_mvar_value_1; tmp_left_name_1 = const_str_digest_3f6240938cc8b4c3691344def7c310a8; CHECK_OBJECT( par_name ); tmp_tuple_element_1 = par_name; tmp_right_name_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_1 ); tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain___version__ ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain___version__ ); } if ( tmp_mvar_value_1 == NULL ) { Py_DECREF( tmp_right_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "__version__" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 798; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_tuple_element_1 = tmp_mvar_value_1; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_1 ); tmp_return_value = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 798; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_69340bb05e66ac99723c62e8b2c8dc7d ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_69340bb05e66ac99723c62e8b2c8dc7d ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_69340bb05e66ac99723c62e8b2c8dc7d ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_69340bb05e66ac99723c62e8b2c8dc7d, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_69340bb05e66ac99723c62e8b2c8dc7d->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_69340bb05e66ac99723c62e8b2c8dc7d, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_69340bb05e66ac99723c62e8b2c8dc7d, type_description_1, par_name ); // Release cached frame. if ( frame_69340bb05e66ac99723c62e8b2c8dc7d == cache_frame_69340bb05e66ac99723c62e8b2c8dc7d ) { Py_DECREF( frame_69340bb05e66ac99723c62e8b2c8dc7d ); } cache_frame_69340bb05e66ac99723c62e8b2c8dc7d = NULL; assertFrameObject( frame_69340bb05e66ac99723c62e8b2c8dc7d ); // 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( requests$utils$$$function_31_default_user_agent ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_name ); par_name = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_name ); par_name = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_31_default_user_agent ); 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_requests$utils$$$function_32_default_headers( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_FrameObject *frame_f52ced90be8fa8798a26adb0d26d8c01; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; static struct Nuitka_FrameObject *cache_frame_f52ced90be8fa8798a26adb0d26d8c01 = NULL; // Actual function code. MAKE_OR_REUSE_FRAME( cache_frame_f52ced90be8fa8798a26adb0d26d8c01, codeobj_f52ced90be8fa8798a26adb0d26d8c01, module_requests$utils, 0 ); frame_f52ced90be8fa8798a26adb0d26d8c01 = cache_frame_f52ced90be8fa8798a26adb0d26d8c01; // Push the new frame as the currently active one. pushFrameStack( frame_f52ced90be8fa8798a26adb0d26d8c01 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_f52ced90be8fa8798a26adb0d26d8c01 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_dict_key_2; PyObject *tmp_dict_value_2; PyObject *tmp_called_instance_1; PyObject *tmp_dict_key_3; PyObject *tmp_dict_value_3; PyObject *tmp_dict_key_4; PyObject *tmp_dict_value_4; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_CaseInsensitiveDict ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CaseInsensitiveDict ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CaseInsensitiveDict" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 805; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; tmp_dict_key_1 = const_str_digest_efc21bf644358c9c1d2e70e361873562; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_default_user_agent ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_default_user_agent ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "default_user_agent" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 806; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_2; frame_f52ced90be8fa8798a26adb0d26d8c01->m_frame.f_lineno = 806; tmp_dict_value_1 = CALL_FUNCTION_NO_ARGS( tmp_called_name_2 ); if ( tmp_dict_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 806; goto frame_exception_exit_1; } tmp_args_element_name_1 = _PyDict_NewPresized( 4 ); tmp_res = PyDict_SetItem( tmp_args_element_name_1, tmp_dict_key_1, tmp_dict_value_1 ); Py_DECREF( tmp_dict_value_1 ); assert( !(tmp_res != 0) ); tmp_dict_key_2 = const_str_digest_c17f72dfbfead5020b880ad5af8b007d; tmp_called_instance_1 = const_str_digest_db35ab94a03c3cbeb13cbe2a1d728b77; frame_f52ced90be8fa8798a26adb0d26d8c01->m_frame.f_lineno = 807; tmp_dict_value_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_join, &PyTuple_GET_ITEM( const_tuple_tuple_str_plain_gzip_str_plain_deflate_tuple_tuple, 0 ) ); if ( tmp_dict_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_args_element_name_1 ); exception_lineno = 807; goto frame_exception_exit_1; } tmp_res = PyDict_SetItem( tmp_args_element_name_1, tmp_dict_key_2, tmp_dict_value_2 ); Py_DECREF( tmp_dict_value_2 ); assert( !(tmp_res != 0) ); tmp_dict_key_3 = const_str_plain_Accept; tmp_dict_value_3 = const_str_digest_994b331706f7b8213e511b4daaa43bc4; tmp_res = PyDict_SetItem( tmp_args_element_name_1, tmp_dict_key_3, tmp_dict_value_3 ); assert( !(tmp_res != 0) ); tmp_dict_key_4 = const_str_plain_Connection; tmp_dict_value_4 = const_str_digest_141f53ac830b1d16e6fa74a381d6e6a2; tmp_res = PyDict_SetItem( tmp_args_element_name_1, tmp_dict_key_4, tmp_dict_value_4 ); assert( !(tmp_res != 0) ); frame_f52ced90be8fa8798a26adb0d26d8c01->m_frame.f_lineno = 805; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_args_element_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 805; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_f52ced90be8fa8798a26adb0d26d8c01 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f52ced90be8fa8798a26adb0d26d8c01 ); #endif // Put the previous frame back on top. popFrameStack(); goto function_return_exit; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f52ced90be8fa8798a26adb0d26d8c01 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_f52ced90be8fa8798a26adb0d26d8c01, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_f52ced90be8fa8798a26adb0d26d8c01->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_f52ced90be8fa8798a26adb0d26d8c01, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_f52ced90be8fa8798a26adb0d26d8c01, type_description_1 ); // Release cached frame. if ( frame_f52ced90be8fa8798a26adb0d26d8c01 == cache_frame_f52ced90be8fa8798a26adb0d26d8c01 ) { Py_DECREF( frame_f52ced90be8fa8798a26adb0d26d8c01 ); } cache_frame_f52ced90be8fa8798a26adb0d26d8c01 = NULL; assertFrameObject( frame_f52ced90be8fa8798a26adb0d26d8c01 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_32_default_headers ); 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_requests$utils$$$function_33_parse_header_links( 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_value = python_pars[ 0 ]; PyObject *var_links = NULL; PyObject *var_replace_chars = NULL; PyObject *var_val = NULL; PyObject *var_url = NULL; PyObject *var_params = NULL; PyObject *var_link = NULL; PyObject *var_param = NULL; PyObject *var_key = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_for_loop_2__for_iterator = NULL; PyObject *tmp_for_loop_2__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; PyObject *tmp_tuple_unpack_3__element_1 = NULL; PyObject *tmp_tuple_unpack_3__element_2 = NULL; PyObject *tmp_tuple_unpack_3__source_iter = NULL; struct Nuitka_FrameObject *frame_dbcb99fa65840d6d516acb27bfdc2c99; 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; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; 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; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; PyObject *exception_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; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; static struct Nuitka_FrameObject *cache_frame_dbcb99fa65840d6d516acb27bfdc2c99 = NULL; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = PyList_New( 0 ); assert( var_links == NULL ); var_links = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_617ba2f08a6d012d66376bfa8ff64fce; assert( var_replace_chars == NULL ); Py_INCREF( tmp_assign_source_2 ); var_replace_chars = tmp_assign_source_2; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_dbcb99fa65840d6d516acb27bfdc2c99, codeobj_dbcb99fa65840d6d516acb27bfdc2c99, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_dbcb99fa65840d6d516acb27bfdc2c99 = cache_frame_dbcb99fa65840d6d516acb27bfdc2c99; // Push the new frame as the currently active one. pushFrameStack( frame_dbcb99fa65840d6d516acb27bfdc2c99 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_dbcb99fa65840d6d516acb27bfdc2c99 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( par_value ); tmp_source_name_1 = par_value; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_strip ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 825; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } if ( var_replace_chars == 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", "replace_chars" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 825; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = var_replace_chars; frame_dbcb99fa65840d6d516acb27bfdc2c99->m_frame.f_lineno = 825; { 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 = 825; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_value; par_value = tmp_assign_source_3; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; CHECK_OBJECT( par_value ); tmp_operand_name_1 = par_value; 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 = 826; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { if ( var_links == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "links" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 827; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_links; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_4; PyObject *tmp_iter_arg_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; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "re" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 829; type_description_1 = "ooooooooo"; 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_split ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = const_str_digest_70d428cefa5ab579db6f38d2ccfd6785; if ( par_value == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 829; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_value; frame_dbcb99fa65840d6d516acb27bfdc2c99->m_frame.f_lineno = 829; { PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_4 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 829; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_4; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_5 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_5 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; exception_lineno = 829; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_6 = tmp_for_loop_1__iter_value; { PyObject *old = var_val; var_val = tmp_assign_source_6; Py_INCREF( var_val ); Py_XDECREF( old ); } } { // Tried code: { // Tried code: { PyObject *tmp_assign_source_7; PyObject *tmp_iter_arg_2; PyObject *tmp_called_instance_1; CHECK_OBJECT( var_val ); tmp_called_instance_1 = var_val; frame_dbcb99fa65840d6d516acb27bfdc2c99->m_frame.f_lineno = 831; tmp_iter_arg_2 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_59_int_pos_1_tuple, 0 ) ); if ( tmp_iter_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 831; type_description_1 = "ooooooooo"; goto try_except_handler_4; } tmp_assign_source_7 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 831; type_description_1 = "ooooooooo"; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_7; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_8; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_8 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_8 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooo"; exception_lineno = 831; goto try_except_handler_5; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_8; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_9; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_9 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_9 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooo"; exception_lineno = 831; goto try_except_handler_5; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_9; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; exception_lineno = 831; 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 = "ooooooooo"; exception_lineno = 831; 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_10; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_10 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_url; var_url = tmp_assign_source_10; Py_INCREF( var_url ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_11; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_11 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_params; var_params = tmp_assign_source_11; Py_INCREF( var_params ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } 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; { // 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_dbcb99fa65840d6d516acb27bfdc2c99, exception_keeper_lineno_3 ); } else if ( exception_keeper_lineno_3 != 0 ) { exception_keeper_tb_3 = ADD_TRACEBACK( exception_keeper_tb_3, frame_dbcb99fa65840d6d516acb27bfdc2c99, 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_ValueError; 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 = 832; type_description_1 = "ooooooooo"; goto try_except_handler_6; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { // Tried code: { PyObject *tmp_assign_source_12; PyObject *tmp_iter_arg_3; PyObject *tmp_tuple_element_1; if ( var_val == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "val" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 833; type_description_1 = "ooooooooo"; goto try_except_handler_7; } tmp_tuple_element_1 = var_val; tmp_iter_arg_3 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_iter_arg_3, 0, tmp_tuple_element_1 ); tmp_tuple_element_1 = const_str_empty; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_iter_arg_3, 1, tmp_tuple_element_1 ); tmp_assign_source_12 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_3 ); Py_DECREF( tmp_iter_arg_3 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 833; type_description_1 = "ooooooooo"; goto try_except_handler_7; } { PyObject *old = tmp_tuple_unpack_2__source_iter; tmp_tuple_unpack_2__source_iter = tmp_assign_source_12; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_13; PyObject *tmp_unpack_3; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_3 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_13 = UNPACK_NEXT( tmp_unpack_3, 0, 2 ); if ( tmp_assign_source_13 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooo"; exception_lineno = 833; goto try_except_handler_8; } { PyObject *old = tmp_tuple_unpack_2__element_1; tmp_tuple_unpack_2__element_1 = tmp_assign_source_13; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_14; PyObject *tmp_unpack_4; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_14 = UNPACK_NEXT( tmp_unpack_4, 1, 2 ); if ( tmp_assign_source_14 == 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 = "ooooooooo"; exception_lineno = 833; goto try_except_handler_8; } { PyObject *old = tmp_tuple_unpack_2__element_2; tmp_tuple_unpack_2__element_2 = tmp_assign_source_14; Py_XDECREF( old ); } } goto try_end_4; // Exception handler code: try_except_handler_8:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto try_except_handler_7; } // End of try: try_end_4:; } goto try_end_5; // 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_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_6; } // End of try: try_end_5:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { PyObject *tmp_assign_source_15; CHECK_OBJECT( tmp_tuple_unpack_2__element_1 ); tmp_assign_source_15 = tmp_tuple_unpack_2__element_1; { PyObject *old = var_url; var_url = tmp_assign_source_15; Py_INCREF( var_url ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { PyObject *tmp_assign_source_16; CHECK_OBJECT( tmp_tuple_unpack_2__element_2 ); tmp_assign_source_16 = tmp_tuple_unpack_2__element_2; { PyObject *old = var_params; var_params = tmp_assign_source_16; Py_INCREF( var_params ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } goto branch_end_2; branch_no_2:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 830; } if (exception_tb && exception_tb->tb_frame == &frame_dbcb99fa65840d6d516acb27bfdc2c99->m_frame) frame_dbcb99fa65840d6d516acb27bfdc2c99->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooooooo"; goto try_except_handler_6; } branch_end_2:; } 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 try_except_handler_2; } // 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_3; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_33_parse_header_links ); return NULL; // End of try: try_end_3:; } { PyObject *tmp_assign_source_17; PyObject *tmp_dict_key_1; PyObject *tmp_dict_value_1; PyObject *tmp_called_instance_2; tmp_dict_key_1 = const_str_plain_url; if ( var_url == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "url" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 835; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_called_instance_2 = var_url; frame_dbcb99fa65840d6d516acb27bfdc2c99->m_frame.f_lineno = 835; tmp_dict_value_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_strip, &PyTuple_GET_ITEM( const_tuple_str_digest_3e84da5544c66431c97869ce316fd886_tuple, 0 ) ); if ( tmp_dict_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 835; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_assign_source_17 = _PyDict_NewPresized( 1 ); tmp_res = PyDict_SetItem( tmp_assign_source_17, tmp_dict_key_1, tmp_dict_value_1 ); Py_DECREF( tmp_dict_value_1 ); assert( !(tmp_res != 0) ); { PyObject *old = var_link; var_link = tmp_assign_source_17; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_18; PyObject *tmp_iter_arg_4; PyObject *tmp_called_instance_3; if ( var_params == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "params" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 837; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_called_instance_3 = var_params; frame_dbcb99fa65840d6d516acb27bfdc2c99->m_frame.f_lineno = 837; tmp_iter_arg_4 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_59_tuple, 0 ) ); if ( tmp_iter_arg_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 837; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_assign_source_18 = MAKE_ITERATOR( tmp_iter_arg_4 ); Py_DECREF( tmp_iter_arg_4 ); if ( tmp_assign_source_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 837; type_description_1 = "ooooooooo"; goto try_except_handler_2; } { PyObject *old = tmp_for_loop_2__for_iterator; tmp_for_loop_2__for_iterator = tmp_assign_source_18; Py_XDECREF( old ); } } { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_19; CHECK_OBJECT( tmp_for_loop_2__for_iterator ); tmp_next_source_2 = tmp_for_loop_2__for_iterator; tmp_assign_source_19 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_19 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_2; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; exception_lineno = 837; goto try_except_handler_9; } } { PyObject *old = tmp_for_loop_2__iter_value; tmp_for_loop_2__iter_value = tmp_assign_source_19; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_20; CHECK_OBJECT( tmp_for_loop_2__iter_value ); tmp_assign_source_20 = tmp_for_loop_2__iter_value; { PyObject *old = var_param; var_param = tmp_assign_source_20; Py_INCREF( var_param ); Py_XDECREF( old ); } } { // Tried code: { // Tried code: { PyObject *tmp_assign_source_21; PyObject *tmp_iter_arg_5; PyObject *tmp_called_instance_4; CHECK_OBJECT( var_param ); tmp_called_instance_4 = var_param; frame_dbcb99fa65840d6d516acb27bfdc2c99->m_frame.f_lineno = 839; tmp_iter_arg_5 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_61_tuple, 0 ) ); if ( tmp_iter_arg_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 839; type_description_1 = "ooooooooo"; goto try_except_handler_11; } tmp_assign_source_21 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_5 ); Py_DECREF( tmp_iter_arg_5 ); if ( tmp_assign_source_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 839; type_description_1 = "ooooooooo"; goto try_except_handler_11; } { PyObject *old = tmp_tuple_unpack_3__source_iter; tmp_tuple_unpack_3__source_iter = tmp_assign_source_21; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_22; PyObject *tmp_unpack_5; CHECK_OBJECT( tmp_tuple_unpack_3__source_iter ); tmp_unpack_5 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_22 = UNPACK_NEXT( tmp_unpack_5, 0, 2 ); if ( tmp_assign_source_22 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooo"; exception_lineno = 839; goto try_except_handler_12; } { PyObject *old = tmp_tuple_unpack_3__element_1; tmp_tuple_unpack_3__element_1 = tmp_assign_source_22; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_23; PyObject *tmp_unpack_6; CHECK_OBJECT( tmp_tuple_unpack_3__source_iter ); tmp_unpack_6 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_23 = UNPACK_NEXT( tmp_unpack_6, 1, 2 ); if ( tmp_assign_source_23 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooo"; exception_lineno = 839; goto try_except_handler_12; } { PyObject *old = tmp_tuple_unpack_3__element_2; tmp_tuple_unpack_3__element_2 = tmp_assign_source_23; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_2; CHECK_OBJECT( tmp_tuple_unpack_3__source_iter ); tmp_iterator_name_2 = tmp_tuple_unpack_3__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_2 ); assert( HAS_ITERNEXT( tmp_iterator_name_2 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_2 )->tp_iternext)( tmp_iterator_name_2 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; exception_lineno = 839; goto try_except_handler_12; } } } else { Py_DECREF( tmp_iterator_attempt ); // TODO: Could avoid PyErr_Format. #if PYTHON_VERSION < 300 PyErr_Format( PyExc_ValueError, "too many values to unpack" ); #else PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; exception_lineno = 839; goto try_except_handler_12; } } goto try_end_7; // Exception handler code: try_except_handler_12:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_3__source_iter ); Py_DECREF( tmp_tuple_unpack_3__source_iter ); tmp_tuple_unpack_3__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto try_except_handler_11; } // End of try: try_end_7:; } goto try_end_8; // Exception handler code: try_except_handler_11:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_3__element_1 ); tmp_tuple_unpack_3__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_3__element_2 ); tmp_tuple_unpack_3__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto try_except_handler_10; } // End of try: try_end_8:; } goto try_end_9; // 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; { // 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_dbcb99fa65840d6d516acb27bfdc2c99, exception_keeper_lineno_9 ); } else if ( exception_keeper_lineno_9 != 0 ) { exception_keeper_tb_9 = ADD_TRACEBACK( exception_keeper_tb_9, frame_dbcb99fa65840d6d516acb27bfdc2c99, 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_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_2 = PyExc_ValueError; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 840; type_description_1 = "ooooooooo"; goto try_except_handler_13; } 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 try_break_handler_13; } goto branch_end_3; branch_no_3:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 838; } if (exception_tb && exception_tb->tb_frame == &frame_dbcb99fa65840d6d516acb27bfdc2c99->m_frame) frame_dbcb99fa65840d6d516acb27bfdc2c99->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooooooo"; goto try_except_handler_13; } branch_end_3:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_33_parse_header_links ); return NULL; // Exception handler code: try_except_handler_13:; 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 try_except_handler_9; } // try break handler code: try_break_handler_13:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 ); } { goto loop_end_2; } // End of try: } // End of try: try_end_9:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_3__source_iter ); Py_DECREF( tmp_tuple_unpack_3__source_iter ); tmp_tuple_unpack_3__source_iter = NULL; } { PyObject *tmp_assign_source_24; CHECK_OBJECT( tmp_tuple_unpack_3__element_1 ); tmp_assign_source_24 = tmp_tuple_unpack_3__element_1; { PyObject *old = var_key; var_key = tmp_assign_source_24; Py_INCREF( var_key ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_3__element_1 ); tmp_tuple_unpack_3__element_1 = NULL; } { PyObject *tmp_assign_source_25; CHECK_OBJECT( tmp_tuple_unpack_3__element_2 ); tmp_assign_source_25 = tmp_tuple_unpack_3__element_2; { PyObject *old = par_value; par_value = tmp_assign_source_25; Py_INCREF( par_value ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_3__element_2 ); tmp_tuple_unpack_3__element_2 = NULL; } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; PyObject *tmp_called_name_4; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_5; if ( par_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 843; type_description_1 = "ooooooooo"; goto try_except_handler_9; } tmp_source_name_3 = par_value; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_strip ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 843; type_description_1 = "ooooooooo"; goto try_except_handler_9; } if ( var_replace_chars == 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", "replace_chars" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 843; type_description_1 = "ooooooooo"; goto try_except_handler_9; } tmp_args_element_name_4 = var_replace_chars; frame_dbcb99fa65840d6d516acb27bfdc2c99->m_frame.f_lineno = 843; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_ass_subvalue_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_ass_subvalue_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 843; type_description_1 = "ooooooooo"; goto try_except_handler_9; } if ( var_link == NULL ) { Py_DECREF( tmp_ass_subvalue_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "link" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 843; type_description_1 = "ooooooooo"; goto try_except_handler_9; } tmp_ass_subscribed_1 = var_link; if ( var_key == NULL ) { Py_DECREF( tmp_ass_subvalue_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 = 843; type_description_1 = "ooooooooo"; goto try_except_handler_9; } tmp_source_name_4 = var_key; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_strip ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_ass_subvalue_1 ); exception_lineno = 843; type_description_1 = "ooooooooo"; goto try_except_handler_9; } if ( var_replace_chars == NULL ) { Py_DECREF( tmp_ass_subvalue_1 ); Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "replace_chars" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 843; type_description_1 = "ooooooooo"; goto try_except_handler_9; } tmp_args_element_name_5 = var_replace_chars; frame_dbcb99fa65840d6d516acb27bfdc2c99->m_frame.f_lineno = 843; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_ass_subscript_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_ass_subscript_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_ass_subvalue_1 ); exception_lineno = 843; type_description_1 = "ooooooooo"; goto try_except_handler_9; } tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subscript_1 ); Py_DECREF( tmp_ass_subvalue_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 843; type_description_1 = "ooooooooo"; goto try_except_handler_9; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 837; type_description_1 = "ooooooooo"; goto try_except_handler_9; } goto loop_start_2; loop_end_2:; } goto try_end_10; // Exception handler code: try_except_handler_9:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_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_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto try_except_handler_2; } // End of try: try_end_10:; } { Py_XDECREF( tmp_for_loop_2__iter_value ); tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator ); Py_DECREF( tmp_for_loop_2__for_iterator ); tmp_for_loop_2__for_iterator = NULL; } { PyObject *tmp_called_name_5; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_6; if ( var_links == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "links" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 845; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_source_name_5 = var_links; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_append ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 845; type_description_1 = "ooooooooo"; goto try_except_handler_2; } if ( var_link == 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", "link" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 845; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_args_element_name_6 = var_link; frame_dbcb99fa65840d6d516acb27bfdc2c99->m_frame.f_lineno = 845; { 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 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 845; type_description_1 = "ooooooooo"; 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 = 829; type_description_1 = "ooooooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_11; // Exception handler code: try_except_handler_2:; exception_keeper_type_12 = exception_type; exception_keeper_value_12 = exception_value; exception_keeper_tb_12 = exception_tb; exception_keeper_lineno_12 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_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_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto frame_exception_exit_1; } // End of try: try_end_11:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { if ( var_links == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "links" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 847; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_links; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_dbcb99fa65840d6d516acb27bfdc2c99 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dbcb99fa65840d6d516acb27bfdc2c99 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_dbcb99fa65840d6d516acb27bfdc2c99 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_dbcb99fa65840d6d516acb27bfdc2c99, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_dbcb99fa65840d6d516acb27bfdc2c99->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_dbcb99fa65840d6d516acb27bfdc2c99, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_dbcb99fa65840d6d516acb27bfdc2c99, type_description_1, par_value, var_links, var_replace_chars, var_val, var_url, var_params, var_link, var_param, var_key ); // Release cached frame. if ( frame_dbcb99fa65840d6d516acb27bfdc2c99 == cache_frame_dbcb99fa65840d6d516acb27bfdc2c99 ) { Py_DECREF( frame_dbcb99fa65840d6d516acb27bfdc2c99 ); } cache_frame_dbcb99fa65840d6d516acb27bfdc2c99 = NULL; assertFrameObject( frame_dbcb99fa65840d6d516acb27bfdc2c99 ); // 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( requests$utils$$$function_33_parse_header_links ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_value ); par_value = NULL; } { Py_XDECREF( var_links ); var_links = NULL; } { Py_XDECREF( var_replace_chars ); var_replace_chars = NULL; } { Py_XDECREF( var_val ); var_val = NULL; } { Py_XDECREF( var_url ); var_url = NULL; } { Py_XDECREF( var_params ); var_params = NULL; } { Py_XDECREF( var_link ); var_link = NULL; } { Py_XDECREF( var_param ); var_param = NULL; } { Py_XDECREF( var_key ); var_key = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_13 = exception_type; exception_keeper_value_13 = exception_value; exception_keeper_tb_13 = exception_tb; exception_keeper_lineno_13 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_value ); par_value = NULL; } { Py_XDECREF( var_links ); var_links = NULL; } { Py_XDECREF( var_replace_chars ); var_replace_chars = NULL; } { Py_XDECREF( var_val ); var_val = NULL; } { Py_XDECREF( var_url ); var_url = NULL; } { Py_XDECREF( var_params ); var_params = NULL; } { Py_XDECREF( var_link ); var_link = NULL; } { Py_XDECREF( var_param ); var_param = NULL; } { Py_XDECREF( var_key ); var_key = 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 function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$utils$$$function_33_parse_header_links ); 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_requests$utils$$$function_34_guess_json_utf( 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_data = python_pars[ 0 ]; PyObject *var_sample = NULL; PyObject *var_nullcount = NULL; struct Nuitka_FrameObject *frame_9c93abfe35287ddc7972cfc2670852ca; 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_9c93abfe35287ddc7972cfc2670852ca = 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_9c93abfe35287ddc7972cfc2670852ca, codeobj_9c93abfe35287ddc7972cfc2670852ca, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_9c93abfe35287ddc7972cfc2670852ca = cache_frame_9c93abfe35287ddc7972cfc2670852ca; // Push the new frame as the currently active one. pushFrameStack( frame_9c93abfe35287ddc7972cfc2670852ca ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_9c93abfe35287ddc7972cfc2670852ca ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( par_data ); tmp_subscribed_name_1 = par_data; tmp_subscript_name_1 = const_slice_none_int_pos_4_none; tmp_assign_source_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 863; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_sample == NULL ); var_sample = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; CHECK_OBJECT( var_sample ); tmp_compexpr_left_1 = var_sample; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (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 = 864; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_BOM_UTF32_LE ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 864; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_compexpr_right_1, 0, tmp_tuple_element_1 ); tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (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_compexpr_right_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 = 864; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_BOM_UTF32_BE ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_right_1 ); exception_lineno = 864; type_description_1 = "ooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_compexpr_right_1, 1, tmp_tuple_element_1 ); tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 864; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_return_value = const_str_digest_dcefe0e55549f5b76ec8dce27f80c3f5; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_3; if ( var_sample == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sample" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 866; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = var_sample; tmp_subscript_name_2 = const_slice_none_int_pos_3_none; tmp_compexpr_left_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 866; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (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_compexpr_left_2 ); 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 = 866; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_3; tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_BOM_UTF8 ); 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 = 866; type_description_1 = "ooo"; 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 = 866; 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:; { tmp_return_value = const_str_digest_b92226bee77e9ca773ad5eaea1d64ab0; 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_subscribed_name_3; PyObject *tmp_subscript_name_3; PyObject *tmp_tuple_element_2; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_4; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_5; if ( var_sample == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sample" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 868; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscribed_name_3 = var_sample; tmp_subscript_name_3 = const_slice_none_int_pos_2_none; tmp_compexpr_left_3 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 868; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (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_compexpr_left_3 ); 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 = 868; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_4; tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_BOM_UTF16_LE ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_3 ); exception_lineno = 868; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_3 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_compexpr_right_3, 0, tmp_tuple_element_2 ); tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (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_compexpr_left_3 ); Py_DECREF( tmp_compexpr_right_3 ); 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 = 868; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_5; tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_BOM_UTF16_BE ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_3 ); Py_DECREF( tmp_compexpr_right_3 ); exception_lineno = 868; type_description_1 = "ooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_compexpr_right_3, 1, tmp_tuple_element_2 ); tmp_res = PySequence_Contains( tmp_compexpr_right_3, tmp_compexpr_left_3 ); Py_DECREF( tmp_compexpr_left_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 868; type_description_1 = "ooo"; 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:; { tmp_return_value = const_str_digest_913ae8f3439742e034c09e3f599385fd; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_3:; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_6; PyObject *tmp_args_element_name_1; PyObject *tmp_mvar_value_6; if ( var_sample == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sample" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 870; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_6 = var_sample; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_count ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 870; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__null ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__null ); } if ( tmp_mvar_value_6 == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_null" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 870; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = tmp_mvar_value_6; frame_9c93abfe35287ddc7972cfc2670852ca->m_frame.f_lineno = 870; { 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 = 870; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_nullcount == NULL ); var_nullcount = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; CHECK_OBJECT( var_nullcount ); tmp_compexpr_left_4 = var_nullcount; tmp_compexpr_right_4 = const_int_0; 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 = 871; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { tmp_return_value = const_str_digest_c075052d723d6707083e869a0e3659bb; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_4:; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; if ( var_nullcount == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "nullcount" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 873; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_left_5 = var_nullcount; tmp_compexpr_right_5 = const_int_pos_2; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_5, tmp_compexpr_right_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 873; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; PyObject *tmp_mvar_value_7; if ( var_sample == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sample" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 874; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscribed_name_4 = var_sample; tmp_subscript_name_4 = const_slice_none_none_int_pos_2; tmp_compexpr_left_6 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_4, tmp_subscript_name_4 ); if ( tmp_compexpr_left_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 874; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__null2 ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__null2 ); } if ( tmp_mvar_value_7 == NULL ) { Py_DECREF( tmp_compexpr_left_6 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_null2" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 874; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_6 = tmp_mvar_value_7; 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 = 874; type_description_1 = "ooo"; 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:; { tmp_return_value = const_str_digest_b737658f4b2da5ff2ae42c0fba5b6033; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_6:; } { nuitka_bool tmp_condition_result_7; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; PyObject *tmp_subscribed_name_5; PyObject *tmp_subscript_name_5; PyObject *tmp_mvar_value_8; if ( var_sample == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sample" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 876; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscribed_name_5 = var_sample; tmp_subscript_name_5 = const_slice_int_pos_1_none_int_pos_2; tmp_compexpr_left_7 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_5, tmp_subscript_name_5 ); if ( tmp_compexpr_left_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 876; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__null2 ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__null2 ); } if ( tmp_mvar_value_8 == NULL ) { Py_DECREF( tmp_compexpr_left_7 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_null2" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 876; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_7 = tmp_mvar_value_8; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_7, tmp_compexpr_right_7 ); Py_DECREF( tmp_compexpr_left_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 876; type_description_1 = "ooo"; 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:; { tmp_return_value = const_str_digest_a166d0e20cf23102cf939cef62c22331; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_7:; } branch_no_5:; } { nuitka_bool tmp_condition_result_8; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; if ( var_nullcount == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "nullcount" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 879; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_left_8 = var_nullcount; tmp_compexpr_right_8 = const_int_pos_3; tmp_res = RICH_COMPARE_BOOL_EQ( 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 = 879; type_description_1 = "ooo"; 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:; { nuitka_bool tmp_condition_result_9; PyObject *tmp_compexpr_left_9; PyObject *tmp_compexpr_right_9; PyObject *tmp_subscribed_name_6; PyObject *tmp_subscript_name_6; PyObject *tmp_mvar_value_9; if ( var_sample == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sample" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 880; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscribed_name_6 = var_sample; tmp_subscript_name_6 = const_slice_none_int_pos_3_none; tmp_compexpr_left_9 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_6, tmp_subscript_name_6 ); if ( tmp_compexpr_left_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 880; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__null3 ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__null3 ); } if ( tmp_mvar_value_9 == NULL ) { Py_DECREF( tmp_compexpr_left_9 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_null3" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 880; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_9 = tmp_mvar_value_9; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_9, tmp_compexpr_right_9 ); Py_DECREF( tmp_compexpr_left_9 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 880; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_9 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { tmp_return_value = const_str_digest_fe2123f8a6a4c2d83daf45621dede669; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_9:; } { nuitka_bool tmp_condition_result_10; PyObject *tmp_compexpr_left_10; PyObject *tmp_compexpr_right_10; PyObject *tmp_subscribed_name_7; PyObject *tmp_subscript_name_7; PyObject *tmp_mvar_value_10; if ( var_sample == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sample" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 882; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscribed_name_7 = var_sample; tmp_subscript_name_7 = const_slice_int_pos_1_none_none; tmp_compexpr_left_10 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_7, tmp_subscript_name_7 ); if ( tmp_compexpr_left_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 882; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__null3 ); if (unlikely( tmp_mvar_value_10 == NULL )) { tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__null3 ); } if ( tmp_mvar_value_10 == NULL ) { Py_DECREF( tmp_compexpr_left_10 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_null3" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 882; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_10 = tmp_mvar_value_10; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_10, tmp_compexpr_right_10 ); Py_DECREF( tmp_compexpr_left_10 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 882; type_description_1 = "ooo"; 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:; { tmp_return_value = const_str_digest_ffd4deba90c7d9d72e05095729245504; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_10:; } branch_no_8:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_9c93abfe35287ddc7972cfc2670852ca ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9c93abfe35287ddc7972cfc2670852ca ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9c93abfe35287ddc7972cfc2670852ca ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_9c93abfe35287ddc7972cfc2670852ca, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_9c93abfe35287ddc7972cfc2670852ca->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_9c93abfe35287ddc7972cfc2670852ca, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_9c93abfe35287ddc7972cfc2670852ca, type_description_1, par_data, var_sample, var_nullcount ); // Release cached frame. if ( frame_9c93abfe35287ddc7972cfc2670852ca == cache_frame_9c93abfe35287ddc7972cfc2670852ca ) { Py_DECREF( frame_9c93abfe35287ddc7972cfc2670852ca ); } cache_frame_9c93abfe35287ddc7972cfc2670852ca = NULL; assertFrameObject( frame_9c93abfe35287ddc7972cfc2670852ca ); // 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( requests$utils$$$function_34_guess_json_utf ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( var_sample ); var_sample = NULL; } { Py_XDECREF( var_nullcount ); var_nullcount = 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_data ); par_data = NULL; } { Py_XDECREF( var_sample ); var_sample = NULL; } { Py_XDECREF( var_nullcount ); var_nullcount = 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( requests$utils$$$function_34_guess_json_utf ); 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_requests$utils$$$function_35_prepend_scheme_if_needed( 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_url = python_pars[ 0 ]; PyObject *par_new_scheme = python_pars[ 1 ]; PyObject *var_scheme = NULL; PyObject *var_netloc = NULL; PyObject *var_path = NULL; PyObject *var_params = NULL; PyObject *var_query = NULL; PyObject *var_fragment = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__element_3 = NULL; PyObject *tmp_tuple_unpack_1__element_4 = NULL; PyObject *tmp_tuple_unpack_1__element_5 = NULL; PyObject *tmp_tuple_unpack_1__element_6 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; struct Nuitka_FrameObject *frame_08e4ee68aaf1f860367ee53ebf5f0d1a; 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; int tmp_res; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_08e4ee68aaf1f860367ee53ebf5f0d1a = 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_08e4ee68aaf1f860367ee53ebf5f0d1a, codeobj_08e4ee68aaf1f860367ee53ebf5f0d1a, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_08e4ee68aaf1f860367ee53ebf5f0d1a = cache_frame_08e4ee68aaf1f860367ee53ebf5f0d1a; // Push the new frame as the currently active one. pushFrameStack( frame_08e4ee68aaf1f860367ee53ebf5f0d1a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_08e4ee68aaf1f860367ee53ebf5f0d1a ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_urlparse ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_urlparse ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "urlparse" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 894; type_description_1 = "oooooooo"; goto try_except_handler_2; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_url ); tmp_args_element_name_1 = par_url; CHECK_OBJECT( par_new_scheme ); tmp_args_element_name_2 = par_new_scheme; frame_08e4ee68aaf1f860367ee53ebf5f0d1a->m_frame.f_lineno = 894; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 894; type_description_1 = "oooooooo"; 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 = 894; type_description_1 = "oooooooo"; 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, 6 ); 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 = "oooooooo"; exception_lineno = 894; 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, 6 ); 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 = "oooooooo"; exception_lineno = 894; 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_assign_source_4; PyObject *tmp_unpack_3; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_3 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_3, 2, 6 ); 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 = "oooooooo"; exception_lineno = 894; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_3 == NULL ); tmp_tuple_unpack_1__element_3 = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_unpack_4; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_4 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_5 = UNPACK_NEXT( tmp_unpack_4, 3, 6 ); if ( tmp_assign_source_5 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooo"; exception_lineno = 894; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_4 == NULL ); tmp_tuple_unpack_1__element_4 = tmp_assign_source_5; } { PyObject *tmp_assign_source_6; PyObject *tmp_unpack_5; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_5 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_6 = UNPACK_NEXT( tmp_unpack_5, 4, 6 ); 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 = "oooooooo"; exception_lineno = 894; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_5 == NULL ); tmp_tuple_unpack_1__element_5 = tmp_assign_source_6; } { PyObject *tmp_assign_source_7; PyObject *tmp_unpack_6; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_6 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_7 = UNPACK_NEXT( tmp_unpack_6, 5, 6 ); if ( tmp_assign_source_7 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooo"; exception_lineno = 894; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_6 == NULL ); tmp_tuple_unpack_1__element_6 = tmp_assign_source_7; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooo"; exception_lineno = 894; 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 6)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooooo"; exception_lineno = 894; 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; } { Py_XDECREF( tmp_tuple_unpack_1__element_3 ); tmp_tuple_unpack_1__element_3 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_4 ); tmp_tuple_unpack_1__element_4 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_5 ); tmp_tuple_unpack_1__element_5 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_6 ); tmp_tuple_unpack_1__element_6 = 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_8; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_8 = tmp_tuple_unpack_1__element_1; assert( var_scheme == NULL ); Py_INCREF( tmp_assign_source_8 ); var_scheme = tmp_assign_source_8; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_9 = tmp_tuple_unpack_1__element_2; assert( var_netloc == NULL ); Py_INCREF( tmp_assign_source_9 ); var_netloc = tmp_assign_source_9; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_assign_source_10; CHECK_OBJECT( tmp_tuple_unpack_1__element_3 ); tmp_assign_source_10 = tmp_tuple_unpack_1__element_3; assert( var_path == NULL ); Py_INCREF( tmp_assign_source_10 ); var_path = tmp_assign_source_10; } { Py_XDECREF( tmp_tuple_unpack_1__element_3 ); tmp_tuple_unpack_1__element_3 = NULL; } { PyObject *tmp_assign_source_11; CHECK_OBJECT( tmp_tuple_unpack_1__element_4 ); tmp_assign_source_11 = tmp_tuple_unpack_1__element_4; assert( var_params == NULL ); Py_INCREF( tmp_assign_source_11 ); var_params = tmp_assign_source_11; } { Py_XDECREF( tmp_tuple_unpack_1__element_4 ); tmp_tuple_unpack_1__element_4 = NULL; } { PyObject *tmp_assign_source_12; CHECK_OBJECT( tmp_tuple_unpack_1__element_5 ); tmp_assign_source_12 = tmp_tuple_unpack_1__element_5; assert( var_query == NULL ); Py_INCREF( tmp_assign_source_12 ); var_query = tmp_assign_source_12; } { Py_XDECREF( tmp_tuple_unpack_1__element_5 ); tmp_tuple_unpack_1__element_5 = NULL; } { PyObject *tmp_assign_source_13; CHECK_OBJECT( tmp_tuple_unpack_1__element_6 ); tmp_assign_source_13 = tmp_tuple_unpack_1__element_6; assert( var_fragment == NULL ); Py_INCREF( tmp_assign_source_13 ); var_fragment = tmp_assign_source_13; } { Py_XDECREF( tmp_tuple_unpack_1__element_6 ); tmp_tuple_unpack_1__element_6 = NULL; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; if ( var_netloc == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "netloc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 899; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = var_netloc; 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 = 899; 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:; { // Tried code: { PyObject *tmp_assign_source_14; PyObject *tmp_iter_arg_2; PyObject *tmp_tuple_element_1; if ( var_path == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "path" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 900; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_tuple_element_1 = var_path; tmp_iter_arg_2 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_iter_arg_2, 0, tmp_tuple_element_1 ); if ( var_netloc == NULL ) { Py_DECREF( tmp_iter_arg_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "netloc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 900; type_description_1 = "oooooooo"; goto try_except_handler_4; } tmp_tuple_element_1 = var_netloc; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_iter_arg_2, 1, tmp_tuple_element_1 ); tmp_assign_source_14 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 900; type_description_1 = "oooooooo"; goto try_except_handler_4; } assert( tmp_tuple_unpack_2__source_iter == NULL ); tmp_tuple_unpack_2__source_iter = tmp_assign_source_14; } { // Tried code: { PyObject *tmp_assign_source_15; PyObject *tmp_unpack_7; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_7 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_15 = UNPACK_NEXT( tmp_unpack_7, 0, 2 ); if ( tmp_assign_source_15 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooo"; exception_lineno = 900; goto try_except_handler_5; } assert( tmp_tuple_unpack_2__element_1 == NULL ); tmp_tuple_unpack_2__element_1 = tmp_assign_source_15; } { PyObject *tmp_assign_source_16; PyObject *tmp_unpack_8; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_8 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_16 = UNPACK_NEXT( tmp_unpack_8, 1, 2 ); if ( tmp_assign_source_16 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "oooooooo"; exception_lineno = 900; goto try_except_handler_5; } assert( tmp_tuple_unpack_2__element_2 == NULL ); tmp_tuple_unpack_2__element_2 = tmp_assign_source_16; } 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_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_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; { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = 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_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { PyObject *tmp_assign_source_17; CHECK_OBJECT( tmp_tuple_unpack_2__element_1 ); tmp_assign_source_17 = tmp_tuple_unpack_2__element_1; { PyObject *old = var_netloc; var_netloc = tmp_assign_source_17; Py_INCREF( var_netloc ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { PyObject *tmp_assign_source_18; CHECK_OBJECT( tmp_tuple_unpack_2__element_2 ); tmp_assign_source_18 = tmp_tuple_unpack_2__element_2; { PyObject *old = var_path; var_path = tmp_assign_source_18; Py_INCREF( var_path ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } branch_no_1:; } { PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_3; PyObject *tmp_tuple_element_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_urlunparse ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_urlunparse ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "urlunparse" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 902; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_2; if ( var_scheme == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "scheme" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 902; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_scheme; tmp_args_element_name_3 = PyTuple_New( 6 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_element_name_3, 0, tmp_tuple_element_2 ); if ( var_netloc == NULL ) { 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", "netloc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 902; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_netloc; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_element_name_3, 1, tmp_tuple_element_2 ); if ( var_path == NULL ) { 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", "path" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 902; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_path; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_element_name_3, 2, tmp_tuple_element_2 ); if ( var_params == NULL ) { 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", "params" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 902; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_params; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_element_name_3, 3, tmp_tuple_element_2 ); if ( var_query == NULL ) { 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", "query" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 902; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_query; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_element_name_3, 4, tmp_tuple_element_2 ); if ( var_fragment == NULL ) { 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", "fragment" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 902; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_fragment; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_element_name_3, 5, tmp_tuple_element_2 ); frame_08e4ee68aaf1f860367ee53ebf5f0d1a->m_frame.f_lineno = 902; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_args_element_name_3 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 902; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_08e4ee68aaf1f860367ee53ebf5f0d1a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_08e4ee68aaf1f860367ee53ebf5f0d1a ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_08e4ee68aaf1f860367ee53ebf5f0d1a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_08e4ee68aaf1f860367ee53ebf5f0d1a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_08e4ee68aaf1f860367ee53ebf5f0d1a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_08e4ee68aaf1f860367ee53ebf5f0d1a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_08e4ee68aaf1f860367ee53ebf5f0d1a, type_description_1, par_url, par_new_scheme, var_scheme, var_netloc, var_path, var_params, var_query, var_fragment ); // Release cached frame. if ( frame_08e4ee68aaf1f860367ee53ebf5f0d1a == cache_frame_08e4ee68aaf1f860367ee53ebf5f0d1a ) { Py_DECREF( frame_08e4ee68aaf1f860367ee53ebf5f0d1a ); } cache_frame_08e4ee68aaf1f860367ee53ebf5f0d1a = NULL; assertFrameObject( frame_08e4ee68aaf1f860367ee53ebf5f0d1a ); // 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( requests$utils$$$function_35_prepend_scheme_if_needed ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_url ); par_url = NULL; } { Py_XDECREF( par_new_scheme ); par_new_scheme = NULL; } { Py_XDECREF( var_scheme ); var_scheme = NULL; } { Py_XDECREF( var_netloc ); var_netloc = NULL; } { Py_XDECREF( var_path ); var_path = NULL; } { Py_XDECREF( var_params ); var_params = NULL; } { Py_XDECREF( var_query ); var_query = NULL; } { Py_XDECREF( var_fragment ); var_fragment = 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_url ); par_url = NULL; } { Py_XDECREF( par_new_scheme ); par_new_scheme = NULL; } { Py_XDECREF( var_scheme ); var_scheme = NULL; } { Py_XDECREF( var_netloc ); var_netloc = NULL; } { Py_XDECREF( var_path ); var_path = NULL; } { Py_XDECREF( var_params ); var_params = NULL; } { Py_XDECREF( var_query ); var_query = NULL; } { Py_XDECREF( var_fragment ); var_fragment = 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( requests$utils$$$function_35_prepend_scheme_if_needed ); 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_requests$utils$$$function_36_get_auth_from_url( 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_url = python_pars[ 0 ]; PyObject *var_parsed = NULL; PyObject *var_auth = NULL; struct Nuitka_FrameObject *frame_84ae7b14a8e86be45b8f3704278926e6; 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; 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 *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_84ae7b14a8e86be45b8f3704278926e6 = 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_84ae7b14a8e86be45b8f3704278926e6, codeobj_84ae7b14a8e86be45b8f3704278926e6, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_84ae7b14a8e86be45b8f3704278926e6 = cache_frame_84ae7b14a8e86be45b8f3704278926e6; // Push the new frame as the currently active one. pushFrameStack( frame_84ae7b14a8e86be45b8f3704278926e6 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_84ae7b14a8e86be45b8f3704278926e6 ) == 2 ); // Frame stack // Framed code: { 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_requests$utils, (Nuitka_StringObject *)const_str_plain_urlparse ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_urlparse ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "urlparse" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 911; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_url ); tmp_args_element_name_1 = par_url; frame_84ae7b14a8e86be45b8f3704278926e6->m_frame.f_lineno = 911; { 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 = 911; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_parsed == NULL ); var_parsed = tmp_assign_source_1; } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_tuple_element_1; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_1; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_3; PyObject *tmp_source_name_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_unquote ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_unquote ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "unquote" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 914; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_called_name_2 = tmp_mvar_value_2; CHECK_OBJECT( var_parsed ); tmp_source_name_1 = var_parsed; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_username ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 914; type_description_1 = "ooo"; goto try_except_handler_2; } frame_84ae7b14a8e86be45b8f3704278926e6->m_frame.f_lineno = 914; { 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_args_element_name_2 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 914; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_assign_source_2 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_assign_source_2, 0, tmp_tuple_element_1 ); tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_unquote ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_unquote ); } if ( tmp_mvar_value_3 == NULL ) { Py_DECREF( tmp_assign_source_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "unquote" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 914; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_called_name_3 = tmp_mvar_value_3; if ( var_parsed == NULL ) { Py_DECREF( tmp_assign_source_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parsed" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 914; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_2 = var_parsed; tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_password ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_2 ); exception_lineno = 914; type_description_1 = "ooo"; goto try_except_handler_2; } frame_84ae7b14a8e86be45b8f3704278926e6->m_frame.f_lineno = 914; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_args_element_name_3 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_2 ); exception_lineno = 914; type_description_1 = "ooo"; goto try_except_handler_2; } PyTuple_SET_ITEM( tmp_assign_source_2, 1, tmp_tuple_element_1 ); assert( var_auth == NULL ); var_auth = tmp_assign_source_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; { // 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_84ae7b14a8e86be45b8f3704278926e6, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_84ae7b14a8e86be45b8f3704278926e6, 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 = const_tuple_type_AttributeError_type_TypeError_tuple; 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 = 915; type_description_1 = "ooo"; 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_3; tmp_assign_source_3 = const_tuple_str_empty_str_empty_tuple; assert( var_auth == NULL ); Py_INCREF( tmp_assign_source_3 ); var_auth = tmp_assign_source_3; } goto branch_end_1; branch_no_1:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 913; } if (exception_tb && exception_tb->tb_frame == &frame_84ae7b14a8e86be45b8f3704278926e6->m_frame) frame_84ae7b14a8e86be45b8f3704278926e6->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooo"; goto try_except_handler_3; } branch_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; { // 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( requests$utils$$$function_36_get_auth_from_url ); return NULL; // End of try: try_end_1:; } { if ( var_auth == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "auth" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 918; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = var_auth; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_84ae7b14a8e86be45b8f3704278926e6 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_84ae7b14a8e86be45b8f3704278926e6 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_84ae7b14a8e86be45b8f3704278926e6 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_84ae7b14a8e86be45b8f3704278926e6, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_84ae7b14a8e86be45b8f3704278926e6->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_84ae7b14a8e86be45b8f3704278926e6, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_84ae7b14a8e86be45b8f3704278926e6, type_description_1, par_url, var_parsed, var_auth ); // Release cached frame. if ( frame_84ae7b14a8e86be45b8f3704278926e6 == cache_frame_84ae7b14a8e86be45b8f3704278926e6 ) { Py_DECREF( frame_84ae7b14a8e86be45b8f3704278926e6 ); } cache_frame_84ae7b14a8e86be45b8f3704278926e6 = NULL; assertFrameObject( frame_84ae7b14a8e86be45b8f3704278926e6 ); // 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( requests$utils$$$function_36_get_auth_from_url ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_url ); par_url = NULL; } { Py_XDECREF( var_parsed ); var_parsed = NULL; } { Py_XDECREF( var_auth ); var_auth = 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_url ); par_url = NULL; } { Py_XDECREF( var_parsed ); var_parsed = NULL; } { Py_XDECREF( var_auth ); var_auth = 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( requests$utils$$$function_36_get_auth_from_url ); 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_requests$utils$$$function_37_check_header_validity( 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_header = python_pars[ 0 ]; PyObject *var_name = NULL; PyObject *var_value = NULL; PyObject *var_pat = 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_d3540d366f40473eb6b5c7ac5c4f8c31; 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; int tmp_res; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; 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; static struct Nuitka_FrameObject *cache_frame_d3540d366f40473eb6b5c7ac5c4f8c31 = 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_d3540d366f40473eb6b5c7ac5c4f8c31, codeobj_d3540d366f40473eb6b5c7ac5c4f8c31, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_d3540d366f40473eb6b5c7ac5c4f8c31 = cache_frame_d3540d366f40473eb6b5c7ac5c4f8c31; // Push the new frame as the currently active one. pushFrameStack( frame_d3540d366f40473eb6b5c7ac5c4f8c31 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d3540d366f40473eb6b5c7ac5c4f8c31 ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; CHECK_OBJECT( par_header ); tmp_iter_arg_1 = par_header; tmp_assign_source_1 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 933; 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_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 = "oooo"; exception_lineno = 933; 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 = "oooo"; exception_lineno = 933; 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 = "oooo"; exception_lineno = 933; 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 = 933; 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_name == NULL ); Py_INCREF( tmp_assign_source_4 ); var_name = 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_value == NULL ); Py_INCREF( tmp_assign_source_5 ); var_value = tmp_assign_source_5; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; if ( var_value == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 935; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_inst_1 = var_value; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_bytes ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_bytes ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "bytes" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 935; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_isinstance_cls_1 = tmp_mvar_value_1; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 935; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_6; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__CLEAN_HEADER_REGEX_BYTE ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__CLEAN_HEADER_REGEX_BYTE ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_CLEAN_HEADER_REGEX_BYTE" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 936; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_6 = tmp_mvar_value_2; assert( var_pat == NULL ); Py_INCREF( tmp_assign_source_6 ); var_pat = tmp_assign_source_6; } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_7; PyObject *tmp_mvar_value_3; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__CLEAN_HEADER_REGEX_STR ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__CLEAN_HEADER_REGEX_STR ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_CLEAN_HEADER_REGEX_STR" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 938; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_7 = tmp_mvar_value_3; assert( var_pat == NULL ); Py_INCREF( tmp_assign_source_7 ); var_pat = tmp_assign_source_7; } branch_end_1:; } { // Tried code: { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; CHECK_OBJECT( var_pat ); tmp_source_name_1 = var_pat; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_match ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 940; type_description_1 = "oooo"; goto try_except_handler_4; } if ( var_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 = 940; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_args_element_name_1 = var_value; frame_d3540d366f40473eb6b5c7ac5c4f8c31->m_frame.f_lineno = 940; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_operand_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 940; type_description_1 = "oooo"; 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 = 940; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_1; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_InvalidHeader ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_InvalidHeader ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "InvalidHeader" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 941; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_called_name_2 = tmp_mvar_value_4; tmp_left_name_1 = const_str_digest_b0baaa3f659b994c4febe715eb88463a; if ( var_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 941; type_description_1 = "oooo"; goto try_except_handler_4; } tmp_right_name_1 = var_name; tmp_args_element_name_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 941; type_description_1 = "oooo"; goto try_except_handler_4; } frame_d3540d366f40473eb6b5c7ac5c4f8c31->m_frame.f_lineno = 941; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_args_element_name_2 ); if ( tmp_raise_type_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 941; type_description_1 = "oooo"; goto try_except_handler_4; } exception_type = tmp_raise_type_1; exception_lineno = 941; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto try_except_handler_4; } branch_no_2:; } goto try_end_3; // Exception handler code: try_except_handler_4:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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_d3540d366f40473eb6b5c7ac5c4f8c31, exception_keeper_lineno_3 ); } else if ( exception_keeper_lineno_3 != 0 ) { exception_keeper_tb_3 = ADD_TRACEBACK( exception_keeper_tb_3, frame_d3540d366f40473eb6b5c7ac5c4f8c31, 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_3; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_1 = PyExc_TypeError; 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 = 942; type_description_1 = "oooo"; goto try_except_handler_5; } 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_2; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_3; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_tuple_element_1; PyObject *tmp_type_arg_1; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_InvalidHeader ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_InvalidHeader ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "InvalidHeader" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 943; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_called_name_3 = tmp_mvar_value_5; tmp_left_name_2 = const_str_digest_ede6fb45eb93b880b7742ed08cef9cc9; if ( var_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 944; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_tuple_element_1 = var_name; tmp_right_name_2 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_1 ); if ( var_value == NULL ) { Py_DECREF( tmp_right_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 944; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_tuple_element_1 = var_value; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_1 ); if ( var_value == NULL ) { Py_DECREF( tmp_right_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "value" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 944; type_description_1 = "oooo"; goto try_except_handler_5; } tmp_type_arg_1 = var_value; tmp_tuple_element_1 = BUILTIN_TYPE1( tmp_type_arg_1 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_2 ); exception_lineno = 944; type_description_1 = "oooo"; goto try_except_handler_5; } PyTuple_SET_ITEM( tmp_right_name_2, 2, tmp_tuple_element_1 ); tmp_args_element_name_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 943; type_description_1 = "oooo"; goto try_except_handler_5; } frame_d3540d366f40473eb6b5c7ac5c4f8c31->m_frame.f_lineno = 943; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_args_element_name_3 ); if ( tmp_raise_type_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 943; type_description_1 = "oooo"; goto try_except_handler_5; } exception_type = tmp_raise_type_2; exception_lineno = 943; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooo"; goto try_except_handler_5; } goto branch_end_3; branch_no_3:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 939; } if (exception_tb && exception_tb->tb_frame == &frame_d3540d366f40473eb6b5c7ac5c4f8c31->m_frame) frame_d3540d366f40473eb6b5c7ac5c4f8c31->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oooo"; goto try_except_handler_5; } branch_end_3:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_37_check_header_validity ); return NULL; // 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_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: } // End of try: try_end_3:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d3540d366f40473eb6b5c7ac5c4f8c31 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d3540d366f40473eb6b5c7ac5c4f8c31 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d3540d366f40473eb6b5c7ac5c4f8c31, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d3540d366f40473eb6b5c7ac5c4f8c31->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d3540d366f40473eb6b5c7ac5c4f8c31, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d3540d366f40473eb6b5c7ac5c4f8c31, type_description_1, par_header, var_name, var_value, var_pat ); // Release cached frame. if ( frame_d3540d366f40473eb6b5c7ac5c4f8c31 == cache_frame_d3540d366f40473eb6b5c7ac5c4f8c31 ) { Py_DECREF( frame_d3540d366f40473eb6b5c7ac5c4f8c31 ); } cache_frame_d3540d366f40473eb6b5c7ac5c4f8c31 = NULL; assertFrameObject( frame_d3540d366f40473eb6b5c7ac5c4f8c31 ); // 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( requests$utils$$$function_37_check_header_validity ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_header ); par_header = NULL; } { Py_XDECREF( var_name ); var_name = NULL; } { Py_XDECREF( var_value ); var_value = NULL; } { Py_XDECREF( var_pat ); var_pat = 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_header ); par_header = NULL; } { Py_XDECREF( var_name ); var_name = NULL; } { Py_XDECREF( var_value ); var_value = NULL; } { Py_XDECREF( var_pat ); var_pat = 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( requests$utils$$$function_37_check_header_validity ); 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_requests$utils$$$function_38_urldefragauth( 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_url = python_pars[ 0 ]; PyObject *var_scheme = NULL; PyObject *var_netloc = NULL; PyObject *var_path = NULL; PyObject *var_params = NULL; PyObject *var_query = NULL; PyObject *var_fragment = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__element_3 = NULL; PyObject *tmp_tuple_unpack_1__element_4 = NULL; PyObject *tmp_tuple_unpack_1__element_5 = NULL; PyObject *tmp_tuple_unpack_1__element_6 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; struct Nuitka_FrameObject *frame_595d7a21f725bb4474a573bf058bcffe; 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; int tmp_res; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_595d7a21f725bb4474a573bf058bcffe = 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_595d7a21f725bb4474a573bf058bcffe, codeobj_595d7a21f725bb4474a573bf058bcffe, module_requests$utils, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_595d7a21f725bb4474a573bf058bcffe = cache_frame_595d7a21f725bb4474a573bf058bcffe; // Push the new frame as the currently active one. pushFrameStack( frame_595d7a21f725bb4474a573bf058bcffe ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_595d7a21f725bb4474a573bf058bcffe ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_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_requests$utils, (Nuitka_StringObject *)const_str_plain_urlparse ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_urlparse ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "urlparse" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 953; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_url ); tmp_args_element_name_1 = par_url; frame_595d7a21f725bb4474a573bf058bcffe->m_frame.f_lineno = 953; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 953; type_description_1 = "ooooooo"; 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 = 953; type_description_1 = "ooooooo"; 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, 6 ); 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 = "ooooooo"; exception_lineno = 953; 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, 6 ); 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 = "ooooooo"; exception_lineno = 953; 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_assign_source_4; PyObject *tmp_unpack_3; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_3 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_3, 2, 6 ); 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 = "ooooooo"; exception_lineno = 953; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_3 == NULL ); tmp_tuple_unpack_1__element_3 = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; PyObject *tmp_unpack_4; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_4 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_5 = UNPACK_NEXT( tmp_unpack_4, 3, 6 ); if ( tmp_assign_source_5 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooo"; exception_lineno = 953; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_4 == NULL ); tmp_tuple_unpack_1__element_4 = tmp_assign_source_5; } { PyObject *tmp_assign_source_6; PyObject *tmp_unpack_5; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_5 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_6 = UNPACK_NEXT( tmp_unpack_5, 4, 6 ); 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 = "ooooooo"; exception_lineno = 953; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_5 == NULL ); tmp_tuple_unpack_1__element_5 = tmp_assign_source_6; } { PyObject *tmp_assign_source_7; PyObject *tmp_unpack_6; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_6 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_7 = UNPACK_NEXT( tmp_unpack_6, 5, 6 ); if ( tmp_assign_source_7 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooo"; exception_lineno = 953; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_6 == NULL ); tmp_tuple_unpack_1__element_6 = tmp_assign_source_7; } { 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 = "ooooooo"; exception_lineno = 953; 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 6)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooo"; exception_lineno = 953; 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; } { Py_XDECREF( tmp_tuple_unpack_1__element_3 ); tmp_tuple_unpack_1__element_3 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_4 ); tmp_tuple_unpack_1__element_4 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_5 ); tmp_tuple_unpack_1__element_5 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_6 ); tmp_tuple_unpack_1__element_6 = 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_8; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_8 = tmp_tuple_unpack_1__element_1; assert( var_scheme == NULL ); Py_INCREF( tmp_assign_source_8 ); var_scheme = tmp_assign_source_8; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_9 = tmp_tuple_unpack_1__element_2; assert( var_netloc == NULL ); Py_INCREF( tmp_assign_source_9 ); var_netloc = tmp_assign_source_9; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_assign_source_10; CHECK_OBJECT( tmp_tuple_unpack_1__element_3 ); tmp_assign_source_10 = tmp_tuple_unpack_1__element_3; assert( var_path == NULL ); Py_INCREF( tmp_assign_source_10 ); var_path = tmp_assign_source_10; } { Py_XDECREF( tmp_tuple_unpack_1__element_3 ); tmp_tuple_unpack_1__element_3 = NULL; } { PyObject *tmp_assign_source_11; CHECK_OBJECT( tmp_tuple_unpack_1__element_4 ); tmp_assign_source_11 = tmp_tuple_unpack_1__element_4; assert( var_params == NULL ); Py_INCREF( tmp_assign_source_11 ); var_params = tmp_assign_source_11; } { Py_XDECREF( tmp_tuple_unpack_1__element_4 ); tmp_tuple_unpack_1__element_4 = NULL; } { PyObject *tmp_assign_source_12; CHECK_OBJECT( tmp_tuple_unpack_1__element_5 ); tmp_assign_source_12 = tmp_tuple_unpack_1__element_5; assert( var_query == NULL ); Py_INCREF( tmp_assign_source_12 ); var_query = tmp_assign_source_12; } { Py_XDECREF( tmp_tuple_unpack_1__element_5 ); tmp_tuple_unpack_1__element_5 = NULL; } { PyObject *tmp_assign_source_13; CHECK_OBJECT( tmp_tuple_unpack_1__element_6 ); tmp_assign_source_13 = tmp_tuple_unpack_1__element_6; assert( var_fragment == NULL ); Py_INCREF( tmp_assign_source_13 ); var_fragment = tmp_assign_source_13; } { Py_XDECREF( tmp_tuple_unpack_1__element_6 ); tmp_tuple_unpack_1__element_6 = NULL; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; if ( var_netloc == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "netloc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 956; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = var_netloc; 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 = 956; 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:; { // Tried code: { PyObject *tmp_assign_source_14; PyObject *tmp_iter_arg_2; PyObject *tmp_tuple_element_1; if ( var_path == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "path" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 957; type_description_1 = "ooooooo"; goto try_except_handler_4; } tmp_tuple_element_1 = var_path; tmp_iter_arg_2 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_iter_arg_2, 0, tmp_tuple_element_1 ); if ( var_netloc == NULL ) { Py_DECREF( tmp_iter_arg_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "netloc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 957; type_description_1 = "ooooooo"; goto try_except_handler_4; } tmp_tuple_element_1 = var_netloc; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_iter_arg_2, 1, tmp_tuple_element_1 ); tmp_assign_source_14 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 957; type_description_1 = "ooooooo"; goto try_except_handler_4; } assert( tmp_tuple_unpack_2__source_iter == NULL ); tmp_tuple_unpack_2__source_iter = tmp_assign_source_14; } { // Tried code: { PyObject *tmp_assign_source_15; PyObject *tmp_unpack_7; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_7 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_15 = UNPACK_NEXT( tmp_unpack_7, 0, 2 ); if ( tmp_assign_source_15 == 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 = "ooooooo"; exception_lineno = 957; goto try_except_handler_5; } assert( tmp_tuple_unpack_2__element_1 == NULL ); tmp_tuple_unpack_2__element_1 = tmp_assign_source_15; } { PyObject *tmp_assign_source_16; PyObject *tmp_unpack_8; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_8 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_16 = UNPACK_NEXT( tmp_unpack_8, 1, 2 ); if ( tmp_assign_source_16 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooo"; exception_lineno = 957; goto try_except_handler_5; } assert( tmp_tuple_unpack_2__element_2 == NULL ); tmp_tuple_unpack_2__element_2 = tmp_assign_source_16; } 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_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_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; { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = 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_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { PyObject *tmp_assign_source_17; CHECK_OBJECT( tmp_tuple_unpack_2__element_1 ); tmp_assign_source_17 = tmp_tuple_unpack_2__element_1; { PyObject *old = var_netloc; var_netloc = tmp_assign_source_17; Py_INCREF( var_netloc ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { PyObject *tmp_assign_source_18; CHECK_OBJECT( tmp_tuple_unpack_2__element_2 ); tmp_assign_source_18 = tmp_tuple_unpack_2__element_2; { PyObject *old = var_path; var_path = tmp_assign_source_18; Py_INCREF( var_path ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } branch_no_1:; } { PyObject *tmp_assign_source_19; PyObject *tmp_subscribed_name_1; PyObject *tmp_called_instance_1; PyObject *tmp_subscript_name_1; if ( var_netloc == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "netloc" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 959; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = var_netloc; frame_595d7a21f725bb4474a573bf058bcffe->m_frame.f_lineno = 959; tmp_subscribed_name_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_rsplit, &PyTuple_GET_ITEM( const_tuple_str_chr_64_int_pos_1_tuple, 0 ) ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 959; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_int_neg_1; tmp_assign_source_19 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, -1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 959; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_netloc; var_netloc = tmp_assign_source_19; Py_XDECREF( old ); } } { PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; PyObject *tmp_tuple_element_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_urlunparse ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_urlunparse ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "urlunparse" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 961; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_2; if ( var_scheme == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "scheme" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 961; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_scheme; tmp_args_element_name_2 = PyTuple_New( 6 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_element_name_2, 0, tmp_tuple_element_2 ); CHECK_OBJECT( var_netloc ); tmp_tuple_element_2 = var_netloc; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_element_name_2, 1, tmp_tuple_element_2 ); if ( var_path == NULL ) { Py_DECREF( tmp_args_element_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "path" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 961; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_path; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_element_name_2, 2, tmp_tuple_element_2 ); if ( var_params == NULL ) { Py_DECREF( tmp_args_element_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "params" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 961; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_params; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_element_name_2, 3, tmp_tuple_element_2 ); if ( var_query == NULL ) { Py_DECREF( tmp_args_element_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "query" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 961; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_query; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_element_name_2, 4, tmp_tuple_element_2 ); tmp_tuple_element_2 = const_str_empty; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_element_name_2, 5, tmp_tuple_element_2 ); frame_595d7a21f725bb4474a573bf058bcffe->m_frame.f_lineno = 961; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } 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 = 961; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_595d7a21f725bb4474a573bf058bcffe ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_595d7a21f725bb4474a573bf058bcffe ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_595d7a21f725bb4474a573bf058bcffe ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_595d7a21f725bb4474a573bf058bcffe, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_595d7a21f725bb4474a573bf058bcffe->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_595d7a21f725bb4474a573bf058bcffe, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_595d7a21f725bb4474a573bf058bcffe, type_description_1, par_url, var_scheme, var_netloc, var_path, var_params, var_query, var_fragment ); // Release cached frame. if ( frame_595d7a21f725bb4474a573bf058bcffe == cache_frame_595d7a21f725bb4474a573bf058bcffe ) { Py_DECREF( frame_595d7a21f725bb4474a573bf058bcffe ); } cache_frame_595d7a21f725bb4474a573bf058bcffe = NULL; assertFrameObject( frame_595d7a21f725bb4474a573bf058bcffe ); // 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( requests$utils$$$function_38_urldefragauth ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_url ); par_url = NULL; } { Py_XDECREF( var_scheme ); var_scheme = NULL; } { Py_XDECREF( var_netloc ); var_netloc = NULL; } { Py_XDECREF( var_path ); var_path = NULL; } { Py_XDECREF( var_params ); var_params = NULL; } { Py_XDECREF( var_query ); var_query = NULL; } { Py_XDECREF( var_fragment ); var_fragment = 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_url ); par_url = NULL; } { Py_XDECREF( var_scheme ); var_scheme = NULL; } { Py_XDECREF( var_netloc ); var_netloc = NULL; } { Py_XDECREF( var_path ); var_path = NULL; } { Py_XDECREF( var_params ); var_params = NULL; } { Py_XDECREF( var_query ); var_query = NULL; } { Py_XDECREF( var_fragment ); var_fragment = 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( requests$utils$$$function_38_urldefragauth ); 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_requests$utils$$$function_39_rewind_body( 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_prepared_request = python_pars[ 0 ]; PyObject *var_body_seek = NULL; struct Nuitka_FrameObject *frame_e83754abe4ef35f1e2207f7f200f651a; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_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; static struct Nuitka_FrameObject *cache_frame_e83754abe4ef35f1e2207f7f200f651a = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_e83754abe4ef35f1e2207f7f200f651a, codeobj_e83754abe4ef35f1e2207f7f200f651a, module_requests$utils, sizeof(void *)+sizeof(void *) ); frame_e83754abe4ef35f1e2207f7f200f651a = cache_frame_e83754abe4ef35f1e2207f7f200f651a; // Push the new frame as the currently active one. pushFrameStack( frame_e83754abe4ef35f1e2207f7f200f651a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e83754abe4ef35f1e2207f7f200f651a ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_getattr_target_1; PyObject *tmp_source_name_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; CHECK_OBJECT( par_prepared_request ); tmp_source_name_1 = par_prepared_request; tmp_getattr_target_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_body ); if ( tmp_getattr_target_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 968; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_getattr_attr_1 = const_str_plain_seek; tmp_getattr_default_1 = Py_None; tmp_assign_source_1 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 ); Py_DECREF( tmp_getattr_target_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 968; type_description_1 = "oo"; goto frame_exception_exit_1; } assert( var_body_seek == NULL ); var_body_seek = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_1; CHECK_OBJECT( var_body_seek ); tmp_compexpr_left_1 = var_body_seek; 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 ( par_prepared_request == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prepared_request" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 969; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_prepared_request; tmp_isinstance_inst_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain__body_position ); if ( tmp_isinstance_inst_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 969; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_integer_types ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_integer_types ); } if ( tmp_mvar_value_1 == NULL ) { Py_DECREF( tmp_isinstance_inst_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "integer_types" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 969; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_isinstance_cls_1 = tmp_mvar_value_1; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); Py_DECREF( tmp_isinstance_inst_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 969; 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_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_1 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { // Tried code: { PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_3; if ( var_body_seek == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "body_seek" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 971; type_description_1 = "oo"; goto try_except_handler_2; } tmp_called_name_1 = var_body_seek; if ( par_prepared_request == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prepared_request" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 971; type_description_1 = "oo"; goto try_except_handler_2; } tmp_source_name_3 = par_prepared_request; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain__body_position ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 971; type_description_1 = "oo"; goto try_except_handler_2; } frame_e83754abe4ef35f1e2207f7f200f651a->m_frame.f_lineno = 971; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_args_element_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 971; type_description_1 = "oo"; 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_e83754abe4ef35f1e2207f7f200f651a, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_e83754abe4ef35f1e2207f7f200f651a, 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_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_2 = const_tuple_type_OSError_type_OSError_tuple; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 972; type_description_1 = "oo"; 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:; { PyObject *tmp_raise_type_1; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_UnrewindableBodyError ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_UnrewindableBodyError ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "UnrewindableBodyError" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 973; type_description_1 = "oo"; goto try_except_handler_3; } tmp_called_name_2 = tmp_mvar_value_2; frame_e83754abe4ef35f1e2207f7f200f651a->m_frame.f_lineno = 973; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, &PyTuple_GET_ITEM( const_tuple_str_digest_d681723024b376071b1e04f3f1be1da8_tuple, 0 ) ); if ( tmp_raise_type_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 973; type_description_1 = "oo"; goto try_except_handler_3; } exception_type = tmp_raise_type_1; exception_lineno = 973; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto try_except_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 = 970; } if (exception_tb && exception_tb->tb_frame == &frame_e83754abe4ef35f1e2207f7f200f651a->m_frame) frame_e83754abe4ef35f1e2207f7f200f651a->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "oo"; goto try_except_handler_3; } branch_end_2:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$utils$$$function_39_rewind_body ); return NULL; // 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:; } goto branch_end_1; branch_no_1:; { PyObject *tmp_raise_type_2; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_3; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_UnrewindableBodyError ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_UnrewindableBodyError ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "UnrewindableBodyError" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 976; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_3 = tmp_mvar_value_3; frame_e83754abe4ef35f1e2207f7f200f651a->m_frame.f_lineno = 976; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, &PyTuple_GET_ITEM( const_tuple_str_digest_8eacfd2bc1c4b20bf1908af01d22ac85_tuple, 0 ) ); if ( tmp_raise_type_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 976; type_description_1 = "oo"; goto frame_exception_exit_1; } exception_type = tmp_raise_type_2; exception_lineno = 976; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_e83754abe4ef35f1e2207f7f200f651a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e83754abe4ef35f1e2207f7f200f651a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e83754abe4ef35f1e2207f7f200f651a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e83754abe4ef35f1e2207f7f200f651a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e83754abe4ef35f1e2207f7f200f651a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e83754abe4ef35f1e2207f7f200f651a, type_description_1, par_prepared_request, var_body_seek ); // Release cached frame. if ( frame_e83754abe4ef35f1e2207f7f200f651a == cache_frame_e83754abe4ef35f1e2207f7f200f651a ) { Py_DECREF( frame_e83754abe4ef35f1e2207f7f200f651a ); } cache_frame_e83754abe4ef35f1e2207f7f200f651a = NULL; assertFrameObject( frame_e83754abe4ef35f1e2207f7f200f651a ); // 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( requests$utils$$$function_39_rewind_body ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_prepared_request ); par_prepared_request = NULL; } { Py_XDECREF( var_body_seek ); var_body_seek = 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_prepared_request ); par_prepared_request = NULL; } { Py_XDECREF( var_body_seek ); var_body_seek = 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( requests$utils$$$function_39_rewind_body ); 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_requests$utils$$$function_10_parse_list_header( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_10_parse_list_header, const_str_plain_parse_list_header, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_08a86fa32bc531d24fda9afa21ef22c8, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_ad1efbb9947826891eabdc18f113510a, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_11_parse_dict_header( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_11_parse_dict_header, const_str_plain_parse_dict_header, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_fb5c090bfcb0c1a83250280f8b5ade06, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_f884b70cb128e6c16249d62e69d434c1, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_12_unquote_header_value( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_12_unquote_header_value, const_str_plain_unquote_header_value, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_5791da1cf7fad619738e1f95543badb3, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_2e4afc658f4dc023360afc83fde6cccd, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_13_dict_from_cookiejar( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_13_dict_from_cookiejar, const_str_plain_dict_from_cookiejar, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_da372d5fca82dacb3c69f19a5fcc0745, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_545c84652c0f941c3ad38f5caba46e64, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_14_add_dict_to_cookiejar( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_14_add_dict_to_cookiejar, const_str_plain_add_dict_to_cookiejar, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_bb1606830baa9a5ee1c3980cf6aa0b47, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_c1ddfb2dd740866a4f5e6954adec3a4f, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_15_get_encodings_from_content( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_15_get_encodings_from_content, const_str_plain_get_encodings_from_content, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_5a59cacdc8f590fe668c67589bab90d3, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_fabc8a5138721af131e7287fc576bbb6, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_16__parse_content_type_header( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_16__parse_content_type_header, const_str_plain__parse_content_type_header, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_db8a250e00e6253d385ebae7e500d7db, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_189afa2d940ee0e4886971fafd3b507b, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_17_get_encoding_from_headers( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_17_get_encoding_from_headers, const_str_plain_get_encoding_from_headers, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_f65dcc635dac28d821fe40704e769d3c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_60b1cdb7617c4cf1bf768a49706d4a84, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_18_stream_decode_response_unicode( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_18_stream_decode_response_unicode, const_str_plain_stream_decode_response_unicode, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_a802bf7b9264821326eb79571765087f, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_5adee267b0face4c5905392da24f4ab2, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_19_iter_slices( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_19_iter_slices, const_str_plain_iter_slices, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_0edca0c1ae57e8a491d86394d3159b2a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_f26a12f32523001a7d5f29f1d0a37c9a, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_1_proxy_bypass_registry( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_1_proxy_bypass_registry, const_str_plain_proxy_bypass_registry, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_50ec2bcbe89fd57d662a1cda83353adc, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_20_get_unicode_from_response( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_20_get_unicode_from_response, const_str_plain_get_unicode_from_response, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_c64fe7c5131e2b4d47f1d813872fcec3, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_3099c2d8be74fef8b00dbccbdef4b6a8, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_21_unquote_unreserved( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_21_unquote_unreserved, const_str_plain_unquote_unreserved, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_b216b791a9f88f685d58dacb8f1408d4, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_6c278c9666d862c6197969556b130f49, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_22_requote_uri( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_22_requote_uri, const_str_plain_requote_uri, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_0fef4ce8e4490fa7908ee431f94df303, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_11f748942711d9992e88d543414bb2c0, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_23_address_in_network( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_23_address_in_network, const_str_plain_address_in_network, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_12f7a565da5c5c6bace39399482112d4, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_be9264c9f206db662c06c9523361ff13, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_24_dotted_netmask( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_24_dotted_netmask, const_str_plain_dotted_netmask, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_4efb954a45adff6bf3b91046b0089a47, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_633e1705da3559f30dbd6412a648a83b, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_25_is_ipv4_address( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_25_is_ipv4_address, const_str_plain_is_ipv4_address, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_7d86abc71b10f3dc1414d2df81f5d825, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_344ba9dacff6f807121d534630f45272, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_26_is_valid_cidr( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_26_is_valid_cidr, const_str_plain_is_valid_cidr, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_f1320ffebf1b5a833d0256c3c5f6f210, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_9ecf00231f13a299b43c075c61419702, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_27_set_environ( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_27_set_environ, const_str_plain_set_environ, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_da0ee4b3b09d6066d2390df01ca3d7a9, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_e5a6d953019a662711f922b2f1ebe274, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_28_should_bypass_proxies( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_28_should_bypass_proxies, const_str_plain_should_bypass_proxies, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_c42b6f77702a8b6cdac11e3cf42a028f, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_a017e4a450bc2a6987960f048b1b3f70, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_28_should_bypass_proxies$$$function_1_lambda( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_28_should_bypass_proxies$$$function_1_lambda, const_str_angle_lambda, #if PYTHON_VERSION >= 300 const_str_digest_bdc973209d43c49959b107e9d3bc389e, #endif codeobj_d2359c5b7cd4ad8cab3a8f4f13a80d3c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_29_get_environ_proxies( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_29_get_environ_proxies, const_str_plain_get_environ_proxies, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_d1718f3759ddd22e714079009e1c72ba, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_db10df5befb6234e2efb56544ebb1363, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_2_proxy_bypass( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_2_proxy_bypass, const_str_plain_proxy_bypass, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_628cf5bebf7bcccd2cbf6c84dfd1413d, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_2dbf45cefe6a858ae4c9e330816cee35, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_30_select_proxy( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_30_select_proxy, const_str_plain_select_proxy, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_5afe8086b2b3fd4dfcfe0d53edfd26a0, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_2a87f67f4efa77049ff1e8df07d74298, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_31_default_user_agent( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_31_default_user_agent, const_str_plain_default_user_agent, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_69340bb05e66ac99723c62e8b2c8dc7d, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_09007fc08d59704ed0ea4afa4db50241, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_32_default_headers( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_32_default_headers, const_str_plain_default_headers, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_f52ced90be8fa8798a26adb0d26d8c01, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_b0d28f9191843ba1e4ad9123f8d36098, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_33_parse_header_links( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_33_parse_header_links, const_str_plain_parse_header_links, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_dbcb99fa65840d6d516acb27bfdc2c99, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_13401ef98af5e6a420cb6ea04df8346b, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_34_guess_json_utf( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_34_guess_json_utf, const_str_plain_guess_json_utf, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_9c93abfe35287ddc7972cfc2670852ca, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_c68418a4fc9bafa1aad7994602a616fd, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_35_prepend_scheme_if_needed( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_35_prepend_scheme_if_needed, const_str_plain_prepend_scheme_if_needed, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_08e4ee68aaf1f860367ee53ebf5f0d1a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_f37f0578a1da03ee88da30f61ab79839, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_36_get_auth_from_url( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_36_get_auth_from_url, const_str_plain_get_auth_from_url, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_84ae7b14a8e86be45b8f3704278926e6, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_616a6ccdd2064867296afe3263b28e08, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_37_check_header_validity( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_37_check_header_validity, const_str_plain_check_header_validity, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_d3540d366f40473eb6b5c7ac5c4f8c31, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_4b870a3f036b48adabf651d010747cee, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_38_urldefragauth( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_38_urldefragauth, const_str_plain_urldefragauth, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_595d7a21f725bb4474a573bf058bcffe, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_075a5f4a52e870f40cb15bcf9188e7b1, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_39_rewind_body( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_39_rewind_body, const_str_plain_rewind_body, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_e83754abe4ef35f1e2207f7f200f651a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_4dea33ab41a9c08afce0ac23d14eb3d3, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_3_dict_to_sequence( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_3_dict_to_sequence, const_str_plain_dict_to_sequence, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_1afb276542a2a645df779ed4db5f607b, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_8e8420510c76a0dda80114a4b6e7f520, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_4_super_len( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_4_super_len, const_str_plain_super_len, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_af54800a120c869790d6e173a2ba134f, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_5_get_netrc_auth( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_5_get_netrc_auth, const_str_plain_get_netrc_auth, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_e96055da711d10a1decf6bf391988e2b, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_fc3590078ab788a5bd8630502b95ef86, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_6_guess_filename( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_6_guess_filename, const_str_plain_guess_filename, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_53625604f63afd50015c7f4573609c31, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_da3a414f588d8a57c8277840d0c12e68, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_7_extract_zipped_paths( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_7_extract_zipped_paths, const_str_plain_extract_zipped_paths, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_4330b20b8b9140a7b99fed4d75389f07, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_848ac26b309d45ee0689be5d2d96b40a, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_8_from_key_val_list( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_8_from_key_val_list, const_str_plain_from_key_val_list, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_c69bfb9909d1c56ef32d79208ee4f122, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_bacd6a583aa3decef66f6b830f9ae016, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$utils$$$function_9_to_key_val_list( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$utils$$$function_9_to_key_val_list, const_str_plain_to_key_val_list, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_45a631248f89b2102b7a63cc25e75727, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$utils, const_str_digest_69f2adf41bd07f39ecb3d747da462d8c, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_requests$utils = { PyModuleDef_HEAD_INIT, "requests.utils", /* 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( requests$utils ) { #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_requests$utils ); } 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("requests.utils: 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("requests.utils: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("requests.utils: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in initrequests$utils" ); // 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_requests$utils = Py_InitModule4( "requests.utils", // 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_requests$utils = PyModule_Create( &mdef_requests$utils ); #endif moduledict_requests$utils = MODULE_DICT( module_requests$utils ); // Update "__package__" value to what it ought to be. { #if 0 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_requests$utils, (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_requests$utils, (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_requests$utils, (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_requests$utils, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_requests$utils ); // 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_d764dbd04e0956eeec5b07c1c4d16910, module_requests$utils ); 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_requests$utils, (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_requests$utils, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_requests$utils, (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_requests$utils, (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_requests$utils, (Nuitka_StringObject *)const_str_plain___spec__, spec_value ); Py_DECREF( module_spec_class ); } #endif #endif // Temp variables if any PyObject *tmp_import_from_1__module = NULL; PyObject *tmp_import_from_2__module = NULL; struct Nuitka_FrameObject *frame_6841c72b780de0db60dbe10163dc9be9; 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; int tmp_res; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = const_str_digest_52a35a07391be97e45602ad35153cce9; UPDATE_STRING_DICT0( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_7e88a30e97eda1df450a724bcbdb9060; UPDATE_STRING_DICT0( moduledict_requests$utils, (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_requests$utils, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 ); } // Frame without reuse. frame_6841c72b780de0db60dbe10163dc9be9 = MAKE_MODULE_FRAME( codeobj_6841c72b780de0db60dbe10163dc9be9, module_requests$utils ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_6841c72b780de0db60dbe10163dc9be9 ); assert( Py_REFCNT( frame_6841c72b780de0db60dbe10163dc9be9 ) == 2 ); // Framed code: { PyObject *tmp_assign_source_4; PyObject *tmp_name_name_1; PyObject *tmp_globals_name_1; PyObject *tmp_locals_name_1; PyObject *tmp_fromlist_name_1; PyObject *tmp_level_name_1; tmp_name_name_1 = const_str_plain_codecs; tmp_globals_name_1 = (PyObject *)moduledict_requests$utils; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = const_int_0; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 11; tmp_assign_source_4 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 11; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_codecs, tmp_assign_source_4 ); } { PyObject *tmp_assign_source_5; PyObject *tmp_name_name_2; PyObject *tmp_globals_name_2; PyObject *tmp_locals_name_2; PyObject *tmp_fromlist_name_2; PyObject *tmp_level_name_2; tmp_name_name_2 = const_str_plain_contextlib; tmp_globals_name_2 = (PyObject *)moduledict_requests$utils; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = Py_None; tmp_level_name_2 = const_int_0; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 12; tmp_assign_source_5 = 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_5 == 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_requests$utils, (Nuitka_StringObject *)const_str_plain_contextlib, tmp_assign_source_5 ); } { PyObject *tmp_assign_source_6; 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_io; tmp_globals_name_3 = (PyObject *)moduledict_requests$utils; tmp_locals_name_3 = Py_None; tmp_fromlist_name_3 = Py_None; tmp_level_name_3 = const_int_0; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 13; tmp_assign_source_6 = 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_6 == 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_requests$utils, (Nuitka_StringObject *)const_str_plain_io, tmp_assign_source_6 ); } { PyObject *tmp_assign_source_7; 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_os; tmp_globals_name_4 = (PyObject *)moduledict_requests$utils; tmp_locals_name_4 = Py_None; tmp_fromlist_name_4 = Py_None; tmp_level_name_4 = const_int_0; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 14; tmp_assign_source_7 = 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_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_os, tmp_assign_source_7 ); } { PyObject *tmp_assign_source_8; 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_re; tmp_globals_name_5 = (PyObject *)moduledict_requests$utils; tmp_locals_name_5 = Py_None; tmp_fromlist_name_5 = Py_None; tmp_level_name_5 = const_int_0; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 15; tmp_assign_source_8 = 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_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 15; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_re, tmp_assign_source_8 ); } { PyObject *tmp_assign_source_9; 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_socket; tmp_globals_name_6 = (PyObject *)moduledict_requests$utils; tmp_locals_name_6 = Py_None; tmp_fromlist_name_6 = Py_None; tmp_level_name_6 = const_int_0; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 16; tmp_assign_source_9 = 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_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 16; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_socket, tmp_assign_source_9 ); } { PyObject *tmp_assign_source_10; 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_struct; tmp_globals_name_7 = (PyObject *)moduledict_requests$utils; tmp_locals_name_7 = Py_None; tmp_fromlist_name_7 = Py_None; tmp_level_name_7 = const_int_0; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 17; tmp_assign_source_10 = IMPORT_MODULE5( tmp_name_name_7, tmp_globals_name_7, tmp_locals_name_7, tmp_fromlist_name_7, tmp_level_name_7 ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 17; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_struct, tmp_assign_source_10 ); } { PyObject *tmp_assign_source_11; 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_plain_sys; tmp_globals_name_8 = (PyObject *)moduledict_requests$utils; tmp_locals_name_8 = Py_None; tmp_fromlist_name_8 = Py_None; tmp_level_name_8 = const_int_0; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 18; tmp_assign_source_11 = IMPORT_MODULE5( tmp_name_name_8, tmp_globals_name_8, tmp_locals_name_8, tmp_fromlist_name_8, tmp_level_name_8 ); assert( !(tmp_assign_source_11 == NULL) ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_sys, tmp_assign_source_11 ); } { PyObject *tmp_assign_source_12; 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_tempfile; tmp_globals_name_9 = (PyObject *)moduledict_requests$utils; tmp_locals_name_9 = Py_None; tmp_fromlist_name_9 = Py_None; tmp_level_name_9 = const_int_0; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 19; tmp_assign_source_12 = IMPORT_MODULE5( tmp_name_name_9, tmp_globals_name_9, tmp_locals_name_9, tmp_fromlist_name_9, tmp_level_name_9 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 19; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_tempfile, tmp_assign_source_12 ); } { PyObject *tmp_assign_source_13; 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_warnings; tmp_globals_name_10 = (PyObject *)moduledict_requests$utils; tmp_locals_name_10 = Py_None; tmp_fromlist_name_10 = Py_None; tmp_level_name_10 = const_int_0; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 20; tmp_assign_source_13 = IMPORT_MODULE5( tmp_name_name_10, tmp_globals_name_10, tmp_locals_name_10, tmp_fromlist_name_10, tmp_level_name_10 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 20; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_warnings, tmp_assign_source_13 ); } { PyObject *tmp_assign_source_14; PyObject *tmp_name_name_11; PyObject *tmp_globals_name_11; PyObject *tmp_locals_name_11; PyObject *tmp_fromlist_name_11; PyObject *tmp_level_name_11; tmp_name_name_11 = const_str_plain_zipfile; tmp_globals_name_11 = (PyObject *)moduledict_requests$utils; tmp_locals_name_11 = Py_None; tmp_fromlist_name_11 = Py_None; tmp_level_name_11 = const_int_0; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 21; tmp_assign_source_14 = IMPORT_MODULE5( tmp_name_name_11, tmp_globals_name_11, tmp_locals_name_11, tmp_fromlist_name_11, tmp_level_name_11 ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 21; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_zipfile, tmp_assign_source_14 ); } { PyObject *tmp_assign_source_15; PyObject *tmp_import_name_from_1; PyObject *tmp_name_name_12; PyObject *tmp_globals_name_12; PyObject *tmp_locals_name_12; PyObject *tmp_fromlist_name_12; PyObject *tmp_level_name_12; tmp_name_name_12 = const_str_plain___version__; tmp_globals_name_12 = (PyObject *)moduledict_requests$utils; tmp_locals_name_12 = Py_None; tmp_fromlist_name_12 = const_tuple_str_plain___version___tuple; tmp_level_name_12 = const_int_pos_1; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 23; tmp_import_name_from_1 = IMPORT_MODULE5( tmp_name_name_12, tmp_globals_name_12, tmp_locals_name_12, tmp_fromlist_name_12, tmp_level_name_12 ); if ( tmp_import_name_from_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 23; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_1 ) ) { tmp_assign_source_15 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_1, (PyObject *)MODULE_DICT(tmp_import_name_from_1), const_str_plain___version__, const_int_pos_1 ); } else { tmp_assign_source_15 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain___version__ ); } Py_DECREF( tmp_import_name_from_1 ); if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 23; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain___version__, tmp_assign_source_15 ); } { PyObject *tmp_assign_source_16; PyObject *tmp_import_name_from_2; PyObject *tmp_name_name_13; PyObject *tmp_globals_name_13; PyObject *tmp_locals_name_13; PyObject *tmp_fromlist_name_13; PyObject *tmp_level_name_13; tmp_name_name_13 = const_str_empty; tmp_globals_name_13 = (PyObject *)moduledict_requests$utils; tmp_locals_name_13 = Py_None; tmp_fromlist_name_13 = const_tuple_str_plain_certs_tuple; tmp_level_name_13 = const_int_pos_1; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 24; tmp_import_name_from_2 = IMPORT_MODULE5( tmp_name_name_13, tmp_globals_name_13, tmp_locals_name_13, tmp_fromlist_name_13, tmp_level_name_13 ); if ( tmp_import_name_from_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 24; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_2 ) ) { tmp_assign_source_16 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_2, (PyObject *)MODULE_DICT(tmp_import_name_from_2), const_str_plain_certs, const_int_pos_1 ); } else { tmp_assign_source_16 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_certs ); } Py_DECREF( tmp_import_name_from_2 ); if ( tmp_assign_source_16 == 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_requests$utils, (Nuitka_StringObject *)const_str_plain_certs, tmp_assign_source_16 ); } { PyObject *tmp_assign_source_17; PyObject *tmp_import_name_from_3; PyObject *tmp_name_name_14; PyObject *tmp_globals_name_14; PyObject *tmp_locals_name_14; PyObject *tmp_fromlist_name_14; PyObject *tmp_level_name_14; tmp_name_name_14 = const_str_plain__internal_utils; tmp_globals_name_14 = (PyObject *)moduledict_requests$utils; tmp_locals_name_14 = Py_None; tmp_fromlist_name_14 = const_tuple_str_plain_to_native_string_tuple; tmp_level_name_14 = const_int_pos_1; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 26; tmp_import_name_from_3 = IMPORT_MODULE5( tmp_name_name_14, tmp_globals_name_14, tmp_locals_name_14, tmp_fromlist_name_14, tmp_level_name_14 ); if ( tmp_import_name_from_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_3 ) ) { tmp_assign_source_17 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_3, (PyObject *)MODULE_DICT(tmp_import_name_from_3), const_str_plain_to_native_string, const_int_pos_1 ); } else { tmp_assign_source_17 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_to_native_string ); } Py_DECREF( tmp_import_name_from_3 ); if ( tmp_assign_source_17 == 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_requests$utils, (Nuitka_StringObject *)const_str_plain_to_native_string, tmp_assign_source_17 ); } { PyObject *tmp_assign_source_18; PyObject *tmp_import_name_from_4; PyObject *tmp_name_name_15; PyObject *tmp_globals_name_15; PyObject *tmp_locals_name_15; PyObject *tmp_fromlist_name_15; PyObject *tmp_level_name_15; tmp_name_name_15 = const_str_plain_compat; tmp_globals_name_15 = (PyObject *)moduledict_requests$utils; tmp_locals_name_15 = Py_None; tmp_fromlist_name_15 = const_tuple_str_plain_parse_http_list_tuple; tmp_level_name_15 = const_int_pos_1; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 27; tmp_import_name_from_4 = IMPORT_MODULE5( tmp_name_name_15, tmp_globals_name_15, tmp_locals_name_15, tmp_fromlist_name_15, tmp_level_name_15 ); if ( tmp_import_name_from_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 27; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_4 ) ) { tmp_assign_source_18 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_4, (PyObject *)MODULE_DICT(tmp_import_name_from_4), const_str_plain_parse_http_list, const_int_pos_1 ); } else { tmp_assign_source_18 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_parse_http_list ); } Py_DECREF( tmp_import_name_from_4 ); if ( tmp_assign_source_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 27; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__parse_list_header, tmp_assign_source_18 ); } { PyObject *tmp_assign_source_19; PyObject *tmp_name_name_16; PyObject *tmp_globals_name_16; PyObject *tmp_locals_name_16; PyObject *tmp_fromlist_name_16; PyObject *tmp_level_name_16; tmp_name_name_16 = const_str_plain_compat; tmp_globals_name_16 = (PyObject *)moduledict_requests$utils; tmp_locals_name_16 = Py_None; tmp_fromlist_name_16 = const_tuple_ed2ed327331ac320d254ecdeb904248f_tuple; tmp_level_name_16 = const_int_pos_1; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 28; tmp_assign_source_19 = IMPORT_MODULE5( tmp_name_name_16, tmp_globals_name_16, tmp_locals_name_16, tmp_fromlist_name_16, tmp_level_name_16 ); if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto frame_exception_exit_1; } assert( tmp_import_from_1__module == NULL ); tmp_import_from_1__module = tmp_assign_source_19; } { // Tried code: { PyObject *tmp_assign_source_20; PyObject *tmp_import_name_from_5; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_5 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_5 ) ) { tmp_assign_source_20 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_5, (PyObject *)MODULE_DICT(tmp_import_name_from_5), const_str_plain_quote, const_int_pos_1 ); } else { tmp_assign_source_20 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_quote ); } if ( tmp_assign_source_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_quote, tmp_assign_source_20 ); } { PyObject *tmp_assign_source_21; PyObject *tmp_import_name_from_6; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_6 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_6 ) ) { tmp_assign_source_21 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_6, (PyObject *)MODULE_DICT(tmp_import_name_from_6), const_str_plain_urlparse, const_int_pos_1 ); } else { tmp_assign_source_21 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_urlparse ); } if ( tmp_assign_source_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_urlparse, tmp_assign_source_21 ); } { PyObject *tmp_assign_source_22; PyObject *tmp_import_name_from_7; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_7 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_7 ) ) { tmp_assign_source_22 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_7, (PyObject *)MODULE_DICT(tmp_import_name_from_7), const_str_plain_bytes, const_int_pos_1 ); } else { tmp_assign_source_22 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_bytes ); } if ( tmp_assign_source_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_bytes, tmp_assign_source_22 ); } { PyObject *tmp_assign_source_23; PyObject *tmp_import_name_from_8; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_8 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_8 ) ) { tmp_assign_source_23 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_8, (PyObject *)MODULE_DICT(tmp_import_name_from_8), const_str_plain_str, const_int_pos_1 ); } else { tmp_assign_source_23 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain_str ); } if ( tmp_assign_source_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_str, tmp_assign_source_23 ); } { PyObject *tmp_assign_source_24; PyObject *tmp_import_name_from_9; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_9 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_9 ) ) { tmp_assign_source_24 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_9, (PyObject *)MODULE_DICT(tmp_import_name_from_9), const_str_plain_OrderedDict, const_int_pos_1 ); } else { tmp_assign_source_24 = IMPORT_NAME( tmp_import_name_from_9, const_str_plain_OrderedDict ); } if ( tmp_assign_source_24 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_OrderedDict, tmp_assign_source_24 ); } { PyObject *tmp_assign_source_25; PyObject *tmp_import_name_from_10; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_10 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_10 ) ) { tmp_assign_source_25 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_10, (PyObject *)MODULE_DICT(tmp_import_name_from_10), const_str_plain_unquote, const_int_pos_1 ); } else { tmp_assign_source_25 = IMPORT_NAME( tmp_import_name_from_10, const_str_plain_unquote ); } if ( tmp_assign_source_25 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_unquote, tmp_assign_source_25 ); } { PyObject *tmp_assign_source_26; PyObject *tmp_import_name_from_11; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_11 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_11 ) ) { tmp_assign_source_26 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_11, (PyObject *)MODULE_DICT(tmp_import_name_from_11), const_str_plain_getproxies, const_int_pos_1 ); } else { tmp_assign_source_26 = IMPORT_NAME( tmp_import_name_from_11, const_str_plain_getproxies ); } if ( tmp_assign_source_26 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_getproxies, tmp_assign_source_26 ); } { PyObject *tmp_assign_source_27; PyObject *tmp_import_name_from_12; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_12 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_12 ) ) { tmp_assign_source_27 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_12, (PyObject *)MODULE_DICT(tmp_import_name_from_12), const_str_plain_proxy_bypass, const_int_pos_1 ); } else { tmp_assign_source_27 = IMPORT_NAME( tmp_import_name_from_12, const_str_plain_proxy_bypass ); } if ( tmp_assign_source_27 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_proxy_bypass, tmp_assign_source_27 ); } { PyObject *tmp_assign_source_28; PyObject *tmp_import_name_from_13; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_13 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_13 ) ) { tmp_assign_source_28 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_13, (PyObject *)MODULE_DICT(tmp_import_name_from_13), const_str_plain_urlunparse, const_int_pos_1 ); } else { tmp_assign_source_28 = IMPORT_NAME( tmp_import_name_from_13, const_str_plain_urlunparse ); } if ( tmp_assign_source_28 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_urlunparse, tmp_assign_source_28 ); } { PyObject *tmp_assign_source_29; PyObject *tmp_import_name_from_14; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_14 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_14 ) ) { tmp_assign_source_29 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_14, (PyObject *)MODULE_DICT(tmp_import_name_from_14), const_str_plain_basestring, const_int_pos_1 ); } else { tmp_assign_source_29 = IMPORT_NAME( tmp_import_name_from_14, const_str_plain_basestring ); } if ( tmp_assign_source_29 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_basestring, tmp_assign_source_29 ); } { PyObject *tmp_assign_source_30; PyObject *tmp_import_name_from_15; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_15 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_15 ) ) { tmp_assign_source_30 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_15, (PyObject *)MODULE_DICT(tmp_import_name_from_15), const_str_plain_integer_types, const_int_pos_1 ); } else { tmp_assign_source_30 = IMPORT_NAME( tmp_import_name_from_15, const_str_plain_integer_types ); } if ( tmp_assign_source_30 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_integer_types, tmp_assign_source_30 ); } { PyObject *tmp_assign_source_31; PyObject *tmp_import_name_from_16; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_16 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_16 ) ) { tmp_assign_source_31 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_16, (PyObject *)MODULE_DICT(tmp_import_name_from_16), const_str_plain_is_py3, const_int_pos_1 ); } else { tmp_assign_source_31 = IMPORT_NAME( tmp_import_name_from_16, const_str_plain_is_py3 ); } if ( tmp_assign_source_31 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_is_py3, tmp_assign_source_31 ); } { PyObject *tmp_assign_source_32; PyObject *tmp_import_name_from_17; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_17 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_17 ) ) { tmp_assign_source_32 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_17, (PyObject *)MODULE_DICT(tmp_import_name_from_17), const_str_plain_proxy_bypass_environment, const_int_pos_1 ); } else { tmp_assign_source_32 = IMPORT_NAME( tmp_import_name_from_17, const_str_plain_proxy_bypass_environment ); } if ( tmp_assign_source_32 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_proxy_bypass_environment, tmp_assign_source_32 ); } { PyObject *tmp_assign_source_33; PyObject *tmp_import_name_from_18; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_18 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_18 ) ) { tmp_assign_source_33 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_18, (PyObject *)MODULE_DICT(tmp_import_name_from_18), const_str_plain_getproxies_environment, const_int_pos_1 ); } else { tmp_assign_source_33 = IMPORT_NAME( tmp_import_name_from_18, const_str_plain_getproxies_environment ); } if ( tmp_assign_source_33 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_getproxies_environment, tmp_assign_source_33 ); } { PyObject *tmp_assign_source_34; PyObject *tmp_import_name_from_19; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_19 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_19 ) ) { tmp_assign_source_34 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_19, (PyObject *)MODULE_DICT(tmp_import_name_from_19), const_str_plain_Mapping, const_int_pos_1 ); } else { tmp_assign_source_34 = IMPORT_NAME( tmp_import_name_from_19, const_str_plain_Mapping ); } if ( tmp_assign_source_34 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_Mapping, tmp_assign_source_34 ); } 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_35; PyObject *tmp_import_name_from_20; PyObject *tmp_name_name_17; PyObject *tmp_globals_name_17; PyObject *tmp_locals_name_17; PyObject *tmp_fromlist_name_17; PyObject *tmp_level_name_17; tmp_name_name_17 = const_str_plain_cookies; tmp_globals_name_17 = (PyObject *)moduledict_requests$utils; tmp_locals_name_17 = Py_None; tmp_fromlist_name_17 = const_tuple_str_plain_cookiejar_from_dict_tuple; tmp_level_name_17 = const_int_pos_1; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 32; tmp_import_name_from_20 = IMPORT_MODULE5( tmp_name_name_17, tmp_globals_name_17, tmp_locals_name_17, tmp_fromlist_name_17, tmp_level_name_17 ); if ( tmp_import_name_from_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_20 ) ) { tmp_assign_source_35 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_20, (PyObject *)MODULE_DICT(tmp_import_name_from_20), const_str_plain_cookiejar_from_dict, const_int_pos_1 ); } else { tmp_assign_source_35 = IMPORT_NAME( tmp_import_name_from_20, const_str_plain_cookiejar_from_dict ); } Py_DECREF( tmp_import_name_from_20 ); if ( tmp_assign_source_35 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 32; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_cookiejar_from_dict, tmp_assign_source_35 ); } { PyObject *tmp_assign_source_36; PyObject *tmp_import_name_from_21; PyObject *tmp_name_name_18; PyObject *tmp_globals_name_18; PyObject *tmp_locals_name_18; PyObject *tmp_fromlist_name_18; PyObject *tmp_level_name_18; tmp_name_name_18 = const_str_plain_structures; tmp_globals_name_18 = (PyObject *)moduledict_requests$utils; tmp_locals_name_18 = Py_None; tmp_fromlist_name_18 = const_tuple_str_plain_CaseInsensitiveDict_tuple; tmp_level_name_18 = const_int_pos_1; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 33; tmp_import_name_from_21 = IMPORT_MODULE5( tmp_name_name_18, tmp_globals_name_18, tmp_locals_name_18, tmp_fromlist_name_18, tmp_level_name_18 ); if ( tmp_import_name_from_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 33; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_21 ) ) { tmp_assign_source_36 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_21, (PyObject *)MODULE_DICT(tmp_import_name_from_21), const_str_plain_CaseInsensitiveDict, const_int_pos_1 ); } else { tmp_assign_source_36 = IMPORT_NAME( tmp_import_name_from_21, const_str_plain_CaseInsensitiveDict ); } Py_DECREF( tmp_import_name_from_21 ); if ( tmp_assign_source_36 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 33; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_CaseInsensitiveDict, tmp_assign_source_36 ); } { PyObject *tmp_assign_source_37; PyObject *tmp_name_name_19; PyObject *tmp_globals_name_19; PyObject *tmp_locals_name_19; PyObject *tmp_fromlist_name_19; PyObject *tmp_level_name_19; tmp_name_name_19 = const_str_plain_exceptions; tmp_globals_name_19 = (PyObject *)moduledict_requests$utils; tmp_locals_name_19 = Py_None; tmp_fromlist_name_19 = const_tuple_6f74c6275de1e86f02f14e9991c5056f_tuple; tmp_level_name_19 = const_int_pos_1; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 34; tmp_assign_source_37 = IMPORT_MODULE5( tmp_name_name_19, tmp_globals_name_19, tmp_locals_name_19, tmp_fromlist_name_19, tmp_level_name_19 ); if ( tmp_assign_source_37 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 34; goto frame_exception_exit_1; } assert( tmp_import_from_2__module == NULL ); tmp_import_from_2__module = tmp_assign_source_37; } { // Tried code: { PyObject *tmp_assign_source_38; PyObject *tmp_import_name_from_22; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_22 = tmp_import_from_2__module; if ( PyModule_Check( tmp_import_name_from_22 ) ) { tmp_assign_source_38 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_22, (PyObject *)MODULE_DICT(tmp_import_name_from_22), const_str_plain_InvalidURL, const_int_pos_1 ); } else { tmp_assign_source_38 = IMPORT_NAME( tmp_import_name_from_22, const_str_plain_InvalidURL ); } if ( tmp_assign_source_38 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 34; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_InvalidURL, tmp_assign_source_38 ); } { PyObject *tmp_assign_source_39; PyObject *tmp_import_name_from_23; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_23 = tmp_import_from_2__module; if ( PyModule_Check( tmp_import_name_from_23 ) ) { tmp_assign_source_39 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_23, (PyObject *)MODULE_DICT(tmp_import_name_from_23), const_str_plain_InvalidHeader, const_int_pos_1 ); } else { tmp_assign_source_39 = IMPORT_NAME( tmp_import_name_from_23, const_str_plain_InvalidHeader ); } if ( tmp_assign_source_39 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 34; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_InvalidHeader, tmp_assign_source_39 ); } { PyObject *tmp_assign_source_40; PyObject *tmp_import_name_from_24; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_24 = tmp_import_from_2__module; if ( PyModule_Check( tmp_import_name_from_24 ) ) { tmp_assign_source_40 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_24, (PyObject *)MODULE_DICT(tmp_import_name_from_24), const_str_plain_FileModeWarning, const_int_pos_1 ); } else { tmp_assign_source_40 = IMPORT_NAME( tmp_import_name_from_24, const_str_plain_FileModeWarning ); } if ( tmp_assign_source_40 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 34; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_FileModeWarning, tmp_assign_source_40 ); } { PyObject *tmp_assign_source_41; PyObject *tmp_import_name_from_25; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_25 = tmp_import_from_2__module; if ( PyModule_Check( tmp_import_name_from_25 ) ) { tmp_assign_source_41 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_25, (PyObject *)MODULE_DICT(tmp_import_name_from_25), const_str_plain_UnrewindableBodyError, const_int_pos_1 ); } else { tmp_assign_source_41 = IMPORT_NAME( tmp_import_name_from_25, const_str_plain_UnrewindableBodyError ); } if ( tmp_assign_source_41 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 34; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_UnrewindableBodyError, tmp_assign_source_41 ); } 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_42; tmp_assign_source_42 = const_tuple_str_digest_8f7eb4fe1e52fc4de60fd5e904266c1d_str_plain__netrc_tuple; UPDATE_STRING_DICT0( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_NETRC_FILES, tmp_assign_source_42 ); } { PyObject *tmp_assign_source_43; PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_certs ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_certs ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "certs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 39; goto frame_exception_exit_1; } tmp_called_instance_1 = tmp_mvar_value_1; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 39; tmp_assign_source_43 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_where ); if ( tmp_assign_source_43 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 39; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_DEFAULT_CA_BUNDLE_PATH, tmp_assign_source_43 ); } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 42; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_2; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_platform ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 42; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_str_plain_win32; tmp_res = RICH_COMPARE_BOOL_EQ_NORECURSE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 42; 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_44; tmp_assign_source_44 = MAKE_FUNCTION_requests$utils$$$function_1_proxy_bypass_registry( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_proxy_bypass_registry, tmp_assign_source_44 ); } { PyObject *tmp_assign_source_45; tmp_assign_source_45 = MAKE_FUNCTION_requests$utils$$$function_2_proxy_bypass( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_proxy_bypass, tmp_assign_source_45 ); } branch_no_1:; } { PyObject *tmp_assign_source_46; tmp_assign_source_46 = MAKE_FUNCTION_requests$utils$$$function_3_dict_to_sequence( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_dict_to_sequence, tmp_assign_source_46 ); } { PyObject *tmp_assign_source_47; tmp_assign_source_47 = MAKE_FUNCTION_requests$utils$$$function_4_super_len( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_super_len, tmp_assign_source_47 ); } { PyObject *tmp_assign_source_48; PyObject *tmp_defaults_1; tmp_defaults_1 = const_tuple_false_tuple; Py_INCREF( tmp_defaults_1 ); tmp_assign_source_48 = MAKE_FUNCTION_requests$utils$$$function_5_get_netrc_auth( tmp_defaults_1 ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_get_netrc_auth, tmp_assign_source_48 ); } { PyObject *tmp_assign_source_49; tmp_assign_source_49 = MAKE_FUNCTION_requests$utils$$$function_6_guess_filename( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_guess_filename, tmp_assign_source_49 ); } { PyObject *tmp_assign_source_50; tmp_assign_source_50 = MAKE_FUNCTION_requests$utils$$$function_7_extract_zipped_paths( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_extract_zipped_paths, tmp_assign_source_50 ); } { PyObject *tmp_assign_source_51; tmp_assign_source_51 = MAKE_FUNCTION_requests$utils$$$function_8_from_key_val_list( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_from_key_val_list, tmp_assign_source_51 ); } { PyObject *tmp_assign_source_52; tmp_assign_source_52 = MAKE_FUNCTION_requests$utils$$$function_9_to_key_val_list( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_to_key_val_list, tmp_assign_source_52 ); } { PyObject *tmp_assign_source_53; tmp_assign_source_53 = MAKE_FUNCTION_requests$utils$$$function_10_parse_list_header( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_parse_list_header, tmp_assign_source_53 ); } { PyObject *tmp_assign_source_54; tmp_assign_source_54 = MAKE_FUNCTION_requests$utils$$$function_11_parse_dict_header( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_parse_dict_header, tmp_assign_source_54 ); } { PyObject *tmp_assign_source_55; PyObject *tmp_defaults_2; tmp_defaults_2 = const_tuple_false_tuple; Py_INCREF( tmp_defaults_2 ); tmp_assign_source_55 = MAKE_FUNCTION_requests$utils$$$function_12_unquote_header_value( tmp_defaults_2 ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_unquote_header_value, tmp_assign_source_55 ); } { PyObject *tmp_assign_source_56; tmp_assign_source_56 = MAKE_FUNCTION_requests$utils$$$function_13_dict_from_cookiejar( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_dict_from_cookiejar, tmp_assign_source_56 ); } { PyObject *tmp_assign_source_57; tmp_assign_source_57 = MAKE_FUNCTION_requests$utils$$$function_14_add_dict_to_cookiejar( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_add_dict_to_cookiejar, tmp_assign_source_57 ); } { PyObject *tmp_assign_source_58; tmp_assign_source_58 = MAKE_FUNCTION_requests$utils$$$function_15_get_encodings_from_content( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_get_encodings_from_content, tmp_assign_source_58 ); } { PyObject *tmp_assign_source_59; tmp_assign_source_59 = MAKE_FUNCTION_requests$utils$$$function_16__parse_content_type_header( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__parse_content_type_header, tmp_assign_source_59 ); } { PyObject *tmp_assign_source_60; tmp_assign_source_60 = MAKE_FUNCTION_requests$utils$$$function_17_get_encoding_from_headers( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_get_encoding_from_headers, tmp_assign_source_60 ); } { PyObject *tmp_assign_source_61; tmp_assign_source_61 = MAKE_FUNCTION_requests$utils$$$function_18_stream_decode_response_unicode( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_stream_decode_response_unicode, tmp_assign_source_61 ); } { PyObject *tmp_assign_source_62; tmp_assign_source_62 = MAKE_FUNCTION_requests$utils$$$function_19_iter_slices( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_iter_slices, tmp_assign_source_62 ); } { PyObject *tmp_assign_source_63; tmp_assign_source_63 = MAKE_FUNCTION_requests$utils$$$function_20_get_unicode_from_response( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_get_unicode_from_response, tmp_assign_source_63 ); } { PyObject *tmp_assign_source_64; tmp_assign_source_64 = const_frozenset_f8d83c6b96845889ba633997582e29e0; UPDATE_STRING_DICT0( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_UNRESERVED_SET, tmp_assign_source_64 ); } { PyObject *tmp_assign_source_65; tmp_assign_source_65 = MAKE_FUNCTION_requests$utils$$$function_21_unquote_unreserved( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_unquote_unreserved, tmp_assign_source_65 ); } { PyObject *tmp_assign_source_66; tmp_assign_source_66 = MAKE_FUNCTION_requests$utils$$$function_22_requote_uri( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_requote_uri, tmp_assign_source_66 ); } { PyObject *tmp_assign_source_67; tmp_assign_source_67 = MAKE_FUNCTION_requests$utils$$$function_23_address_in_network( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_address_in_network, tmp_assign_source_67 ); } { PyObject *tmp_assign_source_68; tmp_assign_source_68 = MAKE_FUNCTION_requests$utils$$$function_24_dotted_netmask( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_dotted_netmask, tmp_assign_source_68 ); } { PyObject *tmp_assign_source_69; tmp_assign_source_69 = MAKE_FUNCTION_requests$utils$$$function_25_is_ipv4_address( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_is_ipv4_address, tmp_assign_source_69 ); } { PyObject *tmp_assign_source_70; tmp_assign_source_70 = MAKE_FUNCTION_requests$utils$$$function_26_is_valid_cidr( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_is_valid_cidr, tmp_assign_source_70 ); } { PyObject *tmp_assign_source_71; PyObject *tmp_called_instance_2; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_1; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_contextlib ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_contextlib ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "contextlib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 670; goto frame_exception_exit_1; } tmp_called_instance_2 = tmp_mvar_value_3; tmp_args_element_name_1 = MAKE_FUNCTION_requests$utils$$$function_27_set_environ( ); frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 670; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_71 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_contextmanager, call_args ); } Py_DECREF( tmp_args_element_name_1 ); if ( tmp_assign_source_71 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 670; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_set_environ, tmp_assign_source_71 ); } { PyObject *tmp_assign_source_72; tmp_assign_source_72 = MAKE_FUNCTION_requests$utils$$$function_28_should_bypass_proxies( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_should_bypass_proxies, tmp_assign_source_72 ); } { PyObject *tmp_assign_source_73; PyObject *tmp_defaults_3; tmp_defaults_3 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_3 ); tmp_assign_source_73 = MAKE_FUNCTION_requests$utils$$$function_29_get_environ_proxies( tmp_defaults_3 ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_get_environ_proxies, tmp_assign_source_73 ); } { PyObject *tmp_assign_source_74; tmp_assign_source_74 = MAKE_FUNCTION_requests$utils$$$function_30_select_proxy( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_select_proxy, tmp_assign_source_74 ); } { PyObject *tmp_assign_source_75; PyObject *tmp_defaults_4; tmp_defaults_4 = const_tuple_str_digest_d51435db5366bc56f56795c27a8b5c68_tuple; Py_INCREF( tmp_defaults_4 ); tmp_assign_source_75 = MAKE_FUNCTION_requests$utils$$$function_31_default_user_agent( tmp_defaults_4 ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_default_user_agent, tmp_assign_source_75 ); } { PyObject *tmp_assign_source_76; tmp_assign_source_76 = MAKE_FUNCTION_requests$utils$$$function_32_default_headers( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_default_headers, tmp_assign_source_76 ); } { PyObject *tmp_assign_source_77; tmp_assign_source_77 = MAKE_FUNCTION_requests$utils$$$function_33_parse_header_links( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_parse_header_links, tmp_assign_source_77 ); } { PyObject *tmp_assign_source_78; PyObject *tmp_called_instance_3; tmp_called_instance_3 = const_str_chr_0; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 851; tmp_assign_source_78 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_plain_ascii_tuple, 0 ) ); if ( tmp_assign_source_78 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 851; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__null, tmp_assign_source_78 ); } { PyObject *tmp_assign_source_79; PyObject *tmp_left_name_1; PyObject *tmp_mvar_value_4; PyObject *tmp_right_name_1; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__null ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__null ); } CHECK_OBJECT( tmp_mvar_value_4 ); tmp_left_name_1 = tmp_mvar_value_4; tmp_right_name_1 = const_int_pos_2; tmp_assign_source_79 = BINARY_OPERATION_MUL( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_assign_source_79 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 852; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__null2, tmp_assign_source_79 ); } { PyObject *tmp_assign_source_80; PyObject *tmp_left_name_2; PyObject *tmp_mvar_value_5; PyObject *tmp_right_name_2; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__null ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__null ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_null" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 853; goto frame_exception_exit_1; } tmp_left_name_2 = tmp_mvar_value_5; tmp_right_name_2 = const_int_pos_3; tmp_assign_source_80 = BINARY_OPERATION_MUL( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_assign_source_80 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 853; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__null3, tmp_assign_source_80 ); } { PyObject *tmp_assign_source_81; tmp_assign_source_81 = MAKE_FUNCTION_requests$utils$$$function_34_guess_json_utf( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_guess_json_utf, tmp_assign_source_81 ); } { PyObject *tmp_assign_source_82; tmp_assign_source_82 = MAKE_FUNCTION_requests$utils$$$function_35_prepend_scheme_if_needed( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_prepend_scheme_if_needed, tmp_assign_source_82 ); } { PyObject *tmp_assign_source_83; tmp_assign_source_83 = MAKE_FUNCTION_requests$utils$$$function_36_get_auth_from_url( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_get_auth_from_url, tmp_assign_source_83 ); } { PyObject *tmp_assign_source_84; PyObject *tmp_called_instance_4; PyObject *tmp_mvar_value_6; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_6 == NULL ) { 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 = 922; goto frame_exception_exit_1; } tmp_called_instance_4 = tmp_mvar_value_6; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 922; tmp_assign_source_84 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, const_str_plain_compile, &PyTuple_GET_ITEM( const_tuple_bytes_digest_b353d8ef7ea303c0e0b70b8c221a66c7_tuple, 0 ) ); if ( tmp_assign_source_84 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 922; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__CLEAN_HEADER_REGEX_BYTE, tmp_assign_source_84 ); } { PyObject *tmp_assign_source_85; PyObject *tmp_called_instance_5; PyObject *tmp_mvar_value_7; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_re ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_re ); } if ( tmp_mvar_value_7 == 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 = 923; goto frame_exception_exit_1; } tmp_called_instance_5 = tmp_mvar_value_7; frame_6841c72b780de0db60dbe10163dc9be9->m_frame.f_lineno = 923; tmp_assign_source_85 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_5, const_str_plain_compile, &PyTuple_GET_ITEM( const_tuple_str_digest_5f1a5ad79ba73300c045600e1b62e8ce_tuple, 0 ) ); if ( tmp_assign_source_85 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 923; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain__CLEAN_HEADER_REGEX_STR, tmp_assign_source_85 ); } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_6841c72b780de0db60dbe10163dc9be9 ); #endif popFrameStack(); assertFrameObject( frame_6841c72b780de0db60dbe10163dc9be9 ); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6841c72b780de0db60dbe10163dc9be9 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_6841c72b780de0db60dbe10163dc9be9, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_6841c72b780de0db60dbe10163dc9be9->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_6841c72b780de0db60dbe10163dc9be9, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_1:; { PyObject *tmp_assign_source_86; tmp_assign_source_86 = MAKE_FUNCTION_requests$utils$$$function_37_check_header_validity( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_check_header_validity, tmp_assign_source_86 ); } { PyObject *tmp_assign_source_87; tmp_assign_source_87 = MAKE_FUNCTION_requests$utils$$$function_38_urldefragauth( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_urldefragauth, tmp_assign_source_87 ); } { PyObject *tmp_assign_source_88; tmp_assign_source_88 = MAKE_FUNCTION_requests$utils$$$function_39_rewind_body( ); UPDATE_STRING_DICT1( moduledict_requests$utils, (Nuitka_StringObject *)const_str_plain_rewind_body, tmp_assign_source_88 ); } return MOD_RETURN_VALUE( module_requests$utils ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }