/* Generated code for Python source for module 'requests.structures' * created by Nuitka version 0.6.0 * * This code is in part copyright 2018 Kay Hayen. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ #include "nuitka/prelude.h" #include "__helpers.h" /* The _module_requests$structures is a Python object pointer of module type. */ /* Note: For full compatibility with CPython, every module variable access * needs to go through it except for cases where the module cannot possibly * have changed in the mean time. */ PyObject *module_requests$structures; PyDictObject *moduledict_requests$structures; /* The module constants used, if any. */ extern PyObject *const_str_plain_metaclass; extern PyObject *const_str_plain_dict; extern PyObject *const_str_plain___name__; extern PyObject *const_tuple_str_plain_self_str_plain_key_tuple; extern PyObject *const_tuple_str_plain___class___tuple; extern PyObject *const_str_angle_metaclass; extern PyObject *const_str_plain___file__; static PyObject *const_str_plain_lowerkey; static PyObject *const_str_digest_74bec43f616606d28d90e1aaeeec11f0; static PyObject *const_tuple_95d1d10b0fe1f8fcb0dd618ddf9da6eb_tuple; extern PyObject *const_str_plain_default; extern PyObject *const_str_plain_items; extern PyObject *const_tuple_str_plain_self_str_plain_name_str_plain___class___tuple; extern PyObject *const_str_plain_None; static PyObject *const_str_digest_8a922fdb958e3725775cbd47950214b0; static PyObject *const_str_digest_ecd2cc4435f694ec4c41ab0c3c14dbcc; extern PyObject *const_tuple_type_dict_tuple; static PyObject *const_str_digest_53baf29bec22b133be9b211ff702cf6c; extern PyObject *const_str_plain_MutableMapping; extern PyObject *const_str_plain___doc__; extern PyObject *const_str_plain_lower; static PyObject *const_tuple_d6f2d91c4a602bf23b683e0441e2b553_tuple; static PyObject *const_str_digest_bfab8e85f1b0752a44d6835abd6392d7; extern PyObject *const_str_plain___orig_bases__; extern PyObject *const_str_plain_data; extern PyObject *const_str_plain___len__; extern PyObject *const_str_angle_genexpr; extern PyObject *const_str_plain___qualname__; static PyObject *const_tuple_str_plain_self_str_plain_data_str_plain_kwargs_tuple; extern PyObject *const_tuple_str_plain_self_str_plain_other_tuple; extern PyObject *const_str_digest_b9c4baf879ebd882d40843df3a4dead7; static PyObject *const_str_digest_4226ea5e6f370841de37e4be807054fc; extern PyObject *const_str_plain_value; extern PyObject *const_tuple_str_plain_self_str_plain_key_str_plain_value_tuple; extern PyObject *const_tuple_str_plain_self_tuple; static PyObject *const_str_digest_4c4760972e951f3300a9d0e8c6bc5367; static PyObject *const_str_digest_aabc44b91de24efbbb162d2c97ce72dc; static PyObject *const_str_digest_aad659acc497ecf741768814d10b8269; extern PyObject *const_tuple_empty; static PyObject *const_tuple_ed0625a0d6754b7d411142507a789500_tuple; extern PyObject *const_str_plain_name; static PyObject *const_str_digest_f9376a12e7a1edd4be83139f7fc56e2a; static PyObject *const_str_digest_a47f31780e88e5cc20f885829cbe8f69; static PyObject *const_str_plain_casedkey; extern PyObject *const_str_plain___getitem__; extern PyObject *const_str_plain___eq__; extern PyObject *const_int_0; extern PyObject *const_str_plain_CaseInsensitiveDict; static PyObject *const_str_plain_lower_items; static PyObject *const_str_plain_mappedvalue; extern PyObject *const_str_plain_OrderedDict; extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295; static PyObject *const_str_plain_keyval; static PyObject *const_str_digest_cc92bb17af141758890502d9ab1b1207; extern PyObject *const_str_plain_LookupDict; extern PyObject *const_str_plain_type; static PyObject *const_str_digest_f17f6939c7daf38c1bfde8542cb5f418; extern PyObject *const_str_plain___cached__; static PyObject *const_str_digest_68c8d339b0affc5bcc11cced46f58f93; extern PyObject *const_str_plain___class__; extern PyObject *const_tuple_none_tuple; extern PyObject *const_str_plain___module__; static PyObject *const_str_digest_5a15d028fd8fdb436a39e5bbe6bffc33; extern PyObject *const_str_plain_update; extern PyObject *const_int_pos_1; extern PyObject *const_str_plain_values; extern PyObject *const_str_plain_copy; extern PyObject *const_str_plain_key; extern PyObject *const_str_plain_other; extern PyObject *const_str_plain_Mapping; static PyObject *const_str_digest_e385481816282a876456d299a978f661; extern PyObject *const_str_plain___init__; extern PyObject *const_str_plain___prepare__; extern PyObject *const_str_plain___setitem__; static PyObject *const_str_digest_757e5be2987f3c2f3560786338a6c166; extern PyObject *const_str_plain_self; static PyObject *const_str_digest_85e45fb1108f78d7ca7d8498d9b36ec2; extern PyObject *const_str_plain___repr__; static PyObject *const_str_digest_0071466c5d467024ac06b30e8e2c9fbd; static PyObject *const_str_digest_2b72645b1909e0aa2b6055e23a32095c; extern PyObject *const_str_plain_get; static PyObject *const_str_digest_cf30b8253ca148f06f2468664f23ce1d; extern PyObject *const_str_plain_kwargs; static PyObject *const_str_digest_271a5b22df0d42a990880eecaba6ed05; extern PyObject *const_str_plain_compat; static PyObject *const_str_digest_b24fbd8cbdf599b1ba96f0dd47b4aec6; static PyObject *const_str_digest_2b47fdfc54f1184616b1c30b608ebd05; static PyObject *const_str_plain__store; extern PyObject *const_str_plain___iter__; extern PyObject *const_str_plain___delitem__; extern PyObject *const_tuple_str_plain_self_str_plain_key_str_plain_default_tuple; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_str_plain_lowerkey = UNSTREAM_STRING( &constant_bin[ 1089979 ], 8, 1 ); const_str_digest_74bec43f616606d28d90e1aaeeec11f0 = UNSTREAM_STRING( &constant_bin[ 1089987 ], 31, 0 ); const_tuple_95d1d10b0fe1f8fcb0dd618ddf9da6eb_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_95d1d10b0fe1f8fcb0dd618ddf9da6eb_tuple, 0, const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); Py_INCREF( const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); PyTuple_SET_ITEM( const_tuple_95d1d10b0fe1f8fcb0dd618ddf9da6eb_tuple, 1, const_str_plain_lowerkey ); Py_INCREF( const_str_plain_lowerkey ); const_str_plain_keyval = UNSTREAM_STRING( &constant_bin[ 1090018 ], 6, 1 ); PyTuple_SET_ITEM( const_tuple_95d1d10b0fe1f8fcb0dd618ddf9da6eb_tuple, 2, const_str_plain_keyval ); Py_INCREF( const_str_plain_keyval ); const_str_digest_8a922fdb958e3725775cbd47950214b0 = UNSTREAM_STRING( &constant_bin[ 1090024 ], 14, 0 ); const_str_digest_ecd2cc4435f694ec4c41ab0c3c14dbcc = UNSTREAM_STRING( &constant_bin[ 1090038 ], 982, 0 ); const_str_digest_53baf29bec22b133be9b211ff702cf6c = UNSTREAM_STRING( &constant_bin[ 1091020 ], 46, 0 ); const_tuple_d6f2d91c4a602bf23b683e0441e2b553_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_d6f2d91c4a602bf23b683e0441e2b553_tuple, 0, const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); Py_INCREF( const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); const_str_plain_casedkey = UNSTREAM_STRING( &constant_bin[ 1091066 ], 8, 1 ); PyTuple_SET_ITEM( const_tuple_d6f2d91c4a602bf23b683e0441e2b553_tuple, 1, const_str_plain_casedkey ); Py_INCREF( const_str_plain_casedkey ); const_str_plain_mappedvalue = UNSTREAM_STRING( &constant_bin[ 1091074 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_d6f2d91c4a602bf23b683e0441e2b553_tuple, 2, const_str_plain_mappedvalue ); Py_INCREF( const_str_plain_mappedvalue ); const_str_digest_bfab8e85f1b0752a44d6835abd6392d7 = UNSTREAM_STRING( &constant_bin[ 1091085 ], 28, 0 ); const_tuple_str_plain_self_str_plain_data_str_plain_kwargs_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_data_str_plain_kwargs_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_data_str_plain_kwargs_tuple, 1, const_str_plain_data ); Py_INCREF( const_str_plain_data ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_data_str_plain_kwargs_tuple, 2, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); const_str_digest_4226ea5e6f370841de37e4be807054fc = UNSTREAM_STRING( &constant_bin[ 1091113 ], 26, 0 ); const_str_digest_4c4760972e951f3300a9d0e8c6bc5367 = UNSTREAM_STRING( &constant_bin[ 1091139 ], 28, 0 ); const_str_digest_aabc44b91de24efbbb162d2c97ce72dc = UNSTREAM_STRING( &constant_bin[ 1091167 ], 28, 0 ); const_str_digest_aad659acc497ecf741768814d10b8269 = UNSTREAM_STRING( &constant_bin[ 1091195 ], 24, 0 ); const_tuple_ed0625a0d6754b7d411142507a789500_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_ed0625a0d6754b7d411142507a789500_tuple, 0, const_str_plain_OrderedDict ); Py_INCREF( const_str_plain_OrderedDict ); PyTuple_SET_ITEM( const_tuple_ed0625a0d6754b7d411142507a789500_tuple, 1, const_str_plain_Mapping ); Py_INCREF( const_str_plain_Mapping ); PyTuple_SET_ITEM( const_tuple_ed0625a0d6754b7d411142507a789500_tuple, 2, const_str_plain_MutableMapping ); Py_INCREF( const_str_plain_MutableMapping ); const_str_digest_f9376a12e7a1edd4be83139f7fc56e2a = UNSTREAM_STRING( &constant_bin[ 1091219 ], 22, 0 ); const_str_digest_a47f31780e88e5cc20f885829cbe8f69 = UNSTREAM_STRING( &constant_bin[ 1091241 ], 19, 0 ); const_str_plain_lower_items = UNSTREAM_STRING( &constant_bin[ 1090007 ], 11, 1 ); const_str_digest_cc92bb17af141758890502d9ab1b1207 = UNSTREAM_STRING( &constant_bin[ 1091260 ], 50, 0 ); const_str_digest_f17f6939c7daf38c1bfde8542cb5f418 = UNSTREAM_STRING( &constant_bin[ 1091310 ], 31, 0 ); const_str_digest_68c8d339b0affc5bcc11cced46f58f93 = UNSTREAM_STRING( &constant_bin[ 1091341 ], 31, 0 ); const_str_digest_5a15d028fd8fdb436a39e5bbe6bffc33 = UNSTREAM_STRING( &constant_bin[ 1091372 ], 79, 0 ); const_str_digest_e385481816282a876456d299a978f661 = UNSTREAM_STRING( &constant_bin[ 1091451 ], 25, 0 ); const_str_digest_757e5be2987f3c2f3560786338a6c166 = UNSTREAM_STRING( &constant_bin[ 1091476 ], 28, 0 ); const_str_digest_85e45fb1108f78d7ca7d8498d9b36ec2 = UNSTREAM_STRING( &constant_bin[ 1091504 ], 27, 0 ); const_str_digest_0071466c5d467024ac06b30e8e2c9fbd = UNSTREAM_STRING( &constant_bin[ 1091531 ], 19, 0 ); const_str_digest_2b72645b1909e0aa2b6055e23a32095c = UNSTREAM_STRING( &constant_bin[ 1091550 ], 13, 0 ); const_str_digest_cf30b8253ca148f06f2468664f23ce1d = UNSTREAM_STRING( &constant_bin[ 1091563 ], 31, 0 ); const_str_digest_271a5b22df0d42a990880eecaba6ed05 = UNSTREAM_STRING( &constant_bin[ 1091594 ], 47, 0 ); const_str_digest_b24fbd8cbdf599b1ba96f0dd47b4aec6 = UNSTREAM_STRING( &constant_bin[ 1091641 ], 55, 0 ); const_str_digest_2b47fdfc54f1184616b1c30b608ebd05 = UNSTREAM_STRING( &constant_bin[ 1091696 ], 19, 0 ); const_str_plain__store = UNSTREAM_STRING( &constant_bin[ 488695 ], 6, 1 ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_requests$structures( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_14d90805ec642c1ff1691e257cd2d185; static PyCodeObject *codeobj_14abf6b47b254e40de6cd3b0a2ac80e0; static PyCodeObject *codeobj_75e74361b261745c0154a113197684c0; static PyCodeObject *codeobj_caffc78406f3f591be9ebdd24aa8e24f; static PyCodeObject *codeobj_1bb9515b280950a6bed10f2c2427422f; static PyCodeObject *codeobj_cb3095d973b465a7f5d3e89f0dfd3d38; static PyCodeObject *codeobj_91b418598f858f4699a26efa466b17bf; static PyCodeObject *codeobj_f0133bfdff32f0af5e30f1fb4d1fdc85; static PyCodeObject *codeobj_91a80dd2354b53002a4b2938e950a06b; static PyCodeObject *codeobj_8ff5625e0bca117dcc3b5b4d99de0fb6; static PyCodeObject *codeobj_c2fd996385cd639d45644d8773d94018; static PyCodeObject *codeobj_700f3677d353518c0264e534894091a8; static PyCodeObject *codeobj_c5b46e15246bbb3cdfd0a2159bc140eb; static PyCodeObject *codeobj_7092a65b429ec927bdeda88a476738b2; static PyCodeObject *codeobj_3a3cb84b0f14c332ec3573b8e8295636; static PyCodeObject *codeobj_84c6f9d0ea1341b0c227b8191d5813b0; static PyCodeObject *codeobj_917a1906bb2465047671c6702f947a77; static PyCodeObject *codeobj_10e0e44c06ade88325ccbfe7dec54617; static PyCodeObject *codeobj_cc9fec8c4b1f9401fa68e7054d3b16e3; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_b24fbd8cbdf599b1ba96f0dd47b4aec6; codeobj_14d90805ec642c1ff1691e257cd2d185 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 58, const_tuple_d6f2d91c4a602bf23b683e0441e2b553_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_14abf6b47b254e40de6cd3b0a2ac80e0 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 66, const_tuple_95d1d10b0fe1f8fcb0dd618ddf9da6eb_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_75e74361b261745c0154a113197684c0 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_757e5be2987f3c2f3560786338a6c166, 1, const_tuple_empty, 0, 0, CO_NOFREE ); codeobj_caffc78406f3f591be9ebdd24aa8e24f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_CaseInsensitiveDict, 13, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_1bb9515b280950a6bed10f2c2427422f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_LookupDict, 87, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_cb3095d973b465a7f5d3e89f0dfd3d38 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___delitem__, 54, const_tuple_str_plain_self_str_plain_key_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_91b418598f858f4699a26efa466b17bf = MAKE_CODEOBJ( module_filename_obj, const_str_plain___eq__, 71, const_tuple_str_plain_self_str_plain_other_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_f0133bfdff32f0af5e30f1fb4d1fdc85 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___getitem__, 51, const_tuple_str_plain_self_str_plain_key_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_91a80dd2354b53002a4b2938e950a06b = MAKE_CODEOBJ( module_filename_obj, const_str_plain___getitem__, 97, const_tuple_str_plain_self_str_plain_key_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_8ff5625e0bca117dcc3b5b4d99de0fb6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 40, const_tuple_str_plain_self_str_plain_data_str_plain_kwargs_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_c2fd996385cd639d45644d8773d94018 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 90, const_tuple_str_plain_self_str_plain_name_str_plain___class___tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_700f3677d353518c0264e534894091a8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___iter__, 57, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_c5b46e15246bbb3cdfd0a2159bc140eb = MAKE_CODEOBJ( module_filename_obj, const_str_plain___len__, 60, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_7092a65b429ec927bdeda88a476738b2 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___repr__, 83, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_3a3cb84b0f14c332ec3573b8e8295636 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___repr__, 94, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_84c6f9d0ea1341b0c227b8191d5813b0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___setitem__, 46, const_tuple_str_plain_self_str_plain_key_str_plain_value_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_917a1906bb2465047671c6702f947a77 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_copy, 80, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_10e0e44c06ade88325ccbfe7dec54617 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get, 102, const_tuple_str_plain_self_str_plain_key_str_plain_default_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_cc9fec8c4b1f9401fa68e7054d3b16e3 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_lower_items, 63, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); } // The module function declarations. static PyObject *requests$structures$$$function_5___iter__$$$genexpr_1_genexpr_maker( void ); static PyObject *requests$structures$$$function_7_lower_items$$$genexpr_1_genexpr_maker( void ); NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars ); NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_5_complex_call_helper_pos_star_dict( PyObject **python_pars ); static PyObject *MAKE_FUNCTION_requests$structures$$$function_10___repr__( ); static PyObject *MAKE_FUNCTION_requests$structures$$$function_11___init__( PyObject *defaults ); static PyObject *MAKE_FUNCTION_requests$structures$$$function_12___repr__( ); static PyObject *MAKE_FUNCTION_requests$structures$$$function_13___getitem__( ); static PyObject *MAKE_FUNCTION_requests$structures$$$function_14_get( PyObject *defaults ); static PyObject *MAKE_FUNCTION_requests$structures$$$function_1___init__( PyObject *defaults ); static PyObject *MAKE_FUNCTION_requests$structures$$$function_2___setitem__( ); static PyObject *MAKE_FUNCTION_requests$structures$$$function_3___getitem__( ); static PyObject *MAKE_FUNCTION_requests$structures$$$function_4___delitem__( ); static PyObject *MAKE_FUNCTION_requests$structures$$$function_5___iter__( ); static PyObject *MAKE_FUNCTION_requests$structures$$$function_6___len__( ); static PyObject *MAKE_FUNCTION_requests$structures$$$function_7_lower_items( ); static PyObject *MAKE_FUNCTION_requests$structures$$$function_8___eq__( ); static PyObject *MAKE_FUNCTION_requests$structures$$$function_9_copy( ); // The module function definitions. static PyObject *impl_requests$structures$$$function_1___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_data = python_pars[ 1 ]; PyObject *par_kwargs = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_8ff5625e0bca117dcc3b5b4d99de0fb6; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_8ff5625e0bca117dcc3b5b4d99de0fb6 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_8ff5625e0bca117dcc3b5b4d99de0fb6, codeobj_8ff5625e0bca117dcc3b5b4d99de0fb6, module_requests$structures, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_8ff5625e0bca117dcc3b5b4d99de0fb6 = cache_frame_8ff5625e0bca117dcc3b5b4d99de0fb6; // Push the new frame as the currently active one. pushFrameStack( frame_8ff5625e0bca117dcc3b5b4d99de0fb6 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8ff5625e0bca117dcc3b5b4d99de0fb6 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_assattr_target_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain_OrderedDict ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_OrderedDict ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "OrderedDict" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 41; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; frame_8ff5625e0bca117dcc3b5b4d99de0fb6->m_frame.f_lineno = 41; tmp_assattr_name_1 = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 ); if ( tmp_assattr_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 41; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain__store, tmp_assattr_name_1 ); Py_DECREF( tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 41; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( par_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 42; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = par_data; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; tmp_assign_source_1 = PyDict_New(); { PyObject *old = par_data; par_data = tmp_assign_source_1; Py_XDECREF( old ); } } branch_no_1:; } { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dircall_arg3_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "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 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_update ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 44; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_data == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 44; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_data; tmp_dircall_arg2_1 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( par_kwargs == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); Py_DECREF( tmp_dircall_arg2_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 44; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = par_kwargs; Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_unused = impl___internal__$$$function_5_complex_call_helper_pos_star_dict( dir_call_args ); } if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 44; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_8ff5625e0bca117dcc3b5b4d99de0fb6 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8ff5625e0bca117dcc3b5b4d99de0fb6 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8ff5625e0bca117dcc3b5b4d99de0fb6, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8ff5625e0bca117dcc3b5b4d99de0fb6->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8ff5625e0bca117dcc3b5b4d99de0fb6, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8ff5625e0bca117dcc3b5b4d99de0fb6, type_description_1, par_self, par_data, par_kwargs ); // Release cached frame. if ( frame_8ff5625e0bca117dcc3b5b4d99de0fb6 == cache_frame_8ff5625e0bca117dcc3b5b4d99de0fb6 ) { Py_DECREF( frame_8ff5625e0bca117dcc3b5b4d99de0fb6 ); } cache_frame_8ff5625e0bca117dcc3b5b4d99de0fb6 = NULL; assertFrameObject( frame_8ff5625e0bca117dcc3b5b4d99de0fb6 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_1___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures$$$function_1___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$structures$$$function_2___setitem__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_key = python_pars[ 1 ]; PyObject *par_value = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_84c6f9d0ea1341b0c227b8191d5813b0; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_84c6f9d0ea1341b0c227b8191d5813b0 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_84c6f9d0ea1341b0c227b8191d5813b0, codeobj_84c6f9d0ea1341b0c227b8191d5813b0, module_requests$structures, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_84c6f9d0ea1341b0c227b8191d5813b0 = cache_frame_84c6f9d0ea1341b0c227b8191d5813b0; // Push the new frame as the currently active one. pushFrameStack( frame_84c6f9d0ea1341b0c227b8191d5813b0 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_84c6f9d0ea1341b0c227b8191d5813b0 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_ass_subvalue_1; PyObject *tmp_tuple_element_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_source_name_1; PyObject *tmp_ass_subscript_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_key ); tmp_tuple_element_1 = par_key; tmp_ass_subvalue_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_ass_subvalue_1, 0, tmp_tuple_element_1 ); CHECK_OBJECT( par_value ); tmp_tuple_element_1 = par_value; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_ass_subvalue_1, 1, tmp_tuple_element_1 ); CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__store ); if ( tmp_ass_subscribed_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_ass_subvalue_1 ); exception_lineno = 49; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_key == NULL ) { Py_DECREF( tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subscribed_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 49; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_key; frame_84c6f9d0ea1341b0c227b8191d5813b0->m_frame.f_lineno = 49; tmp_ass_subscript_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_lower ); if ( tmp_ass_subscript_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subscribed_1 ); exception_lineno = 49; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subscribed_1 ); Py_DECREF( tmp_ass_subscript_1 ); Py_DECREF( tmp_ass_subvalue_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 49; type_description_1 = "ooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_84c6f9d0ea1341b0c227b8191d5813b0 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_84c6f9d0ea1341b0c227b8191d5813b0 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_84c6f9d0ea1341b0c227b8191d5813b0, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_84c6f9d0ea1341b0c227b8191d5813b0->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_84c6f9d0ea1341b0c227b8191d5813b0, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_84c6f9d0ea1341b0c227b8191d5813b0, type_description_1, par_self, par_key, par_value ); // Release cached frame. if ( frame_84c6f9d0ea1341b0c227b8191d5813b0 == cache_frame_84c6f9d0ea1341b0c227b8191d5813b0 ) { Py_DECREF( frame_84c6f9d0ea1341b0c227b8191d5813b0 ); } cache_frame_84c6f9d0ea1341b0c227b8191d5813b0 = NULL; assertFrameObject( frame_84c6f9d0ea1341b0c227b8191d5813b0 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_2___setitem__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { Py_XDECREF( par_value ); par_value = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { Py_XDECREF( par_value ); par_value = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures$$$function_2___setitem__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$structures$$$function_3___getitem__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_key = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_f0133bfdff32f0af5e30f1fb4d1fdc85; 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_f0133bfdff32f0af5e30f1fb4d1fdc85 = 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_f0133bfdff32f0af5e30f1fb4d1fdc85, codeobj_f0133bfdff32f0af5e30f1fb4d1fdc85, module_requests$structures, sizeof(void *)+sizeof(void *) ); frame_f0133bfdff32f0af5e30f1fb4d1fdc85 = cache_frame_f0133bfdff32f0af5e30f1fb4d1fdc85; // Push the new frame as the currently active one. pushFrameStack( frame_f0133bfdff32f0af5e30f1fb4d1fdc85 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_f0133bfdff32f0af5e30f1fb4d1fdc85 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_subscribed_name_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_source_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_called_instance_1; PyObject *tmp_subscript_name_2; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__store ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 52; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_key == NULL ) { Py_DECREF( tmp_subscribed_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 52; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_key; frame_f0133bfdff32f0af5e30f1fb4d1fdc85->m_frame.f_lineno = 52; tmp_subscript_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_lower ); if ( tmp_subscript_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_2 ); exception_lineno = 52; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_2 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 52; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_subscript_name_2 = const_int_pos_1; tmp_return_value = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_2, 1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 52; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_f0133bfdff32f0af5e30f1fb4d1fdc85 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f0133bfdff32f0af5e30f1fb4d1fdc85 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f0133bfdff32f0af5e30f1fb4d1fdc85 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_f0133bfdff32f0af5e30f1fb4d1fdc85, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_f0133bfdff32f0af5e30f1fb4d1fdc85->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_f0133bfdff32f0af5e30f1fb4d1fdc85, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_f0133bfdff32f0af5e30f1fb4d1fdc85, type_description_1, par_self, par_key ); // Release cached frame. if ( frame_f0133bfdff32f0af5e30f1fb4d1fdc85 == cache_frame_f0133bfdff32f0af5e30f1fb4d1fdc85 ) { Py_DECREF( frame_f0133bfdff32f0af5e30f1fb4d1fdc85 ); } cache_frame_f0133bfdff32f0af5e30f1fb4d1fdc85 = NULL; assertFrameObject( frame_f0133bfdff32f0af5e30f1fb4d1fdc85 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_3___getitem__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures$$$function_3___getitem__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$structures$$$function_4___delitem__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_key = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_cb3095d973b465a7f5d3e89f0dfd3d38; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_cb3095d973b465a7f5d3e89f0dfd3d38 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_cb3095d973b465a7f5d3e89f0dfd3d38, codeobj_cb3095d973b465a7f5d3e89f0dfd3d38, module_requests$structures, sizeof(void *)+sizeof(void *) ); frame_cb3095d973b465a7f5d3e89f0dfd3d38 = cache_frame_cb3095d973b465a7f5d3e89f0dfd3d38; // Push the new frame as the currently active one. pushFrameStack( frame_cb3095d973b465a7f5d3e89f0dfd3d38 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_cb3095d973b465a7f5d3e89f0dfd3d38 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_delsubscr_target_1; PyObject *tmp_source_name_1; PyObject *tmp_delsubscr_subscript_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_delsubscr_target_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__store ); if ( tmp_delsubscr_target_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 55; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_key == NULL ) { Py_DECREF( tmp_delsubscr_target_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 55; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_key; frame_cb3095d973b465a7f5d3e89f0dfd3d38->m_frame.f_lineno = 55; tmp_delsubscr_subscript_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_lower ); if ( tmp_delsubscr_subscript_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_delsubscr_target_1 ); exception_lineno = 55; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_result = DEL_SUBSCRIPT( tmp_delsubscr_target_1, tmp_delsubscr_subscript_1 ); Py_DECREF( tmp_delsubscr_target_1 ); Py_DECREF( tmp_delsubscr_subscript_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 55; type_description_1 = "oo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_cb3095d973b465a7f5d3e89f0dfd3d38 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cb3095d973b465a7f5d3e89f0dfd3d38 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_cb3095d973b465a7f5d3e89f0dfd3d38, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_cb3095d973b465a7f5d3e89f0dfd3d38->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_cb3095d973b465a7f5d3e89f0dfd3d38, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_cb3095d973b465a7f5d3e89f0dfd3d38, type_description_1, par_self, par_key ); // Release cached frame. if ( frame_cb3095d973b465a7f5d3e89f0dfd3d38 == cache_frame_cb3095d973b465a7f5d3e89f0dfd3d38 ) { Py_DECREF( frame_cb3095d973b465a7f5d3e89f0dfd3d38 ); } cache_frame_cb3095d973b465a7f5d3e89f0dfd3d38 = NULL; assertFrameObject( frame_cb3095d973b465a7f5d3e89f0dfd3d38 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_4___delitem__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures$$$function_4___delitem__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$structures$$$function_5___iter__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *tmp_genexpr_1__$0 = NULL; struct Nuitka_FrameObject *frame_700f3677d353518c0264e534894091a8; 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_700f3677d353518c0264e534894091a8 = 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_700f3677d353518c0264e534894091a8, codeobj_700f3677d353518c0264e534894091a8, module_requests$structures, sizeof(void *) ); frame_700f3677d353518c0264e534894091a8 = cache_frame_700f3677d353518c0264e534894091a8; // Push the new frame as the currently active one. pushFrameStack( frame_700f3677d353518c0264e534894091a8 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_700f3677d353518c0264e534894091a8 ) == 2 ); // Frame stack // Framed code: { { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__store ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 58; type_description_1 = "o"; goto frame_exception_exit_1; } frame_700f3677d353518c0264e534894091a8->m_frame.f_lineno = 58; tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_values ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 58; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 58; type_description_1 = "o"; goto frame_exception_exit_1; } assert( tmp_genexpr_1__$0 == NULL ); tmp_genexpr_1__$0 = tmp_assign_source_1; } { // Tried code: { tmp_return_value = requests$structures$$$function_5___iter__$$$genexpr_1_genexpr_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = PyCell_NEW0( tmp_genexpr_1__$0 ); goto try_return_handler_2; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_5___iter__ ); return NULL; // Return handler code: try_return_handler_2:; { CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 ); Py_DECREF( tmp_genexpr_1__$0 ); tmp_genexpr_1__$0 = NULL; } { goto outline_result_1; } // End of try: } { CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 ); Py_DECREF( tmp_genexpr_1__$0 ); tmp_genexpr_1__$0 = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures$$$function_5___iter__ ); return NULL; outline_result_1:; goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_700f3677d353518c0264e534894091a8 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_700f3677d353518c0264e534894091a8 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_700f3677d353518c0264e534894091a8 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_700f3677d353518c0264e534894091a8, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_700f3677d353518c0264e534894091a8->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_700f3677d353518c0264e534894091a8, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_700f3677d353518c0264e534894091a8, type_description_1, par_self ); // Release cached frame. if ( frame_700f3677d353518c0264e534894091a8 == cache_frame_700f3677d353518c0264e534894091a8 ) { Py_DECREF( frame_700f3677d353518c0264e534894091a8 ); } cache_frame_700f3677d353518c0264e534894091a8 = NULL; assertFrameObject( frame_700f3677d353518c0264e534894091a8 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_5___iter__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures$$$function_5___iter__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct requests$structures$$$function_5___iter__$$$genexpr_1_genexpr_locals { PyObject *var_casedkey; PyObject *var_mappedvalue; PyObject *tmp_iter_value_0; PyObject *tmp_tuple_unpack_1__element_1; PyObject *tmp_tuple_unpack_1__element_2; PyObject *tmp_tuple_unpack_1__source_iter; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; int exception_keeper_lineno_4; }; static PyObject *requests$structures$$$function_5___iter__$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct requests$structures$$$function_5___iter__$$$genexpr_1_genexpr_locals *generator_heap = (struct requests$structures$$$function_5___iter__$$$genexpr_1_genexpr_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_casedkey = NULL; generator_heap->var_mappedvalue = NULL; generator_heap->tmp_iter_value_0 = NULL; generator_heap->tmp_tuple_unpack_1__element_1 = NULL; generator_heap->tmp_tuple_unpack_1__element_2 = NULL; generator_heap->tmp_tuple_unpack_1__source_iter = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_14d90805ec642c1ff1691e257cd2d185, module_requests$structures, sizeof(void *)+sizeof(void *)+sizeof(void *) ); generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF( generator->m_frame ); assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack #if PYTHON_VERSION >= 340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif Py_CLEAR( generator->m_frame->m_frame.f_back ); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF( generator->m_frame->m_frame.f_back ); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF( generator->m_frame ); Nuitka_Frame_MarkAsExecuting( generator->m_frame ); #if PYTHON_VERSION >= 300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); #if PYTHON_VERSION < 370 generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state ); if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL; Py_XINCREF( generator->m_frame->m_frame.f_exc_type ); generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_value ); generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback ); #else generator->m_exc_state.exc_type = EXC_TYPE( thread_state ); if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL; Py_XINCREF( generator->m_exc_state.exc_type ); generator->m_exc_state.exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_exc_state.exc_value ); generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_exc_state.exc_traceback ); #endif } #endif // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_1; CHECK_OBJECT( PyCell_GET( generator->m_closure[0] ) ); tmp_next_source_1 = PyCell_GET( generator->m_closure[0] ); tmp_assign_source_1 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_1 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 58; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_iter_value_0; generator_heap->tmp_iter_value_0 = tmp_assign_source_1; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; CHECK_OBJECT( generator_heap->tmp_iter_value_0 ); tmp_iter_arg_1 = generator_heap->tmp_iter_value_0; tmp_assign_source_2 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 58; generator_heap->type_description_1 = "Noo"; goto try_except_handler_3; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__source_iter; generator_heap->tmp_tuple_unpack_1__source_iter = tmp_assign_source_2; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_1; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = generator_heap->tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_3 == NULL ) { if ( !ERROR_OCCURRED() ) { generator_heap->exception_type = PyExc_StopIteration; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); } generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 58; goto try_except_handler_4; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__element_1; generator_heap->tmp_tuple_unpack_1__element_1 = tmp_assign_source_3; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_2; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = generator_heap->tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_4 == NULL ) { if ( !ERROR_OCCURRED() ) { generator_heap->exception_type = PyExc_StopIteration; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); } generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 58; goto try_except_handler_4; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__element_2; generator_heap->tmp_tuple_unpack_1__element_2 = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = generator_heap->tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) ); generator_heap->tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( generator_heap->tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 58; goto try_except_handler_4; } } } else { Py_DECREF( generator_heap->tmp_iterator_attempt ); // TODO: Could avoid PyErr_Format. #if PYTHON_VERSION < 300 PyErr_Format( PyExc_ValueError, "too many values to unpack" ); #else PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" ); #endif FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 58; goto try_except_handler_4; } } goto try_end_1; // Exception handler code: try_except_handler_4:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { CHECK_OBJECT( (PyObject *)generator_heap->tmp_tuple_unpack_1__source_iter ); Py_DECREF( generator_heap->tmp_tuple_unpack_1__source_iter ); generator_heap->tmp_tuple_unpack_1__source_iter = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto try_except_handler_3; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_3:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_1 ); generator_heap->tmp_tuple_unpack_1__element_1 = NULL; } { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_2 ); generator_heap->tmp_tuple_unpack_1__element_2 = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto try_except_handler_2; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)generator_heap->tmp_tuple_unpack_1__source_iter ); Py_DECREF( generator_heap->tmp_tuple_unpack_1__source_iter ); generator_heap->tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_5; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__element_1 ); tmp_assign_source_5 = generator_heap->tmp_tuple_unpack_1__element_1; { PyObject *old = generator_heap->var_casedkey; generator_heap->var_casedkey = tmp_assign_source_5; Py_INCREF( generator_heap->var_casedkey ); Py_XDECREF( old ); } } { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_1 ); generator_heap->tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_6; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__element_2 ); tmp_assign_source_6 = generator_heap->tmp_tuple_unpack_1__element_2; { PyObject *old = generator_heap->var_mappedvalue; generator_heap->var_mappedvalue = tmp_assign_source_6; Py_INCREF( generator_heap->var_mappedvalue ); Py_XDECREF( old ); } } { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_2 ); generator_heap->tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_expression_name_1; if ( generator_heap->var_casedkey == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "casedkey" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 58; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } tmp_expression_name_1 = generator_heap->var_casedkey; Py_INCREF( tmp_expression_name_1 ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 58; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 58; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_3; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_3 = generator_heap->exception_type; generator_heap->exception_keeper_value_3 = generator_heap->exception_value; generator_heap->exception_keeper_tb_3 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_3 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->tmp_iter_value_0 ); generator_heap->tmp_iter_value_0 = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_3; generator_heap->exception_value = generator_heap->exception_keeper_value_3; generator_heap->exception_tb = generator_heap->exception_keeper_tb_3; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_3; goto frame_exception_exit_1; } // End of try: try_end_3:; } Nuitka_Frame_MarkAsNotExecuting( generator->m_frame ); #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif // Allow re-use of the frame again. Py_DECREF( generator->m_frame ); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) ) { if ( generator_heap->exception_tb == NULL ) { generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno ); } else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame ) { generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno ); } Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)generator->m_frame, generator_heap->type_description_1, NULL, generator_heap->var_casedkey, generator_heap->var_mappedvalue ); // Release cached frame. if ( generator->m_frame == cache_m_frame ) { Py_DECREF( generator->m_frame ); } cache_m_frame = NULL; assertFrameObject( generator->m_frame ); } #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif Py_DECREF( generator->m_frame ); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_4; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_4 = generator_heap->exception_type; generator_heap->exception_keeper_value_4 = generator_heap->exception_value; generator_heap->exception_keeper_tb_4 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_4 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->var_casedkey ); generator_heap->var_casedkey = NULL; } { Py_XDECREF( generator_heap->var_mappedvalue ); generator_heap->var_mappedvalue = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_4; generator_heap->exception_value = generator_heap->exception_keeper_value_4; generator_heap->exception_tb = generator_heap->exception_keeper_tb_4; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_4; goto function_exception_exit; } // End of try: try_end_4:; } { Py_XDECREF( generator_heap->tmp_iter_value_0 ); generator_heap->tmp_iter_value_0 = NULL; } { Py_XDECREF( generator_heap->var_casedkey ); generator_heap->var_casedkey = NULL; } { Py_XDECREF( generator_heap->var_mappedvalue ); generator_heap->var_mappedvalue = NULL; } return NULL; function_exception_exit: assert( generator_heap->exception_type ); RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb ); return NULL; } static PyObject *requests$structures$$$function_5___iter__$$$genexpr_1_genexpr_maker( void ) { return Nuitka_Generator_New( requests$structures$$$function_5___iter__$$$genexpr_1_genexpr_context, module_requests$structures, const_str_angle_genexpr, #if PYTHON_VERSION >= 350 const_str_digest_271a5b22df0d42a990880eecaba6ed05, #endif codeobj_14d90805ec642c1ff1691e257cd2d185, 1, sizeof(struct requests$structures$$$function_5___iter__$$$genexpr_1_genexpr_locals) ); } static PyObject *impl_requests$structures$$$function_6___len__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_c5b46e15246bbb3cdfd0a2159bc140eb; 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_c5b46e15246bbb3cdfd0a2159bc140eb = 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_c5b46e15246bbb3cdfd0a2159bc140eb, codeobj_c5b46e15246bbb3cdfd0a2159bc140eb, module_requests$structures, sizeof(void *) ); frame_c5b46e15246bbb3cdfd0a2159bc140eb = cache_frame_c5b46e15246bbb3cdfd0a2159bc140eb; // Push the new frame as the currently active one. pushFrameStack( frame_c5b46e15246bbb3cdfd0a2159bc140eb ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c5b46e15246bbb3cdfd0a2159bc140eb ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_len_arg_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_len_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__store ); if ( tmp_len_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = BUILTIN_LEN( tmp_len_arg_1 ); Py_DECREF( tmp_len_arg_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_c5b46e15246bbb3cdfd0a2159bc140eb ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c5b46e15246bbb3cdfd0a2159bc140eb ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c5b46e15246bbb3cdfd0a2159bc140eb ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c5b46e15246bbb3cdfd0a2159bc140eb, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c5b46e15246bbb3cdfd0a2159bc140eb->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c5b46e15246bbb3cdfd0a2159bc140eb, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c5b46e15246bbb3cdfd0a2159bc140eb, type_description_1, par_self ); // Release cached frame. if ( frame_c5b46e15246bbb3cdfd0a2159bc140eb == cache_frame_c5b46e15246bbb3cdfd0a2159bc140eb ) { Py_DECREF( frame_c5b46e15246bbb3cdfd0a2159bc140eb ); } cache_frame_c5b46e15246bbb3cdfd0a2159bc140eb = NULL; assertFrameObject( frame_c5b46e15246bbb3cdfd0a2159bc140eb ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_6___len__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures$$$function_6___len__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$structures$$$function_7_lower_items( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *tmp_genexpr_1__$0 = NULL; struct Nuitka_FrameObject *frame_cc9fec8c4b1f9401fa68e7054d3b16e3; 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_cc9fec8c4b1f9401fa68e7054d3b16e3 = 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_cc9fec8c4b1f9401fa68e7054d3b16e3, codeobj_cc9fec8c4b1f9401fa68e7054d3b16e3, module_requests$structures, sizeof(void *) ); frame_cc9fec8c4b1f9401fa68e7054d3b16e3 = cache_frame_cc9fec8c4b1f9401fa68e7054d3b16e3; // Push the new frame as the currently active one. pushFrameStack( frame_cc9fec8c4b1f9401fa68e7054d3b16e3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_cc9fec8c4b1f9401fa68e7054d3b16e3 ) == 2 ); // Frame stack // Framed code: { { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__store ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 68; type_description_1 = "o"; goto frame_exception_exit_1; } frame_cc9fec8c4b1f9401fa68e7054d3b16e3->m_frame.f_lineno = 68; tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 68; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; type_description_1 = "o"; goto frame_exception_exit_1; } assert( tmp_genexpr_1__$0 == NULL ); tmp_genexpr_1__$0 = tmp_assign_source_1; } { // Tried code: { tmp_return_value = requests$structures$$$function_7_lower_items$$$genexpr_1_genexpr_maker(); ((struct Nuitka_GeneratorObject *)tmp_return_value)->m_closure[0] = PyCell_NEW0( tmp_genexpr_1__$0 ); goto try_return_handler_2; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_7_lower_items ); return NULL; // Return handler code: try_return_handler_2:; { CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 ); Py_DECREF( tmp_genexpr_1__$0 ); tmp_genexpr_1__$0 = NULL; } { goto outline_result_1; } // End of try: } { CHECK_OBJECT( (PyObject *)tmp_genexpr_1__$0 ); Py_DECREF( tmp_genexpr_1__$0 ); tmp_genexpr_1__$0 = NULL; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures$$$function_7_lower_items ); return NULL; outline_result_1:; goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_cc9fec8c4b1f9401fa68e7054d3b16e3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cc9fec8c4b1f9401fa68e7054d3b16e3 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_cc9fec8c4b1f9401fa68e7054d3b16e3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_cc9fec8c4b1f9401fa68e7054d3b16e3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_cc9fec8c4b1f9401fa68e7054d3b16e3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_cc9fec8c4b1f9401fa68e7054d3b16e3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_cc9fec8c4b1f9401fa68e7054d3b16e3, type_description_1, par_self ); // Release cached frame. if ( frame_cc9fec8c4b1f9401fa68e7054d3b16e3 == cache_frame_cc9fec8c4b1f9401fa68e7054d3b16e3 ) { Py_DECREF( frame_cc9fec8c4b1f9401fa68e7054d3b16e3 ); } cache_frame_cc9fec8c4b1f9401fa68e7054d3b16e3 = NULL; assertFrameObject( frame_cc9fec8c4b1f9401fa68e7054d3b16e3 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_7_lower_items ); 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( requests$structures$$$function_7_lower_items ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } struct requests$structures$$$function_7_lower_items$$$genexpr_1_genexpr_locals { PyObject *var_lowerkey; PyObject *var_keyval; PyObject *tmp_iter_value_0; PyObject *tmp_tuple_unpack_1__element_1; PyObject *tmp_tuple_unpack_1__element_2; PyObject *tmp_tuple_unpack_1__source_iter; char const *type_description_1; PyObject *exception_type; PyObject *exception_value; PyTracebackObject *exception_tb; int exception_lineno; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; int exception_keeper_lineno_2; char yield_tmps[1024]; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; int exception_keeper_lineno_4; }; static PyObject *requests$structures$$$function_7_lower_items$$$genexpr_1_genexpr_context( struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value ) { CHECK_OBJECT( (PyObject *)generator ); assert( Nuitka_Generator_Check( (PyObject *)generator ) ); // Heap access if used. struct requests$structures$$$function_7_lower_items$$$genexpr_1_genexpr_locals *generator_heap = (struct requests$structures$$$function_7_lower_items$$$genexpr_1_genexpr_locals *)generator->m_heap_storage; // Dispatch to yield based on return label index: switch(generator->m_yield_return_index) { case 1: goto yield_return_1; } // Local variable initialization NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_m_frame = NULL; generator_heap->var_lowerkey = NULL; generator_heap->var_keyval = NULL; generator_heap->tmp_iter_value_0 = NULL; generator_heap->tmp_tuple_unpack_1__element_1 = NULL; generator_heap->tmp_tuple_unpack_1__element_2 = NULL; generator_heap->tmp_tuple_unpack_1__source_iter = NULL; generator_heap->type_description_1 = NULL; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_m_frame, codeobj_14abf6b47b254e40de6cd3b0a2ac80e0, module_requests$structures, sizeof(void *)+sizeof(void *)+sizeof(void *) ); generator->m_frame = cache_m_frame; // Mark the frame object as in use, ref count 1 will be up for reuse. Py_INCREF( generator->m_frame ); assert( Py_REFCNT( generator->m_frame ) == 2 ); // Frame stack #if PYTHON_VERSION >= 340 generator->m_frame->m_frame.f_gen = (PyObject *)generator; #endif Py_CLEAR( generator->m_frame->m_frame.f_back ); generator->m_frame->m_frame.f_back = PyThreadState_GET()->frame; Py_INCREF( generator->m_frame->m_frame.f_back ); PyThreadState_GET()->frame = &generator->m_frame->m_frame; Py_INCREF( generator->m_frame ); Nuitka_Frame_MarkAsExecuting( generator->m_frame ); #if PYTHON_VERSION >= 300 // Accept currently existing exception as the one to publish again when we // yield or yield from. { PyThreadState *thread_state = PyThreadState_GET(); #if PYTHON_VERSION < 370 generator->m_frame->m_frame.f_exc_type = EXC_TYPE( thread_state ); if ( generator->m_frame->m_frame.f_exc_type == Py_None ) generator->m_frame->m_frame.f_exc_type = NULL; Py_XINCREF( generator->m_frame->m_frame.f_exc_type ); generator->m_frame->m_frame.f_exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_value ); generator->m_frame->m_frame.f_exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_frame->m_frame.f_exc_traceback ); #else generator->m_exc_state.exc_type = EXC_TYPE( thread_state ); if ( generator->m_exc_state.exc_type == Py_None ) generator->m_exc_state.exc_type = NULL; Py_XINCREF( generator->m_exc_state.exc_type ); generator->m_exc_state.exc_value = EXC_VALUE( thread_state ); Py_XINCREF( generator->m_exc_state.exc_value ); generator->m_exc_state.exc_traceback = EXC_TRACEBACK( thread_state ); Py_XINCREF( generator->m_exc_state.exc_traceback ); #endif } #endif // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_1; CHECK_OBJECT( PyCell_GET( generator->m_closure[0] ) ); tmp_next_source_1 = PyCell_GET( generator->m_closure[0] ); tmp_assign_source_1 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_1 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 66; goto try_except_handler_2; } } { PyObject *old = generator_heap->tmp_iter_value_0; generator_heap->tmp_iter_value_0 = tmp_assign_source_1; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; CHECK_OBJECT( generator_heap->tmp_iter_value_0 ); tmp_iter_arg_1 = generator_heap->tmp_iter_value_0; tmp_assign_source_2 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 66; generator_heap->type_description_1 = "Noo"; goto try_except_handler_3; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__source_iter; generator_heap->tmp_tuple_unpack_1__source_iter = tmp_assign_source_2; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_unpack_1; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = generator_heap->tmp_tuple_unpack_1__source_iter; tmp_assign_source_3 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_3 == NULL ) { if ( !ERROR_OCCURRED() ) { generator_heap->exception_type = PyExc_StopIteration; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); } generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 66; goto try_except_handler_4; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__element_1; generator_heap->tmp_tuple_unpack_1__element_1 = tmp_assign_source_3; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_2; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = generator_heap->tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_4 == NULL ) { if ( !ERROR_OCCURRED() ) { generator_heap->exception_type = PyExc_StopIteration; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); } generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 66; goto try_except_handler_4; } { PyObject *old = generator_heap->tmp_tuple_unpack_1__element_2; generator_heap->tmp_tuple_unpack_1__element_2 = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = generator_heap->tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) ); generator_heap->tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( generator_heap->tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 66; goto try_except_handler_4; } } } else { Py_DECREF( generator_heap->tmp_iterator_attempt ); // TODO: Could avoid PyErr_Format. #if PYTHON_VERSION < 300 PyErr_Format( PyExc_ValueError, "too many values to unpack" ); #else PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" ); #endif FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->type_description_1 = "Noo"; generator_heap->exception_lineno = 66; goto try_except_handler_4; } } goto try_end_1; // Exception handler code: try_except_handler_4:; generator_heap->exception_keeper_type_1 = generator_heap->exception_type; generator_heap->exception_keeper_value_1 = generator_heap->exception_value; generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { CHECK_OBJECT( (PyObject *)generator_heap->tmp_tuple_unpack_1__source_iter ); Py_DECREF( generator_heap->tmp_tuple_unpack_1__source_iter ); generator_heap->tmp_tuple_unpack_1__source_iter = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_1; generator_heap->exception_value = generator_heap->exception_keeper_value_1; generator_heap->exception_tb = generator_heap->exception_keeper_tb_1; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1; goto try_except_handler_3; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_3:; generator_heap->exception_keeper_type_2 = generator_heap->exception_type; generator_heap->exception_keeper_value_2 = generator_heap->exception_value; generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_1 ); generator_heap->tmp_tuple_unpack_1__element_1 = NULL; } { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_2 ); generator_heap->tmp_tuple_unpack_1__element_2 = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_2; generator_heap->exception_value = generator_heap->exception_keeper_value_2; generator_heap->exception_tb = generator_heap->exception_keeper_tb_2; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2; goto try_except_handler_2; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)generator_heap->tmp_tuple_unpack_1__source_iter ); Py_DECREF( generator_heap->tmp_tuple_unpack_1__source_iter ); generator_heap->tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_5; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__element_1 ); tmp_assign_source_5 = generator_heap->tmp_tuple_unpack_1__element_1; { PyObject *old = generator_heap->var_lowerkey; generator_heap->var_lowerkey = tmp_assign_source_5; Py_INCREF( generator_heap->var_lowerkey ); Py_XDECREF( old ); } } { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_1 ); generator_heap->tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_6; CHECK_OBJECT( generator_heap->tmp_tuple_unpack_1__element_2 ); tmp_assign_source_6 = generator_heap->tmp_tuple_unpack_1__element_2; { PyObject *old = generator_heap->var_keyval; generator_heap->var_keyval = tmp_assign_source_6; Py_INCREF( generator_heap->var_keyval ); Py_XDECREF( old ); } } { Py_XDECREF( generator_heap->tmp_tuple_unpack_1__element_2 ); generator_heap->tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_expression_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; if ( generator_heap->var_lowerkey == NULL ) { generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "lowerkey" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 66; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } tmp_tuple_element_1 = generator_heap->var_lowerkey; tmp_expression_name_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_expression_name_1, 0, tmp_tuple_element_1 ); if ( generator_heap->var_keyval == NULL ) { Py_DECREF( tmp_expression_name_1 ); generator_heap->exception_type = PyExc_UnboundLocalError; Py_INCREF( generator_heap->exception_type ); generator_heap->exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "keyval" ); generator_heap->exception_tb = NULL; NORMALIZE_EXCEPTION( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); CHAIN_EXCEPTION( generator_heap->exception_value ); generator_heap->exception_lineno = 66; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } tmp_subscribed_name_1 = generator_heap->var_keyval; tmp_subscript_name_1 = const_int_pos_1; tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 1 ); if ( tmp_tuple_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); Py_DECREF( tmp_expression_name_1 ); generator_heap->exception_lineno = 66; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } PyTuple_SET_ITEM( tmp_expression_name_1, 1, tmp_tuple_element_1 ); Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_tuple_element_1, sizeof(PyObject *), &tmp_subscribed_name_1, sizeof(PyObject *), &tmp_subscript_name_1, sizeof(PyObject *), NULL ); generator->m_yield_return_index = 1; return tmp_expression_name_1; yield_return_1: Nuitka_RestoreHeap( generator_heap->yield_tmps, &tmp_tuple_element_1, sizeof(PyObject *), &tmp_subscribed_name_1, sizeof(PyObject *), &tmp_subscript_name_1, sizeof(PyObject *), NULL ); if ( yield_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 66; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } tmp_unused = yield_return_value; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb ); generator_heap->exception_lineno = 66; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_3; // Exception handler code: try_except_handler_2:; generator_heap->exception_keeper_type_3 = generator_heap->exception_type; generator_heap->exception_keeper_value_3 = generator_heap->exception_value; generator_heap->exception_keeper_tb_3 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_3 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->tmp_iter_value_0 ); generator_heap->tmp_iter_value_0 = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_3; generator_heap->exception_value = generator_heap->exception_keeper_value_3; generator_heap->exception_tb = generator_heap->exception_keeper_tb_3; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_3; goto frame_exception_exit_1; } // End of try: try_end_3:; } Nuitka_Frame_MarkAsNotExecuting( generator->m_frame ); #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif // Allow re-use of the frame again. Py_DECREF( generator->m_frame ); goto frame_no_exception_1; frame_exception_exit_1:; // If it's not an exit exception, consider and create a traceback for it. if ( !EXCEPTION_MATCH_GENERATOR( generator_heap->exception_type ) ) { if ( generator_heap->exception_tb == NULL ) { generator_heap->exception_tb = MAKE_TRACEBACK( generator->m_frame, generator_heap->exception_lineno ); } else if ( generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame ) { generator_heap->exception_tb = ADD_TRACEBACK( generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno ); } Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)generator->m_frame, generator_heap->type_description_1, NULL, generator_heap->var_lowerkey, generator_heap->var_keyval ); // Release cached frame. if ( generator->m_frame == cache_m_frame ) { Py_DECREF( generator->m_frame ); } cache_m_frame = NULL; assertFrameObject( generator->m_frame ); } #if PYTHON_VERSION >= 370 Py_CLEAR( generator->m_exc_state.exc_type ); Py_CLEAR( generator->m_exc_state.exc_value ); Py_CLEAR( generator->m_exc_state.exc_traceback ); #elif PYTHON_VERSION >= 300 Py_CLEAR( generator->m_frame->m_frame.f_exc_type ); Py_CLEAR( generator->m_frame->m_frame.f_exc_value ); Py_CLEAR( generator->m_frame->m_frame.f_exc_traceback ); #endif Py_DECREF( generator->m_frame ); // Return the error. goto try_except_handler_1; frame_no_exception_1:; goto try_end_4; // Exception handler code: try_except_handler_1:; generator_heap->exception_keeper_type_4 = generator_heap->exception_type; generator_heap->exception_keeper_value_4 = generator_heap->exception_value; generator_heap->exception_keeper_tb_4 = generator_heap->exception_tb; generator_heap->exception_keeper_lineno_4 = generator_heap->exception_lineno; generator_heap->exception_type = NULL; generator_heap->exception_value = NULL; generator_heap->exception_tb = NULL; generator_heap->exception_lineno = 0; { Py_XDECREF( generator_heap->var_lowerkey ); generator_heap->var_lowerkey = NULL; } { Py_XDECREF( generator_heap->var_keyval ); generator_heap->var_keyval = NULL; } { // Re-raise. generator_heap->exception_type = generator_heap->exception_keeper_type_4; generator_heap->exception_value = generator_heap->exception_keeper_value_4; generator_heap->exception_tb = generator_heap->exception_keeper_tb_4; generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_4; goto function_exception_exit; } // End of try: try_end_4:; } { Py_XDECREF( generator_heap->tmp_iter_value_0 ); generator_heap->tmp_iter_value_0 = NULL; } { Py_XDECREF( generator_heap->var_lowerkey ); generator_heap->var_lowerkey = NULL; } { Py_XDECREF( generator_heap->var_keyval ); generator_heap->var_keyval = NULL; } return NULL; function_exception_exit: assert( generator_heap->exception_type ); RESTORE_ERROR_OCCURRED( generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb ); return NULL; } static PyObject *requests$structures$$$function_7_lower_items$$$genexpr_1_genexpr_maker( void ) { return Nuitka_Generator_New( requests$structures$$$function_7_lower_items$$$genexpr_1_genexpr_context, module_requests$structures, const_str_angle_genexpr, #if PYTHON_VERSION >= 350 const_str_digest_cc92bb17af141758890502d9ab1b1207, #endif codeobj_14abf6b47b254e40de6cd3b0a2ac80e0, 1, sizeof(struct requests$structures$$$function_7_lower_items$$$genexpr_1_genexpr_locals) ); } static PyObject *impl_requests$structures$$$function_8___eq__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_other = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_91b418598f858f4699a26efa466b17bf; 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_91b418598f858f4699a26efa466b17bf = 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_91b418598f858f4699a26efa466b17bf, codeobj_91b418598f858f4699a26efa466b17bf, module_requests$structures, sizeof(void *)+sizeof(void *) ); frame_91b418598f858f4699a26efa466b17bf = cache_frame_91b418598f858f4699a26efa466b17bf; // Push the new frame as the currently active one. pushFrameStack( frame_91b418598f858f4699a26efa466b17bf ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_91b418598f858f4699a26efa466b17bf ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_isinstance_inst_1; PyObject *tmp_isinstance_cls_1; PyObject *tmp_mvar_value_1; CHECK_OBJECT( par_other ); tmp_isinstance_inst_1 = par_other; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain_Mapping ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Mapping ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Mapping" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 72; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_isinstance_cls_1 = tmp_mvar_value_1; tmp_res = Nuitka_IsInstance( tmp_isinstance_inst_1, tmp_isinstance_cls_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 72; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain_CaseInsensitiveDict ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CaseInsensitiveDict ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CaseInsensitiveDict" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 73; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_2; CHECK_OBJECT( par_other ); tmp_args_element_name_1 = par_other; frame_91b418598f858f4699a26efa466b17bf->m_frame.f_lineno = 73; { 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 = 73; type_description_1 = "oo"; goto frame_exception_exit_1; } { PyObject *old = par_other; par_other = tmp_assign_source_1; Py_XDECREF( old ); } } goto branch_end_1; branch_no_1:; { tmp_return_value = Py_NotImplemented; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_1:; } { PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_dict_seq_1; PyObject *tmp_called_instance_1; PyObject *tmp_dict_seq_2; PyObject *tmp_called_instance_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 77; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_self; frame_91b418598f858f4699a26efa466b17bf->m_frame.f_lineno = 77; tmp_dict_seq_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_lower_items ); if ( tmp_dict_seq_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 77; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = TO_DICT( tmp_dict_seq_1, NULL ); Py_DECREF( tmp_dict_seq_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 77; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_other == NULL ) { Py_DECREF( tmp_compexpr_left_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "other" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 77; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_other; frame_91b418598f858f4699a26efa466b17bf->m_frame.f_lineno = 77; tmp_dict_seq_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_lower_items ); if ( tmp_dict_seq_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_1 ); exception_lineno = 77; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = TO_DICT( tmp_dict_seq_2, NULL ); Py_DECREF( tmp_dict_seq_2 ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_1 ); exception_lineno = 77; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_return_value = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 77; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_91b418598f858f4699a26efa466b17bf ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_91b418598f858f4699a26efa466b17bf ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_91b418598f858f4699a26efa466b17bf ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_91b418598f858f4699a26efa466b17bf, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_91b418598f858f4699a26efa466b17bf->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_91b418598f858f4699a26efa466b17bf, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_91b418598f858f4699a26efa466b17bf, type_description_1, par_self, par_other ); // Release cached frame. if ( frame_91b418598f858f4699a26efa466b17bf == cache_frame_91b418598f858f4699a26efa466b17bf ) { Py_DECREF( frame_91b418598f858f4699a26efa466b17bf ); } cache_frame_91b418598f858f4699a26efa466b17bf = NULL; assertFrameObject( frame_91b418598f858f4699a26efa466b17bf ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_8___eq__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_other ); par_other = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_other ); par_other = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures$$$function_8___eq__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$structures$$$function_9_copy( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_917a1906bb2465047671c6702f947a77; 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_917a1906bb2465047671c6702f947a77 = 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_917a1906bb2465047671c6702f947a77, codeobj_917a1906bb2465047671c6702f947a77, module_requests$structures, sizeof(void *) ); frame_917a1906bb2465047671c6702f947a77 = cache_frame_917a1906bb2465047671c6702f947a77; // Push the new frame as the currently active one. pushFrameStack( frame_917a1906bb2465047671c6702f947a77 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_917a1906bb2465047671c6702f947a77 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_called_instance_1; PyObject *tmp_source_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain_CaseInsensitiveDict ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CaseInsensitiveDict ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CaseInsensitiveDict" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 81; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__store ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 81; type_description_1 = "o"; goto frame_exception_exit_1; } frame_917a1906bb2465047671c6702f947a77->m_frame.f_lineno = 81; tmp_args_element_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_values ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 81; type_description_1 = "o"; goto frame_exception_exit_1; } frame_917a1906bb2465047671c6702f947a77->m_frame.f_lineno = 81; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_args_element_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 81; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_917a1906bb2465047671c6702f947a77 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_917a1906bb2465047671c6702f947a77 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_917a1906bb2465047671c6702f947a77 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_917a1906bb2465047671c6702f947a77, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_917a1906bb2465047671c6702f947a77->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_917a1906bb2465047671c6702f947a77, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_917a1906bb2465047671c6702f947a77, type_description_1, par_self ); // Release cached frame. if ( frame_917a1906bb2465047671c6702f947a77 == cache_frame_917a1906bb2465047671c6702f947a77 ) { Py_DECREF( frame_917a1906bb2465047671c6702f947a77 ); } cache_frame_917a1906bb2465047671c6702f947a77 = NULL; assertFrameObject( frame_917a1906bb2465047671c6702f947a77 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_9_copy ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures$$$function_9_copy ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$structures$$$function_10___repr__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_7092a65b429ec927bdeda88a476738b2; 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_7092a65b429ec927bdeda88a476738b2 = 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_7092a65b429ec927bdeda88a476738b2, codeobj_7092a65b429ec927bdeda88a476738b2, module_requests$structures, sizeof(void *) ); frame_7092a65b429ec927bdeda88a476738b2 = cache_frame_7092a65b429ec927bdeda88a476738b2; // Push the new frame as the currently active one. pushFrameStack( frame_7092a65b429ec927bdeda88a476738b2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7092a65b429ec927bdeda88a476738b2 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_unicode_arg_1; PyObject *tmp_dict_seq_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_self ); tmp_called_instance_1 = par_self; frame_7092a65b429ec927bdeda88a476738b2->m_frame.f_lineno = 84; tmp_dict_seq_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_items ); if ( tmp_dict_seq_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_unicode_arg_1 = TO_DICT( tmp_dict_seq_1, NULL ); Py_DECREF( tmp_dict_seq_1 ); if ( tmp_unicode_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = PyObject_Unicode( tmp_unicode_arg_1 ); Py_DECREF( tmp_unicode_arg_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_7092a65b429ec927bdeda88a476738b2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7092a65b429ec927bdeda88a476738b2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7092a65b429ec927bdeda88a476738b2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7092a65b429ec927bdeda88a476738b2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7092a65b429ec927bdeda88a476738b2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7092a65b429ec927bdeda88a476738b2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7092a65b429ec927bdeda88a476738b2, type_description_1, par_self ); // Release cached frame. if ( frame_7092a65b429ec927bdeda88a476738b2 == cache_frame_7092a65b429ec927bdeda88a476738b2 ) { Py_DECREF( frame_7092a65b429ec927bdeda88a476738b2 ); } cache_frame_7092a65b429ec927bdeda88a476738b2 = NULL; assertFrameObject( frame_7092a65b429ec927bdeda88a476738b2 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_10___repr__ ); 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( requests$structures$$$function_10___repr__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$structures$$$function_11___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_c2fd996385cd639d45644d8773d94018; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_c2fd996385cd639d45644d8773d94018 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_c2fd996385cd639d45644d8773d94018, codeobj_c2fd996385cd639d45644d8773d94018, module_requests$structures, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_c2fd996385cd639d45644d8773d94018 = cache_frame_c2fd996385cd639d45644d8773d94018; // Push the new frame as the currently active one. pushFrameStack( frame_c2fd996385cd639d45644d8773d94018 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_c2fd996385cd639d45644d8773d94018 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( par_name ); tmp_assattr_name_1 = par_name; CHECK_OBJECT( par_self ); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_name, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 91; type_description_1 = "ooN"; goto frame_exception_exit_1; } } { PyObject *tmp_called_instance_1; PyObject *tmp_type_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_object_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain_LookupDict ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_LookupDict ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "LookupDict" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 92; type_description_1 = "ooN"; goto frame_exception_exit_1; } tmp_type_name_1 = tmp_mvar_value_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 92; type_description_1 = "ooN"; goto frame_exception_exit_1; } tmp_object_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; type_description_1 = "ooN"; goto frame_exception_exit_1; } frame_c2fd996385cd639d45644d8773d94018->m_frame.f_lineno = 92; tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain___init__ ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; type_description_1 = "ooN"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_c2fd996385cd639d45644d8773d94018 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_c2fd996385cd639d45644d8773d94018 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_c2fd996385cd639d45644d8773d94018, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_c2fd996385cd639d45644d8773d94018->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_c2fd996385cd639d45644d8773d94018, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_c2fd996385cd639d45644d8773d94018, type_description_1, par_self, par_name, NULL ); // Release cached frame. if ( frame_c2fd996385cd639d45644d8773d94018 == cache_frame_c2fd996385cd639d45644d8773d94018 ) { Py_DECREF( frame_c2fd996385cd639d45644d8773d94018 ); } cache_frame_c2fd996385cd639d45644d8773d94018 = NULL; assertFrameObject( frame_c2fd996385cd639d45644d8773d94018 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_11___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures$$$function_11___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$structures$$$function_12___repr__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; struct Nuitka_FrameObject *frame_3a3cb84b0f14c332ec3573b8e8295636; 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_3a3cb84b0f14c332ec3573b8e8295636 = 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_3a3cb84b0f14c332ec3573b8e8295636, codeobj_3a3cb84b0f14c332ec3573b8e8295636, module_requests$structures, sizeof(void *) ); frame_3a3cb84b0f14c332ec3573b8e8295636 = cache_frame_3a3cb84b0f14c332ec3573b8e8295636; // Push the new frame as the currently active one. pushFrameStack( frame_3a3cb84b0f14c332ec3573b8e8295636 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_3a3cb84b0f14c332ec3573b8e8295636 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_source_name_1; tmp_left_name_1 = const_str_digest_2b72645b1909e0aa2b6055e23a32095c; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_right_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_name ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 95; type_description_1 = "o"; goto frame_exception_exit_1; } 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 = 95; type_description_1 = "o"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_3a3cb84b0f14c332ec3573b8e8295636 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3a3cb84b0f14c332ec3573b8e8295636 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3a3cb84b0f14c332ec3573b8e8295636 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_3a3cb84b0f14c332ec3573b8e8295636, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_3a3cb84b0f14c332ec3573b8e8295636->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_3a3cb84b0f14c332ec3573b8e8295636, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_3a3cb84b0f14c332ec3573b8e8295636, type_description_1, par_self ); // Release cached frame. if ( frame_3a3cb84b0f14c332ec3573b8e8295636 == cache_frame_3a3cb84b0f14c332ec3573b8e8295636 ) { Py_DECREF( frame_3a3cb84b0f14c332ec3573b8e8295636 ); } cache_frame_3a3cb84b0f14c332ec3573b8e8295636 = NULL; assertFrameObject( frame_3a3cb84b0f14c332ec3573b8e8295636 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_12___repr__ ); 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( requests$structures$$$function_12___repr__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$structures$$$function_13___getitem__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_key = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_91a80dd2354b53002a4b2938e950a06b; 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_91a80dd2354b53002a4b2938e950a06b = 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_91a80dd2354b53002a4b2938e950a06b, codeobj_91a80dd2354b53002a4b2938e950a06b, module_requests$structures, sizeof(void *)+sizeof(void *) ); frame_91a80dd2354b53002a4b2938e950a06b = cache_frame_91a80dd2354b53002a4b2938e950a06b; // Push the new frame as the currently active one. pushFrameStack( frame_91a80dd2354b53002a4b2938e950a06b ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_91a80dd2354b53002a4b2938e950a06b ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE_DICT_SLOT( tmp_source_name_2 ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 100; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get ); Py_DECREF( tmp_source_name_1 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 100; type_description_1 = "oo"; goto frame_exception_exit_1; } if ( par_key == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 100; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_key; tmp_args_element_name_2 = Py_None; frame_91a80dd2354b53002a4b2938e950a06b->m_frame.f_lineno = 100; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 100; type_description_1 = "oo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_91a80dd2354b53002a4b2938e950a06b ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_91a80dd2354b53002a4b2938e950a06b ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_91a80dd2354b53002a4b2938e950a06b ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_91a80dd2354b53002a4b2938e950a06b, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_91a80dd2354b53002a4b2938e950a06b->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_91a80dd2354b53002a4b2938e950a06b, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_91a80dd2354b53002a4b2938e950a06b, type_description_1, par_self, par_key ); // Release cached frame. if ( frame_91a80dd2354b53002a4b2938e950a06b == cache_frame_91a80dd2354b53002a4b2938e950a06b ) { Py_DECREF( frame_91a80dd2354b53002a4b2938e950a06b ); } cache_frame_91a80dd2354b53002a4b2938e950a06b = NULL; assertFrameObject( frame_91a80dd2354b53002a4b2938e950a06b ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_13___getitem__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures$$$function_13___getitem__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_requests$structures$$$function_14_get( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_key = python_pars[ 1 ]; PyObject *par_default = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_10e0e44c06ade88325ccbfe7dec54617; 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_10e0e44c06ade88325ccbfe7dec54617 = 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_10e0e44c06ade88325ccbfe7dec54617, codeobj_10e0e44c06ade88325ccbfe7dec54617, module_requests$structures, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_10e0e44c06ade88325ccbfe7dec54617 = cache_frame_10e0e44c06ade88325ccbfe7dec54617; // Push the new frame as the currently active one. pushFrameStack( frame_10e0e44c06ade88325ccbfe7dec54617 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_10e0e44c06ade88325ccbfe7dec54617 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; CHECK_OBJECT( par_self ); tmp_source_name_2 = par_self; tmp_source_name_1 = LOOKUP_ATTRIBUTE_DICT_SLOT( tmp_source_name_2 ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get ); Py_DECREF( tmp_source_name_1 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_key == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "key" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 103; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_key; if ( par_default == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "default" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 103; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_default; frame_10e0e44c06ade88325ccbfe7dec54617->m_frame.f_lineno = 103; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_return_value = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 103; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_10e0e44c06ade88325ccbfe7dec54617 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_10e0e44c06ade88325ccbfe7dec54617 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_10e0e44c06ade88325ccbfe7dec54617 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_10e0e44c06ade88325ccbfe7dec54617, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_10e0e44c06ade88325ccbfe7dec54617->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_10e0e44c06ade88325ccbfe7dec54617, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_10e0e44c06ade88325ccbfe7dec54617, type_description_1, par_self, par_key, par_default ); // Release cached frame. if ( frame_10e0e44c06ade88325ccbfe7dec54617 == cache_frame_10e0e44c06ade88325ccbfe7dec54617 ) { Py_DECREF( frame_10e0e44c06ade88325ccbfe7dec54617 ); } cache_frame_10e0e44c06ade88325ccbfe7dec54617 = NULL; assertFrameObject( frame_10e0e44c06ade88325ccbfe7dec54617 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures$$$function_14_get ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { Py_XDECREF( par_default ); par_default = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_key ); par_key = NULL; } { Py_XDECREF( par_default ); par_default = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures$$$function_14_get ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *MAKE_FUNCTION_requests$structures$$$function_10___repr__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$structures$$$function_10___repr__, const_str_plain___repr__, #if PYTHON_VERSION >= 300 const_str_digest_4c4760972e951f3300a9d0e8c6bc5367, #endif codeobj_7092a65b429ec927bdeda88a476738b2, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$structures, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$structures$$$function_11___init__( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$structures$$$function_11___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_2b47fdfc54f1184616b1c30b608ebd05, #endif codeobj_c2fd996385cd639d45644d8773d94018, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$structures, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$structures$$$function_12___repr__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$structures$$$function_12___repr__, const_str_plain___repr__, #if PYTHON_VERSION >= 300 const_str_digest_0071466c5d467024ac06b30e8e2c9fbd, #endif codeobj_3a3cb84b0f14c332ec3573b8e8295636, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$structures, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$structures$$$function_13___getitem__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$structures$$$function_13___getitem__, const_str_plain___getitem__, #if PYTHON_VERSION >= 300 const_str_digest_f9376a12e7a1edd4be83139f7fc56e2a, #endif codeobj_91a80dd2354b53002a4b2938e950a06b, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$structures, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$structures$$$function_14_get( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$structures$$$function_14_get, const_str_plain_get, #if PYTHON_VERSION >= 300 const_str_digest_8a922fdb958e3725775cbd47950214b0, #endif codeobj_10e0e44c06ade88325ccbfe7dec54617, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$structures, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$structures$$$function_1___init__( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$structures$$$function_1___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_aabc44b91de24efbbb162d2c97ce72dc, #endif codeobj_8ff5625e0bca117dcc3b5b4d99de0fb6, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$structures, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$structures$$$function_2___setitem__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$structures$$$function_2___setitem__, const_str_plain___setitem__, #if PYTHON_VERSION >= 300 const_str_digest_68c8d339b0affc5bcc11cced46f58f93, #endif codeobj_84c6f9d0ea1341b0c227b8191d5813b0, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$structures, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$structures$$$function_3___getitem__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$structures$$$function_3___getitem__, const_str_plain___getitem__, #if PYTHON_VERSION >= 300 const_str_digest_f17f6939c7daf38c1bfde8542cb5f418, #endif codeobj_f0133bfdff32f0af5e30f1fb4d1fdc85, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$structures, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$structures$$$function_4___delitem__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$structures$$$function_4___delitem__, const_str_plain___delitem__, #if PYTHON_VERSION >= 300 const_str_digest_cf30b8253ca148f06f2468664f23ce1d, #endif codeobj_cb3095d973b465a7f5d3e89f0dfd3d38, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$structures, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$structures$$$function_5___iter__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$structures$$$function_5___iter__, const_str_plain___iter__, #if PYTHON_VERSION >= 300 const_str_digest_bfab8e85f1b0752a44d6835abd6392d7, #endif codeobj_700f3677d353518c0264e534894091a8, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$structures, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$structures$$$function_6___len__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$structures$$$function_6___len__, const_str_plain___len__, #if PYTHON_VERSION >= 300 const_str_digest_85e45fb1108f78d7ca7d8498d9b36ec2, #endif codeobj_c5b46e15246bbb3cdfd0a2159bc140eb, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$structures, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$structures$$$function_7_lower_items( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$structures$$$function_7_lower_items, const_str_plain_lower_items, #if PYTHON_VERSION >= 300 const_str_digest_74bec43f616606d28d90e1aaeeec11f0, #endif codeobj_cc9fec8c4b1f9401fa68e7054d3b16e3, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$structures, const_str_digest_53baf29bec22b133be9b211ff702cf6c, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$structures$$$function_8___eq__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$structures$$$function_8___eq__, const_str_plain___eq__, #if PYTHON_VERSION >= 300 const_str_digest_4226ea5e6f370841de37e4be807054fc, #endif codeobj_91b418598f858f4699a26efa466b17bf, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$structures, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_requests$structures$$$function_9_copy( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_requests$structures$$$function_9_copy, const_str_plain_copy, #if PYTHON_VERSION >= 300 const_str_digest_aad659acc497ecf741768814d10b8269, #endif codeobj_917a1906bb2465047671c6702f947a77, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_requests$structures, NULL, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_requests$structures = { PyModuleDef_HEAD_INIT, "requests.structures", /* m_name */ NULL, /* m_doc */ -1, /* m_size */ NULL, /* m_methods */ NULL, /* m_reload */ NULL, /* m_traverse */ NULL, /* m_clear */ NULL, /* m_free */ }; #endif extern PyObject *const_str_plain___package__; #if PYTHON_VERSION >= 300 extern PyObject *const_str_dot; extern PyObject *const_str_plain___loader__; extern PyObject *metapath_based_loader; #endif #if PYTHON_VERSION >= 340 extern PyObject *const_str_plain___spec__; extern PyObject *const_str_plain__initializing; #endif extern void _initCompiledCellType(); extern void _initCompiledGeneratorType(); extern void _initCompiledFunctionType(); extern void _initCompiledMethodType(); extern void _initCompiledFrameType(); #if PYTHON_VERSION >= 350 extern void _initCompiledCoroutineTypes(); #endif #if PYTHON_VERSION >= 360 extern void _initCompiledAsyncgenTypes(); #endif // The exported interface to CPython. On import of the module, this function // gets called. It has to have an exact function name, in cases it's a shared // library export. This is hidden behind the MOD_INIT_DECL. MOD_INIT_DECL( requests$structures ) { #if defined(_NUITKA_EXE) || PYTHON_VERSION >= 300 static bool _init_done = false; // Modules might be imported repeatedly, which is to be ignored. if ( _init_done ) { return MOD_RETURN_VALUE( module_requests$structures ); } else { _init_done = true; } #endif #ifdef _NUITKA_MODULE // In case of a stand alone extension module, need to call initialization // the init here because that's the first and only time we are going to get // called here. // Initialize the constant values used. _initBuiltinModule(); createGlobalConstants(); /* Initialize the compiled types of Nuitka. */ _initCompiledCellType(); _initCompiledGeneratorType(); _initCompiledFunctionType(); _initCompiledMethodType(); _initCompiledFrameType(); #if PYTHON_VERSION >= 350 _initCompiledCoroutineTypes(); #endif #if PYTHON_VERSION >= 360 _initCompiledAsyncgenTypes(); #endif #if PYTHON_VERSION < 300 _initSlotCompare(); #endif #if PYTHON_VERSION >= 270 _initSlotIternext(); #endif patchBuiltinModule(); patchTypeComparison(); // Enable meta path based loader if not already done. #ifdef _NUITKA_TRACE puts("requests.structures: Calling setupMetaPathBasedLoader()."); #endif setupMetaPathBasedLoader(); #if PYTHON_VERSION >= 300 patchInspectModule(); #endif #endif /* The constants only used by this module are created now. */ #ifdef _NUITKA_TRACE puts("requests.structures: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("requests.structures: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in initrequests$structures" ); // Create the module object first. There are no methods initially, all are // added dynamically in actual code only. Also no "__doc__" is initially // set at this time, as it could not contain NUL characters this way, they // are instead set in early module code. No "self" for modules, we have no // use for it. #if PYTHON_VERSION < 300 module_requests$structures = Py_InitModule4( "requests.structures", // Module Name NULL, // No methods initially, all are added // dynamically in actual module code only. NULL, // No "__doc__" is initially set, as it could // not contain NUL this way, added early in // actual code. NULL, // No self for modules, we don't use it. PYTHON_API_VERSION ); #else module_requests$structures = PyModule_Create( &mdef_requests$structures ); #endif moduledict_requests$structures = MODULE_DICT( module_requests$structures ); // Update "__package__" value to what it ought to be. { #if 0 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___name__ ); char const *module_name_cstr = PyString_AS_STRING( module_name ); char const *last_dot = strrchr( module_name_cstr, '.' ); if ( last_dot != NULL ) { UPDATE_STRING_DICT1( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___package__, PyString_FromStringAndSize( module_name_cstr, last_dot - module_name_cstr ) ); } #else PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___name__ ); Py_ssize_t dot_index = PyUnicode_Find( module_name, const_str_dot, 0, PyUnicode_GetLength( module_name ), -1 ); if ( dot_index != -1 ) { UPDATE_STRING_DICT1( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_requests$structures ); // 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_a47f31780e88e5cc20f885829cbe8f69, module_requests$structures ); assert( r != -1 ); } #endif // For deep importing of a module we need to have "__builtins__", so we set // it ourselves in the same way than CPython does. Note: This must be done // before the frame object is allocated, or else it may fail. if ( GET_STRING_DICT_VALUE( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___builtins__ ) == NULL ) { PyObject *value = (PyObject *)builtin_module; // Check if main module, not a dict then but the module itself. #if !defined(_NUITKA_EXE) || !0 value = PyModule_GetDict( value ); #endif UPDATE_STRING_DICT0( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___spec__, Py_None ); #else { PyObject *bootstrap_module = PyImport_ImportModule("importlib._bootstrap"); CHECK_OBJECT( bootstrap_module ); PyObject *module_spec_class = PyObject_GetAttrString( bootstrap_module, "ModuleSpec" ); Py_DECREF( bootstrap_module ); PyObject *args[] = { GET_STRING_DICT_VALUE( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___name__ ), metapath_based_loader }; PyObject *spec_value = CALL_FUNCTION_WITH_ARGS2( module_spec_class, args ); SET_ATTRIBUTE( spec_value, const_str_plain__initializing, Py_True ); UPDATE_STRING_DICT1( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___spec__, spec_value ); Py_DECREF( module_spec_class ); } #endif #endif // Temp variables if any PyObject *outline_0_var___class__ = NULL; PyObject *outline_1_var___class__ = NULL; PyObject *tmp_class_creation_1__bases = NULL; PyObject *tmp_class_creation_1__bases_orig = NULL; PyObject *tmp_class_creation_1__class_decl_dict = NULL; PyObject *tmp_class_creation_1__metaclass = NULL; PyObject *tmp_class_creation_1__prepared = NULL; PyObject *tmp_class_creation_2__bases = NULL; PyObject *tmp_class_creation_2__class_decl_dict = NULL; PyObject *tmp_class_creation_2__metaclass = NULL; PyObject *tmp_class_creation_2__prepared = NULL; PyObject *tmp_import_from_1__module = NULL; struct Nuitka_FrameObject *frame_75e74361b261745c0154a113197684c0; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; int tmp_res; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; bool tmp_result; PyObject *locals_requests$structures_13 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_caffc78406f3f591be9ebdd24aa8e24f_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_caffc78406f3f591be9ebdd24aa8e24f_2 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *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 *locals_requests$structures_87 = NULL; struct Nuitka_FrameObject *frame_1bb9515b280950a6bed10f2c2427422f_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; static struct Nuitka_FrameObject *cache_frame_1bb9515b280950a6bed10f2c2427422f_3 = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; 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; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = const_str_digest_5a15d028fd8fdb436a39e5bbe6bffc33; UPDATE_STRING_DICT0( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_b24fbd8cbdf599b1ba96f0dd47b4aec6; UPDATE_STRING_DICT0( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___file__, tmp_assign_source_2 ); } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = Py_None; UPDATE_STRING_DICT0( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 ); } // Frame without reuse. frame_75e74361b261745c0154a113197684c0 = MAKE_MODULE_FRAME( codeobj_75e74361b261745c0154a113197684c0, module_requests$structures ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_75e74361b261745c0154a113197684c0 ); assert( Py_REFCNT( frame_75e74361b261745c0154a113197684c0 ) == 2 ); // Framed code: { PyObject *tmp_assign_source_4; PyObject *tmp_name_name_1; PyObject *tmp_globals_name_1; PyObject *tmp_locals_name_1; PyObject *tmp_fromlist_name_1; PyObject *tmp_level_name_1; tmp_name_name_1 = const_str_plain_compat; tmp_globals_name_1 = (PyObject *)moduledict_requests$structures; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = const_tuple_ed0625a0d6754b7d411142507a789500_tuple; tmp_level_name_1 = const_int_pos_1; frame_75e74361b261745c0154a113197684c0->m_frame.f_lineno = 10; tmp_assign_source_4 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 10; goto frame_exception_exit_1; } assert( tmp_import_from_1__module == NULL ); tmp_import_from_1__module = tmp_assign_source_4; } { // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_import_name_from_1; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_1 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_1 ) ) { tmp_assign_source_5 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_1, (PyObject *)MODULE_DICT(tmp_import_name_from_1), const_str_plain_OrderedDict, const_int_pos_1 ); } else { tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_OrderedDict ); } if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 10; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain_OrderedDict, tmp_assign_source_5 ); } { PyObject *tmp_assign_source_6; PyObject *tmp_import_name_from_2; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_2 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_2 ) ) { tmp_assign_source_6 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_2, (PyObject *)MODULE_DICT(tmp_import_name_from_2), const_str_plain_Mapping, const_int_pos_1 ); } else { tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_Mapping ); } if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 10; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain_Mapping, tmp_assign_source_6 ); } { PyObject *tmp_assign_source_7; PyObject *tmp_import_name_from_3; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_3 = tmp_import_from_1__module; if ( PyModule_Check( tmp_import_name_from_3 ) ) { tmp_assign_source_7 = IMPORT_NAME_OR_MODULE( tmp_import_name_from_3, (PyObject *)MODULE_DICT(tmp_import_name_from_3), const_str_plain_MutableMapping, const_int_pos_1 ); } else { tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_MutableMapping ); } if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 10; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain_MutableMapping, tmp_assign_source_7 ); } goto try_end_1; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_import_from_1__module ); Py_DECREF( tmp_import_from_1__module ); tmp_import_from_1__module = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_1__module ); Py_DECREF( tmp_import_from_1__module ); tmp_import_from_1__module = NULL; } { // Tried code: { PyObject *tmp_assign_source_8; PyObject *tmp_tuple_element_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain_MutableMapping ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_MutableMapping ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "MutableMapping" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 13; goto try_except_handler_2; } tmp_tuple_element_1 = tmp_mvar_value_1; tmp_assign_source_8 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_assign_source_8, 0, tmp_tuple_element_1 ); assert( tmp_class_creation_1__bases_orig == NULL ); tmp_class_creation_1__bases_orig = tmp_assign_source_8; } { PyObject *tmp_assign_source_9; 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_9 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 13; goto try_except_handler_2; } assert( tmp_class_creation_1__bases == NULL ); tmp_class_creation_1__bases = tmp_assign_source_9; } { PyObject *tmp_assign_source_10; tmp_assign_source_10 = PyDict_New(); assert( tmp_class_creation_1__class_decl_dict == NULL ); tmp_class_creation_1__class_decl_dict = tmp_assign_source_10; } { PyObject *tmp_assign_source_11; 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 = 13; 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 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 = 13; goto try_except_handler_2; } 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 = 13; goto try_except_handler_2; } tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto 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 = 13; goto try_except_handler_2; } 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 = 13; goto try_except_handler_2; } 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_11 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 13; goto try_except_handler_2; } assert( tmp_class_creation_1__metaclass == NULL ); tmp_class_creation_1__metaclass = tmp_assign_source_11; } { 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 = 13; goto try_except_handler_2; } tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_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 = 13; goto try_except_handler_2; } } 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_12; PyObject *tmp_called_name_1; 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_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___prepare__ ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 13; goto try_except_handler_2; } tmp_tuple_element_2 = const_str_plain_CaseInsensitiveDict; 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_75e74361b261745c0154a113197684c0->m_frame.f_lineno = 13; tmp_assign_source_12 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 13; goto try_except_handler_2; } assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_12; } { 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 = 13; goto try_except_handler_2; } tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_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 = 13; goto try_except_handler_2; } 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 = 13; goto try_except_handler_2; } 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 = 13; goto try_except_handler_2; } exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_value = tmp_raise_value_1; exception_lineno = 13; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_2; } branch_no_3:; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_13; tmp_assign_source_13 = PyDict_New(); assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_13; } branch_end_2:; } { PyObject *tmp_assign_source_14; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_requests$structures_13 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a47f31780e88e5cc20f885829cbe8f69; tmp_res = PyObject_SetItem( locals_requests$structures_13, 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 = 13; goto try_except_handler_4; } } { tmp_dictset_value = const_str_digest_ecd2cc4435f694ec4c41ab0c3c14dbcc; tmp_res = PyObject_SetItem( locals_requests$structures_13, 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 = 13; goto try_except_handler_4; } } { tmp_dictset_value = const_str_plain_CaseInsensitiveDict; tmp_res = PyObject_SetItem( locals_requests$structures_13, 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 = 13; goto try_except_handler_4; } } MAKE_OR_REUSE_FRAME( cache_frame_caffc78406f3f591be9ebdd24aa8e24f_2, codeobj_caffc78406f3f591be9ebdd24aa8e24f, module_requests$structures, sizeof(void *) ); frame_caffc78406f3f591be9ebdd24aa8e24f_2 = cache_frame_caffc78406f3f591be9ebdd24aa8e24f_2; // Push the new frame as the currently active one. pushFrameStack( frame_caffc78406f3f591be9ebdd24aa8e24f_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_caffc78406f3f591be9ebdd24aa8e24f_2 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_defaults_1; tmp_defaults_1 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_1 ); tmp_dictset_value = MAKE_FUNCTION_requests$structures$$$function_1___init__( tmp_defaults_1 ); tmp_res = PyObject_SetItem( locals_requests$structures_13, const_str_plain___init__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 40; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_requests$structures$$$function_2___setitem__( ); tmp_res = PyObject_SetItem( locals_requests$structures_13, const_str_plain___setitem__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 46; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_requests$structures$$$function_3___getitem__( ); tmp_res = PyObject_SetItem( locals_requests$structures_13, const_str_plain___getitem__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 51; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_requests$structures$$$function_4___delitem__( ); tmp_res = PyObject_SetItem( locals_requests$structures_13, const_str_plain___delitem__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 54; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_requests$structures$$$function_5___iter__( ); tmp_res = PyObject_SetItem( locals_requests$structures_13, const_str_plain___iter__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 57; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_requests$structures$$$function_6___len__( ); tmp_res = PyObject_SetItem( locals_requests$structures_13, const_str_plain___len__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 60; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_requests$structures$$$function_7_lower_items( ); tmp_res = PyObject_SetItem( locals_requests$structures_13, const_str_plain_lower_items, 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 = 63; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_requests$structures$$$function_8___eq__( ); tmp_res = PyObject_SetItem( locals_requests$structures_13, const_str_plain___eq__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 71; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_requests$structures$$$function_9_copy( ); tmp_res = PyObject_SetItem( locals_requests$structures_13, const_str_plain_copy, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_requests$structures$$$function_10___repr__( ); tmp_res = PyObject_SetItem( locals_requests$structures_13, const_str_plain___repr__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 83; type_description_2 = "o"; goto frame_exception_exit_2; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_caffc78406f3f591be9ebdd24aa8e24f_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_caffc78406f3f591be9ebdd24aa8e24f_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_caffc78406f3f591be9ebdd24aa8e24f_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_caffc78406f3f591be9ebdd24aa8e24f_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_caffc78406f3f591be9ebdd24aa8e24f_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_caffc78406f3f591be9ebdd24aa8e24f_2, type_description_2, outline_0_var___class__ ); // Release cached frame. if ( frame_caffc78406f3f591be9ebdd24aa8e24f_2 == cache_frame_caffc78406f3f591be9ebdd24aa8e24f_2 ) { Py_DECREF( frame_caffc78406f3f591be9ebdd24aa8e24f_2 ); } cache_frame_caffc78406f3f591be9ebdd24aa8e24f_2 = NULL; assertFrameObject( frame_caffc78406f3f591be9ebdd24aa8e24f_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_4; skip_nested_handling_1:; { nuitka_bool tmp_condition_result_6; 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 = 13; goto try_except_handler_4; } tmp_condition_result_6 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { CHECK_OBJECT( tmp_class_creation_1__bases_orig ); tmp_dictset_value = tmp_class_creation_1__bases_orig; tmp_res = PyObject_SetItem( locals_requests$structures_13, 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 = 13; goto try_except_handler_4; } } branch_no_4:; } { PyObject *tmp_assign_source_15; PyObject *tmp_called_name_2; 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_2 = tmp_class_creation_1__metaclass; tmp_tuple_element_4 = const_str_plain_CaseInsensitiveDict; 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_requests$structures_13; 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_75e74361b261745c0154a113197684c0->m_frame.f_lineno = 13; tmp_assign_source_15 = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 13; goto try_except_handler_4; } assert( outline_0_var___class__ == NULL ); outline_0_var___class__ = tmp_assign_source_15; } { CHECK_OBJECT( outline_0_var___class__ ); tmp_assign_source_14 = outline_0_var___class__; Py_INCREF( tmp_assign_source_14 ); goto try_return_handler_4; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_4:; { Py_DECREF( locals_requests$structures_13 ); locals_requests$structures_13 = NULL; } { goto try_return_handler_3; } // Exception handler code: try_except_handler_4:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_requests$structures_13 ); locals_requests$structures_13 = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_3; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_3:; { 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_3:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // 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 outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures ); return MOD_RETURN_VALUE( NULL ); outline_exception_1:; exception_lineno = 13; goto try_except_handler_2; outline_result_1:; UPDATE_STRING_DICT1( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain_CaseInsensitiveDict, tmp_assign_source_14 ); } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_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_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__bases ); Py_DECREF( tmp_class_creation_1__bases ); tmp_class_creation_1__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__class_decl_dict ); Py_DECREF( tmp_class_creation_1__class_decl_dict ); tmp_class_creation_1__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__metaclass ); Py_DECREF( tmp_class_creation_1__metaclass ); tmp_class_creation_1__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__prepared ); Py_DECREF( tmp_class_creation_1__prepared ); tmp_class_creation_1__prepared = NULL; } { // Tried code: { PyObject *tmp_assign_source_16; PyObject *tmp_dircall_arg1_2; tmp_dircall_arg1_2 = const_tuple_type_dict_tuple; Py_INCREF( tmp_dircall_arg1_2 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_16 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_5; } assert( tmp_class_creation_2__bases == NULL ); tmp_class_creation_2__bases = tmp_assign_source_16; } { PyObject *tmp_assign_source_17; tmp_assign_source_17 = PyDict_New(); assert( tmp_class_creation_2__class_decl_dict == NULL ); tmp_class_creation_2__class_decl_dict = tmp_assign_source_17; } { PyObject *tmp_assign_source_18; PyObject *tmp_metaclass_name_2; nuitka_bool tmp_condition_result_7; PyObject *tmp_key_name_4; PyObject *tmp_dict_name_4; PyObject *tmp_dict_name_5; PyObject *tmp_key_name_5; nuitka_bool tmp_condition_result_8; int tmp_truth_name_2; PyObject *tmp_type_arg_3; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_bases_name_2; tmp_key_name_4 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dict_name_4 = tmp_class_creation_2__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_4, tmp_key_name_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_5; } tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto condexpr_true_3; } else { goto condexpr_false_3; } condexpr_true_3:; CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dict_name_5 = tmp_class_creation_2__class_decl_dict; tmp_key_name_5 = const_str_plain_metaclass; tmp_metaclass_name_2 = DICT_GET_ITEM( tmp_dict_name_5, tmp_key_name_5 ); if ( tmp_metaclass_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_5; } goto condexpr_end_3; condexpr_false_3:; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_truth_name_2 = CHECK_IF_TRUE( tmp_class_creation_2__bases ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_5; } tmp_condition_result_8 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto condexpr_true_4; } else { goto condexpr_false_4; } condexpr_true_4:; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_subscribed_name_2 = tmp_class_creation_2__bases; tmp_subscript_name_2 = const_int_0; tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); if ( tmp_type_arg_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_5; } tmp_metaclass_name_2 = BUILTIN_TYPE1( tmp_type_arg_3 ); Py_DECREF( tmp_type_arg_3 ); if ( tmp_metaclass_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_5; } goto condexpr_end_4; condexpr_false_4:; tmp_metaclass_name_2 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_2 ); condexpr_end_4:; condexpr_end_3:; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_bases_name_2 = tmp_class_creation_2__bases; tmp_assign_source_18 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 ); Py_DECREF( tmp_metaclass_name_2 ); if ( tmp_assign_source_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_5; } assert( tmp_class_creation_2__metaclass == NULL ); tmp_class_creation_2__metaclass = tmp_assign_source_18; } { nuitka_bool tmp_condition_result_9; PyObject *tmp_key_name_6; PyObject *tmp_dict_name_6; tmp_key_name_6 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dict_name_6 = tmp_class_creation_2__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_6, tmp_key_name_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_5; } tmp_condition_result_9 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_5; } } branch_no_5:; } { nuitka_bool tmp_condition_result_10; PyObject *tmp_source_name_5; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_5 = tmp_class_creation_2__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_5, const_str_plain___prepare__ ); tmp_condition_result_10 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_assign_source_19; PyObject *tmp_called_name_3; PyObject *tmp_source_name_6; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_5; PyObject *tmp_kw_name_3; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_6 = tmp_class_creation_2__metaclass; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain___prepare__ ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_5; } tmp_tuple_element_5 = const_str_plain_LookupDict; tmp_args_name_3 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_5 ); PyTuple_SET_ITEM( tmp_args_name_3, 0, tmp_tuple_element_5 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_5 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_5 ); PyTuple_SET_ITEM( tmp_args_name_3, 1, tmp_tuple_element_5 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_3 = tmp_class_creation_2__class_decl_dict; frame_75e74361b261745c0154a113197684c0->m_frame.f_lineno = 87; tmp_assign_source_19 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_3, tmp_kw_name_3 ); Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_name_3 ); if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_5; } assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_19; } { nuitka_bool tmp_condition_result_11; PyObject *tmp_operand_name_2; PyObject *tmp_source_name_7; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_source_name_7 = tmp_class_creation_2__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_7, const_str_plain___getitem__ ); tmp_operand_name_2 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_5; } tmp_condition_result_11 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_raise_type_2; PyObject *tmp_raise_value_2; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_tuple_element_6; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; PyObject *tmp_source_name_8; PyObject *tmp_type_arg_4; tmp_raise_type_2 = PyExc_TypeError; tmp_left_name_2 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_getattr_target_2 = tmp_class_creation_2__metaclass; tmp_getattr_attr_2 = const_str_plain___name__; tmp_getattr_default_2 = const_str_angle_metaclass; tmp_tuple_element_6 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2 ); if ( tmp_tuple_element_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_5; } tmp_right_name_2 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_6 ); CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_type_arg_4 = tmp_class_creation_2__prepared; tmp_source_name_8 = BUILTIN_TYPE1( tmp_type_arg_4 ); assert( !(tmp_source_name_8 == NULL) ); tmp_tuple_element_6 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain___name__ ); Py_DECREF( tmp_source_name_8 ); if ( tmp_tuple_element_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_2 ); exception_lineno = 87; goto try_except_handler_5; } PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_6 ); tmp_raise_value_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_raise_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_5; } exception_type = tmp_raise_type_2; Py_INCREF( tmp_raise_type_2 ); exception_value = tmp_raise_value_2; exception_lineno = 87; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_5; } branch_no_7:; } goto branch_end_6; branch_no_6:; { PyObject *tmp_assign_source_20; tmp_assign_source_20 = PyDict_New(); assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_20; } branch_end_6:; } { PyObject *tmp_assign_source_21; { PyObject *tmp_set_locals_2; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_requests$structures_87 = tmp_set_locals_2; Py_INCREF( tmp_set_locals_2 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_a47f31780e88e5cc20f885829cbe8f69; tmp_res = PyObject_SetItem( locals_requests$structures_87, 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 = 87; goto try_except_handler_7; } } { tmp_dictset_value = const_str_digest_e385481816282a876456d299a978f661; tmp_res = PyObject_SetItem( locals_requests$structures_87, 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 = 87; goto try_except_handler_7; } } { tmp_dictset_value = const_str_plain_LookupDict; tmp_res = PyObject_SetItem( locals_requests$structures_87, 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 = 87; goto try_except_handler_7; } } MAKE_OR_REUSE_FRAME( cache_frame_1bb9515b280950a6bed10f2c2427422f_3, codeobj_1bb9515b280950a6bed10f2c2427422f, module_requests$structures, sizeof(void *) ); frame_1bb9515b280950a6bed10f2c2427422f_3 = cache_frame_1bb9515b280950a6bed10f2c2427422f_3; // Push the new frame as the currently active one. pushFrameStack( frame_1bb9515b280950a6bed10f2c2427422f_3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_1bb9515b280950a6bed10f2c2427422f_3 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_defaults_2; tmp_defaults_2 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_2 ); tmp_dictset_value = MAKE_FUNCTION_requests$structures$$$function_11___init__( tmp_defaults_2 ); tmp_res = PyObject_SetItem( locals_requests$structures_87, const_str_plain___init__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 90; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = MAKE_FUNCTION_requests$structures$$$function_12___repr__( ); tmp_res = PyObject_SetItem( locals_requests$structures_87, const_str_plain___repr__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 94; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = MAKE_FUNCTION_requests$structures$$$function_13___getitem__( ); tmp_res = PyObject_SetItem( locals_requests$structures_87, const_str_plain___getitem__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 97; type_description_2 = "o"; goto frame_exception_exit_3; } } { PyObject *tmp_defaults_3; tmp_defaults_3 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_3 ); tmp_dictset_value = MAKE_FUNCTION_requests$structures$$$function_14_get( tmp_defaults_3 ); tmp_res = PyObject_SetItem( locals_requests$structures_87, const_str_plain_get, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 102; type_description_2 = "o"; goto frame_exception_exit_3; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_1bb9515b280950a6bed10f2c2427422f_3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_exception_exit_3:; #if 0 RESTORE_FRAME_EXCEPTION( frame_1bb9515b280950a6bed10f2c2427422f_3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_1bb9515b280950a6bed10f2c2427422f_3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_1bb9515b280950a6bed10f2c2427422f_3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_1bb9515b280950a6bed10f2c2427422f_3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_1bb9515b280950a6bed10f2c2427422f_3, type_description_2, outline_1_var___class__ ); // Release cached frame. if ( frame_1bb9515b280950a6bed10f2c2427422f_3 == cache_frame_1bb9515b280950a6bed10f2c2427422f_3 ) { Py_DECREF( frame_1bb9515b280950a6bed10f2c2427422f_3 ); } cache_frame_1bb9515b280950a6bed10f2c2427422f_3 = NULL; assertFrameObject( frame_1bb9515b280950a6bed10f2c2427422f_3 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_2; frame_no_exception_2:; goto skip_nested_handling_2; nested_frame_exit_2:; goto try_except_handler_7; skip_nested_handling_2:; { nuitka_bool tmp_condition_result_12; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_compexpr_left_2 = tmp_class_creation_2__bases; tmp_compexpr_right_2 = const_tuple_type_dict_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_7; } tmp_condition_result_12 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { tmp_dictset_value = const_tuple_type_dict_tuple; tmp_res = PyObject_SetItem( locals_requests$structures_87, 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 = 87; goto try_except_handler_7; } } branch_no_8:; } { PyObject *tmp_assign_source_22; PyObject *tmp_called_name_4; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_7; PyObject *tmp_kw_name_4; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_called_name_4 = tmp_class_creation_2__metaclass; tmp_tuple_element_7 = const_str_plain_LookupDict; tmp_args_name_4 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_7 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_7 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_7 ); tmp_tuple_element_7 = locals_requests$structures_87; Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_args_name_4, 2, tmp_tuple_element_7 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_4 = tmp_class_creation_2__class_decl_dict; frame_75e74361b261745c0154a113197684c0->m_frame.f_lineno = 87; tmp_assign_source_22 = CALL_FUNCTION( tmp_called_name_4, tmp_args_name_4, tmp_kw_name_4 ); Py_DECREF( tmp_args_name_4 ); if ( tmp_assign_source_22 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 87; goto try_except_handler_7; } assert( outline_1_var___class__ == NULL ); outline_1_var___class__ = tmp_assign_source_22; } { CHECK_OBJECT( outline_1_var___class__ ); tmp_assign_source_21 = outline_1_var___class__; Py_INCREF( tmp_assign_source_21 ); goto try_return_handler_7; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_7:; { Py_DECREF( locals_requests$structures_87 ); locals_requests$structures_87 = NULL; } { goto try_return_handler_6; } // Exception handler code: try_except_handler_7:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_requests$structures_87 ); locals_requests$structures_87 = 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: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( requests$structures ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_6:; { CHECK_OBJECT( (PyObject *)outline_1_var___class__ ); Py_DECREF( outline_1_var___class__ ); outline_1_var___class__ = NULL; } { goto outline_result_2; } // Exception handler code: try_except_handler_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; { // 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 outline_exception_2; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( requests$structures ); return MOD_RETURN_VALUE( NULL ); outline_exception_2:; exception_lineno = 87; goto try_except_handler_5; outline_result_2:; UPDATE_STRING_DICT1( moduledict_requests$structures, (Nuitka_StringObject *)const_str_plain_LookupDict, tmp_assign_source_21 ); } goto try_end_3; // Exception handler code: try_except_handler_5:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_2__bases ); tmp_class_creation_2__bases = NULL; } { Py_XDECREF( tmp_class_creation_2__class_decl_dict ); tmp_class_creation_2__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_2__metaclass ); tmp_class_creation_2__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_2__prepared ); tmp_class_creation_2__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto frame_exception_exit_1; } // End of try: try_end_3:; } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_75e74361b261745c0154a113197684c0 ); #endif popFrameStack(); assertFrameObject( frame_75e74361b261745c0154a113197684c0 ); goto frame_no_exception_3; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_75e74361b261745c0154a113197684c0 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_75e74361b261745c0154a113197684c0, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_75e74361b261745c0154a113197684c0->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_75e74361b261745c0154a113197684c0, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_3:; { CHECK_OBJECT( (PyObject *)tmp_class_creation_2__bases ); Py_DECREF( tmp_class_creation_2__bases ); tmp_class_creation_2__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_2__class_decl_dict ); Py_DECREF( tmp_class_creation_2__class_decl_dict ); tmp_class_creation_2__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_2__metaclass ); Py_DECREF( tmp_class_creation_2__metaclass ); tmp_class_creation_2__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_2__prepared ); Py_DECREF( tmp_class_creation_2__prepared ); tmp_class_creation_2__prepared = NULL; } return MOD_RETURN_VALUE( module_requests$structures ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }