/* Generated code for Python source for module 'urllib3.util.url' * 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_urllib3$util$url 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_urllib3$util$url; PyDictObject *moduledict_urllib3$util$url; /* The module constants used, if any. */ extern PyObject *const_str_digest_a05fa8f67e9c342eb59afe566750507b; extern PyObject *const_str_plain_metaclass; extern PyObject *const_str_plain___name__; extern PyObject *const_tuple_str_plain___class___tuple; extern PyObject *const_str_angle_metaclass; static PyObject *const_tuple_str_digest_a05fa8f67e9c342eb59afe566750507b_int_pos_1_tuple; extern PyObject *const_str_plain___file__; static PyObject *const_tuple_82eca0ff0ad7fb455b7b30d62f82af53_tuple; static PyObject *const_tuple_str_plain_url_str_plain_p_tuple; static PyObject *const_str_digest_d059371e62041157c75568892a4792b2; static PyObject *const_tuple_90cea16c23d7b6fcb99d121c43520905_tuple; extern PyObject *const_tuple_str_chr_63_int_pos_1_tuple; static PyObject *const_tuple_str_plain_http_str_plain_https_none_tuple; static PyObject *const_str_plain__host; extern PyObject *const_str_plain_scheme; extern PyObject *const_str_plain_fragment; extern PyObject *const_str_plain_None; static PyObject *const_tuple_c43db29d076cad78fc09fe62520eefdf_tuple; extern PyObject *const_str_plain_LocationParseError; extern PyObject *const_str_plain_cls; static PyObject *const_str_digest_81e795540c1089cfcc1b50aaf38a2508; extern PyObject *const_str_plain_get_host; extern PyObject *const_str_chr_63; extern PyObject *const_str_plain_absolute_import; extern PyObject *const_str_plain___doc__; static PyObject *const_tuple_a1d8d21a12c116634123e87ca50e0273_tuple; static PyObject *const_list_str_chr_47_str_chr_63_str_chr_35_list; extern PyObject *const_str_plain_lower; extern PyObject *const_str_plain___debug__; extern PyObject *const_str_plain___orig_bases__; static PyObject *const_str_plain_min_delim; static PyObject *const_str_plain_min_idx; extern PyObject *const_str_plain_s; extern PyObject *const_tuple_str_chr_64_int_pos_1_tuple; extern PyObject *const_tuple_none_none_none_none_none_none_none_tuple; extern PyObject *const_tuple_str_plain_namedtuple_tuple; extern PyObject *const_str_plain___qualname__; extern PyObject *const_str_plain_host; extern PyObject *const_str_plain_https; extern PyObject *const_str_plain_isdigit; extern PyObject *const_str_plain_parse_url; extern PyObject *const_str_plain_path; static PyObject *const_str_digest_8bedf24b0b7ebbf0d2d5d14d176c4819; static PyObject *const_str_digest_f43e189ec0b8de0c869cd891f79f8d5c; extern PyObject *const_str_plain_p; extern PyObject *const_str_digest_93b1a23f821c1fea91e627ae367d1497; extern PyObject *const_tuple_str_plain_self_tuple; extern PyObject *const_str_chr_35; extern PyObject *const_str_plain_query; extern PyObject *const_str_plain_collections; static PyObject *const_tuple_str_plain_LocationParseError_tuple; extern PyObject *const_str_plain_netloc; extern PyObject *const_str_chr_64; extern PyObject *const_str_chr_91; static PyObject *const_list_e5c5e46e19f9df51f3e1864dfe99c669_list; static PyObject *const_str_digest_67a7add68e3824f4c255c17aad8377c0; extern PyObject *const_tuple_empty; extern PyObject *const_tuple_str_chr_35_int_pos_1_tuple; static PyObject *const_str_digest_d503b56d297494d3676c16d8414f11cd; static PyObject *const_str_digest_c75c0d39d2a0196f8742722a8a16332e; extern PyObject *const_str_plain_exceptions; extern PyObject *const_str_plain_delim; static PyObject *const_str_digest_b8db79b9d0912cab551b32203f01865e; extern PyObject *const_str_plain_split; static PyObject *const_str_plain_delims; static PyObject *const_str_plain_path_; static PyObject *const_str_digest_7e6cf4117f906fa2ab7498e20ad3ec85; extern PyObject *const_str_plain___getitem__; static PyObject *const_str_digest_ba44c1ca6ead3bd22179c5b60b235495; extern PyObject *const_str_plain___new__; static PyObject *const_str_digest_b04d4c22614b9ff9b4fadfb8c8b3f608; extern PyObject *const_int_0; extern PyObject *const_str_plain_split_first; extern PyObject *const_str_plain___slots__; extern PyObject *const_str_chr_58; extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295; extern PyObject *const_str_plain_request_uri; extern PyObject *const_str_plain_NORMALIZABLE_SCHEMES; extern PyObject *const_str_plain_namedtuple; static PyObject *const_str_plain_url_attrs; static PyObject *const_str_digest_47e4c93ec01e236a0553178a4c1e6fa7; extern PyObject *const_str_plain_type; static PyObject *const_str_digest_0eba838a809bddec091fbe1e32cd348e; static PyObject *const_str_digest_e588ffd8998d7aa65d2f47eef1a83f98; extern PyObject *const_str_chr_93; extern PyObject *const_str_plain_d; extern PyObject *const_str_plain___cached__; extern PyObject *const_str_plain___class__; extern PyObject *const_str_plain_idx; extern PyObject *const_str_plain___module__; extern PyObject *const_str_plain___str__; extern PyObject *const_str_chr_47; static PyObject *const_str_digest_bc35c2c5269f7dec5a97d7b102ffbcac; static PyObject *const_tuple_str_chr_93_int_pos_1_tuple; extern PyObject *const_int_pos_1; extern PyObject *const_str_plain_port; extern PyObject *const_str_plain_hostname; extern PyObject *const_str_plain_uri; extern PyObject *const_tuple_str_chr_47_tuple; extern PyObject *const_str_plain_auth; extern PyObject *const_str_plain___prepare__; extern PyObject *const_str_plain_url; extern PyObject *const_str_plain_self; extern PyObject *const_str_plain_rsplit; extern PyObject *const_tuple_str_chr_58_int_pos_1_tuple; extern PyObject *const_str_plain_http; extern PyObject *const_int_pos_2; static PyObject *const_str_digest_eee64e928d1d5bb591f23189f7760b5c; static PyObject *const_str_digest_6c649fac88b2fbb1f84d4549e20576e1; extern PyObject *const_str_plain_property; static PyObject *const_tuple_str_plain_self_str_plain_uri_tuple; extern PyObject *const_str_plain_startswith; extern PyObject *const_str_empty; extern PyObject *const_str_plain_find; extern PyObject *const_str_plain_Url; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_tuple_str_digest_a05fa8f67e9c342eb59afe566750507b_int_pos_1_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_digest_a05fa8f67e9c342eb59afe566750507b_int_pos_1_tuple, 0, const_str_digest_a05fa8f67e9c342eb59afe566750507b ); Py_INCREF( const_str_digest_a05fa8f67e9c342eb59afe566750507b ); PyTuple_SET_ITEM( const_tuple_str_digest_a05fa8f67e9c342eb59afe566750507b_int_pos_1_tuple, 1, const_int_pos_1 ); Py_INCREF( const_int_pos_1 ); const_tuple_82eca0ff0ad7fb455b7b30d62f82af53_tuple = PyTuple_New( 11 ); PyTuple_SET_ITEM( const_tuple_82eca0ff0ad7fb455b7b30d62f82af53_tuple, 0, const_str_plain_url ); Py_INCREF( const_str_plain_url ); PyTuple_SET_ITEM( const_tuple_82eca0ff0ad7fb455b7b30d62f82af53_tuple, 1, const_str_plain_scheme ); Py_INCREF( const_str_plain_scheme ); PyTuple_SET_ITEM( const_tuple_82eca0ff0ad7fb455b7b30d62f82af53_tuple, 2, const_str_plain_auth ); Py_INCREF( const_str_plain_auth ); PyTuple_SET_ITEM( const_tuple_82eca0ff0ad7fb455b7b30d62f82af53_tuple, 3, const_str_plain_host ); Py_INCREF( const_str_plain_host ); PyTuple_SET_ITEM( const_tuple_82eca0ff0ad7fb455b7b30d62f82af53_tuple, 4, const_str_plain_port ); Py_INCREF( const_str_plain_port ); PyTuple_SET_ITEM( const_tuple_82eca0ff0ad7fb455b7b30d62f82af53_tuple, 5, const_str_plain_path ); Py_INCREF( const_str_plain_path ); PyTuple_SET_ITEM( const_tuple_82eca0ff0ad7fb455b7b30d62f82af53_tuple, 6, const_str_plain_fragment ); Py_INCREF( const_str_plain_fragment ); PyTuple_SET_ITEM( const_tuple_82eca0ff0ad7fb455b7b30d62f82af53_tuple, 7, const_str_plain_query ); Py_INCREF( const_str_plain_query ); const_str_plain_path_ = UNSTREAM_STRING( &constant_bin[ 521634 ], 5, 1 ); PyTuple_SET_ITEM( const_tuple_82eca0ff0ad7fb455b7b30d62f82af53_tuple, 8, const_str_plain_path_ ); Py_INCREF( const_str_plain_path_ ); PyTuple_SET_ITEM( const_tuple_82eca0ff0ad7fb455b7b30d62f82af53_tuple, 9, const_str_plain_delim ); Py_INCREF( const_str_plain_delim ); const_str_plain__host = UNSTREAM_STRING( &constant_bin[ 486824 ], 5, 1 ); PyTuple_SET_ITEM( const_tuple_82eca0ff0ad7fb455b7b30d62f82af53_tuple, 10, const_str_plain__host ); Py_INCREF( const_str_plain__host ); const_tuple_str_plain_url_str_plain_p_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_url_str_plain_p_tuple, 0, const_str_plain_url ); Py_INCREF( const_str_plain_url ); PyTuple_SET_ITEM( const_tuple_str_plain_url_str_plain_p_tuple, 1, const_str_plain_p ); Py_INCREF( const_str_plain_p ); const_str_digest_d059371e62041157c75568892a4792b2 = UNSTREAM_STRING( &constant_bin[ 1533858 ], 11, 0 ); const_tuple_90cea16c23d7b6fcb99d121c43520905_tuple = PyTuple_New( 9 ); PyTuple_SET_ITEM( const_tuple_90cea16c23d7b6fcb99d121c43520905_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_90cea16c23d7b6fcb99d121c43520905_tuple, 1, const_str_plain_scheme ); Py_INCREF( const_str_plain_scheme ); PyTuple_SET_ITEM( const_tuple_90cea16c23d7b6fcb99d121c43520905_tuple, 2, const_str_plain_auth ); Py_INCREF( const_str_plain_auth ); PyTuple_SET_ITEM( const_tuple_90cea16c23d7b6fcb99d121c43520905_tuple, 3, const_str_plain_host ); Py_INCREF( const_str_plain_host ); PyTuple_SET_ITEM( const_tuple_90cea16c23d7b6fcb99d121c43520905_tuple, 4, const_str_plain_port ); Py_INCREF( const_str_plain_port ); PyTuple_SET_ITEM( const_tuple_90cea16c23d7b6fcb99d121c43520905_tuple, 5, const_str_plain_path ); Py_INCREF( const_str_plain_path ); PyTuple_SET_ITEM( const_tuple_90cea16c23d7b6fcb99d121c43520905_tuple, 6, const_str_plain_query ); Py_INCREF( const_str_plain_query ); PyTuple_SET_ITEM( const_tuple_90cea16c23d7b6fcb99d121c43520905_tuple, 7, const_str_plain_fragment ); Py_INCREF( const_str_plain_fragment ); PyTuple_SET_ITEM( const_tuple_90cea16c23d7b6fcb99d121c43520905_tuple, 8, const_str_plain_url ); Py_INCREF( const_str_plain_url ); const_tuple_str_plain_http_str_plain_https_none_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_http_str_plain_https_none_tuple, 0, const_str_plain_http ); Py_INCREF( const_str_plain_http ); PyTuple_SET_ITEM( const_tuple_str_plain_http_str_plain_https_none_tuple, 1, const_str_plain_https ); Py_INCREF( const_str_plain_https ); PyTuple_SET_ITEM( const_tuple_str_plain_http_str_plain_https_none_tuple, 2, Py_None ); Py_INCREF( Py_None ); const_tuple_c43db29d076cad78fc09fe62520eefdf_tuple = PyTuple_New( 6 ); PyTuple_SET_ITEM( const_tuple_c43db29d076cad78fc09fe62520eefdf_tuple, 0, const_str_plain_s ); Py_INCREF( const_str_plain_s ); const_str_plain_delims = UNSTREAM_STRING( &constant_bin[ 673757 ], 6, 1 ); PyTuple_SET_ITEM( const_tuple_c43db29d076cad78fc09fe62520eefdf_tuple, 1, const_str_plain_delims ); Py_INCREF( const_str_plain_delims ); const_str_plain_min_idx = UNSTREAM_STRING( &constant_bin[ 1533869 ], 7, 1 ); PyTuple_SET_ITEM( const_tuple_c43db29d076cad78fc09fe62520eefdf_tuple, 2, const_str_plain_min_idx ); Py_INCREF( const_str_plain_min_idx ); const_str_plain_min_delim = UNSTREAM_STRING( &constant_bin[ 1533876 ], 9, 1 ); PyTuple_SET_ITEM( const_tuple_c43db29d076cad78fc09fe62520eefdf_tuple, 3, const_str_plain_min_delim ); Py_INCREF( const_str_plain_min_delim ); PyTuple_SET_ITEM( const_tuple_c43db29d076cad78fc09fe62520eefdf_tuple, 4, const_str_plain_d ); Py_INCREF( const_str_plain_d ); PyTuple_SET_ITEM( const_tuple_c43db29d076cad78fc09fe62520eefdf_tuple, 5, const_str_plain_idx ); Py_INCREF( const_str_plain_idx ); const_str_digest_81e795540c1089cfcc1b50aaf38a2508 = UNSTREAM_STRING( &constant_bin[ 1533885 ], 52, 0 ); const_tuple_a1d8d21a12c116634123e87ca50e0273_tuple = PyTuple_New( 9 ); PyTuple_SET_ITEM( const_tuple_a1d8d21a12c116634123e87ca50e0273_tuple, 0, const_str_plain_cls ); Py_INCREF( const_str_plain_cls ); PyTuple_SET_ITEM( const_tuple_a1d8d21a12c116634123e87ca50e0273_tuple, 1, const_str_plain_scheme ); Py_INCREF( const_str_plain_scheme ); PyTuple_SET_ITEM( const_tuple_a1d8d21a12c116634123e87ca50e0273_tuple, 2, const_str_plain_auth ); Py_INCREF( const_str_plain_auth ); PyTuple_SET_ITEM( const_tuple_a1d8d21a12c116634123e87ca50e0273_tuple, 3, const_str_plain_host ); Py_INCREF( const_str_plain_host ); PyTuple_SET_ITEM( const_tuple_a1d8d21a12c116634123e87ca50e0273_tuple, 4, const_str_plain_port ); Py_INCREF( const_str_plain_port ); PyTuple_SET_ITEM( const_tuple_a1d8d21a12c116634123e87ca50e0273_tuple, 5, const_str_plain_path ); Py_INCREF( const_str_plain_path ); PyTuple_SET_ITEM( const_tuple_a1d8d21a12c116634123e87ca50e0273_tuple, 6, const_str_plain_query ); Py_INCREF( const_str_plain_query ); PyTuple_SET_ITEM( const_tuple_a1d8d21a12c116634123e87ca50e0273_tuple, 7, const_str_plain_fragment ); Py_INCREF( const_str_plain_fragment ); PyTuple_SET_ITEM( const_tuple_a1d8d21a12c116634123e87ca50e0273_tuple, 8, const_str_plain___class__ ); Py_INCREF( const_str_plain___class__ ); const_list_str_chr_47_str_chr_63_str_chr_35_list = PyList_New( 3 ); PyList_SET_ITEM( const_list_str_chr_47_str_chr_63_str_chr_35_list, 0, const_str_chr_47 ); Py_INCREF( const_str_chr_47 ); PyList_SET_ITEM( const_list_str_chr_47_str_chr_63_str_chr_35_list, 1, const_str_chr_63 ); Py_INCREF( const_str_chr_63 ); PyList_SET_ITEM( const_list_str_chr_47_str_chr_63_str_chr_35_list, 2, const_str_chr_35 ); Py_INCREF( const_str_chr_35 ); const_str_digest_8bedf24b0b7ebbf0d2d5d14d176c4819 = UNSTREAM_STRING( &constant_bin[ 1533937 ], 25, 0 ); const_str_digest_f43e189ec0b8de0c869cd891f79f8d5c = UNSTREAM_STRING( &constant_bin[ 1533962 ], 64, 0 ); const_tuple_str_plain_LocationParseError_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_LocationParseError_tuple, 0, const_str_plain_LocationParseError ); Py_INCREF( const_str_plain_LocationParseError ); const_list_e5c5e46e19f9df51f3e1864dfe99c669_list = PyList_New( 7 ); PyList_SET_ITEM( const_list_e5c5e46e19f9df51f3e1864dfe99c669_list, 0, const_str_plain_scheme ); Py_INCREF( const_str_plain_scheme ); PyList_SET_ITEM( const_list_e5c5e46e19f9df51f3e1864dfe99c669_list, 1, const_str_plain_auth ); Py_INCREF( const_str_plain_auth ); PyList_SET_ITEM( const_list_e5c5e46e19f9df51f3e1864dfe99c669_list, 2, const_str_plain_host ); Py_INCREF( const_str_plain_host ); PyList_SET_ITEM( const_list_e5c5e46e19f9df51f3e1864dfe99c669_list, 3, const_str_plain_port ); Py_INCREF( const_str_plain_port ); PyList_SET_ITEM( const_list_e5c5e46e19f9df51f3e1864dfe99c669_list, 4, const_str_plain_path ); Py_INCREF( const_str_plain_path ); PyList_SET_ITEM( const_list_e5c5e46e19f9df51f3e1864dfe99c669_list, 5, const_str_plain_query ); Py_INCREF( const_str_plain_query ); PyList_SET_ITEM( const_list_e5c5e46e19f9df51f3e1864dfe99c669_list, 6, const_str_plain_fragment ); Py_INCREF( const_str_plain_fragment ); const_str_digest_67a7add68e3824f4c255c17aad8377c0 = UNSTREAM_STRING( &constant_bin[ 1534026 ], 7, 0 ); const_str_digest_d503b56d297494d3676c16d8414f11cd = UNSTREAM_STRING( &constant_bin[ 1534033 ], 12, 0 ); const_str_digest_c75c0d39d2a0196f8742722a8a16332e = UNSTREAM_STRING( &constant_bin[ 1534045 ], 40, 0 ); const_str_digest_b8db79b9d0912cab551b32203f01865e = UNSTREAM_STRING( &constant_bin[ 1534085 ], 15, 0 ); const_str_digest_7e6cf4117f906fa2ab7498e20ad3ec85 = UNSTREAM_STRING( &constant_bin[ 1534100 ], 204, 0 ); const_str_digest_ba44c1ca6ead3bd22179c5b60b235495 = UNSTREAM_STRING( &constant_bin[ 1534304 ], 11, 0 ); const_str_digest_b04d4c22614b9ff9b4fadfb8c8b3f608 = UNSTREAM_STRING( &constant_bin[ 1533945 ], 16, 0 ); const_str_plain_url_attrs = UNSTREAM_STRING( &constant_bin[ 1534315 ], 9, 1 ); const_str_digest_47e4c93ec01e236a0553178a4c1e6fa7 = UNSTREAM_STRING( &constant_bin[ 1534324 ], 570, 0 ); const_str_digest_0eba838a809bddec091fbe1e32cd348e = UNSTREAM_STRING( &constant_bin[ 1534894 ], 466, 0 ); const_str_digest_e588ffd8998d7aa65d2f47eef1a83f98 = UNSTREAM_STRING( &constant_bin[ 1535360 ], 10, 0 ); const_str_digest_bc35c2c5269f7dec5a97d7b102ffbcac = UNSTREAM_STRING( &constant_bin[ 1535370 ], 52, 0 ); const_tuple_str_chr_93_int_pos_1_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_chr_93_int_pos_1_tuple, 0, const_str_chr_93 ); Py_INCREF( const_str_chr_93 ); PyTuple_SET_ITEM( const_tuple_str_chr_93_int_pos_1_tuple, 1, const_int_pos_1 ); Py_INCREF( const_int_pos_1 ); const_str_digest_eee64e928d1d5bb591f23189f7760b5c = UNSTREAM_STRING( &constant_bin[ 1535422 ], 41, 0 ); const_str_digest_6c649fac88b2fbb1f84d4549e20576e1 = UNSTREAM_STRING( &constant_bin[ 1535463 ], 648, 0 ); const_tuple_str_plain_self_str_plain_uri_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_uri_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_uri_tuple, 1, const_str_plain_uri ); Py_INCREF( const_str_plain_uri ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_urllib3$util$url( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_ba02c4bbe8f4c779bc94e943d8b3c923; static PyCodeObject *codeobj_ca076e9d5536f937520ae1d94d2a2d82; static PyCodeObject *codeobj_06363967baddaf1bdd2a5d671ac05787; static PyCodeObject *codeobj_43db7b89e223f7c737e9afad78261899; static PyCodeObject *codeobj_b11c245ad12727ac73cfce99bb14507b; static PyCodeObject *codeobj_a8e68f42ba969ce0222dc854318112ff; static PyCodeObject *codeobj_e7bf0805c5aa735d458b3c10e05b351f; static PyCodeObject *codeobj_ad6db9b740bf04f39a18378891d60d92; static PyCodeObject *codeobj_6ccce6f9323e89f559112c2b4a53614c; static PyCodeObject *codeobj_cefbbab946fbd3a8ba0505bfd779c11f; static PyCodeObject *codeobj_7cc66c62e7988700b2f4e34a1f2aad30; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_bc35c2c5269f7dec5a97d7b102ffbcac; codeobj_ba02c4bbe8f4c779bc94e943d8b3c923 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_8bedf24b0b7ebbf0d2d5d14d176c4819, 1, const_tuple_empty, 0, 0, CO_NOFREE ); codeobj_ca076e9d5536f937520ae1d94d2a2d82 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Url, 14, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_06363967baddaf1bdd2a5d671ac05787 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___new__, 22, const_tuple_a1d8d21a12c116634123e87ca50e0273_tuple, 8, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_43db7b89e223f7c737e9afad78261899 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___str__, 95, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_b11c245ad12727ac73cfce99bb14507b = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_host, 225, const_tuple_str_plain_url_str_plain_p_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_a8e68f42ba969ce0222dc854318112ff = MAKE_CODEOBJ( module_filename_obj, const_str_plain_hostname, 33, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e7bf0805c5aa735d458b3c10e05b351f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_netloc, 48, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_ad6db9b740bf04f39a18378891d60d92 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_parse_url, 132, const_tuple_82eca0ff0ad7fb455b7b30d62f82af53_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_6ccce6f9323e89f559112c2b4a53614c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_request_uri, 38, const_tuple_str_plain_self_str_plain_uri_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_cefbbab946fbd3a8ba0505bfd779c11f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_split_first, 99, const_tuple_c43db29d076cad78fc09fe62520eefdf_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_7cc66c62e7988700b2f4e34a1f2aad30 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_url, 55, const_tuple_90cea16c23d7b6fcb99d121c43520905_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); } // The module function declarations. NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars ); static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_1___new__( PyObject *defaults ); static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_2_hostname( ); static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_3_request_uri( ); static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_4_netloc( ); static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_5_url( ); static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_6___str__( ); static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_7_split_first( ); static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_8_parse_url( ); static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_9_get_host( ); // The module function definitions. static PyObject *impl_urllib3$util$url$$$function_1___new__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_cls = python_pars[ 0 ]; PyObject *par_scheme = python_pars[ 1 ]; PyObject *par_auth = python_pars[ 2 ]; PyObject *par_host = python_pars[ 3 ]; PyObject *par_port = python_pars[ 4 ]; PyObject *par_path = python_pars[ 5 ]; PyObject *par_query = python_pars[ 6 ]; PyObject *par_fragment = python_pars[ 7 ]; struct Nuitka_FrameObject *frame_06363967baddaf1bdd2a5d671ac05787; 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_06363967baddaf1bdd2a5d671ac05787 = 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_06363967baddaf1bdd2a5d671ac05787, codeobj_06363967baddaf1bdd2a5d671ac05787, module_urllib3$util$url, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_06363967baddaf1bdd2a5d671ac05787 = cache_frame_06363967baddaf1bdd2a5d671ac05787; // Push the new frame as the currently active one. pushFrameStack( frame_06363967baddaf1bdd2a5d671ac05787 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_06363967baddaf1bdd2a5d671ac05787 ) == 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_operand_name_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_path ); tmp_truth_name_1 = CHECK_IF_TRUE( par_path ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 24; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_and_left_value_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; CHECK_OBJECT( par_path ); tmp_called_instance_1 = par_path; frame_06363967baddaf1bdd2a5d671ac05787->m_frame.f_lineno = 24; tmp_operand_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_startswith, &PyTuple_GET_ITEM( const_tuple_str_chr_47_tuple, 0 ) ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 24; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 24; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_1 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; tmp_left_name_1 = const_str_chr_47; 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 = 25; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_right_name_1 = par_path; tmp_assign_source_1 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 25; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } { PyObject *old = par_path; par_path = tmp_assign_source_1; Py_XDECREF( old ); } } branch_no_1:; } { nuitka_bool tmp_condition_result_2; int tmp_truth_name_2; if ( par_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 = 26; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE( par_scheme ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } 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:; { PyObject *tmp_assign_source_2; PyObject *tmp_called_instance_2; if ( par_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 = 27; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_scheme; frame_06363967baddaf1bdd2a5d671ac05787->m_frame.f_lineno = 27; tmp_assign_source_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_lower ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 27; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } { PyObject *old = par_scheme; par_scheme = tmp_assign_source_2; Py_XDECREF( old ); } } branch_no_2:; } { nuitka_bool tmp_condition_result_3; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; int tmp_truth_name_3; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_mvar_value_1; 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 = 28; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_truth_name_3 = CHECK_IF_TRUE( par_host ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_and_left_value_2 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if ( par_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 = 28; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = par_scheme; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_NORMALIZABLE_SCHEMES ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NORMALIZABLE_SCHEMES ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NORMALIZABLE_SCHEMES" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 28; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = tmp_mvar_value_1; tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 28; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_and_right_value_2 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_3 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_3 = tmp_and_left_value_2; and_end_2:; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_3; PyObject *tmp_called_instance_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 = 29; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_called_instance_3 = par_host; frame_06363967baddaf1bdd2a5d671ac05787->m_frame.f_lineno = 29; tmp_assign_source_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_lower ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 29; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } { PyObject *old = par_host; par_host = tmp_assign_source_3; Py_XDECREF( old ); } } branch_no_3:; } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_type_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_object_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_args_element_name_4; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_Url ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Url ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Url" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 30; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_type_name_1 = tmp_mvar_value_2; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 30; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_object_name_1 = par_cls; tmp_source_name_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 30; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain___new__ ); 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 = 30; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } if ( par_cls == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 30; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_cls; if ( par_scheme == 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", "scheme" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 30; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_scheme; if ( par_auth == 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", "auth" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 30; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_auth; if ( par_host == 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", "host" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 30; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_host; if ( par_port == 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", "port" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 30; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_port; 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 = 30; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_path; if ( par_query == 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", "query" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 31; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_args_element_name_7 = par_query; if ( par_fragment == 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", "fragment" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 31; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } tmp_args_element_name_8 = par_fragment; frame_06363967baddaf1bdd2a5d671ac05787->m_frame.f_lineno = 30; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4, tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS8( 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 = 30; type_description_1 = "ooooooooN"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_06363967baddaf1bdd2a5d671ac05787 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_06363967baddaf1bdd2a5d671ac05787 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_06363967baddaf1bdd2a5d671ac05787 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_06363967baddaf1bdd2a5d671ac05787, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_06363967baddaf1bdd2a5d671ac05787->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_06363967baddaf1bdd2a5d671ac05787, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_06363967baddaf1bdd2a5d671ac05787, type_description_1, par_cls, par_scheme, par_auth, par_host, par_port, par_path, par_query, par_fragment, NULL ); // Release cached frame. if ( frame_06363967baddaf1bdd2a5d671ac05787 == cache_frame_06363967baddaf1bdd2a5d671ac05787 ) { Py_DECREF( frame_06363967baddaf1bdd2a5d671ac05787 ); } cache_frame_06363967baddaf1bdd2a5d671ac05787 = NULL; assertFrameObject( frame_06363967baddaf1bdd2a5d671ac05787 ); // 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( urllib3$util$url$$$function_1___new__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( par_scheme ); par_scheme = NULL; } { Py_XDECREF( par_auth ); par_auth = NULL; } { Py_XDECREF( par_host ); par_host = NULL; } { Py_XDECREF( par_port ); par_port = NULL; } { Py_XDECREF( par_path ); par_path = NULL; } { Py_XDECREF( par_query ); par_query = NULL; } { Py_XDECREF( par_fragment ); par_fragment = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( par_scheme ); par_scheme = NULL; } { Py_XDECREF( par_auth ); par_auth = NULL; } { Py_XDECREF( par_host ); par_host = NULL; } { Py_XDECREF( par_port ); par_port = NULL; } { Py_XDECREF( par_path ); par_path = NULL; } { Py_XDECREF( par_query ); par_query = NULL; } { Py_XDECREF( par_fragment ); par_fragment = 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( urllib3$util$url$$$function_1___new__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_urllib3$util$url$$$function_2_hostname( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_a8e68f42ba969ce0222dc854318112ff; 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_a8e68f42ba969ce0222dc854318112ff = 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_a8e68f42ba969ce0222dc854318112ff, codeobj_a8e68f42ba969ce0222dc854318112ff, module_urllib3$util$url, sizeof(void *) ); frame_a8e68f42ba969ce0222dc854318112ff = cache_frame_a8e68f42ba969ce0222dc854318112ff; // Push the new frame as the currently active one. pushFrameStack( frame_a8e68f42ba969ce0222dc854318112ff ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_a8e68f42ba969ce0222dc854318112ff ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_host ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 36; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_a8e68f42ba969ce0222dc854318112ff ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a8e68f42ba969ce0222dc854318112ff ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a8e68f42ba969ce0222dc854318112ff ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_a8e68f42ba969ce0222dc854318112ff, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_a8e68f42ba969ce0222dc854318112ff->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_a8e68f42ba969ce0222dc854318112ff, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_a8e68f42ba969ce0222dc854318112ff, type_description_1, par_self ); // Release cached frame. if ( frame_a8e68f42ba969ce0222dc854318112ff == cache_frame_a8e68f42ba969ce0222dc854318112ff ) { Py_DECREF( frame_a8e68f42ba969ce0222dc854318112ff ); } cache_frame_a8e68f42ba969ce0222dc854318112ff = NULL; assertFrameObject( frame_a8e68f42ba969ce0222dc854318112ff ); // 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( urllib3$util$url$$$function_2_hostname ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$util$url$$$function_2_hostname ); 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_urllib3$util$url$$$function_3_request_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_self = python_pars[ 0 ]; PyObject *var_uri = NULL; struct Nuitka_FrameObject *frame_6ccce6f9323e89f559112c2b4a53614c; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_6ccce6f9323e89f559112c2b4a53614c = 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_6ccce6f9323e89f559112c2b4a53614c, codeobj_6ccce6f9323e89f559112c2b4a53614c, module_urllib3$util$url, sizeof(void *)+sizeof(void *) ); frame_6ccce6f9323e89f559112c2b4a53614c = cache_frame_6ccce6f9323e89f559112c2b4a53614c; // Push the new frame as the currently active one. pushFrameStack( frame_6ccce6f9323e89f559112c2b4a53614c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_6ccce6f9323e89f559112c2b4a53614c ) == 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; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_or_left_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_path ); if ( tmp_or_left_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; type_description_1 = "oo"; 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 = 41; type_description_1 = "oo"; 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_or_right_value_1 = const_str_chr_47; Py_INCREF( tmp_or_right_value_1 ); tmp_assign_source_1 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_assign_source_1 = tmp_or_left_value_1; or_end_1:; assert( var_uri == NULL ); var_uri = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 43; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_query ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 43; type_description_1 = "oo"; 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_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_source_name_3; if ( var_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 = 44; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_left_name_1 = var_uri; tmp_left_name_2 = const_str_chr_63; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 44; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_right_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_query ); if ( tmp_right_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 44; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_right_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 44; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_1, tmp_right_name_1 ); tmp_assign_source_2 = tmp_left_name_1; Py_DECREF( tmp_right_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 44; type_description_1 = "oo"; goto frame_exception_exit_1; } var_uri = tmp_assign_source_2; } branch_no_1:; } { if ( var_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 = 46; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_return_value = var_uri; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_6ccce6f9323e89f559112c2b4a53614c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6ccce6f9323e89f559112c2b4a53614c ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6ccce6f9323e89f559112c2b4a53614c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_6ccce6f9323e89f559112c2b4a53614c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_6ccce6f9323e89f559112c2b4a53614c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_6ccce6f9323e89f559112c2b4a53614c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_6ccce6f9323e89f559112c2b4a53614c, type_description_1, par_self, var_uri ); // Release cached frame. if ( frame_6ccce6f9323e89f559112c2b4a53614c == cache_frame_6ccce6f9323e89f559112c2b4a53614c ) { Py_DECREF( frame_6ccce6f9323e89f559112c2b4a53614c ); } cache_frame_6ccce6f9323e89f559112c2b4a53614c = NULL; assertFrameObject( frame_6ccce6f9323e89f559112c2b4a53614c ); // 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( urllib3$util$url$$$function_3_request_uri ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_uri ); var_uri = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_uri ); var_uri = 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( urllib3$util$url$$$function_3_request_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_urllib3$util$url$$$function_4_netloc( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_e7bf0805c5aa735d458b3c10e05b351f; 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_e7bf0805c5aa735d458b3c10e05b351f = 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_e7bf0805c5aa735d458b3c10e05b351f, codeobj_e7bf0805c5aa735d458b3c10e05b351f, module_urllib3$util$url, sizeof(void *) ); frame_e7bf0805c5aa735d458b3c10e05b351f = cache_frame_e7bf0805c5aa735d458b3c10e05b351f; // Push the new frame as the currently active one. pushFrameStack( frame_e7bf0805c5aa735d458b3c10e05b351f ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e7bf0805c5aa735d458b3c10e05b351f ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_source_name_1; PyObject *tmp_attribute_value_1; int tmp_truth_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_port ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 51; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_attribute_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_1 ); exception_lineno = 51; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_1 ); if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; tmp_left_name_1 = const_str_digest_93b1a23f821c1fea91e627ae367d1497; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 52; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_host ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 52; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_right_name_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_1 ); if ( par_self == NULL ) { Py_DECREF( tmp_right_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 52; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_port ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_1 ); exception_lineno = 52; type_description_1 = "o"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_1 ); tmp_return_value = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 52; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_source_name_4; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 53; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_host ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 53; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_e7bf0805c5aa735d458b3c10e05b351f ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e7bf0805c5aa735d458b3c10e05b351f ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e7bf0805c5aa735d458b3c10e05b351f ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e7bf0805c5aa735d458b3c10e05b351f, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e7bf0805c5aa735d458b3c10e05b351f->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e7bf0805c5aa735d458b3c10e05b351f, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e7bf0805c5aa735d458b3c10e05b351f, type_description_1, par_self ); // Release cached frame. if ( frame_e7bf0805c5aa735d458b3c10e05b351f == cache_frame_e7bf0805c5aa735d458b3c10e05b351f ) { Py_DECREF( frame_e7bf0805c5aa735d458b3c10e05b351f ); } cache_frame_e7bf0805c5aa735d458b3c10e05b351f = NULL; assertFrameObject( frame_e7bf0805c5aa735d458b3c10e05b351f ); // 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( urllib3$util$url$$$function_4_netloc ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$util$url$$$function_4_netloc ); 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_urllib3$util$url$$$function_5_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_self = python_pars[ 0 ]; PyObject *var_scheme = NULL; PyObject *var_auth = NULL; PyObject *var_host = NULL; PyObject *var_port = NULL; PyObject *var_path = NULL; PyObject *var_query = NULL; PyObject *var_fragment = NULL; PyObject *var_url = 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__element_7 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_7cc66c62e7988700b2f4e34a1f2aad30; 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; bool tmp_result; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_7cc66c62e7988700b2f4e34a1f2aad30 = 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_7cc66c62e7988700b2f4e34a1f2aad30, codeobj_7cc66c62e7988700b2f4e34a1f2aad30, module_urllib3$util$url, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_7cc66c62e7988700b2f4e34a1f2aad30 = cache_frame_7cc66c62e7988700b2f4e34a1f2aad30; // Push the new frame as the currently active one. pushFrameStack( frame_7cc66c62e7988700b2f4e34a1f2aad30 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7cc66c62e7988700b2f4e34a1f2aad30 ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; CHECK_OBJECT( par_self ); tmp_iter_arg_1 = par_self; 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 = 74; type_description_1 = "ooooooooo"; 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, 7 ); 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 = "ooooooooo"; exception_lineno = 74; 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, 7 ); 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 = "ooooooooo"; exception_lineno = 74; 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, 7 ); 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 = "ooooooooo"; exception_lineno = 74; 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, 7 ); 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 = "ooooooooo"; exception_lineno = 74; 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, 7 ); 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 = "ooooooooo"; exception_lineno = 74; 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, 7 ); 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 = "ooooooooo"; exception_lineno = 74; 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_assign_source_8; PyObject *tmp_unpack_7; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_7 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_8 = UNPACK_NEXT( tmp_unpack_7, 6, 7 ); 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 = 74; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_7 == NULL ); tmp_tuple_unpack_1__element_7 = tmp_assign_source_8; } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; exception_lineno = 74; 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 7)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; exception_lineno = 74; 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; } { Py_XDECREF( tmp_tuple_unpack_1__element_7 ); tmp_tuple_unpack_1__element_7 = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_9 = tmp_tuple_unpack_1__element_1; assert( var_scheme == NULL ); Py_INCREF( tmp_assign_source_9 ); var_scheme = tmp_assign_source_9; } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_10; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_10 = tmp_tuple_unpack_1__element_2; assert( var_auth == NULL ); Py_INCREF( tmp_assign_source_10 ); var_auth = tmp_assign_source_10; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_assign_source_11; CHECK_OBJECT( tmp_tuple_unpack_1__element_3 ); tmp_assign_source_11 = tmp_tuple_unpack_1__element_3; assert( var_host == NULL ); Py_INCREF( tmp_assign_source_11 ); var_host = tmp_assign_source_11; } { Py_XDECREF( tmp_tuple_unpack_1__element_3 ); tmp_tuple_unpack_1__element_3 = NULL; } { PyObject *tmp_assign_source_12; CHECK_OBJECT( tmp_tuple_unpack_1__element_4 ); tmp_assign_source_12 = tmp_tuple_unpack_1__element_4; assert( var_port == NULL ); Py_INCREF( tmp_assign_source_12 ); var_port = tmp_assign_source_12; } { Py_XDECREF( tmp_tuple_unpack_1__element_4 ); tmp_tuple_unpack_1__element_4 = NULL; } { PyObject *tmp_assign_source_13; CHECK_OBJECT( tmp_tuple_unpack_1__element_5 ); tmp_assign_source_13 = tmp_tuple_unpack_1__element_5; assert( var_path == NULL ); Py_INCREF( tmp_assign_source_13 ); var_path = tmp_assign_source_13; } { Py_XDECREF( tmp_tuple_unpack_1__element_5 ); tmp_tuple_unpack_1__element_5 = NULL; } { PyObject *tmp_assign_source_14; CHECK_OBJECT( tmp_tuple_unpack_1__element_6 ); tmp_assign_source_14 = tmp_tuple_unpack_1__element_6; assert( var_query == NULL ); Py_INCREF( tmp_assign_source_14 ); var_query = tmp_assign_source_14; } { Py_XDECREF( tmp_tuple_unpack_1__element_6 ); tmp_tuple_unpack_1__element_6 = NULL; } { PyObject *tmp_assign_source_15; CHECK_OBJECT( tmp_tuple_unpack_1__element_7 ); tmp_assign_source_15 = tmp_tuple_unpack_1__element_7; assert( var_fragment == NULL ); Py_INCREF( tmp_assign_source_15 ); var_fragment = tmp_assign_source_15; } { Py_XDECREF( tmp_tuple_unpack_1__element_7 ); tmp_tuple_unpack_1__element_7 = NULL; } { PyObject *tmp_assign_source_16; tmp_assign_source_16 = const_str_empty; assert( var_url == NULL ); Py_INCREF( tmp_assign_source_16 ); var_url = tmp_assign_source_16; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; 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 = 78; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = var_scheme; 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_17; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; 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 = 79; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_left_name_1 = var_url; 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 = 79; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_left_name_2 = var_scheme; tmp_right_name_2 = const_str_digest_a05fa8f67e9c342eb59afe566750507b; tmp_right_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 79; 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_17 = 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 = 79; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } var_url = tmp_assign_source_17; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; 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 = 80; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = var_auth; tmp_compexpr_right_2 = Py_None; tmp_condition_result_2 = ( tmp_compexpr_left_2 != tmp_compexpr_right_2 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_18; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_left_name_4; PyObject *tmp_right_name_4; 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 = 81; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_left_name_3 = var_url; 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 = 81; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_left_name_4 = var_auth; tmp_right_name_4 = const_str_chr_64; tmp_right_name_3 = BINARY_OPERATION_ADD( tmp_left_name_4, tmp_right_name_4 ); if ( tmp_right_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 81; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_3, tmp_right_name_3 ); tmp_assign_source_18 = tmp_left_name_3; Py_DECREF( tmp_right_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 81; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } var_url = tmp_assign_source_18; } branch_no_2:; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; if ( var_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 = 82; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_3 = var_host; tmp_compexpr_right_3 = Py_None; tmp_condition_result_3 = ( tmp_compexpr_left_3 != tmp_compexpr_right_3 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_19; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; 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 = 83; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_left_name_5 = var_url; if ( var_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 = 83; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_right_name_5 = var_host; tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_5, tmp_right_name_5 ); tmp_assign_source_19 = tmp_left_name_5; if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 83; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } var_url = tmp_assign_source_19; } branch_no_3:; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; if ( var_port == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "port" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 84; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_4 = var_port; tmp_compexpr_right_4 = Py_None; tmp_condition_result_4 = ( tmp_compexpr_left_4 != tmp_compexpr_right_4 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_assign_source_20; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; PyObject *tmp_left_name_7; PyObject *tmp_right_name_7; PyObject *tmp_unicode_arg_1; 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 = 85; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_left_name_6 = var_url; tmp_left_name_7 = const_str_chr_58; if ( var_port == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "port" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 85; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_unicode_arg_1 = var_port; tmp_right_name_7 = PyObject_Unicode( tmp_unicode_arg_1 ); if ( tmp_right_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 85; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_right_name_6 = BINARY_OPERATION_ADD( tmp_left_name_7, tmp_right_name_7 ); Py_DECREF( tmp_right_name_7 ); if ( tmp_right_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 85; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_6, tmp_right_name_6 ); tmp_assign_source_20 = tmp_left_name_6; Py_DECREF( tmp_right_name_6 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 85; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } var_url = tmp_assign_source_20; } branch_no_4:; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; 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 = 86; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_5 = var_path; tmp_compexpr_right_5 = Py_None; tmp_condition_result_5 = ( tmp_compexpr_left_5 != tmp_compexpr_right_5 ) ? 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_21; PyObject *tmp_left_name_8; PyObject *tmp_right_name_8; 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 = 87; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_left_name_8 = var_url; 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 = 87; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_right_name_8 = var_path; tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_8, tmp_right_name_8 ); tmp_assign_source_21 = tmp_left_name_8; if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } var_url = tmp_assign_source_21; } branch_no_5:; } { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; if ( var_query == NULL ) { 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 = 88; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_6 = var_query; tmp_compexpr_right_6 = Py_None; tmp_condition_result_6 = ( tmp_compexpr_left_6 != tmp_compexpr_right_6 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_assign_source_22; PyObject *tmp_left_name_9; PyObject *tmp_right_name_9; PyObject *tmp_left_name_10; PyObject *tmp_right_name_10; 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 = 89; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_left_name_9 = var_url; tmp_left_name_10 = const_str_chr_63; if ( var_query == NULL ) { 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 = 89; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_right_name_10 = var_query; tmp_right_name_9 = BINARY_OPERATION_ADD( tmp_left_name_10, tmp_right_name_10 ); if ( tmp_right_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_9, tmp_right_name_9 ); tmp_assign_source_22 = tmp_left_name_9; Py_DECREF( tmp_right_name_9 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } var_url = tmp_assign_source_22; } branch_no_6:; } { nuitka_bool tmp_condition_result_7; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; if ( var_fragment == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "fragment" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 90; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_7 = var_fragment; tmp_compexpr_right_7 = Py_None; tmp_condition_result_7 = ( tmp_compexpr_left_7 != tmp_compexpr_right_7 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_assign_source_23; PyObject *tmp_left_name_11; PyObject *tmp_right_name_11; PyObject *tmp_left_name_12; PyObject *tmp_right_name_12; 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 = 91; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_left_name_11 = var_url; tmp_left_name_12 = const_str_chr_35; if ( var_fragment == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "fragment" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 91; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_right_name_12 = var_fragment; tmp_right_name_11 = BINARY_OPERATION_ADD( tmp_left_name_12, tmp_right_name_12 ); if ( tmp_right_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 91; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_11, tmp_right_name_11 ); tmp_assign_source_23 = tmp_left_name_11; Py_DECREF( tmp_right_name_11 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 91; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } var_url = tmp_assign_source_23; } branch_no_7:; } { 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 = 93; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_url; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_7cc66c62e7988700b2f4e34a1f2aad30 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7cc66c62e7988700b2f4e34a1f2aad30 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7cc66c62e7988700b2f4e34a1f2aad30 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7cc66c62e7988700b2f4e34a1f2aad30, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7cc66c62e7988700b2f4e34a1f2aad30->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7cc66c62e7988700b2f4e34a1f2aad30, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7cc66c62e7988700b2f4e34a1f2aad30, type_description_1, par_self, var_scheme, var_auth, var_host, var_port, var_path, var_query, var_fragment, var_url ); // Release cached frame. if ( frame_7cc66c62e7988700b2f4e34a1f2aad30 == cache_frame_7cc66c62e7988700b2f4e34a1f2aad30 ) { Py_DECREF( frame_7cc66c62e7988700b2f4e34a1f2aad30 ); } cache_frame_7cc66c62e7988700b2f4e34a1f2aad30 = NULL; assertFrameObject( frame_7cc66c62e7988700b2f4e34a1f2aad30 ); // 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( urllib3$util$url$$$function_5_url ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_scheme ); var_scheme = NULL; } { Py_XDECREF( var_auth ); var_auth = NULL; } { Py_XDECREF( var_host ); var_host = NULL; } { Py_XDECREF( var_port ); var_port = NULL; } { Py_XDECREF( var_path ); var_path = NULL; } { Py_XDECREF( var_query ); var_query = NULL; } { Py_XDECREF( var_fragment ); var_fragment = NULL; } { Py_XDECREF( var_url ); var_url = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_scheme ); var_scheme = NULL; } { Py_XDECREF( var_auth ); var_auth = NULL; } { Py_XDECREF( var_host ); var_host = NULL; } { Py_XDECREF( var_port ); var_port = NULL; } { Py_XDECREF( var_path ); var_path = NULL; } { Py_XDECREF( var_query ); var_query = NULL; } { Py_XDECREF( var_fragment ); var_fragment = NULL; } { Py_XDECREF( var_url ); var_url = 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( urllib3$util$url$$$function_5_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_urllib3$util$url$$$function_6___str__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_43db7b89e223f7c737e9afad78261899; 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_43db7b89e223f7c737e9afad78261899 = 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_43db7b89e223f7c737e9afad78261899, codeobj_43db7b89e223f7c737e9afad78261899, module_urllib3$util$url, sizeof(void *) ); frame_43db7b89e223f7c737e9afad78261899 = cache_frame_43db7b89e223f7c737e9afad78261899; // Push the new frame as the currently active one. pushFrameStack( frame_43db7b89e223f7c737e9afad78261899 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_43db7b89e223f7c737e9afad78261899 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_return_value = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_url ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 96; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_43db7b89e223f7c737e9afad78261899 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_43db7b89e223f7c737e9afad78261899 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_43db7b89e223f7c737e9afad78261899 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_43db7b89e223f7c737e9afad78261899, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_43db7b89e223f7c737e9afad78261899->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_43db7b89e223f7c737e9afad78261899, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_43db7b89e223f7c737e9afad78261899, type_description_1, par_self ); // Release cached frame. if ( frame_43db7b89e223f7c737e9afad78261899 == cache_frame_43db7b89e223f7c737e9afad78261899 ) { Py_DECREF( frame_43db7b89e223f7c737e9afad78261899 ); } cache_frame_43db7b89e223f7c737e9afad78261899 = NULL; assertFrameObject( frame_43db7b89e223f7c737e9afad78261899 ); // 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( urllib3$util$url$$$function_6___str__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$util$url$$$function_6___str__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_urllib3$util$url$$$function_7_split_first( struct Nuitka_FunctionObject const *self, PyObject **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_s = python_pars[ 0 ]; PyObject *par_delims = python_pars[ 1 ]; PyObject *var_min_idx = NULL; PyObject *var_min_delim = NULL; PyObject *var_d = NULL; PyObject *var_idx = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_cefbbab946fbd3a8ba0505bfd779c11f; 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_cefbbab946fbd3a8ba0505bfd779c11f = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; // Actual function code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; assert( var_min_idx == NULL ); Py_INCREF( tmp_assign_source_1 ); var_min_idx = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = Py_None; assert( var_min_delim == NULL ); Py_INCREF( tmp_assign_source_2 ); var_min_delim = tmp_assign_source_2; } { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_cefbbab946fbd3a8ba0505bfd779c11f, codeobj_cefbbab946fbd3a8ba0505bfd779c11f, module_urllib3$util$url, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_cefbbab946fbd3a8ba0505bfd779c11f = cache_frame_cefbbab946fbd3a8ba0505bfd779c11f; // Push the new frame as the currently active one. pushFrameStack( frame_cefbbab946fbd3a8ba0505bfd779c11f ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_cefbbab946fbd3a8ba0505bfd779c11f ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_3; PyObject *tmp_iter_arg_1; CHECK_OBJECT( par_delims ); tmp_iter_arg_1 = par_delims; tmp_assign_source_3 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 117; 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_3; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_4 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_4 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oooooo"; exception_lineno = 117; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_5 = tmp_for_loop_1__iter_value; { PyObject *old = var_d; var_d = tmp_assign_source_5; Py_INCREF( var_d ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; if ( par_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 118; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_source_name_1 = par_s; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_find ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 118; type_description_1 = "oooooo"; goto try_except_handler_2; } if ( var_d == 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", "d" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 118; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_args_element_name_1 = var_d; frame_cefbbab946fbd3a8ba0505bfd779c11f->m_frame.f_lineno = 118; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_6 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 118; type_description_1 = "oooooo"; goto try_except_handler_2; } { PyObject *old = var_idx; var_idx = tmp_assign_source_6; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( var_idx ); tmp_compexpr_left_1 = var_idx; tmp_compexpr_right_1 = const_int_0; tmp_res = RICH_COMPARE_BOOL_LT( 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 = 119; type_description_1 = "oooooo"; 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:; { goto loop_start_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; int tmp_or_left_truth_1; nuitka_bool tmp_or_left_value_1; nuitka_bool tmp_or_right_value_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; if ( var_min_idx == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "min_idx" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 122; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_compexpr_left_2 = var_min_idx; tmp_compexpr_right_2 = Py_None; tmp_or_left_value_1 = ( tmp_compexpr_left_2 == tmp_compexpr_right_2 ) ? 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_idx == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "idx" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 122; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_compexpr_left_3 = var_idx; if ( var_min_idx == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "min_idx" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 122; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_compexpr_right_3 = var_min_idx; 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 = 122; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_or_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_2 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_condition_result_2 = tmp_or_left_value_1; or_end_1:; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_7; if ( var_idx == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "idx" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 123; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_assign_source_7 = var_idx; { PyObject *old = var_min_idx; var_min_idx = tmp_assign_source_7; Py_INCREF( var_min_idx ); Py_XDECREF( old ); } } { PyObject *tmp_assign_source_8; if ( var_d == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "d" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 124; type_description_1 = "oooooo"; goto try_except_handler_2; } tmp_assign_source_8 = var_d; { PyObject *old = var_min_delim; var_min_delim = tmp_assign_source_8; Py_INCREF( var_min_delim ); Py_XDECREF( old ); } } branch_no_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 117; 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; } { nuitka_bool tmp_condition_result_3; int tmp_or_left_truth_2; nuitka_bool tmp_or_left_value_2; nuitka_bool tmp_or_right_value_2; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; if ( var_min_idx == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "min_idx" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 126; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_4 = var_min_idx; tmp_compexpr_right_4 = Py_None; tmp_or_left_value_2 = ( tmp_compexpr_left_4 == tmp_compexpr_right_4 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_or_left_truth_2 = tmp_or_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_or_left_truth_2 == 1 ) { goto or_left_2; } else { goto or_right_2; } or_right_2:; if ( var_min_idx == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "min_idx" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 126; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_compexpr_left_5 = var_min_idx; tmp_compexpr_right_5 = const_int_0; tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_5, tmp_compexpr_right_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 126; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_or_right_value_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_3 = tmp_or_right_value_2; goto or_end_2; or_left_2:; tmp_condition_result_3 = tmp_or_left_value_2; or_end_2:; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_tuple_element_1; if ( par_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 127; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_s; tmp_return_value = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 ); tmp_tuple_element_1 = const_str_empty; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 ); tmp_tuple_element_1 = Py_None; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_return_value, 2, tmp_tuple_element_1 ); goto frame_return_exit_1; } branch_no_3:; } { PyObject *tmp_tuple_element_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_step_name_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; 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; if ( par_s == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 129; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = par_s; tmp_start_name_1 = Py_None; if ( var_min_idx == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "min_idx" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 129; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_stop_name_1 = var_min_idx; tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_tuple_element_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 129; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_return_value = PyTuple_New( 3 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_2 ); if ( par_s == NULL ) { Py_DECREF( tmp_return_value ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 129; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = par_s; if ( var_min_idx == NULL ) { Py_DECREF( tmp_return_value ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "min_idx" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 129; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_left_name_1 = var_min_idx; 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 ); Py_DECREF( tmp_return_value ); exception_lineno = 129; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_stop_name_2 = Py_None; tmp_step_name_2 = Py_None; tmp_subscript_name_2 = MAKE_SLICEOBJ3( tmp_start_name_2, tmp_stop_name_2, tmp_step_name_2 ); Py_DECREF( tmp_start_name_2 ); assert( !(tmp_subscript_name_2 == NULL) ); tmp_tuple_element_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscript_name_2 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_return_value ); exception_lineno = 129; type_description_1 = "oooooo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_2 ); if ( var_min_delim == NULL ) { Py_DECREF( tmp_return_value ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "min_delim" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 129; type_description_1 = "oooooo"; goto frame_exception_exit_1; } tmp_tuple_element_2 = var_min_delim; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_return_value, 2, tmp_tuple_element_2 ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_cefbbab946fbd3a8ba0505bfd779c11f ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cefbbab946fbd3a8ba0505bfd779c11f ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cefbbab946fbd3a8ba0505bfd779c11f ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_cefbbab946fbd3a8ba0505bfd779c11f, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_cefbbab946fbd3a8ba0505bfd779c11f->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_cefbbab946fbd3a8ba0505bfd779c11f, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_cefbbab946fbd3a8ba0505bfd779c11f, type_description_1, par_s, par_delims, var_min_idx, var_min_delim, var_d, var_idx ); // Release cached frame. if ( frame_cefbbab946fbd3a8ba0505bfd779c11f == cache_frame_cefbbab946fbd3a8ba0505bfd779c11f ) { Py_DECREF( frame_cefbbab946fbd3a8ba0505bfd779c11f ); } cache_frame_cefbbab946fbd3a8ba0505bfd779c11f = NULL; assertFrameObject( frame_cefbbab946fbd3a8ba0505bfd779c11f ); // 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( urllib3$util$url$$$function_7_split_first ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_s ); par_s = NULL; } { Py_XDECREF( par_delims ); par_delims = NULL; } { Py_XDECREF( var_min_idx ); var_min_idx = NULL; } { Py_XDECREF( var_min_delim ); var_min_delim = NULL; } { Py_XDECREF( var_d ); var_d = NULL; } { Py_XDECREF( var_idx ); var_idx = 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_s ); par_s = NULL; } { Py_XDECREF( par_delims ); par_delims = NULL; } { Py_XDECREF( var_min_idx ); var_min_idx = NULL; } { Py_XDECREF( var_min_delim ); var_min_delim = NULL; } { Py_XDECREF( var_d ); var_d = NULL; } { Py_XDECREF( var_idx ); var_idx = 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( urllib3$util$url$$$function_7_split_first ); 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_urllib3$util$url$$$function_8_parse_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_scheme = NULL; PyObject *var_auth = NULL; PyObject *var_host = NULL; PyObject *var_port = NULL; PyObject *var_path = NULL; PyObject *var_fragment = NULL; PyObject *var_query = NULL; PyObject *var_path_ = NULL; PyObject *var_delim = NULL; PyObject *var__host = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__element_3 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; PyObject *tmp_tuple_unpack_3__element_1 = NULL; PyObject *tmp_tuple_unpack_3__element_2 = NULL; PyObject *tmp_tuple_unpack_3__source_iter = NULL; PyObject *tmp_tuple_unpack_4__element_1 = NULL; PyObject *tmp_tuple_unpack_4__element_2 = NULL; PyObject *tmp_tuple_unpack_4__source_iter = NULL; PyObject *tmp_tuple_unpack_5__element_1 = NULL; PyObject *tmp_tuple_unpack_5__element_2 = NULL; PyObject *tmp_tuple_unpack_5__source_iter = NULL; PyObject *tmp_tuple_unpack_6__element_1 = NULL; PyObject *tmp_tuple_unpack_6__element_2 = NULL; PyObject *tmp_tuple_unpack_6__source_iter = NULL; PyObject *tmp_tuple_unpack_7__element_1 = NULL; PyObject *tmp_tuple_unpack_7__element_2 = NULL; PyObject *tmp_tuple_unpack_7__source_iter = NULL; struct Nuitka_FrameObject *frame_ad6db9b740bf04f39a18378891d60d92; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; int tmp_res; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; PyObject *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 *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; bool tmp_result; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; PyObject *exception_keeper_type_14; PyObject *exception_keeper_value_14; PyTracebackObject *exception_keeper_tb_14; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14; PyObject *exception_keeper_type_15; PyObject *exception_keeper_value_15; PyTracebackObject *exception_keeper_tb_15; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; PyObject *exception_keeper_type_16; PyObject *exception_keeper_value_16; PyTracebackObject *exception_keeper_tb_16; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16; static struct Nuitka_FrameObject *cache_frame_ad6db9b740bf04f39a18378891d60d92 = NULL; PyObject *exception_keeper_type_17; PyObject *exception_keeper_value_17; PyTracebackObject *exception_keeper_tb_17; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_ad6db9b740bf04f39a18378891d60d92, codeobj_ad6db9b740bf04f39a18378891d60d92, module_urllib3$util$url, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_ad6db9b740bf04f39a18378891d60d92 = cache_frame_ad6db9b740bf04f39a18378891d60d92; // Push the new frame as the currently active one. pushFrameStack( frame_ad6db9b740bf04f39a18378891d60d92 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ad6db9b740bf04f39a18378891d60d92 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; CHECK_OBJECT( par_url ); tmp_operand_name_1 = par_url; 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 = 154; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_Url ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Url ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Url" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 156; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; frame_ad6db9b740bf04f39a18378891d60d92->m_frame.f_lineno = 156; tmp_return_value = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 156; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; assert( var_scheme == NULL ); Py_INCREF( tmp_assign_source_1 ); var_scheme = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = Py_None; assert( var_auth == NULL ); Py_INCREF( tmp_assign_source_2 ); var_auth = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = Py_None; assert( var_host == NULL ); Py_INCREF( tmp_assign_source_3 ); var_host = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; tmp_assign_source_4 = Py_None; assert( var_port == NULL ); Py_INCREF( tmp_assign_source_4 ); var_port = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; tmp_assign_source_5 = Py_None; assert( var_path == NULL ); Py_INCREF( tmp_assign_source_5 ); var_path = tmp_assign_source_5; } { PyObject *tmp_assign_source_6; tmp_assign_source_6 = Py_None; assert( var_fragment == NULL ); Py_INCREF( tmp_assign_source_6 ); var_fragment = tmp_assign_source_6; } { PyObject *tmp_assign_source_7; tmp_assign_source_7 = Py_None; assert( var_query == NULL ); Py_INCREF( tmp_assign_source_7 ); var_query = tmp_assign_source_7; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = const_str_digest_a05fa8f67e9c342eb59afe566750507b; 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 = 167; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = par_url; 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 = 167; type_description_1 = "ooooooooooo"; 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:; { // Tried code: { PyObject *tmp_assign_source_8; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_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 = 168; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } tmp_called_instance_1 = par_url; frame_ad6db9b740bf04f39a18378891d60d92->m_frame.f_lineno = 168; tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_digest_a05fa8f67e9c342eb59afe566750507b_int_pos_1_tuple, 0 ) ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 168; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } tmp_assign_source_8 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 168; type_description_1 = "ooooooooooo"; goto try_except_handler_2; } assert( tmp_tuple_unpack_1__source_iter == NULL ); tmp_tuple_unpack_1__source_iter = tmp_assign_source_8; } { // Tried code: { PyObject *tmp_assign_source_9; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_9 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_9 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooooo"; exception_lineno = 168; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_1 == NULL ); tmp_tuple_unpack_1__element_1 = tmp_assign_source_9; } { PyObject *tmp_assign_source_10; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_10 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_10 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooooo"; exception_lineno = 168; goto try_except_handler_3; } assert( tmp_tuple_unpack_1__element_2 == NULL ); tmp_tuple_unpack_1__element_2 = tmp_assign_source_10; } { 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 = "ooooooooooo"; exception_lineno = 168; 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 = "ooooooooooo"; exception_lineno = 168; 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_11; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_11 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_scheme; var_scheme = tmp_assign_source_11; Py_INCREF( var_scheme ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_12; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_12 = tmp_tuple_unpack_1__element_2; { PyObject *old = par_url; par_url = tmp_assign_source_12; Py_INCREF( par_url ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } branch_no_2:; } { // Tried code: { PyObject *tmp_assign_source_13; PyObject *tmp_iter_arg_2; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_split_first ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_split_first ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "split_first" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 172; type_description_1 = "ooooooooooo"; goto try_except_handler_4; } tmp_called_name_2 = tmp_mvar_value_2; 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 = 172; type_description_1 = "ooooooooooo"; goto try_except_handler_4; } tmp_args_element_name_1 = par_url; tmp_args_element_name_2 = LIST_COPY( const_list_str_chr_47_str_chr_63_str_chr_35_list ); frame_ad6db9b740bf04f39a18378891d60d92->m_frame.f_lineno = 172; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_iter_arg_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_args_element_name_2 ); if ( tmp_iter_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 172; type_description_1 = "ooooooooooo"; goto try_except_handler_4; } tmp_assign_source_13 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 172; type_description_1 = "ooooooooooo"; goto try_except_handler_4; } assert( tmp_tuple_unpack_2__source_iter == NULL ); tmp_tuple_unpack_2__source_iter = tmp_assign_source_13; } { // 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, 3 ); 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 = "ooooooooooo"; exception_lineno = 172; goto try_except_handler_5; } assert( tmp_tuple_unpack_2__element_1 == NULL ); tmp_tuple_unpack_2__element_1 = tmp_assign_source_14; } { 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, 3 ); 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 = "ooooooooooo"; exception_lineno = 172; goto try_except_handler_5; } assert( tmp_tuple_unpack_2__element_2 == NULL ); tmp_tuple_unpack_2__element_2 = tmp_assign_source_15; } { PyObject *tmp_assign_source_16; PyObject *tmp_unpack_5; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_5 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_16 = UNPACK_NEXT( tmp_unpack_5, 2, 3 ); 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 = "ooooooooooo"; exception_lineno = 172; goto try_except_handler_5; } assert( tmp_tuple_unpack_2__element_3 == NULL ); tmp_tuple_unpack_2__element_3 = tmp_assign_source_16; } { 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 = "ooooooooooo"; exception_lineno = 172; 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 3)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooo"; exception_lineno = 172; 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; } { Py_XDECREF( tmp_tuple_unpack_2__element_3 ); tmp_tuple_unpack_2__element_3 = 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 = par_url; par_url = tmp_assign_source_17; Py_INCREF( par_url ); 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; assert( var_path_ == NULL ); Py_INCREF( tmp_assign_source_18 ); var_path_ = tmp_assign_source_18; } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { PyObject *tmp_assign_source_19; CHECK_OBJECT( tmp_tuple_unpack_2__element_3 ); tmp_assign_source_19 = tmp_tuple_unpack_2__element_3; assert( var_delim == NULL ); Py_INCREF( tmp_assign_source_19 ); var_delim = tmp_assign_source_19; } { Py_XDECREF( tmp_tuple_unpack_2__element_3 ); tmp_tuple_unpack_2__element_3 = NULL; } { nuitka_bool tmp_condition_result_3; int tmp_truth_name_1; if ( var_delim == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "delim" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 174; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( var_delim ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 174; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_20; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; if ( var_delim == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "delim" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 176; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_left_name_1 = var_delim; 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 = 176; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_right_name_1 = var_path_; tmp_assign_source_20 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_assign_source_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 176; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_path; var_path = tmp_assign_source_20; Py_XDECREF( old ); } } branch_no_3:; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = const_str_chr_64; 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 = 179; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = par_url; 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 = 179; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_4 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { // Tried code: { PyObject *tmp_assign_source_21; PyObject *tmp_iter_arg_3; PyObject *tmp_called_instance_2; 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 = 181; type_description_1 = "ooooooooooo"; goto try_except_handler_6; } tmp_called_instance_2 = par_url; frame_ad6db9b740bf04f39a18378891d60d92->m_frame.f_lineno = 181; tmp_iter_arg_3 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_2, const_str_plain_rsplit, &PyTuple_GET_ITEM( const_tuple_str_chr_64_int_pos_1_tuple, 0 ) ); if ( tmp_iter_arg_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 181; type_description_1 = "ooooooooooo"; goto try_except_handler_6; } tmp_assign_source_21 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_3 ); Py_DECREF( tmp_iter_arg_3 ); if ( tmp_assign_source_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 181; type_description_1 = "ooooooooooo"; goto try_except_handler_6; } assert( tmp_tuple_unpack_3__source_iter == NULL ); tmp_tuple_unpack_3__source_iter = tmp_assign_source_21; } { // Tried code: { PyObject *tmp_assign_source_22; PyObject *tmp_unpack_6; CHECK_OBJECT( tmp_tuple_unpack_3__source_iter ); tmp_unpack_6 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_22 = UNPACK_NEXT( tmp_unpack_6, 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 = "ooooooooooo"; exception_lineno = 181; goto try_except_handler_7; } assert( tmp_tuple_unpack_3__element_1 == NULL ); tmp_tuple_unpack_3__element_1 = tmp_assign_source_22; } { PyObject *tmp_assign_source_23; PyObject *tmp_unpack_7; CHECK_OBJECT( tmp_tuple_unpack_3__source_iter ); tmp_unpack_7 = tmp_tuple_unpack_3__source_iter; tmp_assign_source_23 = UNPACK_NEXT( tmp_unpack_7, 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 = "ooooooooooo"; exception_lineno = 181; goto try_except_handler_7; } assert( tmp_tuple_unpack_3__element_2 == NULL ); tmp_tuple_unpack_3__element_2 = tmp_assign_source_23; } { PyObject *tmp_iterator_name_3; CHECK_OBJECT( tmp_tuple_unpack_3__source_iter ); tmp_iterator_name_3 = tmp_tuple_unpack_3__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_3 ); assert( HAS_ITERNEXT( tmp_iterator_name_3 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_3 )->tp_iternext)( tmp_iterator_name_3 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooo"; exception_lineno = 181; goto try_except_handler_7; } } } else { Py_DECREF( tmp_iterator_attempt ); // TODO: Could avoid PyErr_Format. #if PYTHON_VERSION < 300 PyErr_Format( PyExc_ValueError, "too many values to unpack" ); #else PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooo"; exception_lineno = 181; goto try_except_handler_7; } } 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; { 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_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:; } 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; { 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_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto frame_exception_exit_1; } // End of try: try_end_6:; } { 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_auth; var_auth = tmp_assign_source_24; Py_INCREF( var_auth ); 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_url; par_url = tmp_assign_source_25; Py_INCREF( par_url ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_3__element_2 ); tmp_tuple_unpack_3__element_2 = NULL; } branch_no_4:; } { nuitka_bool tmp_condition_result_5; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; int tmp_truth_name_2; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_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 = 184; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE( par_url ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 184; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = tmp_truth_name_2 == 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_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 = 184; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = par_url; tmp_subscript_name_1 = const_int_0; tmp_compexpr_left_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 184; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_3 = const_str_chr_91; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 ); Py_DECREF( tmp_compexpr_left_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 184; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_5 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_5 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { // Tried code: { PyObject *tmp_assign_source_26; PyObject *tmp_iter_arg_4; PyObject *tmp_called_instance_3; 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 = 185; type_description_1 = "ooooooooooo"; goto try_except_handler_8; } tmp_called_instance_3 = par_url; frame_ad6db9b740bf04f39a18378891d60d92->m_frame.f_lineno = 185; tmp_iter_arg_4 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_3, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_93_int_pos_1_tuple, 0 ) ); if ( tmp_iter_arg_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 185; type_description_1 = "ooooooooooo"; goto try_except_handler_8; } tmp_assign_source_26 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_4 ); Py_DECREF( tmp_iter_arg_4 ); if ( tmp_assign_source_26 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 185; type_description_1 = "ooooooooooo"; goto try_except_handler_8; } assert( tmp_tuple_unpack_4__source_iter == NULL ); tmp_tuple_unpack_4__source_iter = tmp_assign_source_26; } { // Tried code: { PyObject *tmp_assign_source_27; PyObject *tmp_unpack_8; CHECK_OBJECT( tmp_tuple_unpack_4__source_iter ); tmp_unpack_8 = tmp_tuple_unpack_4__source_iter; tmp_assign_source_27 = UNPACK_NEXT( tmp_unpack_8, 0, 2 ); if ( tmp_assign_source_27 == 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 = "ooooooooooo"; exception_lineno = 185; goto try_except_handler_9; } assert( tmp_tuple_unpack_4__element_1 == NULL ); tmp_tuple_unpack_4__element_1 = tmp_assign_source_27; } { PyObject *tmp_assign_source_28; PyObject *tmp_unpack_9; CHECK_OBJECT( tmp_tuple_unpack_4__source_iter ); tmp_unpack_9 = tmp_tuple_unpack_4__source_iter; tmp_assign_source_28 = UNPACK_NEXT( tmp_unpack_9, 1, 2 ); if ( tmp_assign_source_28 == 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 = "ooooooooooo"; exception_lineno = 185; goto try_except_handler_9; } assert( tmp_tuple_unpack_4__element_2 == NULL ); tmp_tuple_unpack_4__element_2 = tmp_assign_source_28; } { PyObject *tmp_iterator_name_4; CHECK_OBJECT( tmp_tuple_unpack_4__source_iter ); tmp_iterator_name_4 = tmp_tuple_unpack_4__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_4 ); assert( HAS_ITERNEXT( tmp_iterator_name_4 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_4 )->tp_iternext)( tmp_iterator_name_4 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooo"; exception_lineno = 185; goto try_except_handler_9; } } } 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 = "ooooooooooo"; exception_lineno = 185; goto try_except_handler_9; } } 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; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_4__source_iter ); Py_DECREF( tmp_tuple_unpack_4__source_iter ); tmp_tuple_unpack_4__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto try_except_handler_8; } // End of try: try_end_7:; } goto try_end_8; // Exception handler code: try_except_handler_8:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_4__element_1 ); tmp_tuple_unpack_4__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_4__element_2 ); tmp_tuple_unpack_4__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_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_tuple_unpack_4__source_iter ); Py_DECREF( tmp_tuple_unpack_4__source_iter ); tmp_tuple_unpack_4__source_iter = NULL; } { PyObject *tmp_assign_source_29; CHECK_OBJECT( tmp_tuple_unpack_4__element_1 ); tmp_assign_source_29 = tmp_tuple_unpack_4__element_1; { PyObject *old = var_host; var_host = tmp_assign_source_29; Py_INCREF( var_host ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_4__element_1 ); tmp_tuple_unpack_4__element_1 = NULL; } { PyObject *tmp_assign_source_30; CHECK_OBJECT( tmp_tuple_unpack_4__element_2 ); tmp_assign_source_30 = tmp_tuple_unpack_4__element_2; { PyObject *old = par_url; par_url = tmp_assign_source_30; Py_INCREF( par_url ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_4__element_2 ); tmp_tuple_unpack_4__element_2 = NULL; } { PyObject *tmp_assign_source_31; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; if ( var_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 = 186; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_left_name_2 = var_host; tmp_right_name_2 = const_str_chr_93; tmp_result = BINARY_OPERATION_ADD_OBJECT_UNICODE_INPLACE( &tmp_left_name_2, tmp_right_name_2 ); tmp_assign_source_31 = tmp_left_name_2; if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 186; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } var_host = tmp_assign_source_31; } branch_no_5:; } { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; tmp_compexpr_left_4 = const_str_chr_58; 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 = 189; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_4 = par_url; 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 = 189; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_6 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { // Tried code: { PyObject *tmp_assign_source_32; PyObject *tmp_iter_arg_5; PyObject *tmp_called_instance_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 = 190; type_description_1 = "ooooooooooo"; goto try_except_handler_10; } tmp_called_instance_4 = par_url; frame_ad6db9b740bf04f39a18378891d60d92->m_frame.f_lineno = 190; tmp_iter_arg_5 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_4, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_58_int_pos_1_tuple, 0 ) ); if ( tmp_iter_arg_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 190; type_description_1 = "ooooooooooo"; goto try_except_handler_10; } tmp_assign_source_32 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_5 ); Py_DECREF( tmp_iter_arg_5 ); if ( tmp_assign_source_32 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 190; type_description_1 = "ooooooooooo"; goto try_except_handler_10; } assert( tmp_tuple_unpack_5__source_iter == NULL ); tmp_tuple_unpack_5__source_iter = tmp_assign_source_32; } { // Tried code: { PyObject *tmp_assign_source_33; PyObject *tmp_unpack_10; CHECK_OBJECT( tmp_tuple_unpack_5__source_iter ); tmp_unpack_10 = tmp_tuple_unpack_5__source_iter; tmp_assign_source_33 = UNPACK_NEXT( tmp_unpack_10, 0, 2 ); if ( tmp_assign_source_33 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooooo"; exception_lineno = 190; goto try_except_handler_11; } assert( tmp_tuple_unpack_5__element_1 == NULL ); tmp_tuple_unpack_5__element_1 = tmp_assign_source_33; } { PyObject *tmp_assign_source_34; PyObject *tmp_unpack_11; CHECK_OBJECT( tmp_tuple_unpack_5__source_iter ); tmp_unpack_11 = tmp_tuple_unpack_5__source_iter; tmp_assign_source_34 = UNPACK_NEXT( tmp_unpack_11, 1, 2 ); if ( tmp_assign_source_34 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooooo"; exception_lineno = 190; goto try_except_handler_11; } assert( tmp_tuple_unpack_5__element_2 == NULL ); tmp_tuple_unpack_5__element_2 = tmp_assign_source_34; } { PyObject *tmp_iterator_name_5; CHECK_OBJECT( tmp_tuple_unpack_5__source_iter ); tmp_iterator_name_5 = tmp_tuple_unpack_5__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_5 ); assert( HAS_ITERNEXT( tmp_iterator_name_5 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_5 )->tp_iternext)( tmp_iterator_name_5 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooo"; exception_lineno = 190; goto try_except_handler_11; } } } 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 = "ooooooooooo"; exception_lineno = 190; goto try_except_handler_11; } } goto try_end_9; // Exception handler code: try_except_handler_11:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_5__source_iter ); Py_DECREF( tmp_tuple_unpack_5__source_iter ); tmp_tuple_unpack_5__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_9; exception_value = exception_keeper_value_9; exception_tb = exception_keeper_tb_9; exception_lineno = exception_keeper_lineno_9; goto try_except_handler_10; } // End of try: try_end_9:; } goto try_end_10; // Exception handler code: try_except_handler_10:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_5__element_1 ); tmp_tuple_unpack_5__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_5__element_2 ); tmp_tuple_unpack_5__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto frame_exception_exit_1; } // End of try: try_end_10:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_5__source_iter ); Py_DECREF( tmp_tuple_unpack_5__source_iter ); tmp_tuple_unpack_5__source_iter = NULL; } { PyObject *tmp_assign_source_35; CHECK_OBJECT( tmp_tuple_unpack_5__element_1 ); tmp_assign_source_35 = tmp_tuple_unpack_5__element_1; assert( var__host == NULL ); Py_INCREF( tmp_assign_source_35 ); var__host = tmp_assign_source_35; } { Py_XDECREF( tmp_tuple_unpack_5__element_1 ); tmp_tuple_unpack_5__element_1 = NULL; } { PyObject *tmp_assign_source_36; CHECK_OBJECT( tmp_tuple_unpack_5__element_2 ); tmp_assign_source_36 = tmp_tuple_unpack_5__element_2; { PyObject *old = var_port; var_port = tmp_assign_source_36; Py_INCREF( var_port ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_5__element_2 ); tmp_tuple_unpack_5__element_2 = NULL; } { nuitka_bool tmp_condition_result_7; PyObject *tmp_operand_name_2; if ( var_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 = 192; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_operand_name_2 = var_host; 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 = 192; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_7 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_assign_source_37; if ( var__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 = 193; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_37 = var__host; { PyObject *old = var_host; var_host = tmp_assign_source_37; Py_INCREF( var_host ); Py_XDECREF( old ); } } branch_no_7:; } { nuitka_bool tmp_condition_result_8; int tmp_truth_name_3; if ( var_port == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "port" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 195; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_3 = CHECK_IF_TRUE( var_port ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 195; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_8 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { nuitka_bool tmp_condition_result_9; PyObject *tmp_operand_name_3; PyObject *tmp_called_instance_5; if ( var_port == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "port" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 198; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_5 = var_port; frame_ad6db9b740bf04f39a18378891d60d92->m_frame.f_lineno = 198; tmp_operand_name_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_5, const_str_plain_isdigit ); if ( tmp_operand_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 198; type_description_1 = "ooooooooooo"; 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 = 198; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_9 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { PyObject *tmp_raise_type_1; PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_3; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_LocationParseError ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_LocationParseError ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "LocationParseError" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 199; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_3 = tmp_mvar_value_3; 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 = 199; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_3 = par_url; frame_ad6db9b740bf04f39a18378891d60d92->m_frame.f_lineno = 199; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } if ( tmp_raise_type_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 199; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } exception_type = tmp_raise_type_1; exception_lineno = 199; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } branch_no_9:; } { // Tried code: { PyObject *tmp_assign_source_38; PyObject *tmp_int_arg_1; if ( var_port == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "port" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 201; type_description_1 = "ooooooooooo"; goto try_except_handler_12; } tmp_int_arg_1 = var_port; tmp_assign_source_38 = PyNumber_Int( tmp_int_arg_1 ); if ( tmp_assign_source_38 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 201; type_description_1 = "ooooooooooo"; goto try_except_handler_12; } { PyObject *old = var_port; var_port = tmp_assign_source_38; Py_XDECREF( old ); } } goto try_end_11; // Exception handler code: try_except_handler_12:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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_11 == NULL ) { exception_keeper_tb_11 = MAKE_TRACEBACK( frame_ad6db9b740bf04f39a18378891d60d92, exception_keeper_lineno_11 ); } else if ( exception_keeper_lineno_11 != 0 ) { exception_keeper_tb_11 = ADD_TRACEBACK( exception_keeper_tb_11, frame_ad6db9b740bf04f39a18378891d60d92, exception_keeper_lineno_11 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_11, &exception_keeper_value_11, &exception_keeper_tb_11 ); PyException_SetTraceback( exception_keeper_value_11, (PyObject *)exception_keeper_tb_11 ); PUBLISH_EXCEPTION( &exception_keeper_type_11, &exception_keeper_value_11, &exception_keeper_tb_11 ); } { // Tried code: { nuitka_bool tmp_condition_result_10; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; tmp_compexpr_left_5 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_5 = PyExc_ValueError; tmp_res = EXCEPTION_MATCH_BOOL( 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 = 202; type_description_1 = "ooooooooooo"; goto try_except_handler_13; } tmp_condition_result_10 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { PyObject *tmp_raise_type_2; 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_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_LocationParseError ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_LocationParseError ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "LocationParseError" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 203; type_description_1 = "ooooooooooo"; goto try_except_handler_13; } 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 = 203; type_description_1 = "ooooooooooo"; goto try_except_handler_13; } tmp_args_element_name_4 = par_url; frame_ad6db9b740bf04f39a18378891d60d92->m_frame.f_lineno = 203; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } if ( tmp_raise_type_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 203; type_description_1 = "ooooooooooo"; goto try_except_handler_13; } exception_type = tmp_raise_type_2; exception_lineno = 203; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooo"; goto try_except_handler_13; } goto branch_end_10; branch_no_10:; { 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_ad6db9b740bf04f39a18378891d60d92->m_frame) frame_ad6db9b740bf04f39a18378891d60d92->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooooooooo"; goto try_except_handler_13; } branch_end_10:; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$util$url$$$function_8_parse_url ); return NULL; // Exception handler code: try_except_handler_13:; exception_keeper_type_12 = exception_type; exception_keeper_value_12 = exception_value; exception_keeper_tb_12 = exception_tb; exception_keeper_lineno_12 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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_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: } // End of try: try_end_11:; } goto branch_end_8; branch_no_8:; { PyObject *tmp_assign_source_39; tmp_assign_source_39 = Py_None; { PyObject *old = var_port; var_port = tmp_assign_source_39; Py_INCREF( var_port ); Py_XDECREF( old ); } } branch_end_8:; } goto branch_end_6; branch_no_6:; { nuitka_bool tmp_condition_result_11; int tmp_and_left_truth_2; nuitka_bool tmp_and_left_value_2; nuitka_bool tmp_and_right_value_2; PyObject *tmp_operand_name_4; int tmp_truth_name_4; if ( var_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 = 208; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_operand_name_4 = var_host; tmp_res = CHECK_IF_TRUE( tmp_operand_name_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_2 == 1 ) { goto and_right_2; } else { goto and_left_2; } and_right_2:; if ( par_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 = 208; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_4 = CHECK_IF_TRUE( par_url ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 208; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_2 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_11 = tmp_and_right_value_2; goto and_end_2; and_left_2:; tmp_condition_result_11 = tmp_and_left_value_2; and_end_2:; if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE ) { goto branch_yes_11; } else { goto branch_no_11; } branch_yes_11:; { PyObject *tmp_assign_source_40; 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 = 209; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_40 = par_url; { PyObject *old = var_host; var_host = tmp_assign_source_40; Py_INCREF( var_host ); Py_XDECREF( old ); } } branch_no_11:; } branch_end_6:; } { nuitka_bool tmp_condition_result_12; PyObject *tmp_operand_name_5; 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 = 211; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_operand_name_5 = var_path; tmp_res = CHECK_IF_TRUE( tmp_operand_name_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 211; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_12 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE ) { goto branch_yes_12; } else { goto branch_no_12; } branch_yes_12:; { PyObject *tmp_called_name_5; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; PyObject *tmp_args_element_name_7; PyObject *tmp_args_element_name_8; PyObject *tmp_args_element_name_9; PyObject *tmp_args_element_name_10; PyObject *tmp_args_element_name_11; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_Url ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Url ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Url" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 212; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_5 = tmp_mvar_value_5; 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 = 212; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = var_scheme; 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 = 212; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = var_auth; if ( var_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 = 212; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_7 = var_host; if ( var_port == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "port" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 212; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_8 = var_port; 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 = 212; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_9 = var_path; if ( var_query == NULL ) { 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 = 212; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_10 = var_query; if ( var_fragment == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "fragment" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 212; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_11 = var_fragment; frame_ad6db9b740bf04f39a18378891d60d92->m_frame.f_lineno = 212; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7, tmp_args_element_name_8, tmp_args_element_name_9, tmp_args_element_name_10, tmp_args_element_name_11 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS7( tmp_called_name_5, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 212; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_no_12:; } { nuitka_bool tmp_condition_result_13; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; tmp_compexpr_left_6 = const_str_chr_35; 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 = 215; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_6 = var_path; tmp_res = PySequence_Contains( tmp_compexpr_right_6, tmp_compexpr_left_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 215; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_13 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE ) { goto branch_yes_13; } else { goto branch_no_13; } branch_yes_13:; { // Tried code: { PyObject *tmp_assign_source_41; PyObject *tmp_iter_arg_6; PyObject *tmp_called_instance_6; 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 = 216; type_description_1 = "ooooooooooo"; goto try_except_handler_14; } tmp_called_instance_6 = var_path; frame_ad6db9b740bf04f39a18378891d60d92->m_frame.f_lineno = 216; tmp_iter_arg_6 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_6, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_35_int_pos_1_tuple, 0 ) ); if ( tmp_iter_arg_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 216; type_description_1 = "ooooooooooo"; goto try_except_handler_14; } tmp_assign_source_41 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_6 ); Py_DECREF( tmp_iter_arg_6 ); if ( tmp_assign_source_41 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 216; type_description_1 = "ooooooooooo"; goto try_except_handler_14; } assert( tmp_tuple_unpack_6__source_iter == NULL ); tmp_tuple_unpack_6__source_iter = tmp_assign_source_41; } { // Tried code: { PyObject *tmp_assign_source_42; PyObject *tmp_unpack_12; CHECK_OBJECT( tmp_tuple_unpack_6__source_iter ); tmp_unpack_12 = tmp_tuple_unpack_6__source_iter; tmp_assign_source_42 = UNPACK_NEXT( tmp_unpack_12, 0, 2 ); if ( tmp_assign_source_42 == 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 = "ooooooooooo"; exception_lineno = 216; goto try_except_handler_15; } assert( tmp_tuple_unpack_6__element_1 == NULL ); tmp_tuple_unpack_6__element_1 = tmp_assign_source_42; } { PyObject *tmp_assign_source_43; PyObject *tmp_unpack_13; CHECK_OBJECT( tmp_tuple_unpack_6__source_iter ); tmp_unpack_13 = tmp_tuple_unpack_6__source_iter; tmp_assign_source_43 = UNPACK_NEXT( tmp_unpack_13, 1, 2 ); if ( tmp_assign_source_43 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooooo"; exception_lineno = 216; goto try_except_handler_15; } assert( tmp_tuple_unpack_6__element_2 == NULL ); tmp_tuple_unpack_6__element_2 = tmp_assign_source_43; } { PyObject *tmp_iterator_name_6; CHECK_OBJECT( tmp_tuple_unpack_6__source_iter ); tmp_iterator_name_6 = tmp_tuple_unpack_6__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_6 ); assert( HAS_ITERNEXT( tmp_iterator_name_6 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_6 )->tp_iternext)( tmp_iterator_name_6 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooo"; exception_lineno = 216; goto try_except_handler_15; } } } 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 = "ooooooooooo"; exception_lineno = 216; goto try_except_handler_15; } } goto try_end_12; // Exception handler code: try_except_handler_15:; exception_keeper_type_13 = exception_type; exception_keeper_value_13 = exception_value; exception_keeper_tb_13 = exception_tb; exception_keeper_lineno_13 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_6__source_iter ); Py_DECREF( tmp_tuple_unpack_6__source_iter ); tmp_tuple_unpack_6__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_13; exception_value = exception_keeper_value_13; exception_tb = exception_keeper_tb_13; exception_lineno = exception_keeper_lineno_13; goto try_except_handler_14; } // End of try: try_end_12:; } goto try_end_13; // Exception handler code: try_except_handler_14:; exception_keeper_type_14 = exception_type; exception_keeper_value_14 = exception_value; exception_keeper_tb_14 = exception_tb; exception_keeper_lineno_14 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_6__element_1 ); tmp_tuple_unpack_6__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_6__element_2 ); tmp_tuple_unpack_6__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_14; exception_value = exception_keeper_value_14; exception_tb = exception_keeper_tb_14; exception_lineno = exception_keeper_lineno_14; goto frame_exception_exit_1; } // End of try: try_end_13:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_6__source_iter ); Py_DECREF( tmp_tuple_unpack_6__source_iter ); tmp_tuple_unpack_6__source_iter = NULL; } { PyObject *tmp_assign_source_44; CHECK_OBJECT( tmp_tuple_unpack_6__element_1 ); tmp_assign_source_44 = tmp_tuple_unpack_6__element_1; { PyObject *old = var_path; var_path = tmp_assign_source_44; Py_INCREF( var_path ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_6__element_1 ); tmp_tuple_unpack_6__element_1 = NULL; } { PyObject *tmp_assign_source_45; CHECK_OBJECT( tmp_tuple_unpack_6__element_2 ); tmp_assign_source_45 = tmp_tuple_unpack_6__element_2; { PyObject *old = var_fragment; var_fragment = tmp_assign_source_45; Py_INCREF( var_fragment ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_6__element_2 ); tmp_tuple_unpack_6__element_2 = NULL; } branch_no_13:; } { nuitka_bool tmp_condition_result_14; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; tmp_compexpr_left_7 = const_str_chr_63; 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 = 219; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_7 = var_path; tmp_res = PySequence_Contains( tmp_compexpr_right_7, tmp_compexpr_left_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 219; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_14 = ( tmp_res == 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:; { // Tried code: { PyObject *tmp_assign_source_46; PyObject *tmp_iter_arg_7; PyObject *tmp_called_instance_7; 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 = 220; type_description_1 = "ooooooooooo"; goto try_except_handler_16; } tmp_called_instance_7 = var_path; frame_ad6db9b740bf04f39a18378891d60d92->m_frame.f_lineno = 220; tmp_iter_arg_7 = CALL_METHOD_WITH_ARGS2( tmp_called_instance_7, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_chr_63_int_pos_1_tuple, 0 ) ); if ( tmp_iter_arg_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 220; type_description_1 = "ooooooooooo"; goto try_except_handler_16; } tmp_assign_source_46 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_7 ); Py_DECREF( tmp_iter_arg_7 ); if ( tmp_assign_source_46 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 220; type_description_1 = "ooooooooooo"; goto try_except_handler_16; } assert( tmp_tuple_unpack_7__source_iter == NULL ); tmp_tuple_unpack_7__source_iter = tmp_assign_source_46; } { // Tried code: { PyObject *tmp_assign_source_47; PyObject *tmp_unpack_14; CHECK_OBJECT( tmp_tuple_unpack_7__source_iter ); tmp_unpack_14 = tmp_tuple_unpack_7__source_iter; tmp_assign_source_47 = UNPACK_NEXT( tmp_unpack_14, 0, 2 ); if ( tmp_assign_source_47 == 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 = "ooooooooooo"; exception_lineno = 220; goto try_except_handler_17; } assert( tmp_tuple_unpack_7__element_1 == NULL ); tmp_tuple_unpack_7__element_1 = tmp_assign_source_47; } { PyObject *tmp_assign_source_48; PyObject *tmp_unpack_15; CHECK_OBJECT( tmp_tuple_unpack_7__source_iter ); tmp_unpack_15 = tmp_tuple_unpack_7__source_iter; tmp_assign_source_48 = UNPACK_NEXT( tmp_unpack_15, 1, 2 ); if ( tmp_assign_source_48 == 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 = "ooooooooooo"; exception_lineno = 220; goto try_except_handler_17; } assert( tmp_tuple_unpack_7__element_2 == NULL ); tmp_tuple_unpack_7__element_2 = tmp_assign_source_48; } { PyObject *tmp_iterator_name_7; CHECK_OBJECT( tmp_tuple_unpack_7__source_iter ); tmp_iterator_name_7 = tmp_tuple_unpack_7__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_7 ); assert( HAS_ITERNEXT( tmp_iterator_name_7 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_7 )->tp_iternext)( tmp_iterator_name_7 ); 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 = "ooooooooooo"; exception_lineno = 220; goto try_except_handler_17; } } } 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 = "ooooooooooo"; exception_lineno = 220; goto try_except_handler_17; } } goto try_end_14; // Exception handler code: try_except_handler_17:; exception_keeper_type_15 = exception_type; exception_keeper_value_15 = exception_value; exception_keeper_tb_15 = exception_tb; exception_keeper_lineno_15 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_7__source_iter ); Py_DECREF( tmp_tuple_unpack_7__source_iter ); tmp_tuple_unpack_7__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_15; exception_value = exception_keeper_value_15; exception_tb = exception_keeper_tb_15; exception_lineno = exception_keeper_lineno_15; goto try_except_handler_16; } // End of try: try_end_14:; } goto try_end_15; // Exception handler code: try_except_handler_16:; exception_keeper_type_16 = exception_type; exception_keeper_value_16 = exception_value; exception_keeper_tb_16 = exception_tb; exception_keeper_lineno_16 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_7__element_1 ); tmp_tuple_unpack_7__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_7__element_2 ); tmp_tuple_unpack_7__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_16; exception_value = exception_keeper_value_16; exception_tb = exception_keeper_tb_16; exception_lineno = exception_keeper_lineno_16; goto frame_exception_exit_1; } // End of try: try_end_15:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_7__source_iter ); Py_DECREF( tmp_tuple_unpack_7__source_iter ); tmp_tuple_unpack_7__source_iter = NULL; } { PyObject *tmp_assign_source_49; CHECK_OBJECT( tmp_tuple_unpack_7__element_1 ); tmp_assign_source_49 = tmp_tuple_unpack_7__element_1; { PyObject *old = var_path; var_path = tmp_assign_source_49; Py_INCREF( var_path ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_7__element_1 ); tmp_tuple_unpack_7__element_1 = NULL; } { PyObject *tmp_assign_source_50; CHECK_OBJECT( tmp_tuple_unpack_7__element_2 ); tmp_assign_source_50 = tmp_tuple_unpack_7__element_2; { PyObject *old = var_query; var_query = tmp_assign_source_50; Py_INCREF( var_query ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_7__element_2 ); tmp_tuple_unpack_7__element_2 = NULL; } branch_no_14:; } { PyObject *tmp_called_name_6; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_12; PyObject *tmp_args_element_name_13; PyObject *tmp_args_element_name_14; PyObject *tmp_args_element_name_15; PyObject *tmp_args_element_name_16; PyObject *tmp_args_element_name_17; PyObject *tmp_args_element_name_18; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_Url ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Url ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Url" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 222; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_called_name_6 = tmp_mvar_value_6; 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 = 222; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_12 = var_scheme; 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 = 222; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_13 = var_auth; if ( var_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 = 222; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_14 = var_host; if ( var_port == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "port" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 222; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_15 = var_port; 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 = 222; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_16 = var_path; if ( var_query == NULL ) { 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 = 222; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_17 = var_query; if ( var_fragment == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "fragment" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 222; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_18 = var_fragment; frame_ad6db9b740bf04f39a18378891d60d92->m_frame.f_lineno = 222; { PyObject *call_args[] = { tmp_args_element_name_12, tmp_args_element_name_13, tmp_args_element_name_14, tmp_args_element_name_15, tmp_args_element_name_16, tmp_args_element_name_17, tmp_args_element_name_18 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS7( tmp_called_name_6, call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 222; type_description_1 = "ooooooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_ad6db9b740bf04f39a18378891d60d92 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ad6db9b740bf04f39a18378891d60d92 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ad6db9b740bf04f39a18378891d60d92 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ad6db9b740bf04f39a18378891d60d92, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ad6db9b740bf04f39a18378891d60d92->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ad6db9b740bf04f39a18378891d60d92, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ad6db9b740bf04f39a18378891d60d92, type_description_1, par_url, var_scheme, var_auth, var_host, var_port, var_path, var_fragment, var_query, var_path_, var_delim, var__host ); // Release cached frame. if ( frame_ad6db9b740bf04f39a18378891d60d92 == cache_frame_ad6db9b740bf04f39a18378891d60d92 ) { Py_DECREF( frame_ad6db9b740bf04f39a18378891d60d92 ); } cache_frame_ad6db9b740bf04f39a18378891d60d92 = NULL; assertFrameObject( frame_ad6db9b740bf04f39a18378891d60d92 ); // 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( urllib3$util$url$$$function_8_parse_url ); 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_auth ); var_auth = NULL; } { Py_XDECREF( var_host ); var_host = NULL; } { Py_XDECREF( var_port ); var_port = NULL; } { Py_XDECREF( var_path ); var_path = NULL; } { Py_XDECREF( var_fragment ); var_fragment = NULL; } { Py_XDECREF( var_query ); var_query = NULL; } { Py_XDECREF( var_path_ ); var_path_ = NULL; } { Py_XDECREF( var_delim ); var_delim = NULL; } { Py_XDECREF( var__host ); var__host = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_17 = exception_type; exception_keeper_value_17 = exception_value; exception_keeper_tb_17 = exception_tb; exception_keeper_lineno_17 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_url ); par_url = NULL; } { Py_XDECREF( var_scheme ); var_scheme = NULL; } { Py_XDECREF( var_auth ); var_auth = NULL; } { Py_XDECREF( var_host ); var_host = NULL; } { Py_XDECREF( var_port ); var_port = NULL; } { Py_XDECREF( var_path ); var_path = NULL; } { Py_XDECREF( var_fragment ); var_fragment = NULL; } { Py_XDECREF( var_query ); var_query = NULL; } { Py_XDECREF( var_path_ ); var_path_ = NULL; } { Py_XDECREF( var_delim ); var_delim = NULL; } { Py_XDECREF( var__host ); var__host = NULL; } { // Re-raise. exception_type = exception_keeper_type_17; exception_value = exception_keeper_value_17; exception_tb = exception_keeper_tb_17; exception_lineno = exception_keeper_lineno_17; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$util$url$$$function_8_parse_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_urllib3$util$url$$$function_9_get_host( struct Nuitka_FunctionObject const *self, PyObject **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_p = NULL; struct Nuitka_FrameObject *frame_b11c245ad12727ac73cfce99bb14507b; 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_b11c245ad12727ac73cfce99bb14507b = 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_b11c245ad12727ac73cfce99bb14507b, codeobj_b11c245ad12727ac73cfce99bb14507b, module_urllib3$util$url, sizeof(void *)+sizeof(void *) ); frame_b11c245ad12727ac73cfce99bb14507b = cache_frame_b11c245ad12727ac73cfce99bb14507b; // Push the new frame as the currently active one. pushFrameStack( frame_b11c245ad12727ac73cfce99bb14507b ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_b11c245ad12727ac73cfce99bb14507b ) == 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_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_parse_url ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_parse_url ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "parse_url" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 229; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_url ); tmp_args_element_name_1 = par_url; frame_b11c245ad12727ac73cfce99bb14507b->m_frame.f_lineno = 229; { 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 = 229; type_description_1 = "oo"; goto frame_exception_exit_1; } assert( var_p == NULL ); var_p = tmp_assign_source_1; } { PyObject *tmp_tuple_element_1; int tmp_or_left_truth_1; PyObject *tmp_or_left_value_1; PyObject *tmp_or_right_value_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; CHECK_OBJECT( var_p ); tmp_source_name_1 = var_p; tmp_or_left_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_scheme ); if ( tmp_or_left_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 230; type_description_1 = "oo"; 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 = 230; type_description_1 = "oo"; 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_or_right_value_1 = const_str_plain_http; Py_INCREF( tmp_or_right_value_1 ); tmp_tuple_element_1 = tmp_or_right_value_1; goto or_end_1; or_left_1:; tmp_tuple_element_1 = tmp_or_left_value_1; or_end_1:; tmp_return_value = PyTuple_New( 3 ); PyTuple_SET_ITEM( tmp_return_value, 0, tmp_tuple_element_1 ); if ( var_p == NULL ) { Py_DECREF( tmp_return_value ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 230; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_2 = var_p; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_hostname ); 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 = 230; type_description_1 = "oo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_return_value, 1, tmp_tuple_element_1 ); if ( var_p == NULL ) { Py_DECREF( tmp_return_value ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 230; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_3 = var_p; tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_port ); 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 = 230; type_description_1 = "oo"; goto frame_exception_exit_1; } PyTuple_SET_ITEM( tmp_return_value, 2, tmp_tuple_element_1 ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_b11c245ad12727ac73cfce99bb14507b ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b11c245ad12727ac73cfce99bb14507b ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b11c245ad12727ac73cfce99bb14507b ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_b11c245ad12727ac73cfce99bb14507b, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_b11c245ad12727ac73cfce99bb14507b->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_b11c245ad12727ac73cfce99bb14507b, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_b11c245ad12727ac73cfce99bb14507b, type_description_1, par_url, var_p ); // Release cached frame. if ( frame_b11c245ad12727ac73cfce99bb14507b == cache_frame_b11c245ad12727ac73cfce99bb14507b ) { Py_DECREF( frame_b11c245ad12727ac73cfce99bb14507b ); } cache_frame_b11c245ad12727ac73cfce99bb14507b = NULL; assertFrameObject( frame_b11c245ad12727ac73cfce99bb14507b ); // 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( urllib3$util$url$$$function_9_get_host ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_url ); par_url = NULL; } { Py_XDECREF( var_p ); var_p = 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( var_p ); var_p = 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( urllib3$util$url$$$function_9_get_host ); 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_urllib3$util$url$$$function_1___new__( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$util$url$$$function_1___new__, const_str_plain___new__, #if PYTHON_VERSION >= 300 const_str_digest_d059371e62041157c75568892a4792b2, #endif codeobj_06363967baddaf1bdd2a5d671ac05787, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$util$url, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_2_hostname( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$util$url$$$function_2_hostname, const_str_plain_hostname, #if PYTHON_VERSION >= 300 const_str_digest_d503b56d297494d3676c16d8414f11cd, #endif codeobj_a8e68f42ba969ce0222dc854318112ff, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$util$url, const_str_digest_f43e189ec0b8de0c869cd891f79f8d5c, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_3_request_uri( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$util$url$$$function_3_request_uri, const_str_plain_request_uri, #if PYTHON_VERSION >= 300 const_str_digest_b8db79b9d0912cab551b32203f01865e, #endif codeobj_6ccce6f9323e89f559112c2b4a53614c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$util$url, const_str_digest_eee64e928d1d5bb591f23189f7760b5c, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_4_netloc( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$util$url$$$function_4_netloc, const_str_plain_netloc, #if PYTHON_VERSION >= 300 const_str_digest_e588ffd8998d7aa65d2f47eef1a83f98, #endif codeobj_e7bf0805c5aa735d458b3c10e05b351f, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$util$url, const_str_digest_c75c0d39d2a0196f8742722a8a16332e, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_5_url( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$util$url$$$function_5_url, const_str_plain_url, #if PYTHON_VERSION >= 300 const_str_digest_67a7add68e3824f4c255c17aad8377c0, #endif codeobj_7cc66c62e7988700b2f4e34a1f2aad30, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$util$url, const_str_digest_6c649fac88b2fbb1f84d4549e20576e1, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_6___str__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$util$url$$$function_6___str__, const_str_plain___str__, #if PYTHON_VERSION >= 300 const_str_digest_ba44c1ca6ead3bd22179c5b60b235495, #endif codeobj_43db7b89e223f7c737e9afad78261899, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$util$url, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_7_split_first( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$util$url$$$function_7_split_first, const_str_plain_split_first, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_cefbbab946fbd3a8ba0505bfd779c11f, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$util$url, const_str_digest_0eba838a809bddec091fbe1e32cd348e, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_8_parse_url( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$util$url$$$function_8_parse_url, const_str_plain_parse_url, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_ad6db9b740bf04f39a18378891d60d92, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$util$url, const_str_digest_47e4c93ec01e236a0553178a4c1e6fa7, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_urllib3$util$url$$$function_9_get_host( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_urllib3$util$url$$$function_9_get_host, const_str_plain_get_host, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_b11c245ad12727ac73cfce99bb14507b, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_urllib3$util$url, const_str_digest_81e795540c1089cfcc1b50aaf38a2508, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_urllib3$util$url = { PyModuleDef_HEAD_INIT, "urllib3.util.url", /* 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( urllib3$util$url ) { #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_urllib3$util$url ); } 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("urllib3.util.url: 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("urllib3.util.url: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("urllib3.util.url: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in initurllib3$util$url" ); // 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_urllib3$util$url = Py_InitModule4( "urllib3.util.url", // 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_urllib3$util$url = PyModule_Create( &mdef_urllib3$util$url ); #endif moduledict_urllib3$util$url = MODULE_DICT( module_urllib3$util$url ); // Update "__package__" value to what it ought to be. { #if 0 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_urllib3$util$url, (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_urllib3$util$url, (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_urllib3$util$url, (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_urllib3$util$url, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_urllib3$util$url ); // 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_b04d4c22614b9ff9b4fadfb8c8b3f608, module_urllib3$util$url ); 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_urllib3$util$url, (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_urllib3$util$url, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_urllib3$util$url, (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_urllib3$util$url, (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_urllib3$util$url, (Nuitka_StringObject *)const_str_plain___spec__, spec_value ); Py_DECREF( module_spec_class ); } #endif #endif // Temp variables if any PyObject *outline_0_var___class__ = NULL; PyObject *tmp_class_creation_1__bases = NULL; PyObject *tmp_class_creation_1__bases_orig = NULL; PyObject *tmp_class_creation_1__class_decl_dict = NULL; PyObject *tmp_class_creation_1__metaclass = NULL; PyObject *tmp_class_creation_1__prepared = NULL; struct Nuitka_FrameObject *frame_ba02c4bbe8f4c779bc94e943d8b3c923; 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_dictdel_dict; PyObject *tmp_dictdel_key; bool tmp_result; PyObject *locals_urllib3$util$url_14 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_ca076e9d5536f937520ae1d94d2a2d82_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_ca076e9d5536f937520ae1d94d2a2d82_2 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; 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; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = Py_None; UPDATE_STRING_DICT0( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_bc35c2c5269f7dec5a97d7b102ffbcac; UPDATE_STRING_DICT0( moduledict_urllib3$util$url, (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_urllib3$util$url, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 ); } // Frame without reuse. frame_ba02c4bbe8f4c779bc94e943d8b3c923 = MAKE_MODULE_FRAME( codeobj_ba02c4bbe8f4c779bc94e943d8b3c923, module_urllib3$util$url ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_ba02c4bbe8f4c779bc94e943d8b3c923 ); assert( Py_REFCNT( frame_ba02c4bbe8f4c779bc94e943d8b3c923 ) == 2 ); // Framed code: { PyObject *tmp_assign_source_4; PyObject *tmp_import_name_from_1; frame_ba02c4bbe8f4c779bc94e943d8b3c923->m_frame.f_lineno = 1; tmp_import_name_from_1 = PyImport_ImportModule("__future__"); assert( !(tmp_import_name_from_1 == NULL) ); tmp_assign_source_4 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_absolute_import ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 1; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_absolute_import, tmp_assign_source_4 ); } { PyObject *tmp_assign_source_5; PyObject *tmp_import_name_from_2; 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_collections; tmp_globals_name_1 = (PyObject *)moduledict_urllib3$util$url; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = const_tuple_str_plain_namedtuple_tuple; tmp_level_name_1 = const_int_0; frame_ba02c4bbe8f4c779bc94e943d8b3c923->m_frame.f_lineno = 2; tmp_import_name_from_2 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); if ( tmp_import_name_from_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 2; goto frame_exception_exit_1; } tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_namedtuple ); Py_DECREF( tmp_import_name_from_2 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 2; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_namedtuple, tmp_assign_source_5 ); } { PyObject *tmp_assign_source_6; PyObject *tmp_import_name_from_3; 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_exceptions; tmp_globals_name_2 = (PyObject *)moduledict_urllib3$util$url; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = const_tuple_str_plain_LocationParseError_tuple; tmp_level_name_2 = const_int_pos_2; frame_ba02c4bbe8f4c779bc94e943d8b3c923->m_frame.f_lineno = 4; tmp_import_name_from_3 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 ); if ( tmp_import_name_from_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 4; goto frame_exception_exit_1; } if ( PyModule_Check( tmp_import_name_from_3 ) ) { tmp_assign_source_6 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_3, (PyObject *)MODULE_DICT(tmp_import_name_from_3), const_str_plain_LocationParseError, const_int_pos_2 ); } else { tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_LocationParseError ); } Py_DECREF( tmp_import_name_from_3 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 4; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_LocationParseError, tmp_assign_source_6 ); } { PyObject *tmp_assign_source_7; tmp_assign_source_7 = LIST_COPY( const_list_e5c5e46e19f9df51f3e1864dfe99c669_list ); UPDATE_STRING_DICT1( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_url_attrs, tmp_assign_source_7 ); } { PyObject *tmp_assign_source_8; tmp_assign_source_8 = const_tuple_str_plain_http_str_plain_https_none_tuple; UPDATE_STRING_DICT0( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_NORMALIZABLE_SCHEMES, tmp_assign_source_8 ); } { // Tried code: { PyObject *tmp_assign_source_9; PyObject *tmp_tuple_element_1; PyObject *tmp_called_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_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_namedtuple ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_namedtuple ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "namedtuple" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 14; goto try_except_handler_1; } tmp_called_name_1 = tmp_mvar_value_1; tmp_args_element_name_1 = const_str_plain_Url; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_url_attrs ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_url_attrs ); } CHECK_OBJECT( tmp_mvar_value_2 ); tmp_args_element_name_2 = tmp_mvar_value_2; frame_ba02c4bbe8f4c779bc94e943d8b3c923->m_frame.f_lineno = 14; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_tuple_element_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_1; } tmp_assign_source_9 = PyTuple_New( 1 ); PyTuple_SET_ITEM( tmp_assign_source_9, 0, tmp_tuple_element_1 ); assert( tmp_class_creation_1__bases_orig == NULL ); tmp_class_creation_1__bases_orig = tmp_assign_source_9; } { PyObject *tmp_assign_source_10; PyObject *tmp_dircall_arg1_1; CHECK_OBJECT( tmp_class_creation_1__bases_orig ); tmp_dircall_arg1_1 = tmp_class_creation_1__bases_orig; Py_INCREF( tmp_dircall_arg1_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1}; tmp_assign_source_10 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_1; } assert( tmp_class_creation_1__bases == NULL ); tmp_class_creation_1__bases = tmp_assign_source_10; } { PyObject *tmp_assign_source_11; tmp_assign_source_11 = PyDict_New(); assert( tmp_class_creation_1__class_decl_dict == NULL ); tmp_class_creation_1__class_decl_dict = tmp_assign_source_11; } { PyObject *tmp_assign_source_12; PyObject *tmp_metaclass_name_1; nuitka_bool tmp_condition_result_1; PyObject *tmp_key_name_1; PyObject *tmp_dict_name_1; PyObject *tmp_dict_name_2; PyObject *tmp_key_name_2; nuitka_bool tmp_condition_result_2; int tmp_truth_name_1; PyObject *tmp_type_arg_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_bases_name_1; tmp_key_name_1 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dict_name_1 = tmp_class_creation_1__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_1, tmp_key_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict; tmp_key_name_2 = const_str_plain_metaclass; tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 ); if ( tmp_metaclass_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_1; } goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_truth_name_1 = CHECK_IF_TRUE( tmp_class_creation_1__bases ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_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 condexpr_true_2; } else { goto condexpr_false_2; } condexpr_true_2:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_subscribed_name_1 = tmp_class_creation_1__bases; tmp_subscript_name_1 = const_int_0; tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_type_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_1; } tmp_metaclass_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 ); Py_DECREF( tmp_type_arg_1 ); if ( tmp_metaclass_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_1; } goto condexpr_end_2; condexpr_false_2:; tmp_metaclass_name_1 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_1 ); condexpr_end_2:; condexpr_end_1:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_bases_name_1 = tmp_class_creation_1__bases; tmp_assign_source_12 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_1; } assert( tmp_class_creation_1__metaclass == NULL ); tmp_class_creation_1__metaclass = tmp_assign_source_12; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_key_name_3; PyObject *tmp_dict_name_3; tmp_key_name_3 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dict_name_3 = tmp_class_creation_1__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_3, tmp_key_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_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_1; } else { goto branch_no_1; } branch_yes_1:; { CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_1; } } branch_no_1:; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_source_name_1; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_1 = tmp_class_creation_1__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_1, const_str_plain___prepare__ ); tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_13; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_2; PyObject *tmp_kw_name_1; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_2 = tmp_class_creation_1__metaclass; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___prepare__ ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_1; } tmp_tuple_element_2 = const_str_plain_Url; tmp_args_name_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_2 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict; frame_ba02c4bbe8f4c779bc94e943d8b3c923->m_frame.f_lineno = 14; tmp_assign_source_13 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_name_1 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_1; } assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_13; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_operand_name_1; PyObject *tmp_source_name_3; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_source_name_3 = tmp_class_creation_1__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_3, const_str_plain___getitem__ ); tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_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_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_raise_type_1; PyObject *tmp_raise_value_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_3; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; PyObject *tmp_source_name_4; PyObject *tmp_type_arg_2; tmp_raise_type_1 = PyExc_TypeError; tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_getattr_target_1 = tmp_class_creation_1__metaclass; tmp_getattr_attr_1 = const_str_plain___name__; tmp_getattr_default_1 = const_str_angle_metaclass; tmp_tuple_element_3 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 ); if ( tmp_tuple_element_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_1; } tmp_right_name_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_3 ); CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_type_arg_2 = tmp_class_creation_1__prepared; tmp_source_name_4 = BUILTIN_TYPE1( tmp_type_arg_2 ); assert( !(tmp_source_name_4 == NULL) ); tmp_tuple_element_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ ); Py_DECREF( tmp_source_name_4 ); if ( tmp_tuple_element_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_1 ); exception_lineno = 14; goto try_except_handler_1; } PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_3 ); tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_raise_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_1; } exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_value = tmp_raise_value_1; exception_lineno = 14; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_1; } branch_no_3:; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_14; tmp_assign_source_14 = PyDict_New(); assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_14; } branch_end_2:; } { PyObject *tmp_assign_source_15; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_urllib3$util$url_14 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_b04d4c22614b9ff9b4fadfb8c8b3f608; tmp_res = PyObject_SetItem( locals_urllib3$util$url_14, const_str_plain___module__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_3; } } { tmp_dictset_value = const_str_digest_7e6cf4117f906fa2ab7498e20ad3ec85; tmp_res = PyObject_SetItem( locals_urllib3$util$url_14, const_str_plain___doc__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_3; } } { tmp_dictset_value = const_str_plain_Url; tmp_res = PyObject_SetItem( locals_urllib3$util$url_14, const_str_plain___qualname__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_3; } } MAKE_OR_REUSE_FRAME( cache_frame_ca076e9d5536f937520ae1d94d2a2d82_2, codeobj_ca076e9d5536f937520ae1d94d2a2d82, module_urllib3$util$url, sizeof(void *) ); frame_ca076e9d5536f937520ae1d94d2a2d82_2 = cache_frame_ca076e9d5536f937520ae1d94d2a2d82_2; // Push the new frame as the currently active one. pushFrameStack( frame_ca076e9d5536f937520ae1d94d2a2d82_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ca076e9d5536f937520ae1d94d2a2d82_2 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = const_tuple_empty; tmp_res = PyObject_SetItem( locals_urllib3$util$url_14, const_str_plain___slots__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 20; type_description_2 = "o"; goto frame_exception_exit_2; } } { PyObject *tmp_defaults_1; tmp_defaults_1 = const_tuple_none_none_none_none_none_none_none_tuple; Py_INCREF( tmp_defaults_1 ); tmp_dictset_value = MAKE_FUNCTION_urllib3$util$url$$$function_1___new__( tmp_defaults_1 ); tmp_res = PyObject_SetItem( locals_urllib3$util$url_14, const_str_plain___new__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 22; type_description_2 = "o"; goto frame_exception_exit_2; } } { nuitka_bool tmp_condition_result_6; PyObject *tmp_called_name_3; PyObject *tmp_args_element_name_3; PyObject *tmp_called_name_4; PyObject *tmp_args_element_name_4; tmp_res = MAPPING_HAS_ITEM( locals_urllib3$util$url_14, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 33; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_6 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto condexpr_true_3; } else { goto condexpr_false_3; } condexpr_true_3:; tmp_called_name_3 = PyObject_GetItem( locals_urllib3$util$url_14, const_str_plain_property ); if ( tmp_called_name_3 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 33; type_description_2 = "o"; goto frame_exception_exit_2; } if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 33; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_args_element_name_3 = MAKE_FUNCTION_urllib3$util$url$$$function_2_hostname( ); frame_ca076e9d5536f937520ae1d94d2a2d82_2->m_frame.f_lineno = 33; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 33; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_3; condexpr_false_3:; tmp_called_name_4 = (PyObject *)&PyProperty_Type; tmp_args_element_name_4 = MAKE_FUNCTION_urllib3$util$url$$$function_2_hostname( ); frame_ca076e9d5536f937520ae1d94d2a2d82_2->m_frame.f_lineno = 33; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_args_element_name_4 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 33; type_description_2 = "o"; goto frame_exception_exit_2; } condexpr_end_3:; tmp_res = PyObject_SetItem( locals_urllib3$util$url_14, const_str_plain_hostname, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 33; type_description_2 = "o"; goto frame_exception_exit_2; } } { nuitka_bool tmp_condition_result_7; PyObject *tmp_called_name_5; PyObject *tmp_args_element_name_5; PyObject *tmp_called_name_6; PyObject *tmp_args_element_name_6; tmp_res = MAPPING_HAS_ITEM( locals_urllib3$util$url_14, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 38; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_7 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto condexpr_true_4; } else { goto condexpr_false_4; } condexpr_true_4:; tmp_called_name_5 = PyObject_GetItem( locals_urllib3$util$url_14, const_str_plain_property ); if ( tmp_called_name_5 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 38; type_description_2 = "o"; goto frame_exception_exit_2; } if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 38; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_args_element_name_5 = MAKE_FUNCTION_urllib3$util$url$$$function_3_request_uri( ); frame_ca076e9d5536f937520ae1d94d2a2d82_2->m_frame.f_lineno = 38; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_dictset_value = 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_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 38; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_4; condexpr_false_4:; tmp_called_name_6 = (PyObject *)&PyProperty_Type; tmp_args_element_name_6 = MAKE_FUNCTION_urllib3$util$url$$$function_3_request_uri( ); frame_ca076e9d5536f937520ae1d94d2a2d82_2->m_frame.f_lineno = 38; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_args_element_name_6 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 38; type_description_2 = "o"; goto frame_exception_exit_2; } condexpr_end_4:; tmp_res = PyObject_SetItem( locals_urllib3$util$url_14, const_str_plain_request_uri, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 38; type_description_2 = "o"; goto frame_exception_exit_2; } } { nuitka_bool tmp_condition_result_8; PyObject *tmp_called_name_7; PyObject *tmp_args_element_name_7; PyObject *tmp_called_name_8; PyObject *tmp_args_element_name_8; tmp_res = MAPPING_HAS_ITEM( locals_urllib3$util$url_14, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 48; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_8 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto condexpr_true_5; } else { goto condexpr_false_5; } condexpr_true_5:; tmp_called_name_7 = PyObject_GetItem( locals_urllib3$util$url_14, const_str_plain_property ); if ( tmp_called_name_7 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 48; type_description_2 = "o"; goto frame_exception_exit_2; } if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 48; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_args_element_name_7 = MAKE_FUNCTION_urllib3$util$url$$$function_4_netloc( ); frame_ca076e9d5536f937520ae1d94d2a2d82_2->m_frame.f_lineno = 48; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } Py_DECREF( tmp_called_name_7 ); Py_DECREF( tmp_args_element_name_7 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 48; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_5; condexpr_false_5:; tmp_called_name_8 = (PyObject *)&PyProperty_Type; tmp_args_element_name_8 = MAKE_FUNCTION_urllib3$util$url$$$function_4_netloc( ); frame_ca076e9d5536f937520ae1d94d2a2d82_2->m_frame.f_lineno = 48; { PyObject *call_args[] = { tmp_args_element_name_8 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args ); } Py_DECREF( tmp_args_element_name_8 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 48; type_description_2 = "o"; goto frame_exception_exit_2; } condexpr_end_5:; tmp_res = PyObject_SetItem( locals_urllib3$util$url_14, const_str_plain_netloc, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 48; type_description_2 = "o"; goto frame_exception_exit_2; } } { nuitka_bool tmp_condition_result_9; PyObject *tmp_called_name_9; PyObject *tmp_args_element_name_9; PyObject *tmp_called_name_10; PyObject *tmp_args_element_name_10; tmp_res = MAPPING_HAS_ITEM( locals_urllib3$util$url_14, const_str_plain_property ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 55; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_9 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto condexpr_true_6; } else { goto condexpr_false_6; } condexpr_true_6:; tmp_called_name_9 = PyObject_GetItem( locals_urllib3$util$url_14, const_str_plain_property ); if ( tmp_called_name_9 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "property" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 55; type_description_2 = "o"; goto frame_exception_exit_2; } if ( tmp_called_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 55; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_args_element_name_9 = MAKE_FUNCTION_urllib3$util$url$$$function_5_url( ); frame_ca076e9d5536f937520ae1d94d2a2d82_2->m_frame.f_lineno = 55; { PyObject *call_args[] = { tmp_args_element_name_9 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args ); } Py_DECREF( tmp_called_name_9 ); Py_DECREF( tmp_args_element_name_9 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 55; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_6; condexpr_false_6:; tmp_called_name_10 = (PyObject *)&PyProperty_Type; tmp_args_element_name_10 = MAKE_FUNCTION_urllib3$util$url$$$function_5_url( ); frame_ca076e9d5536f937520ae1d94d2a2d82_2->m_frame.f_lineno = 55; { PyObject *call_args[] = { tmp_args_element_name_10 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_10, call_args ); } Py_DECREF( tmp_args_element_name_10 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 55; type_description_2 = "o"; goto frame_exception_exit_2; } condexpr_end_6:; tmp_res = PyObject_SetItem( locals_urllib3$util$url_14, const_str_plain_url, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 55; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_urllib3$util$url$$$function_6___str__( ); tmp_res = PyObject_SetItem( locals_urllib3$util$url_14, const_str_plain___str__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 95; type_description_2 = "o"; goto frame_exception_exit_2; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_ca076e9d5536f937520ae1d94d2a2d82_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ca076e9d5536f937520ae1d94d2a2d82_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ca076e9d5536f937520ae1d94d2a2d82_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ca076e9d5536f937520ae1d94d2a2d82_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ca076e9d5536f937520ae1d94d2a2d82_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ca076e9d5536f937520ae1d94d2a2d82_2, type_description_2, outline_0_var___class__ ); // Release cached frame. if ( frame_ca076e9d5536f937520ae1d94d2a2d82_2 == cache_frame_ca076e9d5536f937520ae1d94d2a2d82_2 ) { Py_DECREF( frame_ca076e9d5536f937520ae1d94d2a2d82_2 ); } cache_frame_ca076e9d5536f937520ae1d94d2a2d82_2 = NULL; assertFrameObject( frame_ca076e9d5536f937520ae1d94d2a2d82_2 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; goto try_except_handler_3; skip_nested_handling_1:; { nuitka_bool tmp_condition_result_10; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_compexpr_left_1 = tmp_class_creation_1__bases; CHECK_OBJECT( tmp_class_creation_1__bases_orig ); tmp_compexpr_right_1 = tmp_class_creation_1__bases_orig; 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 = 14; goto try_except_handler_3; } tmp_condition_result_10 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { CHECK_OBJECT( tmp_class_creation_1__bases_orig ); tmp_dictset_value = tmp_class_creation_1__bases_orig; tmp_res = PyObject_SetItem( locals_urllib3$util$url_14, const_str_plain___orig_bases__, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_3; } } branch_no_4:; } { PyObject *tmp_assign_source_16; PyObject *tmp_called_name_11; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_4; PyObject *tmp_kw_name_2; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_called_name_11 = tmp_class_creation_1__metaclass; tmp_tuple_element_4 = const_str_plain_Url; tmp_args_name_2 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_4 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_4 ); tmp_tuple_element_4 = locals_urllib3$util$url_14; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict; frame_ba02c4bbe8f4c779bc94e943d8b3c923->m_frame.f_lineno = 14; tmp_assign_source_16 = CALL_FUNCTION( tmp_called_name_11, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 14; goto try_except_handler_3; } assert( outline_0_var___class__ == NULL ); outline_0_var___class__ = tmp_assign_source_16; } { CHECK_OBJECT( outline_0_var___class__ ); tmp_assign_source_15 = outline_0_var___class__; Py_INCREF( tmp_assign_source_15 ); goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$util$url ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_3:; { Py_DECREF( locals_urllib3$util$url_14 ); locals_urllib3$util$url_14 = NULL; } { goto try_return_handler_2; } // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_urllib3$util$url_14 ); locals_urllib3$util$url_14 = 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: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( urllib3$util$url ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_2:; { CHECK_OBJECT( (PyObject *)outline_0_var___class__ ); Py_DECREF( outline_0_var___class__ ); outline_0_var___class__ = NULL; } { goto outline_result_1; } // Exception handler code: try_except_handler_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; { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( urllib3$util$url ); return MOD_RETURN_VALUE( NULL ); outline_exception_1:; exception_lineno = 14; goto try_except_handler_1; outline_result_1:; UPDATE_STRING_DICT1( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_Url, tmp_assign_source_15 ); } goto try_end_1; // 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( tmp_class_creation_1__bases ); tmp_class_creation_1__bases = NULL; } { Py_XDECREF( tmp_class_creation_1__class_decl_dict ); tmp_class_creation_1__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_1__metaclass ); tmp_class_creation_1__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_1__prepared ); tmp_class_creation_1__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_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_1:; } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_ba02c4bbe8f4c779bc94e943d8b3c923 ); #endif popFrameStack(); assertFrameObject( frame_ba02c4bbe8f4c779bc94e943d8b3c923 ); goto frame_no_exception_2; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ba02c4bbe8f4c779bc94e943d8b3c923 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ba02c4bbe8f4c779bc94e943d8b3c923, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ba02c4bbe8f4c779bc94e943d8b3c923->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ba02c4bbe8f4c779bc94e943d8b3c923, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_2:; { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__bases ); Py_DECREF( tmp_class_creation_1__bases ); tmp_class_creation_1__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__class_decl_dict ); Py_DECREF( tmp_class_creation_1__class_decl_dict ); tmp_class_creation_1__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__metaclass ); Py_DECREF( tmp_class_creation_1__metaclass ); tmp_class_creation_1__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__prepared ); Py_DECREF( tmp_class_creation_1__prepared ); tmp_class_creation_1__prepared = NULL; } { PyObject *tmp_assign_source_17; tmp_assign_source_17 = MAKE_FUNCTION_urllib3$util$url$$$function_7_split_first( ); UPDATE_STRING_DICT1( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_split_first, tmp_assign_source_17 ); } { PyObject *tmp_assign_source_18; tmp_assign_source_18 = MAKE_FUNCTION_urllib3$util$url$$$function_8_parse_url( ); UPDATE_STRING_DICT1( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_parse_url, tmp_assign_source_18 ); } { PyObject *tmp_assign_source_19; tmp_assign_source_19 = MAKE_FUNCTION_urllib3$util$url$$$function_9_get_host( ); UPDATE_STRING_DICT1( moduledict_urllib3$util$url, (Nuitka_StringObject *)const_str_plain_get_host, tmp_assign_source_19 ); } return MOD_RETURN_VALUE( module_urllib3$util$url ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }