/* Generated code for Python source for module 'future.standard_library' * 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_future$standard_library 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_future$standard_library; PyDictObject *moduledict_future$standard_library; /* The module constants used, if any. */ extern PyObject *const_str_plain_setLevel; extern PyObject *const_tuple_str_plain_self_str_plain_args_tuple; extern PyObject *const_str_plain___name__; static PyObject *const_tuple_str_plain_support_tuple; static PyObject *const_str_digest_8028085090a93691f9cac8f297908bb5; extern PyObject *const_str_plain_builtins; extern PyObject *const_str_plain_i; extern PyObject *const_str_plain_object; static PyObject *const_tuple_str_plain_scrubbed_str_plain_clash_str_plain_first_tuple; static PyObject *const_tuple_str_plain_scrubbed_str_plain_modulename_str_plain_module_tuple; extern PyObject *const_str_plain_any; static PyObject *const_str_plain__find_and_load_module; static PyObject *const_tuple_str_plain_gnu_tuple; extern PyObject *const_str_plain_m; extern PyObject *const_tuple_str_plain_response_tuple; extern PyObject *const_str_plain_os; extern PyObject *const_str_plain_None; static PyObject *const_str_plain_RenameImport; static PyObject *const_str_digest_e7bbcc0a5bfd500b737e30f9a8ccd7d5; extern PyObject *const_str_digest_741d67a63a1148262437f3f97bcea1cd; static PyObject *const_str_plain_enable_hooks; extern PyObject *const_tuple_none_none_none_tuple; static PyObject *const_str_plain_scrub_sys_modules; static PyObject *const_tuple_str_plain_self_str_plain_old_to_new_str_plain_both_tuple; extern PyObject *const_str_plain_contextlib; extern PyObject *const_str_plain___debug__; static PyObject *const_str_plain_symbol_names; static PyObject *const_str_plain_import_module; static PyObject *const_str_plain_detect_hooks; extern PyObject *const_str_angle_genexpr; static PyObject *const_str_digest_7d1a9e12941c4d469bb127e7ad6a37d1; static PyObject *const_str_digest_7635923d81c3f2c67cb0f89815f636c5; extern PyObject *const_str_digest_937e23fd1af2ef7336d82295a1301f51; static PyObject *const_str_digest_7b4b32a5867619d0eba1761109c65483; extern PyObject *const_str_plain_path; static PyObject *const_str_plain_install_aliases; static PyObject *const_str_plain_oldobjname; static PyObject *const_tuple_str_digest_8b9184a2b50732beeb0e57776a144a24_tuple; static PyObject *const_str_plain_new_base_names; extern PyObject *const_tuple_str_dot_tuple; static PyObject *const_tuple_str_plain_name_str_plain_module_tuple; static PyObject *const_str_plain_hooks_were_installed; static PyObject *const_str_digest_19d50db7e3c841bb98828e04be0e1042; extern PyObject *const_str_plain_reversed; static PyObject *const_str_plain_MOVES; extern PyObject *const_str_plain_name; extern PyObject *const_str_plain__dummy_thread; extern PyObject *const_str_digest_9ceff9e9dc2f123ff8fecafdd8ee49a7; static PyObject *const_str_digest_8b9184a2b50732beeb0e57776a144a24; extern PyObject *const_str_plain_ndbm; extern PyObject *const_tuple_int_0_tuple; static PyObject *const_str_digest_ac7dcef62efcc2547dacf0df4bff677a; extern PyObject *const_str_plain_False; static PyObject *const_str_plain_is_py2_stdlib_module; static PyObject *const_str_digest_ed8e0db7a8c8565436ed8119b7a0c462; static PyObject *const_str_plain_install_hooks; extern PyObject *const_str_plain_import_top_level_modules; extern PyObject *const_str_plain_pop; extern PyObject *const_int_0; extern PyObject *const_str_plain_response; static PyObject *const_tuple_str_digest_80df08ece85e96799dc365f5f61a3b70_tuple; extern PyObject *const_tuple_str_plain_PY2_str_plain_PY3_tuple; static PyObject *const_tuple_str_plain_present_tuple; extern PyObject *const_str_digest_61559eeb13b955499f42193e91d619a2; static PyObject *const_set_8eaf02816a3165d0c6a4461807f15b30; static PyObject *const_tuple_bd7d04b74c235d578f069128ce6d411a_tuple; static PyObject *const_str_plain_remove_hooks; static PyObject *const_str_digest_37924d8aab51c243204ea10cb3abf653; extern PyObject *const_tuple_str_plain_ndbm_tuple; extern PyObject *const_str_plain_type; static PyObject *const_str_plain_backport; extern PyObject *const_slice_none_none_int_neg_1; extern PyObject *const_str_plain___cached__; static PyObject *const_dict_5fc6a3135ebc310861979f8749e49963; extern PyObject *const_tuple_none_tuple; extern PyObject *const_str_plain_winreg; extern PyObject *const_str_plain_copyreg; extern PyObject *const_int_pos_1; static PyObject *const_str_digest_aa682f05738454dbabbdc9694b4f92ec; static PyObject *const_str_plain_RENAMES; static PyObject *const_str_plain_RENAMER; static PyObject *const_str_digest_c0556f2e3723bb22c86cf930d3abe094; extern PyObject *const_str_plain_module_name; static PyObject *const_str_plain_old_sys_path; extern PyObject *const_str_plain_meta_path; extern PyObject *const_str_plain___prepare__; extern PyObject *const_str_plain_module; static PyObject *const_str_plain_cache_py2_modules; static PyObject *const_str_plain_oldmodname; extern PyObject *const_str_plain_kwargs; static PyObject *const_tuple_str_plain_future_stdlib_tuple; extern PyObject *const_tuple_str_plain_f_tuple; extern PyObject *const_str_plain_http; extern PyObject *const_tuple_str_plain_error_tuple; extern PyObject *const_str_plain_format; extern PyObject *const_str_plain_startswith; static PyObject *const_str_digest_c8bffebc40ee0f37ded51d572310b98f; static PyObject *const_str_plain_newhook; static PyObject *const_str_digest_a6d0074b40092331d450d29836642c3d; static PyObject *const_str_digest_80df08ece85e96799dc365f5f61a3b70; static PyObject *const_str_plain_gnu; extern PyObject *const_str_plain__thread; extern PyObject *const_str_plain___file__; static PyObject *const_tuple_48c49316c7c160f08053a93b56c7ca07_tuple; static PyObject *const_tuple_917646246f906d200c3218fc9feb5ec3_tuple; extern PyObject *const_str_plain_Formatter; extern PyObject *const_str_plain_email; static PyObject *const_str_plain_TOP_LEVEL_MODULES; static PyObject *const_str_digest_d4f05f6c37f4ee12d6e6e272bee86149; extern PyObject *const_str_digest_118c8611317729818c37c760127e23b2; static PyObject *const_str_plain_clash; static PyObject *const_str_digest_6546f1cee79f37d65591b2f7e3ffb838; extern PyObject *const_str_digest_04991ea695faff4a76e4efb6a8a8593f; extern PyObject *const_str_digest_45c254f6a6153d392478fd2944a253a6; extern PyObject *const_str_plain___orig_bases__; static PyObject *const_str_plain_stdlib_paths; extern PyObject *const_str_plain___qualname__; static PyObject *const_str_digest_338935a85b07479d661ed9e78f3fe0c9; static PyObject *const_tuple_str_plain_self_str_plain_args_str_plain_m_tuple; static PyObject *const_tuple_str_plain_dumb_tuple; static PyObject *const_str_digest_b1edb918b162a3efb24e5c950b038db1; extern PyObject *const_str_plain_all; extern PyObject *const_str_digest_3e233ca7cc798c784c4df07cd3d081f8; static PyObject *const_str_plain_past; extern PyObject *const_str_plain_old; static PyObject *const_str_plain_both; extern PyObject *const_str_plain_enumerate; static PyObject *const_str_plain__markupbase; extern PyObject *const_str_plain_new; static PyObject *const_str_digest_2bc6f87b6fbd656a22fdba8905d4fe96; static PyObject *const_tuple_str_plain_urllib_str_plain_email_str_plain_pickle_tuple; static PyObject *const_str_digest_1de06ff1a38a26aad90e9b3c09481f65; static PyObject *const_tuple_str_plain_newhook_tuple; static PyObject *const_str_digest_1cf165e52c03fe26e0558b5cbde45ad8; extern PyObject *const_str_plain_error; static PyObject *const_str_plain_libfuturize; static PyObject *const_str_digest_9b08f79feae957fbb5aeadaa443bf12d; static PyObject *const_str_digest_f017e0adb19b2edc20a94c304b9a9d9c; extern PyObject *const_str_plain___getitem__; extern PyObject *const_str_plain_f; extern PyObject *const_str_plain_dbm; static PyObject *const_str_plain_newmod; extern PyObject *const_str_plain_part; extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295; static PyObject *const_str_plain__formatter; static PyObject *const_str_plain_present; static PyObject *const_str_plain_new_to_old; static PyObject *const_str_plain_subfolder; static PyObject *const_str_digest_1c44cc186ff5f187e3855eaaf495260b; static PyObject *const_str_plain_old_to_new; extern PyObject *const_str_plain_print_function; static PyObject *const_str_plain_FUTURE_SOURCE_SUBFOLDERS; static PyObject *const_str_digest_3f112ff8c4b7043a39a52522bd1ad986; extern PyObject *const_str_plain_PY2; extern PyObject *const_str_plain_sys; static PyObject *const_str_digest_863c1650eb4529ecd02c2cca6f57507a; extern PyObject *const_str_plain_copy; extern PyObject *const_str_plain___init__; extern PyObject *const_str_plain_types; static PyObject *const_tuple_9db1e1b6593238ceadacf386b70f2551_tuple; extern PyObject *const_str_plain_parse; static PyObject *const_str_digest_2e2d3b80d844457f015c95cbd5a28243; extern PyObject *const_str_digest_88c023ac45bce1a07479790becaae8f3; static PyObject *const_tuple_str_digest_3f112ff8c4b7043a39a52522bd1ad986_tuple; static PyObject *const_str_plain_sofar; extern PyObject *const_str_plain_imp; static PyObject *const_str_plain_import_; extern PyObject *const_str_plain_queue; static PyObject *const_str_plain__handler; static PyObject *const_str_digest_f59596a0956797d3ec515593fc38a516; extern PyObject *const_str_plain_test; extern PyObject *const_str_plain_request; extern PyObject *const_str_plain_getLogger; static PyObject *const_tuple_str_plain_hook_tuple; static PyObject *const_str_plain_module_names; static PyObject *const_str_plain_modpath; extern PyObject *const_str_plain_prefix; extern PyObject *const_tuple_str_plain_parse_tuple; static PyObject *const_str_digest_6e32d8deb845fd9ea486640e04a8d164; extern PyObject *const_str_plain_division; extern PyObject *const_int_neg_1; static PyObject *const_tuple_str_plain_subfolder_str_plain_folder_tuple; extern PyObject *const_str_plain_hook; extern PyObject *const_str_plain_PY3; static PyObject *const_str_plain_py2_modules; extern PyObject *const_str_plain___doc__; static PyObject *const_str_plain_newmodname; extern PyObject *const_str_plain_urllib; extern PyObject *const_str_plain_s; static PyObject *const_str_plain_libpasteurize; static PyObject *const_str_plain_dumb; extern PyObject *const_str_plain_addHandler; static PyObject *const_str_digest_ae2d303da3171b6e0b78df408b96020c; static PyObject *const_str_plain_module_info; extern PyObject *const_str_plain_importlib; extern PyObject *const_str_digest_b9c4baf879ebd882d40843df3a4dead7; extern PyObject *const_tuple_str_plain_self_tuple; extern PyObject *const_str_plain_load_module; extern PyObject *const_str_plain_robotparser; static PyObject *const_str_digest_595cfeba61911d7bc469b2b5a8129d87; static PyObject *const_tuple_str_plain_robotparser_tuple; extern PyObject *const_str_plain_StreamHandler; static PyObject *const_tuple_744606ad5ff8fab7980e1ca6d3151cbd_tuple; static PyObject *const_tuple_str_digest_7b4b32a5867619d0eba1761109c65483_tuple; extern PyObject *const_str_plain___path__; extern PyObject *const_tuple_empty; extern PyObject *const_str_plain_setFormatter; extern PyObject *const_str_plain_append; static PyObject *const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list; extern PyObject *const_str_plain_split; extern PyObject *const_str_plain_remove; extern PyObject *const_str_digest_0c2c53a682a2a84b1ae61ae38cc6a65a; static PyObject *const_str_plain_stdlib_path; extern PyObject *const_str_digest_403fc5577610e7404de616fec8a7f71f; extern PyObject *const_str_plain_first; static PyObject *const_tuple_str_plain_scrub_sys_modules_str_plain_i_str_plain_hook_tuple; extern PyObject *const_str_plain_exists; static PyObject *const_tuple_str_digest_8028085090a93691f9cac8f297908bb5_tuple; static PyObject *const_str_digest_3476ecfa678762c75c63de204f156f3e; extern PyObject *const_tuple_str_plain_m_tuple; extern PyObject *const_str_plain_suspend_hooks; extern PyObject *const_str_plain_html; static PyObject *const_str_plain_from_import; static PyObject *const_str_plain_BASIC_FORMAT; static PyObject *const_str_plain_REPLACED_MODULES; extern PyObject *const_str_digest_f1949150375e8b53443d58d93fe4f89e; extern PyObject *const_str_plain_modules; extern PyObject *const_str_plain___class__; static PyObject *const_str_plain_future_stdlib; static PyObject *const_str_digest_881becb43757978459ee8914c38f9769; static PyObject *const_str_digest_72311ef6383553bdd418d2f8c9ee3f57; extern PyObject *const_str_plain___module__; extern PyObject *const_str_plain_debug; extern PyObject *const_str_plain_update; static PyObject *const_str_plain_exclude_local_folder_imports; static PyObject *const_str_plain_oldmod; static PyObject *const_list_7a047a2d9d1cef0ced81cb339c7f4fd5_list; static PyObject *const_str_digest_f75ed7d51f1ebcd25fad37e97be28789; extern PyObject *const_str_plain_version_info; extern PyObject *const_str_plain_tkinter; extern PyObject *const_str_plain_logging; extern PyObject *const_str_plain_warn; extern PyObject *const_str_plain_metaclass; static PyObject *const_str_digest_6867fb22d00e80c833defe0e38fc0a70; extern PyObject *const_tuple_str_plain___class___tuple; extern PyObject *const_tuple_false_tuple; extern PyObject *const_str_angle_metaclass; extern PyObject *const_str_plain_args; extern PyObject *const_str_plain___exit__; static PyObject *const_str_plain_folder; extern PyObject *const_str_plain_hooks; static PyObject *const_str_digest_4d0e902535eaa4d534ad5b2e0c25d9af; extern PyObject *const_str_plain_reprlib; extern PyObject *const_str_plain_bits; extern PyObject *const_str_plain_items; static PyObject *const_str_digest_bcee7f5bdd5d7df180bcd5614ca88502; extern PyObject *const_tuple_str_plain_s_tuple; static PyObject *const_str_digest_c599a70f3cf671a8a7cee9919c6e96f8; static PyObject *const_tuple_3f7ceadfa131499872fef6cb864390d9_tuple; static PyObject *const_str_digest_e09f4c4aa8deaaffb995812f0ebd7f5f; extern PyObject *const_str_plain___enter__; static PyObject *const_tuple_str_plain_request_tuple; extern PyObject *const_str_plain_join; extern PyObject *const_str_plain_absolute_import; static PyObject *const_str_plain_packagename; extern PyObject *const_str_dot; extern PyObject *const_str_plain_fullname; static PyObject *const_str_digest_6ea2cdd54dbfe5d0984df2a290ac76a6; extern PyObject *const_str_digest_0ac0833f32ef9672b68f8e39be86bb39; static PyObject *const_tuple_f5c229e3fb5b4212fc50c5f4d7516529_tuple; static PyObject *const_str_digest_dc2a3fb82a87c71cb05b07c4e43e4f17; static PyObject *const_str_plain_support; static PyObject *const_str_plain_flog; extern PyObject *const_str_plain_parts; extern PyObject *const_str_plain_keys; static PyObject *const_str_digest_b01481b34eca668fadfe4645bbb14929; static PyObject *const_str_plain_scrub_py2_sys_modules; static PyObject *const_tuple_str_digest_7d1a9e12941c4d469bb127e7ad6a37d1_tuple; static PyObject *const_list_str_digest_6867fb22d00e80c833defe0e38fc0a70_list; extern PyObject *const_str_plain_pickle; static PyObject *const_str_digest_cf7ad829be5bef7d1e655aeeddc8b562; static PyObject *const_list_1186e5f4b73fb5ab5be11cf19c672bca_list; extern PyObject *const_str_digest_618a28ff4e8365b735187a5066c34f98; extern PyObject *const_str_plain_output; static PyObject *const_tuple_str_digest_dc2a3fb82a87c71cb05b07c4e43e4f17_tuple; static PyObject *const_str_plain_scrub_future_sys_modules; static PyObject *const_str_plain_builtin_module_names; static PyObject *const_str_digest_6e897f4d759ca3084c6654f18615eabe; static PyObject *const_str_plain_xmlrpc; static PyObject *const_str_plain_scrubbed; static PyObject *const_str_plain_oldname; static PyObject *const_str_plain_WARN; static PyObject *const_str_plain_newobjname; extern PyObject *const_str_angle_listcomp; static PyObject *const_tuple_239b77bdc2be44a28a0f8f64b08b6ae5_tuple; extern PyObject *const_str_plain_find_module; static PyObject *const_tuple_fe5ceee4f622f37fa1a78eca927dade2_tuple; extern PyObject *const_str_plain_socketserver; static PyObject *const_str_plain_restore_sys_modules; static PyObject *const_str_digest_7597c7e1e9cdfb05eba20c084181a0d1; static PyObject *const_str_plain_old_sys_modules; static PyObject *const_str_digest_f1c144b5501e244564c9a365c5679846; static PyObject *const_str_plain_stdlib_files; extern PyObject *const_tuple_type_object_tuple; extern PyObject *const_str_plain_package; extern PyObject *const_str_plain_values; static PyObject *const_str_plain_modulename; extern PyObject *const_str_digest_59bc9c95777e64e4720c3af0837aec42; extern PyObject *const_int_pos_3; extern PyObject *const_str_plain_self; extern PyObject *const_str_plain_future; static PyObject *const_str_plain_disable_hooks; static PyObject *const_str_digest_b3548188c09b5d1b7bf22c337a5d6d7b; extern PyObject *const_int_pos_2; extern PyObject *const_str_plain_obj; extern PyObject *const_str_digest_436a338404d6c5741e716fe26b0c2c4e; static PyObject *const_str_digest_7dfdaea576fcd6c1f67c6e327c4b9df9; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_tuple_str_plain_support_tuple = PyTuple_New( 1 ); const_str_plain_support = UNSTREAM_STRING( &constant_bin[ 5234 ], 7, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_support_tuple, 0, const_str_plain_support ); Py_INCREF( const_str_plain_support ); const_str_digest_8028085090a93691f9cac8f297908bb5 = UNSTREAM_STRING( &constant_bin[ 707805 ], 47, 0 ); const_tuple_str_plain_scrubbed_str_plain_clash_str_plain_first_tuple = PyTuple_New( 3 ); const_str_plain_scrubbed = UNSTREAM_STRING( &constant_bin[ 707852 ], 8, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_scrubbed_str_plain_clash_str_plain_first_tuple, 0, const_str_plain_scrubbed ); Py_INCREF( const_str_plain_scrubbed ); const_str_plain_clash = UNSTREAM_STRING( &constant_bin[ 707860 ], 5, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_scrubbed_str_plain_clash_str_plain_first_tuple, 1, const_str_plain_clash ); Py_INCREF( const_str_plain_clash ); PyTuple_SET_ITEM( const_tuple_str_plain_scrubbed_str_plain_clash_str_plain_first_tuple, 2, const_str_plain_first ); Py_INCREF( const_str_plain_first ); const_tuple_str_plain_scrubbed_str_plain_modulename_str_plain_module_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_scrubbed_str_plain_modulename_str_plain_module_tuple, 0, const_str_plain_scrubbed ); Py_INCREF( const_str_plain_scrubbed ); const_str_plain_modulename = UNSTREAM_STRING( &constant_bin[ 707865 ], 10, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_scrubbed_str_plain_modulename_str_plain_module_tuple, 1, const_str_plain_modulename ); Py_INCREF( const_str_plain_modulename ); PyTuple_SET_ITEM( const_tuple_str_plain_scrubbed_str_plain_modulename_str_plain_module_tuple, 2, const_str_plain_module ); Py_INCREF( const_str_plain_module ); const_str_plain__find_and_load_module = UNSTREAM_STRING( &constant_bin[ 707875 ], 21, 1 ); const_tuple_str_plain_gnu_tuple = PyTuple_New( 1 ); const_str_plain_gnu = UNSTREAM_STRING( &constant_bin[ 707438 ], 3, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_gnu_tuple, 0, const_str_plain_gnu ); Py_INCREF( const_str_plain_gnu ); const_str_plain_RenameImport = UNSTREAM_STRING( &constant_bin[ 707896 ], 12, 1 ); const_str_digest_e7bbcc0a5bfd500b737e30f9a8ccd7d5 = UNSTREAM_STRING( &constant_bin[ 707908 ], 98, 0 ); const_str_plain_enable_hooks = UNSTREAM_STRING( &constant_bin[ 708006 ], 12, 1 ); const_str_plain_scrub_sys_modules = UNSTREAM_STRING( &constant_bin[ 708018 ], 17, 1 ); const_tuple_str_plain_self_str_plain_old_to_new_str_plain_both_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_old_to_new_str_plain_both_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); const_str_plain_old_to_new = UNSTREAM_STRING( &constant_bin[ 708035 ], 10, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_old_to_new_str_plain_both_tuple, 1, const_str_plain_old_to_new ); Py_INCREF( const_str_plain_old_to_new ); const_str_plain_both = UNSTREAM_STRING( &constant_bin[ 52838 ], 4, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_old_to_new_str_plain_both_tuple, 2, const_str_plain_both ); Py_INCREF( const_str_plain_both ); const_str_plain_symbol_names = UNSTREAM_STRING( &constant_bin[ 708045 ], 12, 1 ); const_str_plain_import_module = UNSTREAM_STRING( &constant_bin[ 708057 ], 13, 1 ); const_str_plain_detect_hooks = UNSTREAM_STRING( &constant_bin[ 708070 ], 12, 1 ); const_str_digest_7d1a9e12941c4d469bb127e7ad6a37d1 = UNSTREAM_STRING( &constant_bin[ 708082 ], 16, 0 ); const_str_digest_7635923d81c3f2c67cb0f89815f636c5 = UNSTREAM_STRING( &constant_bin[ 708098 ], 25, 0 ); const_str_digest_7b4b32a5867619d0eba1761109c65483 = UNSTREAM_STRING( &constant_bin[ 708123 ], 20, 0 ); const_str_plain_install_aliases = UNSTREAM_STRING( &constant_bin[ 540010 ], 15, 1 ); const_str_plain_oldobjname = UNSTREAM_STRING( &constant_bin[ 708143 ], 10, 1 ); const_tuple_str_digest_8b9184a2b50732beeb0e57776a144a24_tuple = PyTuple_New( 1 ); const_str_digest_8b9184a2b50732beeb0e57776a144a24 = UNSTREAM_STRING( &constant_bin[ 708153 ], 19, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_8b9184a2b50732beeb0e57776a144a24_tuple, 0, const_str_digest_8b9184a2b50732beeb0e57776a144a24 ); Py_INCREF( const_str_digest_8b9184a2b50732beeb0e57776a144a24 ); const_str_plain_new_base_names = UNSTREAM_STRING( &constant_bin[ 708172 ], 14, 1 ); const_tuple_str_plain_name_str_plain_module_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_name_str_plain_module_tuple, 0, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_str_plain_name_str_plain_module_tuple, 1, const_str_plain_module ); Py_INCREF( const_str_plain_module ); const_str_plain_hooks_were_installed = UNSTREAM_STRING( &constant_bin[ 708186 ], 20, 1 ); const_str_digest_19d50db7e3c841bb98828e04be0e1042 = UNSTREAM_STRING( &constant_bin[ 708206 ], 21, 0 ); const_str_plain_MOVES = UNSTREAM_STRING( &constant_bin[ 708227 ], 5, 1 ); const_str_digest_ac7dcef62efcc2547dacf0df4bff677a = UNSTREAM_STRING( &constant_bin[ 708232 ], 34, 0 ); const_str_plain_is_py2_stdlib_module = UNSTREAM_STRING( &constant_bin[ 708266 ], 20, 1 ); const_str_digest_ed8e0db7a8c8565436ed8119b7a0c462 = UNSTREAM_STRING( &constant_bin[ 708286 ], 129, 0 ); const_str_plain_install_hooks = UNSTREAM_STRING( &constant_bin[ 708415 ], 13, 1 ); const_tuple_str_digest_80df08ece85e96799dc365f5f61a3b70_tuple = PyTuple_New( 1 ); const_str_digest_80df08ece85e96799dc365f5f61a3b70 = UNSTREAM_STRING( &constant_bin[ 708428 ], 13, 0 ); PyTuple_SET_ITEM( const_tuple_str_digest_80df08ece85e96799dc365f5f61a3b70_tuple, 0, const_str_digest_80df08ece85e96799dc365f5f61a3b70 ); Py_INCREF( const_str_digest_80df08ece85e96799dc365f5f61a3b70 ); const_tuple_str_plain_present_tuple = PyTuple_New( 1 ); const_str_plain_present = UNSTREAM_STRING( &constant_bin[ 2703 ], 7, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_present_tuple, 0, const_str_plain_present ); Py_INCREF( const_str_plain_present ); const_set_8eaf02816a3165d0c6a4461807f15b30 = PySet_New( NULL ); PySet_Add( const_set_8eaf02816a3165d0c6a4461807f15b30, const_str_plain_urllib ); PySet_Add( const_set_8eaf02816a3165d0c6a4461807f15b30, const_str_plain_pickle ); PySet_Add( const_set_8eaf02816a3165d0c6a4461807f15b30, const_str_plain_dbm ); PySet_Add( const_set_8eaf02816a3165d0c6a4461807f15b30, const_str_plain_test ); assert( PySet_Size( const_set_8eaf02816a3165d0c6a4461807f15b30 ) == 4 ); const_tuple_bd7d04b74c235d578f069128ce6d411a_tuple = PyTuple_New( 7 ); PyTuple_SET_ITEM( const_tuple_bd7d04b74c235d578f069128ce6d411a_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_bd7d04b74c235d578f069128ce6d411a_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_bd7d04b74c235d578f069128ce6d411a_tuple, 2, const_str_plain_path ); Py_INCREF( const_str_plain_path ); PyTuple_SET_ITEM( const_tuple_bd7d04b74c235d578f069128ce6d411a_tuple, 3, const_str_plain_bits ); Py_INCREF( const_str_plain_bits ); const_str_plain_packagename = UNSTREAM_STRING( &constant_bin[ 708441 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_bd7d04b74c235d578f069128ce6d411a_tuple, 4, const_str_plain_packagename ); Py_INCREF( const_str_plain_packagename ); PyTuple_SET_ITEM( const_tuple_bd7d04b74c235d578f069128ce6d411a_tuple, 5, const_str_plain_package ); Py_INCREF( const_str_plain_package ); const_str_plain_module_info = UNSTREAM_STRING( &constant_bin[ 708452 ], 11, 1 ); PyTuple_SET_ITEM( const_tuple_bd7d04b74c235d578f069128ce6d411a_tuple, 6, const_str_plain_module_info ); Py_INCREF( const_str_plain_module_info ); const_str_plain_remove_hooks = UNSTREAM_STRING( &constant_bin[ 708463 ], 12, 1 ); const_str_digest_37924d8aab51c243204ea10cb3abf653 = UNSTREAM_STRING( &constant_bin[ 708475 ], 109, 0 ); const_str_plain_backport = UNSTREAM_STRING( &constant_bin[ 540110 ], 8, 1 ); const_dict_5fc6a3135ebc310861979f8749e49963 = PyMarshal_ReadObjectFromString( (char *)&constant_bin[ 708584 ], 323 ); const_str_digest_aa682f05738454dbabbdc9694b4f92ec = UNSTREAM_STRING( &constant_bin[ 708907 ], 154, 0 ); const_str_plain_RENAMES = UNSTREAM_STRING( &constant_bin[ 709061 ], 7, 1 ); const_str_plain_RENAMER = UNSTREAM_STRING( &constant_bin[ 709068 ], 7, 1 ); const_str_digest_c0556f2e3723bb22c86cf930d3abe094 = UNSTREAM_STRING( &constant_bin[ 709075 ], 40, 0 ); const_str_plain_old_sys_path = UNSTREAM_STRING( &constant_bin[ 709115 ], 12, 1 ); const_str_plain_cache_py2_modules = UNSTREAM_STRING( &constant_bin[ 709127 ], 17, 1 ); const_str_plain_oldmodname = UNSTREAM_STRING( &constant_bin[ 709144 ], 10, 1 ); const_tuple_str_plain_future_stdlib_tuple = PyTuple_New( 1 ); const_str_plain_future_stdlib = UNSTREAM_STRING( &constant_bin[ 709154 ], 13, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_future_stdlib_tuple, 0, const_str_plain_future_stdlib ); Py_INCREF( const_str_plain_future_stdlib ); const_str_digest_c8bffebc40ee0f37ded51d572310b98f = UNSTREAM_STRING( &constant_bin[ 709167 ], 609, 0 ); const_str_plain_newhook = UNSTREAM_STRING( &constant_bin[ 709776 ], 7, 1 ); const_str_digest_a6d0074b40092331d450d29836642c3d = UNSTREAM_STRING( &constant_bin[ 709783 ], 71, 0 ); const_tuple_48c49316c7c160f08053a93b56c7ca07_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_48c49316c7c160f08053a93b56c7ca07_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_48c49316c7c160f08053a93b56c7ca07_tuple, 1, const_str_plain_fullname ); Py_INCREF( const_str_plain_fullname ); PyTuple_SET_ITEM( const_tuple_48c49316c7c160f08053a93b56c7ca07_tuple, 2, const_str_plain_path ); Py_INCREF( const_str_plain_path ); PyTuple_SET_ITEM( const_tuple_48c49316c7c160f08053a93b56c7ca07_tuple, 3, const_str_plain_new_base_names ); Py_INCREF( const_str_plain_new_base_names ); const_tuple_917646246f906d200c3218fc9feb5ec3_tuple = PyTuple_New( 19 ); const_str_plain_newmodname = UNSTREAM_STRING( &constant_bin[ 709854 ], 10, 1 ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 0, const_str_plain_newmodname ); Py_INCREF( const_str_plain_newmodname ); const_str_plain_newobjname = UNSTREAM_STRING( &constant_bin[ 709864 ], 10, 1 ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 1, const_str_plain_newobjname ); Py_INCREF( const_str_plain_newobjname ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 2, const_str_plain_oldmodname ); Py_INCREF( const_str_plain_oldmodname ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 3, const_str_plain_oldobjname ); Py_INCREF( const_str_plain_oldobjname ); const_str_plain_newmod = UNSTREAM_STRING( &constant_bin[ 709854 ], 6, 1 ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 4, const_str_plain_newmod ); Py_INCREF( const_str_plain_newmod ); const_str_plain_oldmod = UNSTREAM_STRING( &constant_bin[ 709144 ], 6, 1 ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 5, const_str_plain_oldmod ); Py_INCREF( const_str_plain_oldmod ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 6, const_str_plain_obj ); Py_INCREF( const_str_plain_obj ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 7, const_str_plain_urllib ); Py_INCREF( const_str_plain_urllib ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 8, const_str_plain_request ); Py_INCREF( const_str_plain_request ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 9, const_str_plain_response ); Py_INCREF( const_str_plain_response ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 10, const_str_plain_parse ); Py_INCREF( const_str_plain_parse ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 11, const_str_plain_error ); Py_INCREF( const_str_plain_error ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 12, const_str_plain_robotparser ); Py_INCREF( const_str_plain_robotparser ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 13, const_str_plain_test ); Py_INCREF( const_str_plain_test ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 14, const_str_plain_support ); Py_INCREF( const_str_plain_support ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 15, const_str_plain_dbm ); Py_INCREF( const_str_plain_dbm ); const_str_plain_dumb = UNSTREAM_STRING( &constant_bin[ 570788 ], 4, 1 ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 16, const_str_plain_dumb ); Py_INCREF( const_str_plain_dumb ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 17, const_str_plain_gnu ); Py_INCREF( const_str_plain_gnu ); PyTuple_SET_ITEM( const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 18, const_str_plain_ndbm ); Py_INCREF( const_str_plain_ndbm ); const_str_plain_TOP_LEVEL_MODULES = UNSTREAM_STRING( &constant_bin[ 709874 ], 17, 1 ); const_str_digest_d4f05f6c37f4ee12d6e6e272bee86149 = UNSTREAM_STRING( &constant_bin[ 709891 ], 418, 0 ); const_str_digest_6546f1cee79f37d65591b2f7e3ffb838 = UNSTREAM_STRING( &constant_bin[ 710309 ], 37, 0 ); const_str_plain_stdlib_paths = UNSTREAM_STRING( &constant_bin[ 710346 ], 12, 1 ); const_str_digest_338935a85b07479d661ed9e78f3fe0c9 = UNSTREAM_STRING( &constant_bin[ 710358 ], 532, 0 ); const_tuple_str_plain_self_str_plain_args_str_plain_m_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_args_str_plain_m_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_args_str_plain_m_tuple, 1, const_str_plain_args ); Py_INCREF( const_str_plain_args ); PyTuple_SET_ITEM( const_tuple_str_plain_self_str_plain_args_str_plain_m_tuple, 2, const_str_plain_m ); Py_INCREF( const_str_plain_m ); const_tuple_str_plain_dumb_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_dumb_tuple, 0, const_str_plain_dumb ); Py_INCREF( const_str_plain_dumb ); const_str_digest_b1edb918b162a3efb24e5c950b038db1 = UNSTREAM_STRING( &constant_bin[ 1374 ], 13, 0 ); const_str_plain_past = UNSTREAM_STRING( &constant_bin[ 645362 ], 4, 1 ); const_str_plain__markupbase = UNSTREAM_STRING( &constant_bin[ 708882 ], 11, 1 ); const_str_digest_2bc6f87b6fbd656a22fdba8905d4fe96 = UNSTREAM_STRING( &constant_bin[ 710890 ], 1180, 0 ); const_tuple_str_plain_urllib_str_plain_email_str_plain_pickle_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_urllib_str_plain_email_str_plain_pickle_tuple, 0, const_str_plain_urllib ); Py_INCREF( const_str_plain_urllib ); PyTuple_SET_ITEM( const_tuple_str_plain_urllib_str_plain_email_str_plain_pickle_tuple, 1, const_str_plain_email ); Py_INCREF( const_str_plain_email ); PyTuple_SET_ITEM( const_tuple_str_plain_urllib_str_plain_email_str_plain_pickle_tuple, 2, const_str_plain_pickle ); Py_INCREF( const_str_plain_pickle ); const_str_digest_1de06ff1a38a26aad90e9b3c09481f65 = UNSTREAM_STRING( &constant_bin[ 712070 ], 37, 0 ); const_tuple_str_plain_newhook_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_newhook_tuple, 0, const_str_plain_newhook ); Py_INCREF( const_str_plain_newhook ); const_str_digest_1cf165e52c03fe26e0558b5cbde45ad8 = UNSTREAM_STRING( &constant_bin[ 712107 ], 1698, 0 ); const_str_plain_libfuturize = UNSTREAM_STRING( &constant_bin[ 713805 ], 11, 1 ); const_str_digest_9b08f79feae957fbb5aeadaa443bf12d = UNSTREAM_STRING( &constant_bin[ 713816 ], 32, 0 ); const_str_digest_f017e0adb19b2edc20a94c304b9a9d9c = UNSTREAM_STRING( &constant_bin[ 713848 ], 24, 0 ); const_str_plain__formatter = UNSTREAM_STRING( &constant_bin[ 124523 ], 10, 1 ); const_str_plain_new_to_old = UNSTREAM_STRING( &constant_bin[ 713872 ], 10, 1 ); const_str_plain_subfolder = UNSTREAM_STRING( &constant_bin[ 713882 ], 9, 1 ); const_str_digest_1c44cc186ff5f187e3855eaaf495260b = UNSTREAM_STRING( &constant_bin[ 713891 ], 21, 0 ); const_str_plain_FUTURE_SOURCE_SUBFOLDERS = UNSTREAM_STRING( &constant_bin[ 713912 ], 24, 1 ); const_str_digest_3f112ff8c4b7043a39a52522bd1ad986 = UNSTREAM_STRING( &constant_bin[ 713936 ], 22, 0 ); const_str_digest_863c1650eb4529ecd02c2cca6f57507a = UNSTREAM_STRING( &constant_bin[ 713958 ], 34, 0 ); const_tuple_9db1e1b6593238ceadacf386b70f2551_tuple = PyTuple_New( 9 ); PyTuple_SET_ITEM( const_tuple_9db1e1b6593238ceadacf386b70f2551_tuple, 0, const_str_plain_module_name ); Py_INCREF( const_str_plain_module_name ); PyTuple_SET_ITEM( const_tuple_9db1e1b6593238ceadacf386b70f2551_tuple, 1, const_str_plain_backport ); Py_INCREF( const_str_plain_backport ); PyTuple_SET_ITEM( const_tuple_9db1e1b6593238ceadacf386b70f2551_tuple, 2, const_str_plain_importlib ); Py_INCREF( const_str_plain_importlib ); PyTuple_SET_ITEM( const_tuple_9db1e1b6593238ceadacf386b70f2551_tuple, 3, const_str_plain_prefix ); Py_INCREF( const_str_plain_prefix ); PyTuple_SET_ITEM( const_tuple_9db1e1b6593238ceadacf386b70f2551_tuple, 4, const_str_plain_parts ); Py_INCREF( const_str_plain_parts ); PyTuple_SET_ITEM( const_tuple_9db1e1b6593238ceadacf386b70f2551_tuple, 5, const_str_plain_modules ); Py_INCREF( const_str_plain_modules ); PyTuple_SET_ITEM( const_tuple_9db1e1b6593238ceadacf386b70f2551_tuple, 6, const_str_plain_i ); Py_INCREF( const_str_plain_i ); PyTuple_SET_ITEM( const_tuple_9db1e1b6593238ceadacf386b70f2551_tuple, 7, const_str_plain_part ); Py_INCREF( const_str_plain_part ); const_str_plain_sofar = UNSTREAM_STRING( &constant_bin[ 713992 ], 5, 1 ); PyTuple_SET_ITEM( const_tuple_9db1e1b6593238ceadacf386b70f2551_tuple, 8, const_str_plain_sofar ); Py_INCREF( const_str_plain_sofar ); const_str_digest_2e2d3b80d844457f015c95cbd5a28243 = UNSTREAM_STRING( &constant_bin[ 713997 ], 28, 0 ); const_tuple_str_digest_3f112ff8c4b7043a39a52522bd1ad986_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_3f112ff8c4b7043a39a52522bd1ad986_tuple, 0, const_str_digest_3f112ff8c4b7043a39a52522bd1ad986 ); Py_INCREF( const_str_digest_3f112ff8c4b7043a39a52522bd1ad986 ); const_str_plain_import_ = UNSTREAM_STRING( &constant_bin[ 708057 ], 7, 1 ); const_str_plain__handler = UNSTREAM_STRING( &constant_bin[ 10945 ], 8, 1 ); const_str_digest_f59596a0956797d3ec515593fc38a516 = UNSTREAM_STRING( &constant_bin[ 714025 ], 95, 0 ); const_tuple_str_plain_hook_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_hook_tuple, 0, const_str_plain_hook ); Py_INCREF( const_str_plain_hook ); const_str_plain_module_names = UNSTREAM_STRING( &constant_bin[ 714120 ], 12, 1 ); const_str_plain_modpath = UNSTREAM_STRING( &constant_bin[ 714132 ], 7, 1 ); const_str_digest_6e32d8deb845fd9ea486640e04a8d164 = UNSTREAM_STRING( &constant_bin[ 714139 ], 94, 0 ); const_tuple_str_plain_subfolder_str_plain_folder_tuple = PyTuple_New( 2 ); PyTuple_SET_ITEM( const_tuple_str_plain_subfolder_str_plain_folder_tuple, 0, const_str_plain_subfolder ); Py_INCREF( const_str_plain_subfolder ); const_str_plain_folder = UNSTREAM_STRING( &constant_bin[ 710323 ], 6, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_subfolder_str_plain_folder_tuple, 1, const_str_plain_folder ); Py_INCREF( const_str_plain_folder ); const_str_plain_py2_modules = UNSTREAM_STRING( &constant_bin[ 709133 ], 11, 1 ); const_str_plain_libpasteurize = UNSTREAM_STRING( &constant_bin[ 714233 ], 13, 1 ); const_str_digest_ae2d303da3171b6e0b78df408b96020c = UNSTREAM_STRING( &constant_bin[ 714246 ], 325, 0 ); const_str_digest_595cfeba61911d7bc469b2b5a8129d87 = UNSTREAM_STRING( &constant_bin[ 714571 ], 60, 0 ); const_tuple_str_plain_robotparser_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_robotparser_tuple, 0, const_str_plain_robotparser ); Py_INCREF( const_str_plain_robotparser ); const_tuple_744606ad5ff8fab7980e1ca6d3151cbd_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_744606ad5ff8fab7980e1ca6d3151cbd_tuple, 0, const_str_plain_m ); Py_INCREF( const_str_plain_m ); const_str_plain_stdlib_files = UNSTREAM_STRING( &constant_bin[ 714631 ], 12, 1 ); PyTuple_SET_ITEM( const_tuple_744606ad5ff8fab7980e1ca6d3151cbd_tuple, 1, const_str_plain_stdlib_files ); Py_INCREF( const_str_plain_stdlib_files ); PyTuple_SET_ITEM( const_tuple_744606ad5ff8fab7980e1ca6d3151cbd_tuple, 2, const_str_plain_stdlib_paths ); Py_INCREF( const_str_plain_stdlib_paths ); PyTuple_SET_ITEM( const_tuple_744606ad5ff8fab7980e1ca6d3151cbd_tuple, 3, const_str_plain_modpath ); Py_INCREF( const_str_plain_modpath ); const_tuple_str_digest_7b4b32a5867619d0eba1761109c65483_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_7b4b32a5867619d0eba1761109c65483_tuple, 0, const_str_digest_7b4b32a5867619d0eba1761109c65483 ); Py_INCREF( const_str_digest_7b4b32a5867619d0eba1761109c65483 ); const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list = PyList_New( 14 ); PyList_SET_ITEM( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list, 0, const_str_plain_builtins ); Py_INCREF( const_str_plain_builtins ); PyList_SET_ITEM( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list, 1, const_str_plain_copyreg ); Py_INCREF( const_str_plain_copyreg ); PyList_SET_ITEM( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list, 2, const_str_plain_html ); Py_INCREF( const_str_plain_html ); PyList_SET_ITEM( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list, 3, const_str_plain_http ); Py_INCREF( const_str_plain_http ); PyList_SET_ITEM( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list, 4, const_str_plain_queue ); Py_INCREF( const_str_plain_queue ); PyList_SET_ITEM( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list, 5, const_str_plain_reprlib ); Py_INCREF( const_str_plain_reprlib ); PyList_SET_ITEM( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list, 6, const_str_plain_socketserver ); Py_INCREF( const_str_plain_socketserver ); PyList_SET_ITEM( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list, 7, const_str_plain_test ); Py_INCREF( const_str_plain_test ); PyList_SET_ITEM( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list, 8, const_str_plain_tkinter ); Py_INCREF( const_str_plain_tkinter ); PyList_SET_ITEM( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list, 9, const_str_plain_winreg ); Py_INCREF( const_str_plain_winreg ); const_str_plain_xmlrpc = UNSTREAM_STRING( &constant_bin[ 539864 ], 6, 1 ); PyList_SET_ITEM( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list, 10, const_str_plain_xmlrpc ); Py_INCREF( const_str_plain_xmlrpc ); PyList_SET_ITEM( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list, 11, const_str_plain__dummy_thread ); Py_INCREF( const_str_plain__dummy_thread ); PyList_SET_ITEM( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list, 12, const_str_plain__markupbase ); Py_INCREF( const_str_plain__markupbase ); PyList_SET_ITEM( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list, 13, const_str_plain__thread ); Py_INCREF( const_str_plain__thread ); const_str_plain_stdlib_path = UNSTREAM_STRING( &constant_bin[ 710346 ], 11, 1 ); const_tuple_str_plain_scrub_sys_modules_str_plain_i_str_plain_hook_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_str_plain_scrub_sys_modules_str_plain_i_str_plain_hook_tuple, 0, const_str_plain_scrub_sys_modules ); Py_INCREF( const_str_plain_scrub_sys_modules ); PyTuple_SET_ITEM( const_tuple_str_plain_scrub_sys_modules_str_plain_i_str_plain_hook_tuple, 1, const_str_plain_i ); Py_INCREF( const_str_plain_i ); PyTuple_SET_ITEM( const_tuple_str_plain_scrub_sys_modules_str_plain_i_str_plain_hook_tuple, 2, const_str_plain_hook ); Py_INCREF( const_str_plain_hook ); const_tuple_str_digest_8028085090a93691f9cac8f297908bb5_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_8028085090a93691f9cac8f297908bb5_tuple, 0, const_str_digest_8028085090a93691f9cac8f297908bb5 ); Py_INCREF( const_str_digest_8028085090a93691f9cac8f297908bb5 ); const_str_digest_3476ecfa678762c75c63de204f156f3e = UNSTREAM_STRING( &constant_bin[ 714643 ], 38, 0 ); const_str_plain_from_import = UNSTREAM_STRING( &constant_bin[ 709214 ], 11, 1 ); const_str_plain_BASIC_FORMAT = UNSTREAM_STRING( &constant_bin[ 714681 ], 12, 1 ); const_str_plain_REPLACED_MODULES = UNSTREAM_STRING( &constant_bin[ 714693 ], 16, 1 ); const_str_digest_881becb43757978459ee8914c38f9769 = UNSTREAM_STRING( &constant_bin[ 714709 ], 40, 0 ); const_str_digest_72311ef6383553bdd418d2f8c9ee3f57 = UNSTREAM_STRING( &constant_bin[ 714749 ], 24, 0 ); const_str_plain_exclude_local_folder_imports = UNSTREAM_STRING( &constant_bin[ 710309 ], 28, 1 ); const_list_7a047a2d9d1cef0ced81cb339c7f4fd5_list = PyMarshal_ReadObjectFromString( (char *)&constant_bin[ 714773 ], 910 ); const_str_digest_f75ed7d51f1ebcd25fad37e97be28789 = UNSTREAM_STRING( &constant_bin[ 715683 ], 68, 0 ); const_str_digest_6867fb22d00e80c833defe0e38fc0a70 = UNSTREAM_STRING( &constant_bin[ 715683 ], 56, 0 ); const_str_digest_4d0e902535eaa4d534ad5b2e0c25d9af = UNSTREAM_STRING( &constant_bin[ 715751 ], 346, 0 ); const_str_digest_bcee7f5bdd5d7df180bcd5614ca88502 = UNSTREAM_STRING( &constant_bin[ 716097 ], 37, 0 ); const_str_digest_c599a70f3cf671a8a7cee9919c6e96f8 = UNSTREAM_STRING( &constant_bin[ 716134 ], 22, 0 ); const_tuple_3f7ceadfa131499872fef6cb864390d9_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_3f7ceadfa131499872fef6cb864390d9_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_3f7ceadfa131499872fef6cb864390d9_tuple, 1, const_str_plain_FUTURE_SOURCE_SUBFOLDERS ); Py_INCREF( const_str_plain_FUTURE_SOURCE_SUBFOLDERS ); PyTuple_SET_ITEM( const_tuple_3f7ceadfa131499872fef6cb864390d9_tuple, 2, const_str_plain_folder ); Py_INCREF( const_str_plain_folder ); PyTuple_SET_ITEM( const_tuple_3f7ceadfa131499872fef6cb864390d9_tuple, 3, const_str_plain_m ); Py_INCREF( const_str_plain_m ); PyTuple_SET_ITEM( const_tuple_3f7ceadfa131499872fef6cb864390d9_tuple, 4, const_str_plain_module ); Py_INCREF( const_str_plain_module ); const_str_digest_e09f4c4aa8deaaffb995812f0ebd7f5f = UNSTREAM_STRING( &constant_bin[ 716156 ], 112, 0 ); const_tuple_str_plain_request_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_request_tuple, 0, const_str_plain_request ); Py_INCREF( const_str_plain_request ); const_str_digest_6ea2cdd54dbfe5d0984df2a290ac76a6 = UNSTREAM_STRING( &constant_bin[ 716268 ], 96, 0 ); const_tuple_f5c229e3fb5b4212fc50c5f4d7516529_tuple = PyTuple_New( 5 ); PyTuple_SET_ITEM( const_tuple_f5c229e3fb5b4212fc50c5f4d7516529_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_f5c229e3fb5b4212fc50c5f4d7516529_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name ); PyTuple_SET_ITEM( const_tuple_f5c229e3fb5b4212fc50c5f4d7516529_tuple, 2, const_str_plain_path ); Py_INCREF( const_str_plain_path ); const_str_plain_oldname = UNSTREAM_STRING( &constant_bin[ 716364 ], 7, 1 ); PyTuple_SET_ITEM( const_tuple_f5c229e3fb5b4212fc50c5f4d7516529_tuple, 3, const_str_plain_oldname ); Py_INCREF( const_str_plain_oldname ); PyTuple_SET_ITEM( const_tuple_f5c229e3fb5b4212fc50c5f4d7516529_tuple, 4, const_str_plain_module ); Py_INCREF( const_str_plain_module ); const_str_digest_dc2a3fb82a87c71cb05b07c4e43e4f17 = UNSTREAM_STRING( &constant_bin[ 716371 ], 9, 0 ); const_str_plain_flog = UNSTREAM_STRING( &constant_bin[ 716380 ], 4, 1 ); const_str_digest_b01481b34eca668fadfe4645bbb14929 = UNSTREAM_STRING( &constant_bin[ 716384 ], 14, 0 ); const_str_plain_scrub_py2_sys_modules = UNSTREAM_STRING( &constant_bin[ 716398 ], 21, 1 ); const_tuple_str_digest_7d1a9e12941c4d469bb127e7ad6a37d1_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_7d1a9e12941c4d469bb127e7ad6a37d1_tuple, 0, const_str_digest_7d1a9e12941c4d469bb127e7ad6a37d1 ); Py_INCREF( const_str_digest_7d1a9e12941c4d469bb127e7ad6a37d1 ); const_list_str_digest_6867fb22d00e80c833defe0e38fc0a70_list = PyList_New( 1 ); PyList_SET_ITEM( const_list_str_digest_6867fb22d00e80c833defe0e38fc0a70_list, 0, const_str_digest_6867fb22d00e80c833defe0e38fc0a70 ); Py_INCREF( const_str_digest_6867fb22d00e80c833defe0e38fc0a70 ); const_str_digest_cf7ad829be5bef7d1e655aeeddc8b562 = UNSTREAM_STRING( &constant_bin[ 716419 ], 22, 0 ); const_list_1186e5f4b73fb5ab5be11cf19c672bca_list = PyList_New( 5 ); PyList_SET_ITEM( const_list_1186e5f4b73fb5ab5be11cf19c672bca_list, 0, const_str_plain_future ); Py_INCREF( const_str_plain_future ); PyList_SET_ITEM( const_list_1186e5f4b73fb5ab5be11cf19c672bca_list, 1, const_str_plain_past ); Py_INCREF( const_str_plain_past ); PyList_SET_ITEM( const_list_1186e5f4b73fb5ab5be11cf19c672bca_list, 2, const_str_plain_libfuturize ); Py_INCREF( const_str_plain_libfuturize ); PyList_SET_ITEM( const_list_1186e5f4b73fb5ab5be11cf19c672bca_list, 3, const_str_plain_libpasteurize ); Py_INCREF( const_str_plain_libpasteurize ); PyList_SET_ITEM( const_list_1186e5f4b73fb5ab5be11cf19c672bca_list, 4, const_str_plain_builtins ); Py_INCREF( const_str_plain_builtins ); const_tuple_str_digest_dc2a3fb82a87c71cb05b07c4e43e4f17_tuple = PyTuple_New( 1 ); PyTuple_SET_ITEM( const_tuple_str_digest_dc2a3fb82a87c71cb05b07c4e43e4f17_tuple, 0, const_str_digest_dc2a3fb82a87c71cb05b07c4e43e4f17 ); Py_INCREF( const_str_digest_dc2a3fb82a87c71cb05b07c4e43e4f17 ); const_str_plain_scrub_future_sys_modules = UNSTREAM_STRING( &constant_bin[ 716441 ], 24, 1 ); const_str_plain_builtin_module_names = UNSTREAM_STRING( &constant_bin[ 716465 ], 20, 1 ); const_str_digest_6e897f4d759ca3084c6654f18615eabe = UNSTREAM_STRING( &constant_bin[ 716485 ], 15, 0 ); const_str_plain_WARN = UNSTREAM_STRING( &constant_bin[ 103394 ], 4, 1 ); const_tuple_239b77bdc2be44a28a0f8f64b08b6ae5_tuple = PyTuple_New( 7 ); PyTuple_SET_ITEM( const_tuple_239b77bdc2be44a28a0f8f64b08b6ae5_tuple, 0, const_str_plain_module_name ); Py_INCREF( const_str_plain_module_name ); PyTuple_SET_ITEM( const_tuple_239b77bdc2be44a28a0f8f64b08b6ae5_tuple, 1, const_str_plain_symbol_names ); Py_INCREF( const_str_plain_symbol_names ); PyTuple_SET_ITEM( const_tuple_239b77bdc2be44a28a0f8f64b08b6ae5_tuple, 2, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); PyTuple_SET_ITEM( const_tuple_239b77bdc2be44a28a0f8f64b08b6ae5_tuple, 3, const_str_plain_prefix ); Py_INCREF( const_str_plain_prefix ); PyTuple_SET_ITEM( const_tuple_239b77bdc2be44a28a0f8f64b08b6ae5_tuple, 4, const_str_plain_parts ); Py_INCREF( const_str_plain_parts ); PyTuple_SET_ITEM( const_tuple_239b77bdc2be44a28a0f8f64b08b6ae5_tuple, 5, const_str_plain_module ); Py_INCREF( const_str_plain_module ); PyTuple_SET_ITEM( const_tuple_239b77bdc2be44a28a0f8f64b08b6ae5_tuple, 6, const_str_plain_output ); Py_INCREF( const_str_plain_output ); const_tuple_fe5ceee4f622f37fa1a78eca927dade2_tuple = PyTuple_New( 3 ); PyTuple_SET_ITEM( const_tuple_fe5ceee4f622f37fa1a78eca927dade2_tuple, 0, const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); Py_INCREF( const_str_digest_b9c4baf879ebd882d40843df3a4dead7 ); PyTuple_SET_ITEM( const_tuple_fe5ceee4f622f37fa1a78eca927dade2_tuple, 1, const_str_plain_old ); Py_INCREF( const_str_plain_old ); PyTuple_SET_ITEM( const_tuple_fe5ceee4f622f37fa1a78eca927dade2_tuple, 2, const_str_plain_new ); Py_INCREF( const_str_plain_new ); const_str_plain_restore_sys_modules = UNSTREAM_STRING( &constant_bin[ 716500 ], 19, 1 ); const_str_digest_7597c7e1e9cdfb05eba20c084181a0d1 = UNSTREAM_STRING( &constant_bin[ 716519 ], 67, 0 ); const_str_plain_old_sys_modules = UNSTREAM_STRING( &constant_bin[ 716586 ], 15, 1 ); const_str_digest_f1c144b5501e244564c9a365c5679846 = UNSTREAM_STRING( &constant_bin[ 716601 ], 23, 0 ); const_str_plain_disable_hooks = UNSTREAM_STRING( &constant_bin[ 716624 ], 13, 1 ); const_str_digest_b3548188c09b5d1b7bf22c337a5d6d7b = UNSTREAM_STRING( &constant_bin[ 716637 ], 88, 0 ); const_str_digest_7dfdaea576fcd6c1f67c6e327c4b9df9 = UNSTREAM_STRING( &constant_bin[ 716725 ], 156, 0 ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_future$standard_library( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_8984f9bdb82c9e1f4ebc7826161f4398; static PyCodeObject *codeobj_e2a498e1215be71a288f7071b64e7dad; static PyCodeObject *codeobj_b5b1b82b5cc105b1d2aa5f2aa3710336; static PyCodeObject *codeobj_55217ee989bc861161a81f4fc8c92960; static PyCodeObject *codeobj_e7cf459b330c2d165fa2321d8e76872a; static PyCodeObject *codeobj_5415fc773e32c8448566f4db08293e04; static PyCodeObject *codeobj_75d2d175cba028bbd1b7643bb0ed3880; static PyCodeObject *codeobj_93d3f9ca675dda43b5c7e0c836fbb4de; static PyCodeObject *codeobj_8895add06b517282664de7626d954346; static PyCodeObject *codeobj_a266c4900df50d337159e374ad5758a0; static PyCodeObject *codeobj_aa1b6d28bdc019d1a79311b622027eab; static PyCodeObject *codeobj_9a48dd10d1780d3c01a08596178be506; static PyCodeObject *codeobj_6403cb0a5ea8f1fb997eacd227722fe5; static PyCodeObject *codeobj_55dac2672c630d794d63e264ffcc931e; static PyCodeObject *codeobj_fa6ffd5486f0af73b511d8e5fa8ce466; static PyCodeObject *codeobj_3ff92466c57a78bcae7041631ce6e856; static PyCodeObject *codeobj_95e89b449f97e18073ae3c099eb1c12c; static PyCodeObject *codeobj_2a12bec893cccea951b693b69dfa72ff; static PyCodeObject *codeobj_1d183ed5d1f8956c033f05375dbea4ee; static PyCodeObject *codeobj_16f21dff16d8f28a85bfe15662fc510a; static PyCodeObject *codeobj_51f4b8aa248c14e7f883ab3799141e85; static PyCodeObject *codeobj_8105067314b708448f190893d909d8c1; static PyCodeObject *codeobj_706b72b49c3ce1113ee23c097afcf65d; static PyCodeObject *codeobj_b837bc93e7c43b6c6366dc2f48f049c1; static PyCodeObject *codeobj_39701b9bb67f9897e436d28620746cc4; static PyCodeObject *codeobj_61fbdbe41faa5fa87c04834cb209eaea; static PyCodeObject *codeobj_7b18d4e2a39bb54f2936b3ce935d20ed; static PyCodeObject *codeobj_4d94107aeff80912dd78e3d529732024; static PyCodeObject *codeobj_856bd4c1a9616550b8e4028d70896389; static PyCodeObject *codeobj_776afb37938f0cbe2e3fc84bc2c964e0; static PyCodeObject *codeobj_d28726f9fb4f577b4289904cc67dd979; static PyCodeObject *codeobj_e30cbb8bfb3b092466e6007ed8660bad; static PyCodeObject *codeobj_3bcae0f155a8ea7dfe5c307a4dfc190e; static PyCodeObject *codeobj_576b56500ce1dcd14e1ee37fb4a89681; static PyCodeObject *codeobj_241473d3c8c699aa7b58939c56be6f0c; static PyCodeObject *codeobj_ab8dd0a002f8c1f754170bc2f157b684; static PyCodeObject *codeobj_f0314d9bd7da0c1e88f0d3467e3c995d; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_f75ed7d51f1ebcd25fad37e97be28789; codeobj_8984f9bdb82c9e1f4ebc7826161f4398 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_genexpr, 253, const_tuple_fe5ceee4f622f37fa1a78eca927dade2_tuple, 1, 0, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e2a498e1215be71a288f7071b64e7dad = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 257, const_tuple_str_plain_s_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_b5b1b82b5cc105b1d2aa5f2aa3710336 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 349, const_tuple_str_plain_f_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_55217ee989bc861161a81f4fc8c92960 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 582, const_tuple_str_plain_hook_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e7cf459b330c2d165fa2321d8e76872a = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 730, const_tuple_str_plain_name_str_plain_module_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_5415fc773e32c8448566f4db08293e04 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 750, const_tuple_str_plain_m_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_75d2d175cba028bbd1b7643bb0ed3880 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 764, const_tuple_str_plain_subfolder_str_plain_folder_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_93d3f9ca675dda43b5c7e0c836fbb4de = MAKE_CODEOBJ( module_filename_obj, const_str_digest_9b08f79feae957fbb5aeadaa443bf12d, 1, const_tuple_empty, 0, 0, CO_NOFREE ); codeobj_8895add06b517282664de7626d954346 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_RenameImport, 232, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_a266c4900df50d337159e374ad5758a0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___enter__, 319, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_aa1b6d28bdc019d1a79311b622027eab = MAKE_CODEOBJ( module_filename_obj, const_str_plain___enter__, 415, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_9a48dd10d1780d3c01a08596178be506 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___enter__, 753, const_tuple_3f7ceadfa131499872fef6cb864390d9_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_6403cb0a5ea8f1fb997eacd227722fe5 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___exit__, 327, const_tuple_str_plain_self_str_plain_args_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE ); codeobj_55dac2672c630d794d63e264ffcc931e = MAKE_CODEOBJ( module_filename_obj, const_str_plain___exit__, 421, const_tuple_str_plain_self_str_plain_args_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE ); codeobj_fa6ffd5486f0af73b511d8e5fa8ce466 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___exit__, 785, const_tuple_str_plain_self_str_plain_args_str_plain_m_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE ); codeobj_3ff92466c57a78bcae7041631ce6e856 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 243, const_tuple_str_plain_self_str_plain_old_to_new_str_plain_both_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_95e89b449f97e18073ae3c099eb1c12c = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 746, const_tuple_str_plain_self_str_plain_args_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_NOFREE ); codeobj_2a12bec893cccea951b693b69dfa72ff = MAKE_CODEOBJ( module_filename_obj, const_str_plain__find_and_load_module, 278, const_tuple_bd7d04b74c235d578f069128ce6d411a_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_1d183ed5d1f8956c033f05375dbea4ee = MAKE_CODEOBJ( module_filename_obj, const_str_plain_cache_py2_modules, 598, const_tuple_str_plain_urllib_str_plain_email_str_plain_pickle_tuple, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_16f21dff16d8f28a85bfe15662fc510a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_detect_hooks, 577, const_tuple_str_plain_present_tuple, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_51f4b8aa248c14e7f883ab3799141e85 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_disable_hooks, 569, const_tuple_empty, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_8105067314b708448f190893d909d8c1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_enable_hooks, 541, const_tuple_empty, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_706b72b49c3ce1113ee23c097afcf65d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_exclude_local_folder_imports, 737, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_b837bc93e7c43b6c6366dc2f48f049c1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_find_module, 255, const_tuple_48c49316c7c160f08053a93b56c7ca07_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_39701b9bb67f9897e436d28620746cc4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_from_import, 699, const_tuple_239b77bdc2be44a28a0f8f64b08b6ae5_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_61fbdbe41faa5fa87c04834cb209eaea = MAKE_CODEOBJ( module_filename_obj, const_str_plain_hooks, 302, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_7b18d4e2a39bb54f2936b3ce935d20ed = MAKE_CODEOBJ( module_filename_obj, const_str_plain_import_, 626, const_tuple_9db1e1b6593238ceadacf386b70f2551_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_4d94107aeff80912dd78e3d529732024 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_import_top_level_modules, 807, const_tuple_str_plain_m_tuple, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_856bd4c1a9616550b8e4028d70896389 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_install_aliases, 441, const_tuple_917646246f906d200c3218fc9feb5ec3_tuple, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_776afb37938f0cbe2e3fc84bc2c964e0 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_install_hooks, 521, const_tuple_str_plain_newhook_tuple, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_d28726f9fb4f577b4289904cc67dd979 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_is_py2_stdlib_module, 340, const_tuple_744606ad5ff8fab7980e1ca6d3151cbd_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_e30cbb8bfb3b092466e6007ed8660bad = MAKE_CODEOBJ( module_filename_obj, const_str_plain_load_module, 263, const_tuple_f5c229e3fb5b4212fc50c5f4d7516529_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_3bcae0f155a8ea7dfe5c307a4dfc190e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_remove_hooks, 549, const_tuple_str_plain_scrub_sys_modules_str_plain_i_str_plain_hook_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_576b56500ce1dcd14e1ee37fb4a89681 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_restore_sys_modules, 427, const_tuple_str_plain_scrubbed_str_plain_clash_str_plain_first_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_241473d3c8c699aa7b58939c56be6f0c = MAKE_CODEOBJ( module_filename_obj, const_str_plain_scrub_future_sys_modules, 395, const_tuple_empty, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_ab8dd0a002f8c1f754170bc2f157b684 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_scrub_py2_sys_modules, 370, const_tuple_str_plain_scrubbed_str_plain_modulename_str_plain_module_tuple, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_f0314d9bd7da0c1e88f0d3467e3c995d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_suspend_hooks, 401, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); } // The module function declarations. static PyObject *future$standard_library$$$function_1___init__$$$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_9_complex_call_helper_pos_star_list( PyObject **python_pars ); NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_2_complex_call_helper_star_list( PyObject **python_pars ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_10___enter__( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_11___exit__( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_12_restore_sys_modules( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_13_install_aliases( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_14_install_hooks( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_15_enable_hooks( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_16_remove_hooks( PyObject *defaults ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_17_disable_hooks( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_18_detect_hooks( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_19_cache_py2_modules( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_1___init__( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_20_import_( PyObject *defaults ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_21_from_import( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_22___init__( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_23___enter__( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_24___exit__( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_25_import_top_level_modules( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_2_find_module( PyObject *defaults ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_3_load_module( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_4__find_and_load_module( PyObject *defaults ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_5___enter__( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_6___exit__( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_7_is_py2_stdlib_module( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_8_scrub_py2_sys_modules( ); static PyObject *MAKE_FUNCTION_future$standard_library$$$function_9_scrub_future_sys_modules( ); // The module function definitions. static PyObject *impl_future$standard_library$$$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_old_to_new = python_pars[ 1 ]; PyObject *var_both = NULL; PyObject *tmp_genexpr_1__$0 = NULL; struct Nuitka_FrameObject *frame_3ff92466c57a78bcae7041631ce6e856; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; static struct Nuitka_FrameObject *cache_frame_3ff92466c57a78bcae7041631ce6e856 = 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_3ff92466c57a78bcae7041631ce6e856, codeobj_3ff92466c57a78bcae7041631ce6e856, module_future$standard_library, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_3ff92466c57a78bcae7041631ce6e856 = cache_frame_3ff92466c57a78bcae7041631ce6e856; // Push the new frame as the currently active one. pushFrameStack( frame_3ff92466c57a78bcae7041631ce6e856 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_3ff92466c57a78bcae7041631ce6e856 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( par_old_to_new ); tmp_assattr_name_1 = par_old_to_new; CHECK_OBJECT( par_self ); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_old_to_new, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 248; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_1; PyObject *tmp_left_name_1; PyObject *tmp_set_arg_1; PyObject *tmp_called_instance_1; PyObject *tmp_right_name_1; PyObject *tmp_set_arg_2; PyObject *tmp_called_instance_2; if ( par_old_to_new == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "old_to_new" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 249; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_old_to_new; frame_3ff92466c57a78bcae7041631ce6e856->m_frame.f_lineno = 249; tmp_set_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_keys ); if ( tmp_set_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 249; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_1 = PySet_New( tmp_set_arg_1 ); Py_DECREF( tmp_set_arg_1 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 249; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_old_to_new == NULL ) { Py_DECREF( tmp_left_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "old_to_new" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 249; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_old_to_new; frame_3ff92466c57a78bcae7041631ce6e856->m_frame.f_lineno = 249; tmp_set_arg_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_values ); if ( tmp_set_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 249; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_right_name_1 = PySet_New( tmp_set_arg_2 ); Py_DECREF( tmp_set_arg_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 249; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = BINARY_OPERATION( PyNumber_And, tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 249; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_both == NULL ); var_both = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; int tmp_and_left_truth_1; PyObject *tmp_and_left_value_1; PyObject *tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_len_arg_2; PyObject *tmp_set_arg_3; PyObject *tmp_called_instance_3; PyObject *tmp_len_arg_3; PyObject *tmp_called_instance_4; CHECK_OBJECT( var_both ); tmp_len_arg_1 = var_both; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 250; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_0; tmp_and_left_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_and_left_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 250; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_and_left_truth_1 = CHECK_IF_TRUE( tmp_and_left_value_1 ); if ( tmp_and_left_truth_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_and_left_value_1 ); exception_lineno = 251; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; Py_DECREF( tmp_and_left_value_1 ); if ( par_old_to_new == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "old_to_new" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 251; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_3 = par_old_to_new; frame_3ff92466c57a78bcae7041631ce6e856->m_frame.f_lineno = 251; tmp_set_arg_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_values ); if ( tmp_set_arg_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 251; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_len_arg_2 = PySet_New( tmp_set_arg_3 ); Py_DECREF( tmp_set_arg_3 ); if ( tmp_len_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 251; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = BUILTIN_LEN( tmp_len_arg_2 ); Py_DECREF( tmp_len_arg_2 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 251; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_old_to_new == NULL ) { Py_DECREF( tmp_compexpr_left_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "old_to_new" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 251; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_4 = par_old_to_new; frame_3ff92466c57a78bcae7041631ce6e856->m_frame.f_lineno = 251; tmp_len_arg_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_4, const_str_plain_values ); if ( tmp_len_arg_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_2 ); exception_lineno = 251; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = BUILTIN_LEN( tmp_len_arg_3 ); Py_DECREF( tmp_len_arg_3 ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_2 ); exception_lineno = 251; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = RICH_COMPARE_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_right_2 ); if ( tmp_and_right_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 251; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_operand_name_1 = tmp_and_left_value_1; and_end_1:; tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 250; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; PyObject *tmp_raise_value_1; tmp_raise_type_1 = PyExc_AssertionError; tmp_raise_value_1 = const_tuple_str_digest_8028085090a93691f9cac8f297908bb5_tuple; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_value = tmp_raise_value_1; Py_INCREF( tmp_raise_value_1 ); exception_lineno = 250; RAISE_EXCEPTION_WITH_VALUE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assattr_name_2; PyObject *tmp_dict_seq_1; PyObject *tmp_assattr_target_2; { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_called_instance_5; if ( par_old_to_new == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "old_to_new" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 253; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_5 = par_old_to_new; frame_3ff92466c57a78bcae7041631ce6e856->m_frame.f_lineno = 253; tmp_iter_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_5, const_str_plain_items ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 253; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 253; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( tmp_genexpr_1__$0 == NULL ); tmp_genexpr_1__$0 = tmp_assign_source_2; } { // Tried code: { tmp_dict_seq_1 = future$standard_library$$$function_1___init__$$$genexpr_1_genexpr_maker(); ((struct Nuitka_GeneratorObject *)tmp_dict_seq_1)->m_closure[0] = PyCell_NEW0( tmp_genexpr_1__$0 ); goto try_return_handler_2; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_1___init__ ); 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( future$standard_library$$$function_1___init__ ); return NULL; outline_result_1:; tmp_assattr_name_2 = TO_DICT( tmp_dict_seq_1, NULL ); Py_DECREF( tmp_dict_seq_1 ); if ( tmp_assattr_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 253; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 253; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_new_to_old, tmp_assattr_name_2 ); Py_DECREF( tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 253; type_description_1 = "ooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_3ff92466c57a78bcae7041631ce6e856 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3ff92466c57a78bcae7041631ce6e856 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_3ff92466c57a78bcae7041631ce6e856, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_3ff92466c57a78bcae7041631ce6e856->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_3ff92466c57a78bcae7041631ce6e856, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_3ff92466c57a78bcae7041631ce6e856, type_description_1, par_self, par_old_to_new, var_both ); // Release cached frame. if ( frame_3ff92466c57a78bcae7041631ce6e856 == cache_frame_3ff92466c57a78bcae7041631ce6e856 ) { Py_DECREF( frame_3ff92466c57a78bcae7041631ce6e856 ); } cache_frame_3ff92466c57a78bcae7041631ce6e856 = NULL; assertFrameObject( frame_3ff92466c57a78bcae7041631ce6e856 ); // 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( future$standard_library$$$function_1___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_old_to_new ); par_old_to_new = NULL; } { Py_XDECREF( var_both ); var_both = 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_old_to_new ); par_old_to_new = NULL; } { Py_XDECREF( var_both ); var_both = 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( future$standard_library$$$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; } struct future$standard_library$$$function_1___init__$$$genexpr_1_genexpr_locals { PyObject *var_old; PyObject *var_new; 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 *future$standard_library$$$function_1___init__$$$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 future$standard_library$$$function_1___init__$$$genexpr_1_genexpr_locals *generator_heap = (struct future$standard_library$$$function_1___init__$$$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_old = NULL; generator_heap->var_new = 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_8984f9bdb82c9e1f4ebc7826161f4398, module_future$standard_library, 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 = 253; 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 = 253; 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 = 253; 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 = 253; 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 = 253; 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 = 253; 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_old; generator_heap->var_old = tmp_assign_source_5; Py_INCREF( generator_heap->var_old ); 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_new; generator_heap->var_new = tmp_assign_source_6; Py_INCREF( generator_heap->var_new ); 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; if ( generator_heap->var_new == 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", "new" ); 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 = 253; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } tmp_tuple_element_1 = generator_heap->var_new; 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_old == 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", "old" ); 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 = 253; generator_heap->type_description_1 = "Noo"; goto try_except_handler_2; } tmp_tuple_element_1 = generator_heap->var_old; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_expression_name_1, 1, tmp_tuple_element_1 ); Nuitka_PreserveHeap( generator_heap->yield_tmps, &tmp_tuple_element_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 *), 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 = 253; 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 = 253; 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_old, generator_heap->var_new ); // 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_old ); generator_heap->var_old = NULL; } { Py_XDECREF( generator_heap->var_new ); generator_heap->var_new = 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_old ); generator_heap->var_old = NULL; } { Py_XDECREF( generator_heap->var_new ); generator_heap->var_new = 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 *future$standard_library$$$function_1___init__$$$genexpr_1_genexpr_maker( void ) { return Nuitka_Generator_New( future$standard_library$$$function_1___init__$$$genexpr_1_genexpr_context, module_future$standard_library, const_str_angle_genexpr, #if PYTHON_VERSION >= 350 const_str_digest_c0556f2e3723bb22c86cf930d3abe094, #endif codeobj_8984f9bdb82c9e1f4ebc7826161f4398, 1, sizeof(struct future$standard_library$$$function_1___init__$$$genexpr_1_genexpr_locals) ); } static PyObject *impl_future$standard_library$$$function_2_find_module( 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_fullname = python_pars[ 1 ]; PyObject *par_path = python_pars[ 2 ]; PyObject *var_new_base_names = NULL; PyObject *outline_0_var_s = NULL; PyObject *tmp_listcomp_1__$0 = NULL; PyObject *tmp_listcomp_1__contraction = NULL; PyObject *tmp_listcomp_1__iter_value_0 = NULL; struct Nuitka_FrameObject *frame_b837bc93e7c43b6c6366dc2f48f049c1; 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; struct Nuitka_FrameObject *frame_e2a498e1215be71a288f7071b64e7dad_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; int tmp_res; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; static struct Nuitka_FrameObject *cache_frame_e2a498e1215be71a288f7071b64e7dad_2 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_b837bc93e7c43b6c6366dc2f48f049c1 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_b837bc93e7c43b6c6366dc2f48f049c1, codeobj_b837bc93e7c43b6c6366dc2f48f049c1, module_future$standard_library, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_b837bc93e7c43b6c6366dc2f48f049c1 = cache_frame_b837bc93e7c43b6c6366dc2f48f049c1; // Push the new frame as the currently active one. pushFrameStack( frame_b837bc93e7c43b6c6366dc2f48f049c1 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_b837bc93e7c43b6c6366dc2f48f049c1 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_set_arg_1; { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_iter_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_new_to_old ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 257; type_description_1 = "oooo"; goto try_except_handler_2; } tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 257; type_description_1 = "oooo"; goto try_except_handler_2; } assert( tmp_listcomp_1__$0 == NULL ); tmp_listcomp_1__$0 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = PyList_New( 0 ); assert( tmp_listcomp_1__contraction == NULL ); tmp_listcomp_1__contraction = tmp_assign_source_3; } MAKE_OR_REUSE_FRAME( cache_frame_e2a498e1215be71a288f7071b64e7dad_2, codeobj_e2a498e1215be71a288f7071b64e7dad, module_future$standard_library, sizeof(void *) ); frame_e2a498e1215be71a288f7071b64e7dad_2 = cache_frame_e2a498e1215be71a288f7071b64e7dad_2; // Push the new frame as the currently active one. pushFrameStack( frame_e2a498e1215be71a288f7071b64e7dad_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e2a498e1215be71a288f7071b64e7dad_2 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_listcomp_1__$0 ); tmp_next_source_1 = tmp_listcomp_1__$0; tmp_assign_source_4 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_4 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_2 = "o"; exception_lineno = 257; goto try_except_handler_3; } } { PyObject *old = tmp_listcomp_1__iter_value_0; tmp_listcomp_1__iter_value_0 = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_listcomp_1__iter_value_0 ); tmp_assign_source_5 = tmp_listcomp_1__iter_value_0; { PyObject *old = outline_0_var_s; outline_0_var_s = tmp_assign_source_5; Py_INCREF( outline_0_var_s ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_called_instance_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_append_list_1 = tmp_listcomp_1__contraction; CHECK_OBJECT( outline_0_var_s ); tmp_called_instance_1 = outline_0_var_s; frame_e2a498e1215be71a288f7071b64e7dad_2->m_frame.f_lineno = 257; tmp_subscribed_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_dot_tuple, 0 ) ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 257; type_description_2 = "o"; goto try_except_handler_3; } tmp_subscript_name_1 = const_int_0; tmp_append_value_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_append_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 257; type_description_2 = "o"; goto try_except_handler_3; } assert( PyList_Check( tmp_append_list_1 ) ); tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 ); Py_DECREF( tmp_append_value_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 257; type_description_2 = "o"; goto try_except_handler_3; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 257; type_description_2 = "o"; goto try_except_handler_3; } goto loop_start_1; loop_end_1:; } { CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_set_arg_1 = tmp_listcomp_1__contraction; Py_INCREF( tmp_set_arg_1 ); goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_2_find_module ); return NULL; // Return handler code: try_return_handler_3:; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { goto frame_return_exit_2; } // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_2; } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_e2a498e1215be71a288f7071b64e7dad_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e2a498e1215be71a288f7071b64e7dad_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_2; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e2a498e1215be71a288f7071b64e7dad_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e2a498e1215be71a288f7071b64e7dad_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e2a498e1215be71a288f7071b64e7dad_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e2a498e1215be71a288f7071b64e7dad_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e2a498e1215be71a288f7071b64e7dad_2, type_description_2, outline_0_var_s ); // Release cached frame. if ( frame_e2a498e1215be71a288f7071b64e7dad_2 == cache_frame_e2a498e1215be71a288f7071b64e7dad_2 ) { Py_DECREF( frame_e2a498e1215be71a288f7071b64e7dad_2 ); } cache_frame_e2a498e1215be71a288f7071b64e7dad_2 = NULL; assertFrameObject( frame_e2a498e1215be71a288f7071b64e7dad_2 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; type_description_1 = "oooo"; goto try_except_handler_2; skip_nested_handling_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_2_find_module ); return NULL; // Return handler code: try_return_handler_2:; { Py_XDECREF( outline_0_var_s ); outline_0_var_s = NULL; } { goto outline_result_1; } // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( outline_0_var_s ); outline_0_var_s = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_2_find_module ); return NULL; outline_exception_1:; exception_lineno = 257; goto frame_exception_exit_1; outline_result_1:; tmp_assign_source_1 = PySet_New( tmp_set_arg_1 ); Py_DECREF( tmp_set_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 257; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_new_base_names == NULL ); var_new_base_names = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( par_fullname == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "fullname" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 259; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = par_fullname; CHECK_OBJECT( var_new_base_names ); tmp_compexpr_right_1 = var_new_base_names; tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 259; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 260; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_return_value = par_self; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_b837bc93e7c43b6c6366dc2f48f049c1 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b837bc93e7c43b6c6366dc2f48f049c1 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b837bc93e7c43b6c6366dc2f48f049c1 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_b837bc93e7c43b6c6366dc2f48f049c1, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_b837bc93e7c43b6c6366dc2f48f049c1->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_b837bc93e7c43b6c6366dc2f48f049c1, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_b837bc93e7c43b6c6366dc2f48f049c1, type_description_1, par_self, par_fullname, par_path, var_new_base_names ); // Release cached frame. if ( frame_b837bc93e7c43b6c6366dc2f48f049c1 == cache_frame_b837bc93e7c43b6c6366dc2f48f049c1 ) { Py_DECREF( frame_b837bc93e7c43b6c6366dc2f48f049c1 ); } cache_frame_b837bc93e7c43b6c6366dc2f48f049c1 = NULL; assertFrameObject( frame_b837bc93e7c43b6c6366dc2f48f049c1 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_2:; { 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( future$standard_library$$$function_2_find_module ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_fullname ); par_fullname = NULL; } { Py_XDECREF( par_path ); par_path = NULL; } { Py_XDECREF( var_new_base_names ); var_new_base_names = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_fullname ); par_fullname = NULL; } { Py_XDECREF( par_path ); par_path = NULL; } { Py_XDECREF( var_new_base_names ); var_new_base_names = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_2_find_module ); 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_future$standard_library$$$function_3_load_module( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *var_oldname = NULL; PyObject *var_module = NULL; struct Nuitka_FrameObject *frame_e30cbb8bfb3b092466e6007ed8660bad; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_return_value = NULL; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_e30cbb8bfb3b092466e6007ed8660bad = 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_e30cbb8bfb3b092466e6007ed8660bad, codeobj_e30cbb8bfb3b092466e6007ed8660bad, module_future$standard_library, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_e30cbb8bfb3b092466e6007ed8660bad = cache_frame_e30cbb8bfb3b092466e6007ed8660bad; // Push the new frame as the currently active one. pushFrameStack( frame_e30cbb8bfb3b092466e6007ed8660bad ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e30cbb8bfb3b092466e6007ed8660bad ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; CHECK_OBJECT( par_name ); tmp_compexpr_left_1 = par_name; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 265; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_modules ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 265; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 265; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_subscript_name_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 266; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_modules ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 266; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_subscribed_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 266; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = par_name; tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 266; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_3; if ( par_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 267; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = par_name; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 267; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_self; tmp_compexpr_right_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_new_to_old ); if ( tmp_compexpr_right_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 267; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_res = PySequence_Contains( tmp_compexpr_right_2, tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 267; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_source_name_4; PyObject *tmp_subscript_name_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 269; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_self; tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_new_to_old ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 269; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } if ( par_name == 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", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 269; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_subscript_name_2 = par_name; tmp_assign_source_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 269; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } assert( var_oldname == NULL ); var_oldname = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_5; PyObject *tmp_args_element_name_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 270; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain__find_and_load_module ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 270; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } if ( var_oldname == 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", "oldname" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 270; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = var_oldname; frame_e30cbb8bfb3b092466e6007ed8660bad->m_frame.f_lineno = 270; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 270; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } assert( var_module == NULL ); var_module = tmp_assign_source_2; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_2; PyObject *tmp_source_name_6; PyObject *tmp_args_element_name_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 273; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain__find_and_load_module ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 273; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 273; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_name; frame_e30cbb8bfb3b092466e6007ed8660bad->m_frame.f_lineno = 273; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 273; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } { PyObject *old = var_module; var_module = tmp_assign_source_3; Py_XDECREF( old ); } } branch_end_2:; } branch_end_1:; } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_source_name_7; PyObject *tmp_mvar_value_3; PyObject *tmp_ass_subscript_1; if ( var_module == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "module" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 275; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_ass_subvalue_1 = var_module; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 275; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_source_name_7 = tmp_mvar_value_3; tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_modules ); if ( tmp_ass_subscribed_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 275; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_ass_subscribed_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 275; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_ass_subscript_1 = par_name; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subscribed_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 275; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } } { if ( var_module == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "module" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 276; type_description_1 = "ooNoo"; goto frame_exception_exit_1; } tmp_return_value = var_module; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_e30cbb8bfb3b092466e6007ed8660bad ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e30cbb8bfb3b092466e6007ed8660bad ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e30cbb8bfb3b092466e6007ed8660bad ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e30cbb8bfb3b092466e6007ed8660bad, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e30cbb8bfb3b092466e6007ed8660bad->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e30cbb8bfb3b092466e6007ed8660bad, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e30cbb8bfb3b092466e6007ed8660bad, type_description_1, par_self, par_name, NULL, var_oldname, var_module ); // Release cached frame. if ( frame_e30cbb8bfb3b092466e6007ed8660bad == cache_frame_e30cbb8bfb3b092466e6007ed8660bad ) { Py_DECREF( frame_e30cbb8bfb3b092466e6007ed8660bad ); } cache_frame_e30cbb8bfb3b092466e6007ed8660bad = NULL; assertFrameObject( frame_e30cbb8bfb3b092466e6007ed8660bad ); // 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( future$standard_library$$$function_3_load_module ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( var_oldname ); var_oldname = NULL; } { Py_XDECREF( var_module ); var_module = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( var_oldname ); var_oldname = NULL; } { Py_XDECREF( var_module ); var_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 function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_3_load_module ); 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_future$standard_library$$$function_4__find_and_load_module( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_name = python_pars[ 1 ]; PyObject *par_path = python_pars[ 2 ]; PyObject *var_bits = NULL; PyObject *var_packagename = NULL; PyObject *var_package = NULL; PyObject *var_module_info = NULL; struct Nuitka_FrameObject *frame_2a12bec893cccea951b693b69dfa72ff; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *tmp_return_value = NULL; bool tmp_result; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; static struct Nuitka_FrameObject *cache_frame_2a12bec893cccea951b693b69dfa72ff = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_2a12bec893cccea951b693b69dfa72ff, codeobj_2a12bec893cccea951b693b69dfa72ff, module_future$standard_library, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_2a12bec893cccea951b693b69dfa72ff = cache_frame_2a12bec893cccea951b693b69dfa72ff; // Push the new frame as the currently active one. pushFrameStack( frame_2a12bec893cccea951b693b69dfa72ff ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_2a12bec893cccea951b693b69dfa72ff ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; CHECK_OBJECT( par_name ); tmp_called_instance_1 = par_name; frame_2a12bec893cccea951b693b69dfa72ff->m_frame.f_lineno = 283; tmp_assign_source_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_dot_tuple, 0 ) ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 283; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_bits == NULL ); var_bits = tmp_assign_source_1; } { loop_start_1:; { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; CHECK_OBJECT( var_bits ); tmp_len_arg_1 = var_bits; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 284; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_pos_1; tmp_operand_name_1 = RICH_COMPARE_GT( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 284; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 284; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { goto loop_end_1; } branch_no_1:; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_instance_2; if ( var_bits == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bits" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 286; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = var_bits; frame_2a12bec893cccea951b693b69dfa72ff->m_frame.f_lineno = 286; tmp_assign_source_2 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_pop, &PyTuple_GET_ITEM( const_tuple_int_0_tuple, 0 ) ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 286; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_packagename; var_packagename = tmp_assign_source_2; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_3; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 287; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain__find_and_load_module ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 287; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( var_packagename == 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", "packagename" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 287; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_1 = var_packagename; if ( par_path == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "path" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 287; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_path; frame_2a12bec893cccea951b693b69dfa72ff->m_frame.f_lineno = 287; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 287; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = var_package; var_package = tmp_assign_source_3; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_source_name_2; CHECK_OBJECT( var_package ); tmp_source_name_2 = var_package; tmp_assign_source_4 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___path__ ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 289; type_description_1 = "ooooooo"; goto try_except_handler_2; } { PyObject *old = par_path; par_path = tmp_assign_source_4; Py_XDECREF( old ); } } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Preserve existing published exception. exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_1 ); exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_1 ); exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_1 ); } { if ( exception_keeper_tb_1 == NULL ) { exception_keeper_tb_1 = MAKE_TRACEBACK( frame_2a12bec893cccea951b693b69dfa72ff, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_2a12bec893cccea951b693b69dfa72ff, exception_keeper_lineno_1 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 ); PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 ); PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 ); } { // Tried code: { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_2 = PyExc_AttributeError; tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 290; type_description_1 = "ooooooo"; goto try_except_handler_3; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_3; PyObject *tmp_called_name_3; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_4; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_flog ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_flog ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "flog" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 292; type_description_1 = "ooooooo"; goto try_except_handler_3; } tmp_source_name_3 = tmp_mvar_value_1; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_debug ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 292; type_description_1 = "ooooooo"; goto try_except_handler_3; } tmp_source_name_4 = const_str_digest_2e2d3b80d844457f015c95cbd5a28243; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_format ); assert( !(tmp_called_name_3 == NULL) ); if ( var_package == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "package" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 292; type_description_1 = "ooooooo"; goto try_except_handler_3; } tmp_args_element_name_4 = var_package; frame_2a12bec893cccea951b693b69dfa72ff->m_frame.f_lineno = 292; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_args_element_name_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 292; type_description_1 = "ooooooo"; goto try_except_handler_3; } frame_2a12bec893cccea951b693b69dfa72ff->m_frame.f_lineno = 292; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 292; type_description_1 = "ooooooo"; goto try_except_handler_3; } Py_DECREF( tmp_unused ); } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_2; if ( par_name == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 293; type_description_1 = "ooooooo"; goto try_except_handler_3; } tmp_compexpr_left_3 = par_name; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 293; type_description_1 = "ooooooo"; goto try_except_handler_3; } tmp_source_name_5 = tmp_mvar_value_2; tmp_compexpr_right_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_modules ); if ( tmp_compexpr_right_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 293; type_description_1 = "ooooooo"; goto try_except_handler_3; } tmp_res = PySequence_Contains( tmp_compexpr_right_3, tmp_compexpr_left_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 293; type_description_1 = "ooooooo"; goto try_except_handler_3; } tmp_condition_result_3 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_6; PyObject *tmp_mvar_value_3; PyObject *tmp_subscript_name_1; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 294; type_description_1 = "ooooooo"; goto try_except_handler_3; } tmp_source_name_6 = tmp_mvar_value_3; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_modules ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 294; type_description_1 = "ooooooo"; goto try_except_handler_3; } if ( par_name == NULL ) { Py_DECREF( tmp_subscribed_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 294; type_description_1 = "ooooooo"; goto try_except_handler_3; } tmp_subscript_name_1 = par_name; tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 294; type_description_1 = "ooooooo"; goto try_except_handler_3; } goto try_return_handler_3; } branch_no_3:; } { PyObject *tmp_called_instance_3; PyObject *tmp_mvar_value_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_flog ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_flog ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "flog" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 295; type_description_1 = "ooooooo"; goto try_except_handler_3; } tmp_called_instance_3 = tmp_mvar_value_4; frame_2a12bec893cccea951b693b69dfa72ff->m_frame.f_lineno = 295; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_debug, &PyTuple_GET_ITEM( const_tuple_str_digest_7d1a9e12941c4d469bb127e7ad6a37d1_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 295; type_description_1 = "ooooooo"; goto try_except_handler_3; } Py_DECREF( tmp_unused ); } goto branch_end_2; branch_no_2:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 288; } if (exception_tb && exception_tb->tb_frame == &frame_2a12bec893cccea951b693b69dfa72ff->m_frame) frame_2a12bec893cccea951b693b69dfa72ff->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooooo"; goto try_except_handler_3; } branch_end_2:; } goto try_end_2; // Return handler code: try_return_handler_3:; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; } // End of try: try_end_2:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } goto try_end_1; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_4__find_and_load_module ); return NULL; // End of try: try_end_1:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 284; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } goto loop_start_1; loop_end_1:; } { PyObject *tmp_assign_source_5; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; if ( var_bits == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bits" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 297; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = var_bits; tmp_subscript_name_2 = const_int_0; tmp_assign_source_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 297; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } { PyObject *old = par_name; par_name = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; PyObject *tmp_called_name_4; PyObject *tmp_source_name_7; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_imp ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_imp ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "imp" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 298; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_7 = tmp_mvar_value_5; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_find_module ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 298; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 298; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = par_name; if ( par_path == NULL ) { Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "path" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 298; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_path; frame_2a12bec893cccea951b693b69dfa72ff->m_frame.f_lineno = 298; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 }; tmp_assign_source_6 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 298; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_module_info == NULL ); var_module_info = tmp_assign_source_6; } { PyObject *tmp_dircall_arg1_1; PyObject *tmp_source_name_8; PyObject *tmp_mvar_value_6; PyObject *tmp_dircall_arg2_1; PyObject *tmp_tuple_element_1; PyObject *tmp_dircall_arg3_1; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_imp ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_imp ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "imp" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 299; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_8 = tmp_mvar_value_6; tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_load_module ); if ( tmp_dircall_arg1_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 299; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( par_name == NULL ) { Py_DECREF( tmp_dircall_arg1_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 299; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_tuple_element_1 = par_name; tmp_dircall_arg2_1 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 ); if ( var_module_info == 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", "module_info" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 299; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_dircall_arg3_1 = var_module_info; Py_INCREF( tmp_dircall_arg3_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1}; tmp_return_value = impl___internal__$$$function_9_complex_call_helper_pos_star_list( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 299; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_2a12bec893cccea951b693b69dfa72ff ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2a12bec893cccea951b693b69dfa72ff ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_2a12bec893cccea951b693b69dfa72ff ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_2a12bec893cccea951b693b69dfa72ff, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_2a12bec893cccea951b693b69dfa72ff->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_2a12bec893cccea951b693b69dfa72ff, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_2a12bec893cccea951b693b69dfa72ff, type_description_1, par_self, par_name, par_path, var_bits, var_packagename, var_package, var_module_info ); // Release cached frame. if ( frame_2a12bec893cccea951b693b69dfa72ff == cache_frame_2a12bec893cccea951b693b69dfa72ff ) { Py_DECREF( frame_2a12bec893cccea951b693b69dfa72ff ); } cache_frame_2a12bec893cccea951b693b69dfa72ff = NULL; assertFrameObject( frame_2a12bec893cccea951b693b69dfa72ff ); // 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( future$standard_library$$$function_4__find_and_load_module ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_path ); par_path = NULL; } { Py_XDECREF( var_bits ); var_bits = NULL; } { Py_XDECREF( var_packagename ); var_packagename = NULL; } { Py_XDECREF( var_package ); var_package = NULL; } { Py_XDECREF( var_module_info ); var_module_info = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_name ); par_name = NULL; } { Py_XDECREF( par_path ); par_path = NULL; } { Py_XDECREF( var_bits ); var_bits = NULL; } { Py_XDECREF( var_packagename ); var_packagename = NULL; } { Py_XDECREF( var_package ); var_package = NULL; } { Py_XDECREF( var_module_info ); var_module_info = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_4__find_and_load_module ); 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_future$standard_library$$$function_5___enter__( 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_a266c4900df50d337159e374ad5758a0; 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; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_a266c4900df50d337159e374ad5758a0 = 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_a266c4900df50d337159e374ad5758a0, codeobj_a266c4900df50d337159e374ad5758a0, module_future$standard_library, sizeof(void *) ); frame_a266c4900df50d337159e374ad5758a0 = cache_frame_a266c4900df50d337159e374ad5758a0; // Push the new frame as the currently active one. pushFrameStack( frame_a266c4900df50d337159e374ad5758a0 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_a266c4900df50d337159e374ad5758a0 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_assattr_target_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_copy ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_copy ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "copy" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 321; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_copy ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 321; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 321; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_modules ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 321; type_description_1 = "o"; goto frame_exception_exit_1; } frame_a266c4900df50d337159e374ad5758a0->m_frame.f_lineno = 321; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assattr_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_assattr_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 321; type_description_1 = "o"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 321; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_old_sys_modules, 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 = 321; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_assattr_target_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_detect_hooks ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_detect_hooks ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "detect_hooks" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 322; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_3; frame_a266c4900df50d337159e374ad5758a0->m_frame.f_lineno = 322; tmp_assattr_name_2 = CALL_FUNCTION_NO_ARGS( tmp_called_name_2 ); if ( tmp_assattr_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 322; type_description_1 = "o"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 322; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_hooks_were_installed, tmp_assattr_name_2 ); Py_DECREF( tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 322; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_called_name_3; PyObject *tmp_mvar_value_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_install_hooks ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_install_hooks ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "install_hooks" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 324; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_3 = tmp_mvar_value_4; frame_a266c4900df50d337159e374ad5758a0->m_frame.f_lineno = 324; tmp_unused = CALL_FUNCTION_NO_ARGS( tmp_called_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 324; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 325; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = par_self; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_a266c4900df50d337159e374ad5758a0 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a266c4900df50d337159e374ad5758a0 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a266c4900df50d337159e374ad5758a0 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_a266c4900df50d337159e374ad5758a0, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_a266c4900df50d337159e374ad5758a0->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_a266c4900df50d337159e374ad5758a0, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_a266c4900df50d337159e374ad5758a0, type_description_1, par_self ); // Release cached frame. if ( frame_a266c4900df50d337159e374ad5758a0 == cache_frame_a266c4900df50d337159e374ad5758a0 ) { Py_DECREF( frame_a266c4900df50d337159e374ad5758a0 ); } cache_frame_a266c4900df50d337159e374ad5758a0 = NULL; assertFrameObject( frame_a266c4900df50d337159e374ad5758a0 ); // 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( future$standard_library$$$function_5___enter__ ); 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( future$standard_library$$$function_5___enter__ ); 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_future$standard_library$$$function_6___exit__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_args = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_6403cb0a5ea8f1fb997eacd227722fe5; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_6403cb0a5ea8f1fb997eacd227722fe5 = 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_6403cb0a5ea8f1fb997eacd227722fe5, codeobj_6403cb0a5ea8f1fb997eacd227722fe5, module_future$standard_library, sizeof(void *)+sizeof(void *) ); frame_6403cb0a5ea8f1fb997eacd227722fe5 = cache_frame_6403cb0a5ea8f1fb997eacd227722fe5; // Push the new frame as the currently active one. pushFrameStack( frame_6403cb0a5ea8f1fb997eacd227722fe5 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_6403cb0a5ea8f1fb997eacd227722fe5 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_source_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_operand_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_hooks_were_installed ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 330; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 330; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_remove_hooks ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_remove_hooks ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "remove_hooks" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 331; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; frame_6403cb0a5ea8f1fb997eacd227722fe5->m_frame.f_lineno = 331; tmp_unused = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 331; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_6403cb0a5ea8f1fb997eacd227722fe5 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_6403cb0a5ea8f1fb997eacd227722fe5 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_6403cb0a5ea8f1fb997eacd227722fe5, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_6403cb0a5ea8f1fb997eacd227722fe5->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_6403cb0a5ea8f1fb997eacd227722fe5, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_6403cb0a5ea8f1fb997eacd227722fe5, type_description_1, par_self, par_args ); // Release cached frame. if ( frame_6403cb0a5ea8f1fb997eacd227722fe5 == cache_frame_6403cb0a5ea8f1fb997eacd227722fe5 ) { Py_DECREF( frame_6403cb0a5ea8f1fb997eacd227722fe5 ); } cache_frame_6403cb0a5ea8f1fb997eacd227722fe5 = NULL; assertFrameObject( frame_6403cb0a5ea8f1fb997eacd227722fe5 ); // 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( future$standard_library$$$function_6___exit__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { // 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( future$standard_library$$$function_6___exit__ ); 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_future$standard_library$$$function_7_is_py2_stdlib_module( 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_m = python_pars[ 0 ]; PyObject *var_stdlib_files = NULL; PyObject *var_stdlib_paths = NULL; PyObject *var_modpath = NULL; PyObject *outline_0_var_f = NULL; PyObject *tmp_listcomp_1__$0 = NULL; PyObject *tmp_listcomp_1__contraction = NULL; PyObject *tmp_listcomp_1__iter_value_0 = NULL; struct Nuitka_FrameObject *frame_d28726f9fb4f577b4289904cc67dd979; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; int tmp_res; struct Nuitka_FrameObject *frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; static struct Nuitka_FrameObject *cache_frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_d28726f9fb4f577b4289904cc67dd979 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_d28726f9fb4f577b4289904cc67dd979, codeobj_d28726f9fb4f577b4289904cc67dd979, module_future$standard_library, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_d28726f9fb4f577b4289904cc67dd979 = cache_frame_d28726f9fb4f577b4289904cc67dd979; // Push the new frame as the currently active one. pushFrameStack( frame_d28726f9fb4f577b4289904cc67dd979 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_d28726f9fb4f577b4289904cc67dd979 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_mvar_value_1; int tmp_truth_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_PY3 ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PY3 ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PY3" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 345; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_mvar_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 345; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_2; tmp_compexpr_left_1 = const_str_plain_stdlib_path; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_is_py2_stdlib_module ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_is_py2_stdlib_module ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "is_py2_stdlib_module" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 347; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_2; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE_DICT_SLOT( tmp_source_name_1 ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 347; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 347; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_1; PyObject *tmp_list_element_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_4; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_5; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_contextlib ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_contextlib ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "contextlib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 348; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_3; tmp_list_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___file__ ); if ( tmp_list_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 348; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = PyList_New( 3 ); PyList_SET_ITEM( tmp_assign_source_1, 0, tmp_list_element_1 ); tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_4 == NULL ) { Py_DECREF( tmp_assign_source_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 348; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_4; tmp_list_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain___file__ ); if ( tmp_list_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); exception_lineno = 348; type_description_1 = "oooo"; goto frame_exception_exit_1; } PyList_SET_ITEM( tmp_assign_source_1, 1, tmp_list_element_1 ); tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_copy ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_copy ); } if ( tmp_mvar_value_5 == NULL ) { Py_DECREF( tmp_assign_source_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "copy" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 348; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_5; tmp_list_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___file__ ); if ( tmp_list_element_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_assign_source_1 ); exception_lineno = 348; type_description_1 = "oooo"; goto frame_exception_exit_1; } PyList_SET_ITEM( tmp_assign_source_1, 2, tmp_list_element_1 ); assert( var_stdlib_files == NULL ); var_stdlib_files = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; { // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_iter_arg_1; CHECK_OBJECT( var_stdlib_files ); tmp_iter_arg_1 = var_stdlib_files; tmp_assign_source_3 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 349; type_description_1 = "oooo"; goto try_except_handler_2; } assert( tmp_listcomp_1__$0 == NULL ); tmp_listcomp_1__$0 = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; tmp_assign_source_4 = PyList_New( 0 ); assert( tmp_listcomp_1__contraction == NULL ); tmp_listcomp_1__contraction = tmp_assign_source_4; } MAKE_OR_REUSE_FRAME( cache_frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2, codeobj_b5b1b82b5cc105b1d2aa5f2aa3710336, module_future$standard_library, sizeof(void *) ); frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2 = cache_frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2; // Push the new frame as the currently active one. pushFrameStack( frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_listcomp_1__$0 ); tmp_next_source_1 = tmp_listcomp_1__$0; tmp_assign_source_5 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_5 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_2 = "o"; exception_lineno = 349; goto try_except_handler_3; } } { PyObject *old = tmp_listcomp_1__iter_value_0; tmp_listcomp_1__iter_value_0 = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_listcomp_1__iter_value_0 ); tmp_assign_source_6 = tmp_listcomp_1__iter_value_0; { PyObject *old = outline_0_var_f; outline_0_var_f = tmp_assign_source_6; Py_INCREF( outline_0_var_f ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_5; PyObject *tmp_source_name_6; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_1; PyObject *tmp_subscript_name_1; CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_append_list_1 = tmp_listcomp_1__contraction; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 349; type_description_2 = "o"; goto try_except_handler_3; } tmp_source_name_6 = tmp_mvar_value_6; tmp_source_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_path ); if ( tmp_source_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 349; type_description_2 = "o"; goto try_except_handler_3; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_split ); Py_DECREF( tmp_source_name_5 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 349; type_description_2 = "o"; goto try_except_handler_3; } if ( outline_0_var_f == 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", "f" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 349; type_description_2 = "o"; goto try_except_handler_3; } tmp_args_element_name_1 = outline_0_var_f; frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2->m_frame.f_lineno = 349; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_subscribed_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 349; type_description_2 = "o"; goto try_except_handler_3; } tmp_subscript_name_1 = const_int_0; tmp_append_value_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_append_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 349; type_description_2 = "o"; goto try_except_handler_3; } assert( PyList_Check( tmp_append_list_1 ) ); tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 ); Py_DECREF( tmp_append_value_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 349; type_description_2 = "o"; goto try_except_handler_3; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 349; type_description_2 = "o"; goto try_except_handler_3; } goto loop_start_1; loop_end_1:; } { CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_assign_source_2 = tmp_listcomp_1__contraction; Py_INCREF( tmp_assign_source_2 ); goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_7_is_py2_stdlib_module ); return NULL; // Return handler code: try_return_handler_3:; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { goto frame_return_exit_2; } // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_2; } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_2; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2, type_description_2, outline_0_var_f ); // Release cached frame. if ( frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2 == cache_frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2 ) { Py_DECREF( frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2 ); } cache_frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2 = NULL; assertFrameObject( frame_b5b1b82b5cc105b1d2aa5f2aa3710336_2 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; type_description_1 = "oooo"; goto try_except_handler_2; skip_nested_handling_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_7_is_py2_stdlib_module ); return NULL; // Return handler code: try_return_handler_2:; { Py_XDECREF( outline_0_var_f ); outline_0_var_f = NULL; } { goto outline_result_1; } // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( outline_0_var_f ); outline_0_var_f = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_7_is_py2_stdlib_module ); return NULL; outline_exception_1:; exception_lineno = 349; goto frame_exception_exit_1; outline_result_1:; assert( var_stdlib_paths == NULL ); var_stdlib_paths = tmp_assign_source_2; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_len_arg_1; PyObject *tmp_set_arg_1; CHECK_OBJECT( var_stdlib_paths ); tmp_set_arg_1 = var_stdlib_paths; tmp_len_arg_1 = PySet_New( tmp_set_arg_1 ); if ( tmp_len_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 350; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_left_2 = BUILTIN_LEN( tmp_len_arg_1 ); Py_DECREF( tmp_len_arg_1 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 350; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = const_int_pos_1; tmp_operand_name_1 = RICH_COMPARE_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 350; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 350; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_called_name_2; PyObject *tmp_source_name_7; PyObject *tmp_mvar_value_7; PyObject *tmp_args_element_name_2; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_flog ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_flog ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "flog" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 353; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_7 = tmp_mvar_value_7; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_warn ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 353; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_left_name_1 = const_str_digest_595cfeba61911d7bc469b2b5a8129d87; if ( var_stdlib_paths == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "stdlib_paths" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 354; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_right_name_1 = var_stdlib_paths; tmp_args_element_name_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 353; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_d28726f9fb4f577b4289904cc67dd979->m_frame.f_lineno = 353; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 353; type_description_1 = "oooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_3:; } { PyObject *tmp_assattr_name_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_assattr_target_1; PyObject *tmp_mvar_value_8; if ( var_stdlib_paths == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "stdlib_paths" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 356; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = var_stdlib_paths; tmp_subscript_name_2 = const_int_0; tmp_assattr_name_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); if ( tmp_assattr_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 356; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_is_py2_stdlib_module ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_is_py2_stdlib_module ); } if ( tmp_mvar_value_8 == NULL ) { Py_DECREF( tmp_assattr_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "is_py2_stdlib_module" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 356; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = tmp_mvar_value_8; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_stdlib_path, 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 = 356; type_description_1 = "oooo"; goto frame_exception_exit_1; } } branch_no_2:; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; PyObject *tmp_source_name_8; PyObject *tmp_source_name_9; PyObject *tmp_mvar_value_9; if ( par_m == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "m" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 358; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_8 = par_m; tmp_compexpr_left_3 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain___name__ ); if ( tmp_compexpr_left_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 358; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_9 == NULL ) { Py_DECREF( tmp_compexpr_left_3 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 358; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_9 = tmp_mvar_value_9; tmp_compexpr_right_3 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_builtin_module_names ); if ( tmp_compexpr_right_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_compexpr_left_3 ); exception_lineno = 358; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = PySequence_Contains( tmp_compexpr_right_3, tmp_compexpr_left_3 ); Py_DECREF( tmp_compexpr_left_3 ); Py_DECREF( tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 358; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_4 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_4:; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_source_name_10; PyObject *tmp_attribute_name_1; if ( par_m == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "m" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 361; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_10 = par_m; tmp_attribute_name_1 = const_str_plain___file__; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_10, tmp_attribute_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 361; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_condition_result_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { PyObject *tmp_assign_source_7; PyObject *tmp_called_name_3; PyObject *tmp_source_name_11; PyObject *tmp_source_name_12; PyObject *tmp_mvar_value_10; PyObject *tmp_args_element_name_3; PyObject *tmp_source_name_13; tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_10 == NULL )) { tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_10 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 362; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_12 = tmp_mvar_value_10; tmp_source_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_path ); if ( tmp_source_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 362; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_split ); Py_DECREF( tmp_source_name_11 ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 362; type_description_1 = "oooo"; goto frame_exception_exit_1; } if ( par_m == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "m" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 362; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_13 = par_m; tmp_args_element_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain___file__ ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 362; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_d28726f9fb4f577b4289904cc67dd979->m_frame.f_lineno = 362; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_assign_source_7 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 362; type_description_1 = "oooo"; goto frame_exception_exit_1; } assert( var_modpath == NULL ); var_modpath = tmp_assign_source_7; } { nuitka_bool tmp_condition_result_6; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_called_name_4; PyObject *tmp_source_name_14; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_4; PyObject *tmp_source_name_15; PyObject *tmp_mvar_value_11; int tmp_truth_name_2; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; CHECK_OBJECT( var_modpath ); tmp_subscribed_name_3 = var_modpath; tmp_subscript_name_3 = const_int_0; tmp_source_name_14 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 ); if ( tmp_source_name_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 363; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_startswith ); Py_DECREF( tmp_source_name_14 ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 363; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_is_py2_stdlib_module ); if (unlikely( tmp_mvar_value_11 == NULL )) { tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_is_py2_stdlib_module ); } if ( tmp_mvar_value_11 == NULL ) { Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "is_py2_stdlib_module" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 363; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_source_name_15 = tmp_mvar_value_11; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_stdlib_path ); if ( tmp_args_element_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 363; type_description_1 = "oooo"; goto frame_exception_exit_1; } frame_d28726f9fb4f577b4289904cc67dd979->m_frame.f_lineno = 363; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_4 ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 363; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 363; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; tmp_compexpr_left_4 = const_str_digest_b1edb918b162a3efb24e5c950b038db1; if ( var_modpath == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "modpath" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 364; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_subscribed_name_4 = var_modpath; tmp_subscript_name_4 = const_int_0; tmp_compexpr_right_4 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_4, tmp_subscript_name_4, 0 ); if ( tmp_compexpr_right_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 364; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_res = PySequence_Contains( tmp_compexpr_right_4, tmp_compexpr_left_4 ); Py_DECREF( tmp_compexpr_right_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 364; type_description_1 = "oooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_6 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_6 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { tmp_return_value = Py_True; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_6:; } branch_no_5:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_d28726f9fb4f577b4289904cc67dd979 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d28726f9fb4f577b4289904cc67dd979 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_d28726f9fb4f577b4289904cc67dd979 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_d28726f9fb4f577b4289904cc67dd979, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_d28726f9fb4f577b4289904cc67dd979->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_d28726f9fb4f577b4289904cc67dd979, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_d28726f9fb4f577b4289904cc67dd979, type_description_1, par_m, var_stdlib_files, var_stdlib_paths, var_modpath ); // Release cached frame. if ( frame_d28726f9fb4f577b4289904cc67dd979 == cache_frame_d28726f9fb4f577b4289904cc67dd979 ) { Py_DECREF( frame_d28726f9fb4f577b4289904cc67dd979 ); } cache_frame_d28726f9fb4f577b4289904cc67dd979 = NULL; assertFrameObject( frame_d28726f9fb4f577b4289904cc67dd979 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_2:; { tmp_return_value = Py_False; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_7_is_py2_stdlib_module ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_m ); par_m = NULL; } { Py_XDECREF( var_stdlib_files ); var_stdlib_files = NULL; } { Py_XDECREF( var_stdlib_paths ); var_stdlib_paths = NULL; } { Py_XDECREF( var_modpath ); var_modpath = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_m ); par_m = NULL; } { Py_XDECREF( var_stdlib_files ); var_stdlib_files = NULL; } { Py_XDECREF( var_stdlib_paths ); var_stdlib_paths = NULL; } { Py_XDECREF( var_modpath ); var_modpath = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_7_is_py2_stdlib_module ); 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_future$standard_library$$$function_8_scrub_py2_sys_modules( 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 *var_scrubbed = NULL; PyObject *var_modulename = NULL; PyObject *var_module = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_ab8dd0a002f8c1f754170bc2f157b684; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; static struct Nuitka_FrameObject *cache_frame_ab8dd0a002f8c1f754170bc2f157b684 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_ab8dd0a002f8c1f754170bc2f157b684, codeobj_ab8dd0a002f8c1f754170bc2f157b684, module_future$standard_library, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_ab8dd0a002f8c1f754170bc2f157b684 = cache_frame_ab8dd0a002f8c1f754170bc2f157b684; // Push the new frame as the currently active one. pushFrameStack( frame_ab8dd0a002f8c1f754170bc2f157b684 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ab8dd0a002f8c1f754170bc2f157b684 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_mvar_value_1; int tmp_truth_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_PY3 ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PY3 ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PY3" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 379; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_mvar_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 379; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_return_value = PyDict_New(); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_1; tmp_assign_source_1 = PyDict_New(); assert( var_scrubbed == NULL ); var_scrubbed = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_left_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_right_name_1; PyObject *tmp_set_arg_1; PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_3; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_REPLACED_MODULES ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_REPLACED_MODULES ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "REPLACED_MODULES" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 382; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_1 = tmp_mvar_value_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_RENAMES ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_RENAMES ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "RENAMES" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 382; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = tmp_mvar_value_3; frame_ab8dd0a002f8c1f754170bc2f157b684->m_frame.f_lineno = 382; tmp_set_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_keys ); if ( tmp_set_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 382; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_right_name_1 = PySet_New( tmp_set_arg_1 ); Py_DECREF( tmp_set_arg_1 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 382; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_iter_arg_1 = BINARY_OPERATION( PyNumber_And, tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 382; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 382; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_2; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_3; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_3 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; exception_lineno = 382; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_3; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_4 = tmp_for_loop_1__iter_value; { PyObject *old = var_modulename; var_modulename = tmp_assign_source_4; Py_INCREF( var_modulename ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_4; CHECK_OBJECT( var_modulename ); tmp_compexpr_left_1 = var_modulename; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 383; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_1 = tmp_mvar_value_4; tmp_compexpr_right_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_modules ); if ( tmp_compexpr_right_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 383; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); Py_DECREF( tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 383; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { goto loop_start_1; } branch_no_2:; } { PyObject *tmp_assign_source_5; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_5; PyObject *tmp_subscript_name_1; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 386; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_2 = tmp_mvar_value_5; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_modules ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 386; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_modulename == NULL ) { Py_DECREF( tmp_subscribed_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "modulename" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 386; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_subscript_name_1 = var_modulename; tmp_assign_source_5 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 386; type_description_1 = "ooo"; goto try_except_handler_2; } { PyObject *old = var_module; var_module = tmp_assign_source_5; Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_3; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_6; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; int tmp_truth_name_2; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_is_py2_stdlib_module ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_is_py2_stdlib_module ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "is_py2_stdlib_module" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 388; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_called_name_1 = tmp_mvar_value_6; CHECK_OBJECT( var_module ); tmp_args_element_name_1 = var_module; frame_ab8dd0a002f8c1f754170bc2f157b684->m_frame.f_lineno = 388; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 388; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_truth_name_2 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 388; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_condition_result_3 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_7; PyObject *tmp_args_element_name_2; PyObject *tmp_called_name_3; PyObject *tmp_source_name_4; PyObject *tmp_args_element_name_3; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_flog ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_flog ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "flog" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 389; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_3 = tmp_mvar_value_7; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_debug ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 389; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_4 = const_str_digest_863c1650eb4529ecd02c2cca6f57507a; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_format ); assert( !(tmp_called_name_3 == NULL) ); if ( var_modulename == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "modulename" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 389; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_args_element_name_3 = var_modulename; frame_ab8dd0a002f8c1f754170bc2f157b684->m_frame.f_lineno = 389; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_args_element_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 389; type_description_1 = "ooo"; goto try_except_handler_2; } frame_ab8dd0a002f8c1f754170bc2f157b684->m_frame.f_lineno = 389; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 389; type_description_1 = "ooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_8; PyObject *tmp_subscript_name_2; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_8 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 390; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_5 = tmp_mvar_value_8; tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_modules ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 390; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_modulename == 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", "modulename" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 390; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_subscript_name_2 = var_modulename; tmp_ass_subvalue_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); if ( tmp_ass_subvalue_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 390; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_scrubbed == NULL ) { Py_DECREF( tmp_ass_subvalue_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "scrubbed" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 390; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_ass_subscribed_1 = var_scrubbed; if ( var_modulename == NULL ) { Py_DECREF( tmp_ass_subvalue_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "modulename" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 390; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_ass_subscript_1 = var_modulename; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subvalue_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 390; type_description_1 = "ooo"; goto try_except_handler_2; } } { PyObject *tmp_delsubscr_target_1; PyObject *tmp_source_name_6; PyObject *tmp_mvar_value_9; PyObject *tmp_delsubscr_subscript_1; tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_9 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 391; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_6 = tmp_mvar_value_9; tmp_delsubscr_target_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_modules ); if ( tmp_delsubscr_target_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 391; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_modulename == 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", "modulename" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 391; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_delsubscr_subscript_1 = var_modulename; tmp_result = DEL_SUBSCRIPT( tmp_delsubscr_target_1, tmp_delsubscr_subscript_1 ); Py_DECREF( tmp_delsubscr_target_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 391; type_description_1 = "ooo"; goto try_except_handler_2; } } branch_no_3:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 382; type_description_1 = "ooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { if ( var_scrubbed == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "scrubbed" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 392; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_return_value = var_scrubbed; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_ab8dd0a002f8c1f754170bc2f157b684 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ab8dd0a002f8c1f754170bc2f157b684 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_ab8dd0a002f8c1f754170bc2f157b684 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ab8dd0a002f8c1f754170bc2f157b684, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ab8dd0a002f8c1f754170bc2f157b684->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ab8dd0a002f8c1f754170bc2f157b684, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ab8dd0a002f8c1f754170bc2f157b684, type_description_1, var_scrubbed, var_modulename, var_module ); // Release cached frame. if ( frame_ab8dd0a002f8c1f754170bc2f157b684 == cache_frame_ab8dd0a002f8c1f754170bc2f157b684 ) { Py_DECREF( frame_ab8dd0a002f8c1f754170bc2f157b684 ); } cache_frame_ab8dd0a002f8c1f754170bc2f157b684 = NULL; assertFrameObject( frame_ab8dd0a002f8c1f754170bc2f157b684 ); // 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( future$standard_library$$$function_8_scrub_py2_sys_modules ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( var_scrubbed ); var_scrubbed = NULL; } { Py_XDECREF( var_modulename ); var_modulename = NULL; } { Py_XDECREF( var_module ); var_module = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( var_scrubbed ); var_scrubbed = NULL; } { Py_XDECREF( var_modulename ); var_modulename = NULL; } { Py_XDECREF( var_module ); var_module = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_8_scrub_py2_sys_modules ); 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_future$standard_library$$$function_9_scrub_future_sys_modules( 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 *tmp_return_value = NULL; // Actual function code. { tmp_return_value = PyDict_New(); goto function_return_exit; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_9_scrub_future_sys_modules ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_future$standard_library$$$function_10___enter__( 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_aa1b6d28bdc019d1a79311b622027eab; 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; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_aa1b6d28bdc019d1a79311b622027eab = 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_aa1b6d28bdc019d1a79311b622027eab, codeobj_aa1b6d28bdc019d1a79311b622027eab, module_future$standard_library, sizeof(void *) ); frame_aa1b6d28bdc019d1a79311b622027eab = cache_frame_aa1b6d28bdc019d1a79311b622027eab; // Push the new frame as the currently active one. pushFrameStack( frame_aa1b6d28bdc019d1a79311b622027eab ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_aa1b6d28bdc019d1a79311b622027eab ) == 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_future$standard_library, (Nuitka_StringObject *)const_str_plain_detect_hooks ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_detect_hooks ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "detect_hooks" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 416; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; frame_aa1b6d28bdc019d1a79311b622027eab->m_frame.f_lineno = 416; 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 = 416; type_description_1 = "o"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 416; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_hooks_were_installed, 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 = 416; type_description_1 = "o"; goto frame_exception_exit_1; } } { PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_remove_hooks ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_remove_hooks ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "remove_hooks" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 417; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_2; frame_aa1b6d28bdc019d1a79311b622027eab->m_frame.f_lineno = 417; tmp_unused = CALL_FUNCTION_NO_ARGS( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 417; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 419; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = par_self; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_aa1b6d28bdc019d1a79311b622027eab ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_aa1b6d28bdc019d1a79311b622027eab ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_aa1b6d28bdc019d1a79311b622027eab ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_aa1b6d28bdc019d1a79311b622027eab, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_aa1b6d28bdc019d1a79311b622027eab->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_aa1b6d28bdc019d1a79311b622027eab, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_aa1b6d28bdc019d1a79311b622027eab, type_description_1, par_self ); // Release cached frame. if ( frame_aa1b6d28bdc019d1a79311b622027eab == cache_frame_aa1b6d28bdc019d1a79311b622027eab ) { Py_DECREF( frame_aa1b6d28bdc019d1a79311b622027eab ); } cache_frame_aa1b6d28bdc019d1a79311b622027eab = NULL; assertFrameObject( frame_aa1b6d28bdc019d1a79311b622027eab ); // 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( future$standard_library$$$function_10___enter__ ); 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( future$standard_library$$$function_10___enter__ ); 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_future$standard_library$$$function_11___exit__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_args = python_pars[ 1 ]; struct Nuitka_FrameObject *frame_55dac2672c630d794d63e264ffcc931e; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_55dac2672c630d794d63e264ffcc931e = 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_55dac2672c630d794d63e264ffcc931e, codeobj_55dac2672c630d794d63e264ffcc931e, module_future$standard_library, sizeof(void *)+sizeof(void *) ); frame_55dac2672c630d794d63e264ffcc931e = cache_frame_55dac2672c630d794d63e264ffcc931e; // Push the new frame as the currently active one. pushFrameStack( frame_55dac2672c630d794d63e264ffcc931e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_55dac2672c630d794d63e264ffcc931e ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_source_name_1; PyObject *tmp_attribute_value_1; int tmp_truth_name_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_hooks_were_installed ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 422; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_attribute_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_attribute_value_1 ); exception_lineno = 422; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_attribute_value_1 ); if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_install_hooks ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_install_hooks ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "install_hooks" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 423; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; frame_55dac2672c630d794d63e264ffcc931e->m_frame.f_lineno = 423; tmp_unused = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 423; type_description_1 = "oo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_55dac2672c630d794d63e264ffcc931e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_55dac2672c630d794d63e264ffcc931e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_55dac2672c630d794d63e264ffcc931e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_55dac2672c630d794d63e264ffcc931e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_55dac2672c630d794d63e264ffcc931e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_55dac2672c630d794d63e264ffcc931e, type_description_1, par_self, par_args ); // Release cached frame. if ( frame_55dac2672c630d794d63e264ffcc931e == cache_frame_55dac2672c630d794d63e264ffcc931e ) { Py_DECREF( frame_55dac2672c630d794d63e264ffcc931e ); } cache_frame_55dac2672c630d794d63e264ffcc931e = NULL; assertFrameObject( frame_55dac2672c630d794d63e264ffcc931e ); // 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( future$standard_library$$$function_11___exit__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { // 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( future$standard_library$$$function_11___exit__ ); 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_future$standard_library$$$function_12_restore_sys_modules( 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_scrubbed = python_pars[ 0 ]; PyObject *var_clash = NULL; PyObject *var_first = NULL; struct Nuitka_FrameObject *frame_576b56500ce1dcd14e1ee37fb4a89681; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; static struct Nuitka_FrameObject *cache_frame_576b56500ce1dcd14e1ee37fb4a89681 = 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_576b56500ce1dcd14e1ee37fb4a89681, codeobj_576b56500ce1dcd14e1ee37fb4a89681, module_future$standard_library, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_576b56500ce1dcd14e1ee37fb4a89681 = cache_frame_576b56500ce1dcd14e1ee37fb4a89681; // Push the new frame as the currently active one. pushFrameStack( frame_576b56500ce1dcd14e1ee37fb4a89681 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_576b56500ce1dcd14e1ee37fb4a89681 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_left_name_1; PyObject *tmp_set_arg_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_right_name_1; PyObject *tmp_set_arg_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 432; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_set_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_modules ); if ( tmp_set_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 432; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_1 = PySet_New( tmp_set_arg_1 ); Py_DECREF( tmp_set_arg_1 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 432; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_scrubbed == NULL ) { Py_DECREF( tmp_left_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "scrubbed" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 432; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_set_arg_2 = par_scrubbed; tmp_right_name_1 = PySet_New( tmp_set_arg_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 432; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = BINARY_OPERATION( PyNumber_And, tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 432; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_clash == NULL ); var_clash = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; CHECK_OBJECT( var_clash ); tmp_len_arg_1 = var_clash; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 433; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_0; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 433; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_list_arg_1; PyObject *tmp_subscript_name_1; if ( var_clash == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "clash" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 435; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_list_arg_1 = var_clash; tmp_subscribed_name_1 = PySequence_List( tmp_list_arg_1 ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 435; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_int_0; tmp_assign_source_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 435; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_first == NULL ); var_first = tmp_assign_source_2; } { PyObject *tmp_raise_type_1; PyObject *tmp_make_exception_arg_1; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_1; tmp_called_instance_1 = const_str_digest_881becb43757978459ee8914c38f9769; CHECK_OBJECT( var_first ); tmp_args_element_name_1 = var_first; frame_576b56500ce1dcd14e1ee37fb4a89681->m_frame.f_lineno = 436; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_make_exception_arg_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_format, call_args ); } if ( tmp_make_exception_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 436; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_576b56500ce1dcd14e1ee37fb4a89681->m_frame.f_lineno = 436; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS1( PyExc_ImportError, call_args ); } Py_DECREF( tmp_make_exception_arg_1 ); assert( !(tmp_raise_type_1 == NULL) ); exception_type = tmp_raise_type_1; exception_lineno = 436; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 438; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_2; tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_modules ); if ( tmp_source_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 438; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_update ); Py_DECREF( tmp_source_name_2 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 438; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_scrubbed == 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", "scrubbed" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 438; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_scrubbed; frame_576b56500ce1dcd14e1ee37fb4a89681->m_frame.f_lineno = 438; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 438; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_576b56500ce1dcd14e1ee37fb4a89681 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_576b56500ce1dcd14e1ee37fb4a89681 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_576b56500ce1dcd14e1ee37fb4a89681, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_576b56500ce1dcd14e1ee37fb4a89681->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_576b56500ce1dcd14e1ee37fb4a89681, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_576b56500ce1dcd14e1ee37fb4a89681, type_description_1, par_scrubbed, var_clash, var_first ); // Release cached frame. if ( frame_576b56500ce1dcd14e1ee37fb4a89681 == cache_frame_576b56500ce1dcd14e1ee37fb4a89681 ) { Py_DECREF( frame_576b56500ce1dcd14e1ee37fb4a89681 ); } cache_frame_576b56500ce1dcd14e1ee37fb4a89681 = NULL; assertFrameObject( frame_576b56500ce1dcd14e1ee37fb4a89681 ); // 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( future$standard_library$$$function_12_restore_sys_modules ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_scrubbed ); par_scrubbed = NULL; } { Py_XDECREF( var_clash ); var_clash = 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_scrubbed ); par_scrubbed = NULL; } { Py_XDECREF( var_clash ); var_clash = NULL; } { Py_XDECREF( var_first ); var_first = 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( future$standard_library$$$function_12_restore_sys_modules ); 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_future$standard_library$$$function_13_install_aliases( 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 *var_newmodname = NULL; PyObject *var_newobjname = NULL; PyObject *var_oldmodname = NULL; PyObject *var_oldobjname = NULL; PyObject *var_newmod = NULL; PyObject *var_oldmod = NULL; PyObject *var_obj = NULL; PyObject *var_urllib = NULL; PyObject *var_request = NULL; PyObject *var_response = NULL; PyObject *var_parse = NULL; PyObject *var_error = NULL; PyObject *var_robotparser = NULL; PyObject *var_test = NULL; PyObject *var_support = NULL; PyObject *var_dbm = NULL; PyObject *var_dumb = NULL; PyObject *var_gnu = NULL; PyObject *var_ndbm = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; nuitka_bool tmp_try_except_1__unhandled_indicator = NUITKA_BOOL_UNASSIGNED; nuitka_bool tmp_try_except_2__unhandled_indicator = NUITKA_BOOL_UNASSIGNED; nuitka_bool tmp_try_except_3__unhandled_indicator = NUITKA_BOOL_UNASSIGNED; nuitka_bool tmp_try_except_4__unhandled_indicator = NUITKA_BOOL_UNASSIGNED; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__element_3 = NULL; PyObject *tmp_tuple_unpack_1__element_4 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_856bd4c1a9616550b8e4028d70896389; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; bool tmp_result; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *exception_preserved_type_2; PyObject *exception_preserved_value_2; PyTracebackObject *exception_preserved_tb_2; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; PyObject *exception_preserved_type_3; PyObject *exception_preserved_value_3; PyTracebackObject *exception_preserved_tb_3; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; PyObject *exception_preserved_type_4; PyObject *exception_preserved_value_4; PyTracebackObject *exception_preserved_tb_4; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; PyObject *exception_keeper_type_14; PyObject *exception_keeper_value_14; PyTracebackObject *exception_keeper_tb_14; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14; PyObject *exception_preserved_type_5; PyObject *exception_preserved_value_5; PyTracebackObject *exception_preserved_tb_5; PyObject *exception_keeper_type_15; PyObject *exception_keeper_value_15; PyTracebackObject *exception_keeper_tb_15; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15; PyObject *exception_keeper_type_16; PyObject *exception_keeper_value_16; PyTracebackObject *exception_keeper_tb_16; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16; PyObject *exception_keeper_type_17; PyObject *exception_keeper_value_17; PyTracebackObject *exception_keeper_tb_17; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17; static struct Nuitka_FrameObject *cache_frame_856bd4c1a9616550b8e4028d70896389 = NULL; PyObject *exception_keeper_type_18; PyObject *exception_keeper_value_18; PyTracebackObject *exception_keeper_tb_18; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_856bd4c1a9616550b8e4028d70896389, codeobj_856bd4c1a9616550b8e4028d70896389, module_future$standard_library, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_856bd4c1a9616550b8e4028d70896389 = cache_frame_856bd4c1a9616550b8e4028d70896389; // Push the new frame as the currently active one. pushFrameStack( frame_856bd4c1a9616550b8e4028d70896389 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_856bd4c1a9616550b8e4028d70896389 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_mvar_value_1; int tmp_truth_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_PY3 ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PY3 ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PY3" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 446; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_mvar_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 446; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_MOVES ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_MOVES ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "MOVES" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 450; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_iter_arg_1 = tmp_mvar_value_2; tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 450; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_1; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_2; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_2 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooooooooooo"; exception_lineno = 450; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_2; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_iter_arg_2; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_iter_arg_2 = tmp_for_loop_1__iter_value; tmp_assign_source_3 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 450; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_3; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_3; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_1, 0, 4 ); if ( tmp_assign_source_4 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooooooooooooo"; exception_lineno = 450; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_5 = UNPACK_NEXT( tmp_unpack_2, 1, 4 ); if ( tmp_assign_source_5 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooooooooooooo"; exception_lineno = 450; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; PyObject *tmp_unpack_3; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_3 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_6 = UNPACK_NEXT( tmp_unpack_3, 2, 4 ); if ( tmp_assign_source_6 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooooooooooooo"; exception_lineno = 450; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_3; tmp_tuple_unpack_1__element_3 = tmp_assign_source_6; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_7; PyObject *tmp_unpack_4; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_4 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_7 = UNPACK_NEXT( tmp_unpack_4, 3, 4 ); if ( tmp_assign_source_7 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooooooooooooo"; exception_lineno = 450; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_4; tmp_tuple_unpack_1__element_4 = tmp_assign_source_7; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooooooooooo"; exception_lineno = 450; goto try_except_handler_4; } } } else { Py_DECREF( tmp_iterator_attempt ); // TODO: Could avoid PyErr_Format. #if PYTHON_VERSION < 300 PyErr_Format( PyExc_ValueError, "too many values to unpack" ); #else PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 4)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooooooooooooo"; exception_lineno = 450; goto try_except_handler_4; } } goto try_end_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_3; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_3 ); tmp_tuple_unpack_1__element_3 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_4 ); tmp_tuple_unpack_1__element_4 = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_2; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_8; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_8 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_newmodname; var_newmodname = tmp_assign_source_8; Py_INCREF( var_newmodname ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_9 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_newobjname; var_newobjname = tmp_assign_source_9; Py_INCREF( var_newobjname ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_assign_source_10; CHECK_OBJECT( tmp_tuple_unpack_1__element_3 ); tmp_assign_source_10 = tmp_tuple_unpack_1__element_3; { PyObject *old = var_oldmodname; var_oldmodname = tmp_assign_source_10; Py_INCREF( var_oldmodname ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_3 ); tmp_tuple_unpack_1__element_3 = NULL; } { PyObject *tmp_assign_source_11; CHECK_OBJECT( tmp_tuple_unpack_1__element_4 ); tmp_assign_source_11 = tmp_tuple_unpack_1__element_4; { PyObject *old = var_oldobjname; var_oldobjname = tmp_assign_source_11; Py_INCREF( var_oldobjname ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_4 ); tmp_tuple_unpack_1__element_4 = NULL; } { PyObject *tmp_name_name_1; if ( var_newmodname == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "newmodname" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 451; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_name_name_1 = var_newmodname; frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = 451; tmp_unused = IMPORT_MODULE1( tmp_name_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 451; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_12; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_3; PyObject *tmp_subscript_name_1; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 454; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_1 = tmp_mvar_value_3; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_modules ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 454; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } if ( var_newmodname == NULL ) { Py_DECREF( tmp_subscribed_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "newmodname" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 454; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_subscript_name_1 = var_newmodname; tmp_assign_source_12 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 454; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = var_newmod; var_newmod = tmp_assign_source_12; Py_XDECREF( old ); } } { PyObject *tmp_name_name_2; if ( var_oldmodname == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "oldmodname" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 457; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_name_name_2 = var_oldmodname; frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = 457; tmp_unused = IMPORT_MODULE1( tmp_name_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 457; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_13; PyObject *tmp_subscribed_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_4; PyObject *tmp_subscript_name_2; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 458; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_source_name_2 = tmp_mvar_value_4; tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_modules ); if ( tmp_subscribed_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 458; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } if ( var_oldmodname == 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", "oldmodname" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 458; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_subscript_name_2 = var_oldmodname; tmp_assign_source_13 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscribed_name_2 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 458; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = var_oldmod; var_oldmod = tmp_assign_source_13; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_14; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; CHECK_OBJECT( var_oldmod ); tmp_getattr_target_1 = var_oldmod; if ( var_oldobjname == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "oldobjname" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 460; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_getattr_attr_1 = var_oldobjname; tmp_assign_source_14 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, NULL ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 460; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } { PyObject *old = var_obj; var_obj = tmp_assign_source_14; Py_XDECREF( old ); } } { PyObject *tmp_setattr_target_1; PyObject *tmp_setattr_attr_1; PyObject *tmp_setattr_value_1; if ( var_newmod == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "newmod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 461; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_setattr_target_1 = var_newmod; if ( var_newobjname == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "newobjname" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 461; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } tmp_setattr_attr_1 = var_newobjname; CHECK_OBJECT( var_obj ); tmp_setattr_value_1 = var_obj; tmp_unused = BUILTIN_SETATTR( tmp_setattr_target_1, tmp_setattr_attr_1, tmp_setattr_value_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 461; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 450; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_3; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; } // End of try: try_end_3:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { PyObject *tmp_assign_source_15; PyObject *tmp_name_name_3; PyObject *tmp_globals_name_1; PyObject *tmp_locals_name_1; PyObject *tmp_fromlist_name_1; PyObject *tmp_level_name_1; tmp_name_name_3 = const_str_plain_urllib; tmp_globals_name_1 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = const_int_0; frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = 464; tmp_assign_source_15 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 464; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } assert( var_urllib == NULL ); var_urllib = tmp_assign_source_15; } { PyObject *tmp_assign_source_16; PyObject *tmp_import_name_from_1; PyObject *tmp_name_name_4; PyObject *tmp_globals_name_2; PyObject *tmp_locals_name_2; PyObject *tmp_fromlist_name_2; PyObject *tmp_level_name_2; tmp_name_name_4 = const_str_digest_0ac0833f32ef9672b68f8e39be86bb39; tmp_globals_name_2 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = const_tuple_str_plain_request_tuple; tmp_level_name_2 = const_int_0; frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = 465; tmp_import_name_from_1 = IMPORT_MODULE5( tmp_name_name_4, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 ); if ( tmp_import_name_from_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 465; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_16 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_request ); Py_DECREF( tmp_import_name_from_1 ); if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 465; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } assert( var_request == NULL ); var_request = tmp_assign_source_16; } { PyObject *tmp_assign_source_17; PyObject *tmp_import_name_from_2; PyObject *tmp_name_name_5; PyObject *tmp_globals_name_3; PyObject *tmp_locals_name_3; PyObject *tmp_fromlist_name_3; PyObject *tmp_level_name_3; tmp_name_name_5 = const_str_digest_0ac0833f32ef9672b68f8e39be86bb39; tmp_globals_name_3 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_3 = Py_None; tmp_fromlist_name_3 = const_tuple_str_plain_response_tuple; tmp_level_name_3 = const_int_0; frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = 466; tmp_import_name_from_2 = IMPORT_MODULE5( tmp_name_name_5, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 ); if ( tmp_import_name_from_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 466; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_17 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_response ); Py_DECREF( tmp_import_name_from_2 ); if ( tmp_assign_source_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 466; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } assert( var_response == NULL ); var_response = tmp_assign_source_17; } { PyObject *tmp_assign_source_18; PyObject *tmp_import_name_from_3; PyObject *tmp_name_name_6; PyObject *tmp_globals_name_4; PyObject *tmp_locals_name_4; PyObject *tmp_fromlist_name_4; PyObject *tmp_level_name_4; tmp_name_name_6 = const_str_digest_0ac0833f32ef9672b68f8e39be86bb39; tmp_globals_name_4 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_4 = Py_None; tmp_fromlist_name_4 = const_tuple_str_plain_parse_tuple; tmp_level_name_4 = const_int_0; frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = 467; tmp_import_name_from_3 = IMPORT_MODULE5( tmp_name_name_6, tmp_globals_name_4, tmp_locals_name_4, tmp_fromlist_name_4, tmp_level_name_4 ); if ( tmp_import_name_from_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 467; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_18 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_parse ); Py_DECREF( tmp_import_name_from_3 ); if ( tmp_assign_source_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 467; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } assert( var_parse == NULL ); var_parse = tmp_assign_source_18; } { PyObject *tmp_assign_source_19; PyObject *tmp_import_name_from_4; PyObject *tmp_name_name_7; PyObject *tmp_globals_name_5; PyObject *tmp_locals_name_5; PyObject *tmp_fromlist_name_5; PyObject *tmp_level_name_5; tmp_name_name_7 = const_str_digest_0ac0833f32ef9672b68f8e39be86bb39; tmp_globals_name_5 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_5 = Py_None; tmp_fromlist_name_5 = const_tuple_str_plain_error_tuple; tmp_level_name_5 = const_int_0; frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = 468; tmp_import_name_from_4 = IMPORT_MODULE5( tmp_name_name_7, tmp_globals_name_5, tmp_locals_name_5, tmp_fromlist_name_5, tmp_level_name_5 ); if ( tmp_import_name_from_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 468; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_19 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_error ); Py_DECREF( tmp_import_name_from_4 ); if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 468; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } assert( var_error == NULL ); var_error = tmp_assign_source_19; } { PyObject *tmp_assign_source_20; PyObject *tmp_import_name_from_5; PyObject *tmp_name_name_8; PyObject *tmp_globals_name_6; PyObject *tmp_locals_name_6; PyObject *tmp_fromlist_name_6; PyObject *tmp_level_name_6; tmp_name_name_8 = const_str_digest_0ac0833f32ef9672b68f8e39be86bb39; tmp_globals_name_6 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_6 = Py_None; tmp_fromlist_name_6 = const_tuple_str_plain_robotparser_tuple; tmp_level_name_6 = const_int_0; frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = 469; tmp_import_name_from_5 = IMPORT_MODULE5( tmp_name_name_8, tmp_globals_name_6, tmp_locals_name_6, tmp_fromlist_name_6, tmp_level_name_6 ); if ( tmp_import_name_from_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 469; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_20 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_robotparser ); Py_DECREF( tmp_import_name_from_5 ); if ( tmp_assign_source_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 469; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } assert( var_robotparser == NULL ); var_robotparser = tmp_assign_source_20; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( var_request == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "request" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 470; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = var_request; if ( var_urllib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "urllib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 470; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = var_urllib; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_request, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 470; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; if ( var_response == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "response" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 471; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_2 = var_response; if ( var_urllib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "urllib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 471; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = var_urllib; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_response, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 471; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; if ( var_parse == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parse" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 472; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_3 = var_parse; if ( var_urllib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "urllib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 472; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = var_urllib; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_parse, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 472; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; if ( var_error == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "error" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 473; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_4 = var_error; if ( var_urllib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "urllib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 473; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_4 = var_urllib; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_error, tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 473; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; PyObject *tmp_assattr_target_5; if ( var_robotparser == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "robotparser" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 474; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_5 = var_robotparser; if ( var_urllib == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "urllib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 474; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_5 = var_urllib; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_robotparser, tmp_assattr_name_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 474; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_5; PyObject *tmp_ass_subscript_1; if ( var_request == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "request" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 475; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_ass_subvalue_1 = var_request; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 475; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_5; tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_modules ); if ( tmp_ass_subscribed_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 475; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_ass_subscript_1 = const_str_digest_59bc9c95777e64e4720c3af0837aec42; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subscribed_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 475; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_ass_subvalue_2; PyObject *tmp_ass_subscribed_2; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_6; PyObject *tmp_ass_subscript_2; if ( var_response == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "response" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 476; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_ass_subvalue_2 = var_response; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 476; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_6; tmp_ass_subscribed_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_modules ); if ( tmp_ass_subscribed_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 476; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_ass_subscript_2 = const_str_digest_45c254f6a6153d392478fd2944a253a6; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2 ); Py_DECREF( tmp_ass_subscribed_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 476; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_ass_subvalue_3; PyObject *tmp_ass_subscribed_3; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_7; PyObject *tmp_ass_subscript_3; if ( var_parse == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parse" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 477; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_ass_subvalue_3 = var_parse; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 477; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_7; tmp_ass_subscribed_3 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_modules ); if ( tmp_ass_subscribed_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 477; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_ass_subscript_3 = const_str_digest_04991ea695faff4a76e4efb6a8a8593f; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3 ); Py_DECREF( tmp_ass_subscribed_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 477; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_ass_subvalue_4; PyObject *tmp_ass_subscribed_4; PyObject *tmp_source_name_6; PyObject *tmp_mvar_value_8; PyObject *tmp_ass_subscript_4; if ( var_error == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "error" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 478; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_ass_subvalue_4 = var_error; tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_8 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 478; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = tmp_mvar_value_8; tmp_ass_subscribed_4 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_modules ); if ( tmp_ass_subscribed_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 478; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_ass_subscript_4 = const_str_digest_f1949150375e8b53443d58d93fe4f89e; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_4, tmp_ass_subscript_4, tmp_ass_subvalue_4 ); Py_DECREF( tmp_ass_subscribed_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 478; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_ass_subvalue_5; PyObject *tmp_ass_subscribed_5; PyObject *tmp_source_name_7; PyObject *tmp_mvar_value_9; PyObject *tmp_ass_subscript_5; if ( var_robotparser == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "robotparser" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 479; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_ass_subvalue_5 = var_robotparser; tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_9 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 479; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_source_name_7 = tmp_mvar_value_9; tmp_ass_subscribed_5 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_modules ); if ( tmp_ass_subscribed_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 479; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } tmp_ass_subscript_5 = const_str_digest_0c2c53a682a2a84b1ae61ae38cc6a65a; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_5, tmp_ass_subscript_5, tmp_ass_subvalue_5 ); Py_DECREF( tmp_ass_subscribed_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 479; type_description_1 = "ooooooooooooooooooo"; goto frame_exception_exit_1; } } { // Tried code: { PyObject *tmp_assign_source_21; PyObject *tmp_name_name_9; PyObject *tmp_globals_name_7; PyObject *tmp_locals_name_7; PyObject *tmp_fromlist_name_7; PyObject *tmp_level_name_7; tmp_name_name_9 = const_str_plain_test; tmp_globals_name_7 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_7 = Py_None; tmp_fromlist_name_7 = Py_None; tmp_level_name_7 = const_int_0; frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = 483; tmp_assign_source_21 = IMPORT_MODULE5( tmp_name_name_9, tmp_globals_name_7, tmp_locals_name_7, tmp_fromlist_name_7, tmp_level_name_7 ); if ( tmp_assign_source_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 483; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_5; } assert( var_test == NULL ); var_test = tmp_assign_source_21; } goto try_end_4; // Exception handler code: try_except_handler_5:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Preserve existing published exception. exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_1 ); exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_1 ); exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_1 ); } { if ( exception_keeper_tb_4 == NULL ) { exception_keeper_tb_4 = MAKE_TRACEBACK( frame_856bd4c1a9616550b8e4028d70896389, exception_keeper_lineno_4 ); } else if ( exception_keeper_lineno_4 != 0 ) { exception_keeper_tb_4 = ADD_TRACEBACK( exception_keeper_tb_4, frame_856bd4c1a9616550b8e4028d70896389, exception_keeper_lineno_4 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4 ); PyException_SetTraceback( exception_keeper_value_4, (PyObject *)exception_keeper_tb_4 ); PUBLISH_EXCEPTION( &exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4 ); } { // Tried code: { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_1 = PyExc_ImportError; tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 484; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_6; } 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 = 484; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_6; } tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 482; } if (exception_tb && exception_tb->tb_frame == &frame_856bd4c1a9616550b8e4028d70896389->m_frame) frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_6; } branch_no_2:; } goto try_end_5; // Exception handler code: try_except_handler_6:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto frame_exception_exit_1; } // End of try: try_end_5:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } goto try_end_4; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_13_install_aliases ); return NULL; // End of try: try_end_4:; } { nuitka_bool tmp_assign_source_22; tmp_assign_source_22 = NUITKA_BOOL_TRUE; tmp_try_except_1__unhandled_indicator = tmp_assign_source_22; } { // Tried code: { // Tried code: { PyObject *tmp_assign_source_23; PyObject *tmp_import_name_from_6; PyObject *tmp_name_name_10; PyObject *tmp_globals_name_8; PyObject *tmp_locals_name_8; PyObject *tmp_fromlist_name_8; PyObject *tmp_level_name_8; tmp_name_name_10 = const_str_digest_618a28ff4e8365b735187a5066c34f98; tmp_globals_name_8 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_8 = Py_None; tmp_fromlist_name_8 = const_tuple_str_plain_support_tuple; tmp_level_name_8 = const_int_0; frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = 487; tmp_import_name_from_6 = IMPORT_MODULE5( tmp_name_name_10, tmp_globals_name_8, tmp_locals_name_8, tmp_fromlist_name_8, tmp_level_name_8 ); if ( tmp_import_name_from_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 487; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_8; } tmp_assign_source_23 = IMPORT_NAME( tmp_import_name_from_6, const_str_plain_support ); Py_DECREF( tmp_import_name_from_6 ); if ( tmp_assign_source_23 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 487; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_8; } assert( var_support == NULL ); var_support = tmp_assign_source_23; } goto try_end_6; // Exception handler code: try_except_handler_8:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { nuitka_bool tmp_assign_source_24; tmp_assign_source_24 = NUITKA_BOOL_FALSE; tmp_try_except_1__unhandled_indicator = tmp_assign_source_24; } { // Preserve existing published exception. exception_preserved_type_2 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_2 ); exception_preserved_value_2 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_2 ); exception_preserved_tb_2 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_2 ); } { if ( exception_keeper_tb_6 == NULL ) { exception_keeper_tb_6 = MAKE_TRACEBACK( frame_856bd4c1a9616550b8e4028d70896389, exception_keeper_lineno_6 ); } else if ( exception_keeper_lineno_6 != 0 ) { exception_keeper_tb_6 = ADD_TRACEBACK( exception_keeper_tb_6, frame_856bd4c1a9616550b8e4028d70896389, exception_keeper_lineno_6 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_6, &exception_keeper_value_6, &exception_keeper_tb_6 ); PyException_SetTraceback( exception_keeper_value_6, (PyObject *)exception_keeper_tb_6 ); PUBLISH_EXCEPTION( &exception_keeper_type_6, &exception_keeper_value_6, &exception_keeper_tb_6 ); } { // Tried code: { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_2 = PyExc_ImportError; tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 488; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_9; } 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 = 488; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_9; } tmp_condition_result_3 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 486; } if (exception_tb && exception_tb->tb_frame == &frame_856bd4c1a9616550b8e4028d70896389->m_frame) frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_9; } branch_no_3:; } goto try_end_7; // Exception handler code: try_except_handler_9:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 ); } { // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto try_except_handler_7; } // End of try: try_end_7:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 ); } goto try_end_6; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_13_install_aliases ); return NULL; // End of try: try_end_6:; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; assert( tmp_try_except_1__unhandled_indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_3 = ( tmp_try_except_1__unhandled_indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_3 = Py_True; tmp_condition_result_4 = ( tmp_compexpr_left_3 == tmp_compexpr_right_3 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_assattr_name_6; PyObject *tmp_assattr_target_6; if ( var_support == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "support" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 491; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_7; } tmp_assattr_name_6 = var_support; if ( var_test == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "test" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 491; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_7; } tmp_assattr_target_6 = var_test; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain_support, tmp_assattr_name_6 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 491; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_7; } } { PyObject *tmp_ass_subvalue_6; PyObject *tmp_ass_subscribed_6; PyObject *tmp_source_name_8; PyObject *tmp_mvar_value_10; PyObject *tmp_ass_subscript_6; if ( var_support == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "support" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 492; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_7; } tmp_ass_subvalue_6 = var_support; tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_10 == NULL )) { tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_10 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 492; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_7; } tmp_source_name_8 = tmp_mvar_value_10; tmp_ass_subscribed_6 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_modules ); if ( tmp_ass_subscribed_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 492; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_7; } tmp_ass_subscript_6 = const_str_digest_61559eeb13b955499f42193e91d619a2; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_6, tmp_ass_subscript_6, tmp_ass_subvalue_6 ); Py_DECREF( tmp_ass_subscribed_6 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 492; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_7; } } branch_no_4:; } goto try_end_8; // Exception handler code: try_except_handler_7:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { } { // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto frame_exception_exit_1; } // End of try: try_end_8:; } { } { nuitka_bool tmp_assign_source_25; tmp_assign_source_25 = NUITKA_BOOL_TRUE; tmp_try_except_4__unhandled_indicator = tmp_assign_source_25; } { // Tried code: { // Tried code: { PyObject *tmp_assign_source_26; PyObject *tmp_name_name_11; PyObject *tmp_globals_name_9; PyObject *tmp_locals_name_9; PyObject *tmp_fromlist_name_9; PyObject *tmp_level_name_9; tmp_name_name_11 = const_str_plain_dbm; tmp_globals_name_9 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_9 = Py_None; tmp_fromlist_name_9 = Py_None; tmp_level_name_9 = const_int_0; frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = 496; tmp_assign_source_26 = IMPORT_MODULE5( tmp_name_name_11, tmp_globals_name_9, tmp_locals_name_9, tmp_fromlist_name_9, tmp_level_name_9 ); if ( tmp_assign_source_26 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 496; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_11; } assert( var_dbm == NULL ); var_dbm = tmp_assign_source_26; } goto try_end_9; // Exception handler code: try_except_handler_11:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { nuitka_bool tmp_assign_source_27; tmp_assign_source_27 = NUITKA_BOOL_FALSE; tmp_try_except_4__unhandled_indicator = tmp_assign_source_27; } { // Preserve existing published exception. exception_preserved_type_3 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_3 ); exception_preserved_value_3 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_3 ); exception_preserved_tb_3 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_3 ); } { if ( exception_keeper_tb_9 == NULL ) { exception_keeper_tb_9 = MAKE_TRACEBACK( frame_856bd4c1a9616550b8e4028d70896389, exception_keeper_lineno_9 ); } else if ( exception_keeper_lineno_9 != 0 ) { exception_keeper_tb_9 = ADD_TRACEBACK( exception_keeper_tb_9, frame_856bd4c1a9616550b8e4028d70896389, exception_keeper_lineno_9 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_9, &exception_keeper_value_9, &exception_keeper_tb_9 ); PyException_SetTraceback( exception_keeper_value_9, (PyObject *)exception_keeper_tb_9 ); PUBLISH_EXCEPTION( &exception_keeper_type_9, &exception_keeper_value_9, &exception_keeper_tb_9 ); } { // Tried code: { nuitka_bool tmp_condition_result_5; PyObject *tmp_operand_name_3; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; tmp_compexpr_left_4 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_4 = PyExc_ImportError; tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_4, tmp_compexpr_right_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 497; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_12; } tmp_operand_name_3 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 497; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_12; } tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 495; } if (exception_tb && exception_tb->tb_frame == &frame_856bd4c1a9616550b8e4028d70896389->m_frame) frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_12; } branch_no_5:; } goto try_end_10; // Exception handler code: try_except_handler_12:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_3, exception_preserved_value_3, exception_preserved_tb_3 ); } { // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto try_except_handler_10; } // End of try: try_end_10:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_3, exception_preserved_value_3, exception_preserved_tb_3 ); } goto try_end_9; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_13_install_aliases ); return NULL; // End of try: try_end_9:; } { nuitka_bool tmp_condition_result_6; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; assert( tmp_try_except_4__unhandled_indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_5 = ( tmp_try_except_4__unhandled_indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_5 = Py_True; tmp_condition_result_6 = ( tmp_compexpr_left_5 == tmp_compexpr_right_5 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { PyObject *tmp_assign_source_28; PyObject *tmp_import_name_from_7; PyObject *tmp_name_name_12; PyObject *tmp_globals_name_10; PyObject *tmp_locals_name_10; PyObject *tmp_fromlist_name_10; PyObject *tmp_level_name_10; tmp_name_name_12 = const_str_digest_436a338404d6c5741e716fe26b0c2c4e; tmp_globals_name_10 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_10 = Py_None; tmp_fromlist_name_10 = const_tuple_str_plain_dumb_tuple; tmp_level_name_10 = const_int_0; frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = 500; tmp_import_name_from_7 = IMPORT_MODULE5( tmp_name_name_12, tmp_globals_name_10, tmp_locals_name_10, tmp_fromlist_name_10, tmp_level_name_10 ); if ( tmp_import_name_from_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 500; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_10; } tmp_assign_source_28 = IMPORT_NAME( tmp_import_name_from_7, const_str_plain_dumb ); Py_DECREF( tmp_import_name_from_7 ); if ( tmp_assign_source_28 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 500; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_10; } assert( var_dumb == NULL ); var_dumb = tmp_assign_source_28; } { PyObject *tmp_assattr_name_7; PyObject *tmp_assattr_target_7; CHECK_OBJECT( var_dumb ); tmp_assattr_name_7 = var_dumb; if ( var_dbm == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "dbm" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 501; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_10; } tmp_assattr_target_7 = var_dbm; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_7, const_str_plain_dumb, tmp_assattr_name_7 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 501; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_10; } } { PyObject *tmp_ass_subvalue_7; PyObject *tmp_ass_subscribed_7; PyObject *tmp_source_name_9; PyObject *tmp_mvar_value_11; PyObject *tmp_ass_subscript_7; if ( var_dumb == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "dumb" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 502; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_10; } tmp_ass_subvalue_7 = var_dumb; tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_11 == NULL )) { tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_11 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 502; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_10; } tmp_source_name_9 = tmp_mvar_value_11; tmp_ass_subscribed_7 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_modules ); if ( tmp_ass_subscribed_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 502; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_10; } tmp_ass_subscript_7 = const_str_digest_403fc5577610e7404de616fec8a7f71f; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_7, tmp_ass_subscript_7, tmp_ass_subvalue_7 ); Py_DECREF( tmp_ass_subscribed_7 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 502; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_10; } } { nuitka_bool tmp_assign_source_29; tmp_assign_source_29 = NUITKA_BOOL_TRUE; tmp_try_except_2__unhandled_indicator = tmp_assign_source_29; } { // Tried code: { // Tried code: { PyObject *tmp_assign_source_30; PyObject *tmp_import_name_from_8; PyObject *tmp_name_name_13; PyObject *tmp_globals_name_11; PyObject *tmp_locals_name_11; PyObject *tmp_fromlist_name_11; PyObject *tmp_level_name_11; tmp_name_name_13 = const_str_digest_436a338404d6c5741e716fe26b0c2c4e; tmp_globals_name_11 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_11 = Py_None; tmp_fromlist_name_11 = const_tuple_str_plain_gnu_tuple; tmp_level_name_11 = const_int_0; frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = 504; tmp_import_name_from_8 = IMPORT_MODULE5( tmp_name_name_13, tmp_globals_name_11, tmp_locals_name_11, tmp_fromlist_name_11, tmp_level_name_11 ); if ( tmp_import_name_from_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 504; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_14; } tmp_assign_source_30 = IMPORT_NAME( tmp_import_name_from_8, const_str_plain_gnu ); Py_DECREF( tmp_import_name_from_8 ); if ( tmp_assign_source_30 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 504; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_14; } assert( var_gnu == NULL ); var_gnu = tmp_assign_source_30; } goto try_end_11; // Exception handler code: try_except_handler_14:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { nuitka_bool tmp_assign_source_31; tmp_assign_source_31 = NUITKA_BOOL_FALSE; tmp_try_except_2__unhandled_indicator = tmp_assign_source_31; } { // Preserve existing published exception. exception_preserved_type_4 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_4 ); exception_preserved_value_4 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_4 ); exception_preserved_tb_4 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_4 ); } { if ( exception_keeper_tb_11 == NULL ) { exception_keeper_tb_11 = MAKE_TRACEBACK( frame_856bd4c1a9616550b8e4028d70896389, exception_keeper_lineno_11 ); } else if ( exception_keeper_lineno_11 != 0 ) { exception_keeper_tb_11 = ADD_TRACEBACK( exception_keeper_tb_11, frame_856bd4c1a9616550b8e4028d70896389, exception_keeper_lineno_11 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_11, &exception_keeper_value_11, &exception_keeper_tb_11 ); PyException_SetTraceback( exception_keeper_value_11, (PyObject *)exception_keeper_tb_11 ); PUBLISH_EXCEPTION( &exception_keeper_type_11, &exception_keeper_value_11, &exception_keeper_tb_11 ); } { // Tried code: { nuitka_bool tmp_condition_result_7; PyObject *tmp_operand_name_4; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; tmp_compexpr_left_6 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_6 = PyExc_ImportError; tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_6, tmp_compexpr_right_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 505; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_15; } tmp_operand_name_4 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 505; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_15; } tmp_condition_result_7 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 503; } if (exception_tb && exception_tb->tb_frame == &frame_856bd4c1a9616550b8e4028d70896389->m_frame) frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_15; } branch_no_7:; } goto try_end_12; // Exception handler code: try_except_handler_15:; exception_keeper_type_12 = exception_type; exception_keeper_value_12 = exception_value; exception_keeper_tb_12 = exception_tb; exception_keeper_lineno_12 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_4, exception_preserved_value_4, exception_preserved_tb_4 ); } { // Re-raise. exception_type = exception_keeper_type_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto try_except_handler_13; } // End of try: try_end_12:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_4, exception_preserved_value_4, exception_preserved_tb_4 ); } goto try_end_11; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_13_install_aliases ); return NULL; // End of try: try_end_11:; } { nuitka_bool tmp_condition_result_8; PyObject *tmp_compexpr_left_7; PyObject *tmp_compexpr_right_7; assert( tmp_try_except_2__unhandled_indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_7 = ( tmp_try_except_2__unhandled_indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_7 = Py_True; tmp_condition_result_8 = ( tmp_compexpr_left_7 == tmp_compexpr_right_7 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { PyObject *tmp_assattr_name_8; PyObject *tmp_assattr_target_8; if ( var_gnu == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "gnu" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 508; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_13; } tmp_assattr_name_8 = var_gnu; if ( var_dbm == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "dbm" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 508; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_13; } tmp_assattr_target_8 = var_dbm; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_8, const_str_plain_gnu, tmp_assattr_name_8 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 508; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_13; } } { PyObject *tmp_ass_subvalue_8; PyObject *tmp_ass_subscribed_8; PyObject *tmp_source_name_10; PyObject *tmp_mvar_value_12; PyObject *tmp_ass_subscript_8; if ( var_gnu == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "gnu" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 509; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_13; } tmp_ass_subvalue_8 = var_gnu; tmp_mvar_value_12 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_12 == NULL )) { tmp_mvar_value_12 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_12 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 509; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_13; } tmp_source_name_10 = tmp_mvar_value_12; tmp_ass_subscribed_8 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_modules ); if ( tmp_ass_subscribed_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 509; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_13; } tmp_ass_subscript_8 = const_str_digest_937e23fd1af2ef7336d82295a1301f51; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_8, tmp_ass_subscript_8, tmp_ass_subvalue_8 ); Py_DECREF( tmp_ass_subscribed_8 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 509; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_13; } } branch_no_8:; } goto try_end_13; // Exception handler code: try_except_handler_13:; exception_keeper_type_13 = exception_type; exception_keeper_value_13 = exception_value; exception_keeper_tb_13 = exception_tb; exception_keeper_lineno_13 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { } { // Re-raise. exception_type = exception_keeper_type_13; exception_value = exception_keeper_value_13; exception_tb = exception_keeper_tb_13; exception_lineno = exception_keeper_lineno_13; goto try_except_handler_10; } // End of try: try_end_13:; } { } { nuitka_bool tmp_assign_source_32; tmp_assign_source_32 = NUITKA_BOOL_TRUE; tmp_try_except_3__unhandled_indicator = tmp_assign_source_32; } { // Tried code: { // Tried code: { PyObject *tmp_assign_source_33; PyObject *tmp_import_name_from_9; PyObject *tmp_name_name_14; PyObject *tmp_globals_name_12; PyObject *tmp_locals_name_12; PyObject *tmp_fromlist_name_12; PyObject *tmp_level_name_12; tmp_name_name_14 = const_str_digest_436a338404d6c5741e716fe26b0c2c4e; tmp_globals_name_12 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_12 = Py_None; tmp_fromlist_name_12 = const_tuple_str_plain_ndbm_tuple; tmp_level_name_12 = const_int_0; frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = 511; tmp_import_name_from_9 = IMPORT_MODULE5( tmp_name_name_14, tmp_globals_name_12, tmp_locals_name_12, tmp_fromlist_name_12, tmp_level_name_12 ); if ( tmp_import_name_from_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 511; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_17; } tmp_assign_source_33 = IMPORT_NAME( tmp_import_name_from_9, const_str_plain_ndbm ); Py_DECREF( tmp_import_name_from_9 ); if ( tmp_assign_source_33 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 511; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_17; } assert( var_ndbm == NULL ); var_ndbm = tmp_assign_source_33; } goto try_end_14; // Exception handler code: try_except_handler_17:; exception_keeper_type_14 = exception_type; exception_keeper_value_14 = exception_value; exception_keeper_tb_14 = exception_tb; exception_keeper_lineno_14 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { nuitka_bool tmp_assign_source_34; tmp_assign_source_34 = NUITKA_BOOL_FALSE; tmp_try_except_3__unhandled_indicator = tmp_assign_source_34; } { // Preserve existing published exception. exception_preserved_type_5 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_5 ); exception_preserved_value_5 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_5 ); exception_preserved_tb_5 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_5 ); } { if ( exception_keeper_tb_14 == NULL ) { exception_keeper_tb_14 = MAKE_TRACEBACK( frame_856bd4c1a9616550b8e4028d70896389, exception_keeper_lineno_14 ); } else if ( exception_keeper_lineno_14 != 0 ) { exception_keeper_tb_14 = ADD_TRACEBACK( exception_keeper_tb_14, frame_856bd4c1a9616550b8e4028d70896389, exception_keeper_lineno_14 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_14, &exception_keeper_value_14, &exception_keeper_tb_14 ); PyException_SetTraceback( exception_keeper_value_14, (PyObject *)exception_keeper_tb_14 ); PUBLISH_EXCEPTION( &exception_keeper_type_14, &exception_keeper_value_14, &exception_keeper_tb_14 ); } { // Tried code: { nuitka_bool tmp_condition_result_9; PyObject *tmp_operand_name_5; PyObject *tmp_compexpr_left_8; PyObject *tmp_compexpr_right_8; tmp_compexpr_left_8 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_8 = PyExc_ImportError; tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_8, tmp_compexpr_right_8 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 512; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_18; } tmp_operand_name_5 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 512; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_18; } tmp_condition_result_9 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 510; } if (exception_tb && exception_tb->tb_frame == &frame_856bd4c1a9616550b8e4028d70896389->m_frame) frame_856bd4c1a9616550b8e4028d70896389->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_18; } branch_no_9:; } goto try_end_15; // Exception handler code: try_except_handler_18:; exception_keeper_type_15 = exception_type; exception_keeper_value_15 = exception_value; exception_keeper_tb_15 = exception_tb; exception_keeper_lineno_15 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_5, exception_preserved_value_5, exception_preserved_tb_5 ); } { // Re-raise. exception_type = exception_keeper_type_15; exception_value = exception_keeper_value_15; exception_tb = exception_keeper_tb_15; exception_lineno = exception_keeper_lineno_15; goto try_except_handler_16; } // End of try: try_end_15:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_5, exception_preserved_value_5, exception_preserved_tb_5 ); } goto try_end_14; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_13_install_aliases ); return NULL; // End of try: try_end_14:; } { nuitka_bool tmp_condition_result_10; PyObject *tmp_compexpr_left_9; PyObject *tmp_compexpr_right_9; assert( tmp_try_except_3__unhandled_indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_9 = ( tmp_try_except_3__unhandled_indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_9 = Py_True; tmp_condition_result_10 = ( tmp_compexpr_left_9 == tmp_compexpr_right_9 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { PyObject *tmp_assattr_name_9; PyObject *tmp_assattr_target_9; if ( var_ndbm == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ndbm" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 515; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_16; } tmp_assattr_name_9 = var_ndbm; if ( var_dbm == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "dbm" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 515; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_16; } tmp_assattr_target_9 = var_dbm; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_9, const_str_plain_ndbm, tmp_assattr_name_9 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 515; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_16; } } { PyObject *tmp_ass_subvalue_9; PyObject *tmp_ass_subscribed_9; PyObject *tmp_source_name_11; PyObject *tmp_mvar_value_13; PyObject *tmp_ass_subscript_9; if ( var_ndbm == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ndbm" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 516; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_16; } tmp_ass_subvalue_9 = var_ndbm; tmp_mvar_value_13 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_13 == NULL )) { tmp_mvar_value_13 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_13 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 516; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_16; } tmp_source_name_11 = tmp_mvar_value_13; tmp_ass_subscribed_9 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_modules ); if ( tmp_ass_subscribed_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 516; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_16; } tmp_ass_subscript_9 = const_str_digest_3e233ca7cc798c784c4df07cd3d081f8; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_9, tmp_ass_subscript_9, tmp_ass_subvalue_9 ); Py_DECREF( tmp_ass_subscribed_9 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 516; type_description_1 = "ooooooooooooooooooo"; goto try_except_handler_16; } } branch_no_10:; } goto try_end_16; // Exception handler code: try_except_handler_16:; exception_keeper_type_16 = exception_type; exception_keeper_value_16 = exception_value; exception_keeper_tb_16 = exception_tb; exception_keeper_lineno_16 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { } { // Re-raise. exception_type = exception_keeper_type_16; exception_value = exception_keeper_value_16; exception_tb = exception_keeper_tb_16; exception_lineno = exception_keeper_lineno_16; goto try_except_handler_10; } // End of try: try_end_16:; } { } branch_no_6:; } goto try_end_17; // Exception handler code: try_except_handler_10:; exception_keeper_type_17 = exception_type; exception_keeper_value_17 = exception_value; exception_keeper_tb_17 = exception_tb; exception_keeper_lineno_17 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { } { // Re-raise. exception_type = exception_keeper_type_17; exception_value = exception_keeper_value_17; exception_tb = exception_keeper_tb_17; exception_lineno = exception_keeper_lineno_17; goto frame_exception_exit_1; } // End of try: try_end_17:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_856bd4c1a9616550b8e4028d70896389 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_856bd4c1a9616550b8e4028d70896389 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_856bd4c1a9616550b8e4028d70896389 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_856bd4c1a9616550b8e4028d70896389, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_856bd4c1a9616550b8e4028d70896389->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_856bd4c1a9616550b8e4028d70896389, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_856bd4c1a9616550b8e4028d70896389, type_description_1, var_newmodname, var_newobjname, var_oldmodname, var_oldobjname, var_newmod, var_oldmod, var_obj, var_urllib, var_request, var_response, var_parse, var_error, var_robotparser, var_test, var_support, var_dbm, var_dumb, var_gnu, var_ndbm ); // Release cached frame. if ( frame_856bd4c1a9616550b8e4028d70896389 == cache_frame_856bd4c1a9616550b8e4028d70896389 ) { Py_DECREF( frame_856bd4c1a9616550b8e4028d70896389 ); } cache_frame_856bd4c1a9616550b8e4028d70896389 = NULL; assertFrameObject( frame_856bd4c1a9616550b8e4028d70896389 ); // 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( future$standard_library$$$function_13_install_aliases ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( var_newmodname ); var_newmodname = NULL; } { Py_XDECREF( var_newobjname ); var_newobjname = NULL; } { Py_XDECREF( var_oldmodname ); var_oldmodname = NULL; } { Py_XDECREF( var_oldobjname ); var_oldobjname = NULL; } { Py_XDECREF( var_newmod ); var_newmod = NULL; } { Py_XDECREF( var_oldmod ); var_oldmod = NULL; } { Py_XDECREF( var_obj ); var_obj = NULL; } { Py_XDECREF( var_urllib ); var_urllib = NULL; } { Py_XDECREF( var_request ); var_request = NULL; } { Py_XDECREF( var_response ); var_response = NULL; } { Py_XDECREF( var_parse ); var_parse = NULL; } { Py_XDECREF( var_error ); var_error = NULL; } { Py_XDECREF( var_robotparser ); var_robotparser = NULL; } { Py_XDECREF( var_test ); var_test = NULL; } { Py_XDECREF( var_support ); var_support = NULL; } { Py_XDECREF( var_dbm ); var_dbm = NULL; } { Py_XDECREF( var_dumb ); var_dumb = NULL; } { Py_XDECREF( var_gnu ); var_gnu = NULL; } { Py_XDECREF( var_ndbm ); var_ndbm = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_18 = exception_type; exception_keeper_value_18 = exception_value; exception_keeper_tb_18 = exception_tb; exception_keeper_lineno_18 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( var_newmodname ); var_newmodname = NULL; } { Py_XDECREF( var_newobjname ); var_newobjname = NULL; } { Py_XDECREF( var_oldmodname ); var_oldmodname = NULL; } { Py_XDECREF( var_oldobjname ); var_oldobjname = NULL; } { Py_XDECREF( var_newmod ); var_newmod = NULL; } { Py_XDECREF( var_oldmod ); var_oldmod = NULL; } { Py_XDECREF( var_obj ); var_obj = NULL; } { Py_XDECREF( var_urllib ); var_urllib = NULL; } { Py_XDECREF( var_request ); var_request = NULL; } { Py_XDECREF( var_response ); var_response = NULL; } { Py_XDECREF( var_parse ); var_parse = NULL; } { Py_XDECREF( var_error ); var_error = NULL; } { Py_XDECREF( var_robotparser ); var_robotparser = NULL; } { Py_XDECREF( var_test ); var_test = NULL; } { Py_XDECREF( var_support ); var_support = NULL; } { Py_XDECREF( var_dbm ); var_dbm = NULL; } { Py_XDECREF( var_dumb ); var_dumb = NULL; } { Py_XDECREF( var_gnu ); var_gnu = NULL; } { Py_XDECREF( var_ndbm ); var_ndbm = NULL; } { // Re-raise. exception_type = exception_keeper_type_18; exception_value = exception_keeper_value_18; exception_tb = exception_keeper_tb_18; exception_lineno = exception_keeper_lineno_18; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_13_install_aliases ); 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_future$standard_library$$$function_14_install_hooks( 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 *var_newhook = NULL; struct Nuitka_FrameObject *frame_776afb37938f0cbe2e3fc84bc2c964e0; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; int tmp_res; static struct Nuitka_FrameObject *cache_frame_776afb37938f0cbe2e3fc84bc2c964e0 = 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_776afb37938f0cbe2e3fc84bc2c964e0, codeobj_776afb37938f0cbe2e3fc84bc2c964e0, module_future$standard_library, sizeof(void *) ); frame_776afb37938f0cbe2e3fc84bc2c964e0 = cache_frame_776afb37938f0cbe2e3fc84bc2c964e0; // Push the new frame as the currently active one. pushFrameStack( frame_776afb37938f0cbe2e3fc84bc2c964e0 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_776afb37938f0cbe2e3fc84bc2c964e0 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_mvar_value_1; int tmp_truth_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_PY3 ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PY3 ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PY3" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 526; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_mvar_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 526; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_install_aliases ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_install_aliases ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "install_aliases" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 529; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_2; frame_776afb37938f0cbe2e3fc84bc2c964e0->m_frame.f_lineno = 529; tmp_unused = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 529; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_1; PyObject *tmp_called_name_3; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_4; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_flog ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_flog ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "flog" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 531; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_3; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_debug ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 531; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_2 = const_str_digest_c599a70f3cf671a8a7cee9919c6e96f8; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_format ); assert( !(tmp_called_name_3 == NULL) ); tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_4 == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 531; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_4; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_meta_path ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 531; type_description_1 = "o"; goto frame_exception_exit_1; } frame_776afb37938f0cbe2e3fc84bc2c964e0->m_frame.f_lineno = 531; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_args_element_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 531; type_description_1 = "o"; goto frame_exception_exit_1; } frame_776afb37938f0cbe2e3fc84bc2c964e0->m_frame.f_lineno = 531; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 531; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_5; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_flog ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_flog ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "flog" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 532; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_instance_1 = tmp_mvar_value_5; frame_776afb37938f0cbe2e3fc84bc2c964e0->m_frame.f_lineno = 532; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_debug, &PyTuple_GET_ITEM( const_tuple_str_digest_7b4b32a5867619d0eba1761109c65483_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 532; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_4; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_3; PyObject *tmp_mvar_value_7; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_RenameImport ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_RenameImport ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "RenameImport" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 535; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_4 = tmp_mvar_value_6; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_RENAMES ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_RENAMES ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "RENAMES" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 535; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_args_element_name_3 = tmp_mvar_value_7; frame_776afb37938f0cbe2e3fc84bc2c964e0->m_frame.f_lineno = 535; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 535; type_description_1 = "o"; goto frame_exception_exit_1; } assert( var_newhook == NULL ); var_newhook = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_1; PyObject *tmp_called_name_5; PyObject *tmp_mvar_value_8; tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_detect_hooks ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_detect_hooks ); } if ( tmp_mvar_value_8 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "detect_hooks" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 536; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_5 = tmp_mvar_value_8; frame_776afb37938f0cbe2e3fc84bc2c964e0->m_frame.f_lineno = 536; tmp_operand_name_1 = CALL_FUNCTION_NO_ARGS( tmp_called_name_5 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 536; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 536; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_called_name_6; PyObject *tmp_source_name_4; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_9; PyObject *tmp_args_element_name_4; tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_9 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 537; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_9; tmp_source_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_meta_path ); if ( tmp_source_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 537; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_append ); Py_DECREF( tmp_source_name_4 ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 537; type_description_1 = "o"; goto frame_exception_exit_1; } if ( var_newhook == NULL ) { Py_DECREF( tmp_called_name_6 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "newhook" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 537; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_args_element_name_4 = var_newhook; frame_776afb37938f0cbe2e3fc84bc2c964e0->m_frame.f_lineno = 537; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 537; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_2:; } { PyObject *tmp_called_name_7; PyObject *tmp_source_name_6; PyObject *tmp_mvar_value_10; PyObject *tmp_args_element_name_5; PyObject *tmp_called_name_8; PyObject *tmp_source_name_7; PyObject *tmp_args_element_name_6; PyObject *tmp_source_name_8; PyObject *tmp_mvar_value_11; tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_flog ); if (unlikely( tmp_mvar_value_10 == NULL )) { tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_flog ); } if ( tmp_mvar_value_10 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "flog" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 538; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_6 = tmp_mvar_value_10; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_debug ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 538; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_7 = const_str_digest_7635923d81c3f2c67cb0f89815f636c5; tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_format ); assert( !(tmp_called_name_8 == NULL) ); tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_11 == NULL )) { tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_11 == NULL ) { Py_DECREF( tmp_called_name_7 ); Py_DECREF( tmp_called_name_8 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 538; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_source_name_8 = tmp_mvar_value_11; tmp_args_element_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_meta_path ); if ( tmp_args_element_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_7 ); Py_DECREF( tmp_called_name_8 ); exception_lineno = 538; type_description_1 = "o"; goto frame_exception_exit_1; } frame_776afb37938f0cbe2e3fc84bc2c964e0->m_frame.f_lineno = 538; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_args_element_name_5 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_8, call_args ); } Py_DECREF( tmp_called_name_8 ); Py_DECREF( tmp_args_element_name_6 ); if ( tmp_args_element_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_7 ); exception_lineno = 538; type_description_1 = "o"; goto frame_exception_exit_1; } frame_776afb37938f0cbe2e3fc84bc2c964e0->m_frame.f_lineno = 538; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_7, call_args ); } Py_DECREF( tmp_called_name_7 ); Py_DECREF( tmp_args_element_name_5 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 538; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_776afb37938f0cbe2e3fc84bc2c964e0 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_776afb37938f0cbe2e3fc84bc2c964e0 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_776afb37938f0cbe2e3fc84bc2c964e0 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_776afb37938f0cbe2e3fc84bc2c964e0, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_776afb37938f0cbe2e3fc84bc2c964e0->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_776afb37938f0cbe2e3fc84bc2c964e0, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_776afb37938f0cbe2e3fc84bc2c964e0, type_description_1, var_newhook ); // Release cached frame. if ( frame_776afb37938f0cbe2e3fc84bc2c964e0 == cache_frame_776afb37938f0cbe2e3fc84bc2c964e0 ) { Py_DECREF( frame_776afb37938f0cbe2e3fc84bc2c964e0 ); } cache_frame_776afb37938f0cbe2e3fc84bc2c964e0 = NULL; assertFrameObject( frame_776afb37938f0cbe2e3fc84bc2c964e0 ); // 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( future$standard_library$$$function_14_install_hooks ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( var_newhook ); var_newhook = 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( var_newhook ); var_newhook = 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( future$standard_library$$$function_14_install_hooks ); 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_future$standard_library$$$function_15_enable_hooks( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_FrameObject *frame_8105067314b708448f190893d909d8c1; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_8105067314b708448f190893d909d8c1 = NULL; PyObject *tmp_return_value = NULL; // Actual function code. MAKE_OR_REUSE_FRAME( cache_frame_8105067314b708448f190893d909d8c1, codeobj_8105067314b708448f190893d909d8c1, module_future$standard_library, 0 ); frame_8105067314b708448f190893d909d8c1 = cache_frame_8105067314b708448f190893d909d8c1; // Push the new frame as the currently active one. pushFrameStack( frame_8105067314b708448f190893d909d8c1 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8105067314b708448f190893d909d8c1 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_install_hooks ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_install_hooks ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "install_hooks" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 546; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; frame_8105067314b708448f190893d909d8c1->m_frame.f_lineno = 546; tmp_unused = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 546; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_8105067314b708448f190893d909d8c1 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8105067314b708448f190893d909d8c1 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8105067314b708448f190893d909d8c1, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8105067314b708448f190893d909d8c1->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8105067314b708448f190893d909d8c1, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8105067314b708448f190893d909d8c1, type_description_1 ); // Release cached frame. if ( frame_8105067314b708448f190893d909d8c1 == cache_frame_8105067314b708448f190893d909d8c1 ) { Py_DECREF( frame_8105067314b708448f190893d909d8c1 ); } cache_frame_8105067314b708448f190893d909d8c1 = NULL; assertFrameObject( frame_8105067314b708448f190893d909d8c1 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto function_return_exit; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_15_enable_hooks ); 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_future$standard_library$$$function_16_remove_hooks( 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_scrub_sys_modules = python_pars[ 0 ]; PyObject *var_i = NULL; PyObject *var_hook = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; struct Nuitka_FrameObject *frame_3bcae0f155a8ea7dfe5c307a4dfc190e; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; int tmp_res; bool tmp_result; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; static struct Nuitka_FrameObject *cache_frame_3bcae0f155a8ea7dfe5c307a4dfc190e = NULL; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_3bcae0f155a8ea7dfe5c307a4dfc190e, codeobj_3bcae0f155a8ea7dfe5c307a4dfc190e, module_future$standard_library, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_3bcae0f155a8ea7dfe5c307a4dfc190e = cache_frame_3bcae0f155a8ea7dfe5c307a4dfc190e; // Push the new frame as the currently active one. pushFrameStack( frame_3bcae0f155a8ea7dfe5c307a4dfc190e ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_3bcae0f155a8ea7dfe5c307a4dfc190e ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_mvar_value_1; int tmp_truth_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_PY3 ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PY3 ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PY3" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 553; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_mvar_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 553; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_flog ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_flog ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "flog" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 555; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_1 = tmp_mvar_value_2; frame_3bcae0f155a8ea7dfe5c307a4dfc190e->m_frame.f_lineno = 555; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_debug, &PyTuple_GET_ITEM( const_tuple_str_digest_3f112ff8c4b7043a39a52522bd1ad986_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 555; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_list_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_3; PyObject *tmp_subscript_name_1; tmp_called_name_1 = (PyObject *)&PyEnum_Type; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 557; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_3; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_meta_path ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 557; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_3bcae0f155a8ea7dfe5c307a4dfc190e->m_frame.f_lineno = 557; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_list_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_args_element_name_1 ); if ( tmp_list_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 557; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = PySequence_List( tmp_list_arg_1 ); Py_DECREF( tmp_list_arg_1 ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 557; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_slice_none_none_int_neg_1; tmp_iter_arg_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 557; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 557; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_1; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_2; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_2 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; exception_lineno = 557; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_2; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_3; PyObject *tmp_iter_arg_2; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_iter_arg_2 = tmp_for_loop_1__iter_value; tmp_assign_source_3 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 557; type_description_1 = "ooo"; goto try_except_handler_3; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_3; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_4; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_4 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_4 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooo"; exception_lineno = 557; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_5 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_5 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooo"; exception_lineno = 557; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; exception_lineno = 557; goto try_except_handler_4; } } } else { Py_DECREF( tmp_iterator_attempt ); // TODO: Could avoid PyErr_Format. #if PYTHON_VERSION < 300 PyErr_Format( PyExc_ValueError, "too many values to unpack" ); #else PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; exception_lineno = 557; goto try_except_handler_4; } } goto try_end_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_3; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_2; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_6 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_i; var_i = tmp_assign_source_6; Py_INCREF( var_i ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_7; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_7 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_hook; var_hook = tmp_assign_source_7; Py_INCREF( var_hook ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_source_name_2; PyObject *tmp_attribute_name_1; if ( var_hook == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "hook" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 558; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_2 = var_hook; tmp_attribute_name_1 = const_str_plain_RENAMER; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_2, tmp_attribute_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 558; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_delsubscr_target_1; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_4; PyObject *tmp_delsubscr_subscript_1; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 559; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_3 = tmp_mvar_value_4; tmp_delsubscr_target_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_meta_path ); if ( tmp_delsubscr_target_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 559; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_i == 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", "i" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 559; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_delsubscr_subscript_1 = var_i; tmp_result = DEL_SUBSCRIPT( tmp_delsubscr_target_1, tmp_delsubscr_subscript_1 ); Py_DECREF( tmp_delsubscr_target_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 559; type_description_1 = "ooo"; goto try_except_handler_2; } } branch_no_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 557; type_description_1 = "ooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_3; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; } // End of try: try_end_3:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { nuitka_bool tmp_condition_result_3; int tmp_truth_name_2; if ( par_scrub_sys_modules == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "scrub_sys_modules" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 565; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_truth_name_2 = CHECK_IF_TRUE( par_scrub_sys_modules ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 565; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_called_name_2; PyObject *tmp_mvar_value_5; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_scrub_future_sys_modules ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_scrub_future_sys_modules ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "scrub_future_sys_modules" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 566; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_2 = tmp_mvar_value_5; frame_3bcae0f155a8ea7dfe5c307a4dfc190e->m_frame.f_lineno = 566; tmp_unused = CALL_FUNCTION_NO_ARGS( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 566; type_description_1 = "ooo"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_no_3:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_3bcae0f155a8ea7dfe5c307a4dfc190e ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3bcae0f155a8ea7dfe5c307a4dfc190e ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_3bcae0f155a8ea7dfe5c307a4dfc190e ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_3bcae0f155a8ea7dfe5c307a4dfc190e, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_3bcae0f155a8ea7dfe5c307a4dfc190e->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_3bcae0f155a8ea7dfe5c307a4dfc190e, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_3bcae0f155a8ea7dfe5c307a4dfc190e, type_description_1, par_scrub_sys_modules, var_i, var_hook ); // Release cached frame. if ( frame_3bcae0f155a8ea7dfe5c307a4dfc190e == cache_frame_3bcae0f155a8ea7dfe5c307a4dfc190e ) { Py_DECREF( frame_3bcae0f155a8ea7dfe5c307a4dfc190e ); } cache_frame_3bcae0f155a8ea7dfe5c307a4dfc190e = NULL; assertFrameObject( frame_3bcae0f155a8ea7dfe5c307a4dfc190e ); // 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( future$standard_library$$$function_16_remove_hooks ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_scrub_sys_modules ); par_scrub_sys_modules = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_hook ); var_hook = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_scrub_sys_modules ); par_scrub_sys_modules = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_hook ); var_hook = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_16_remove_hooks ); 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_future$standard_library$$$function_17_disable_hooks( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. struct Nuitka_FrameObject *frame_51f4b8aa248c14e7f883ab3799141e85; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_51f4b8aa248c14e7f883ab3799141e85 = NULL; PyObject *tmp_return_value = NULL; // Actual function code. MAKE_OR_REUSE_FRAME( cache_frame_51f4b8aa248c14e7f883ab3799141e85, codeobj_51f4b8aa248c14e7f883ab3799141e85, module_future$standard_library, 0 ); frame_51f4b8aa248c14e7f883ab3799141e85 = cache_frame_51f4b8aa248c14e7f883ab3799141e85; // Push the new frame as the currently active one. pushFrameStack( frame_51f4b8aa248c14e7f883ab3799141e85 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_51f4b8aa248c14e7f883ab3799141e85 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_remove_hooks ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_remove_hooks ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "remove_hooks" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 574; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_1; frame_51f4b8aa248c14e7f883ab3799141e85->m_frame.f_lineno = 574; tmp_unused = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 574; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } #if 0 RESTORE_FRAME_EXCEPTION( frame_51f4b8aa248c14e7f883ab3799141e85 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_51f4b8aa248c14e7f883ab3799141e85 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_51f4b8aa248c14e7f883ab3799141e85, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_51f4b8aa248c14e7f883ab3799141e85->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_51f4b8aa248c14e7f883ab3799141e85, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_51f4b8aa248c14e7f883ab3799141e85, type_description_1 ); // Release cached frame. if ( frame_51f4b8aa248c14e7f883ab3799141e85 == cache_frame_51f4b8aa248c14e7f883ab3799141e85 ) { Py_DECREF( frame_51f4b8aa248c14e7f883ab3799141e85 ); } cache_frame_51f4b8aa248c14e7f883ab3799141e85 = NULL; assertFrameObject( frame_51f4b8aa248c14e7f883ab3799141e85 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto function_exception_exit; frame_no_exception_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto function_return_exit; } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_17_disable_hooks ); 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_future$standard_library$$$function_18_detect_hooks( 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 *var_present = NULL; PyObject *outline_0_var_hook = NULL; PyObject *tmp_listcomp_1__$0 = NULL; PyObject *tmp_listcomp_1__contraction = NULL; PyObject *tmp_listcomp_1__iter_value_0 = NULL; struct Nuitka_FrameObject *frame_16f21dff16d8f28a85bfe15662fc510a; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; struct Nuitka_FrameObject *frame_55217ee989bc861161a81f4fc8c92960_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; int tmp_res; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; static struct Nuitka_FrameObject *cache_frame_55217ee989bc861161a81f4fc8c92960_2 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_16f21dff16d8f28a85bfe15662fc510a = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_16f21dff16d8f28a85bfe15662fc510a, codeobj_16f21dff16d8f28a85bfe15662fc510a, module_future$standard_library, sizeof(void *) ); frame_16f21dff16d8f28a85bfe15662fc510a = cache_frame_16f21dff16d8f28a85bfe15662fc510a; // Push the new frame as the currently active one. pushFrameStack( frame_16f21dff16d8f28a85bfe15662fc510a ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_16f21dff16d8f28a85bfe15662fc510a ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_flog ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_flog ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "flog" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 581; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_instance_1 = tmp_mvar_value_1; frame_16f21dff16d8f28a85bfe15662fc510a->m_frame.f_lineno = 581; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_debug, &PyTuple_GET_ITEM( const_tuple_str_digest_8b9184a2b50732beeb0e57776a144a24_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 581; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; tmp_called_name_1 = LOOKUP_BUILTIN( const_str_plain_any ); assert( tmp_called_name_1 != NULL ); { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 582; type_description_1 = "o"; goto try_except_handler_2; } tmp_source_name_1 = tmp_mvar_value_2; tmp_iter_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_meta_path ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 582; type_description_1 = "o"; goto try_except_handler_2; } tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 582; type_description_1 = "o"; goto try_except_handler_2; } assert( tmp_listcomp_1__$0 == NULL ); tmp_listcomp_1__$0 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = PyList_New( 0 ); assert( tmp_listcomp_1__contraction == NULL ); tmp_listcomp_1__contraction = tmp_assign_source_3; } MAKE_OR_REUSE_FRAME( cache_frame_55217ee989bc861161a81f4fc8c92960_2, codeobj_55217ee989bc861161a81f4fc8c92960, module_future$standard_library, sizeof(void *) ); frame_55217ee989bc861161a81f4fc8c92960_2 = cache_frame_55217ee989bc861161a81f4fc8c92960_2; // Push the new frame as the currently active one. pushFrameStack( frame_55217ee989bc861161a81f4fc8c92960_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_55217ee989bc861161a81f4fc8c92960_2 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_listcomp_1__$0 ); tmp_next_source_1 = tmp_listcomp_1__$0; tmp_assign_source_4 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_4 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_2 = "o"; exception_lineno = 582; goto try_except_handler_3; } } { PyObject *old = tmp_listcomp_1__iter_value_0; tmp_listcomp_1__iter_value_0 = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_listcomp_1__iter_value_0 ); tmp_assign_source_5 = tmp_listcomp_1__iter_value_0; { PyObject *old = outline_0_var_hook; outline_0_var_hook = tmp_assign_source_5; Py_INCREF( outline_0_var_hook ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; PyObject *tmp_source_name_2; PyObject *tmp_attribute_name_1; CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_append_list_1 = tmp_listcomp_1__contraction; CHECK_OBJECT( outline_0_var_hook ); tmp_source_name_2 = outline_0_var_hook; tmp_attribute_name_1 = const_str_plain_RENAMER; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_2, tmp_attribute_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 582; type_description_2 = "o"; goto try_except_handler_3; } tmp_append_value_1 = ( tmp_res != 0 ) ? Py_True : Py_False; assert( PyList_Check( tmp_append_list_1 ) ); tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 582; type_description_2 = "o"; goto try_except_handler_3; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 582; type_description_2 = "o"; goto try_except_handler_3; } goto loop_start_1; loop_end_1:; } { CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_args_element_name_1 = tmp_listcomp_1__contraction; Py_INCREF( tmp_args_element_name_1 ); goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_18_detect_hooks ); return NULL; // Return handler code: try_return_handler_3:; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { goto frame_return_exit_2; } // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_2; } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_55217ee989bc861161a81f4fc8c92960_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_55217ee989bc861161a81f4fc8c92960_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_2; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_55217ee989bc861161a81f4fc8c92960_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_55217ee989bc861161a81f4fc8c92960_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_55217ee989bc861161a81f4fc8c92960_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_55217ee989bc861161a81f4fc8c92960_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_55217ee989bc861161a81f4fc8c92960_2, type_description_2, outline_0_var_hook ); // Release cached frame. if ( frame_55217ee989bc861161a81f4fc8c92960_2 == cache_frame_55217ee989bc861161a81f4fc8c92960_2 ) { Py_DECREF( frame_55217ee989bc861161a81f4fc8c92960_2 ); } cache_frame_55217ee989bc861161a81f4fc8c92960_2 = NULL; assertFrameObject( frame_55217ee989bc861161a81f4fc8c92960_2 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; type_description_1 = "o"; goto try_except_handler_2; skip_nested_handling_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_18_detect_hooks ); return NULL; // Return handler code: try_return_handler_2:; { Py_XDECREF( outline_0_var_hook ); outline_0_var_hook = NULL; } { goto outline_result_1; } // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( outline_0_var_hook ); outline_0_var_hook = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_18_detect_hooks ); return NULL; outline_exception_1:; exception_lineno = 582; goto frame_exception_exit_1; outline_result_1:; frame_16f21dff16d8f28a85bfe15662fc510a->m_frame.f_lineno = 582; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_args_element_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 582; type_description_1 = "o"; goto frame_exception_exit_1; } assert( var_present == NULL ); var_present = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; int tmp_truth_name_1; CHECK_OBJECT( var_present ); tmp_truth_name_1 = CHECK_IF_TRUE( var_present ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 583; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_called_instance_2; PyObject *tmp_mvar_value_3; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_flog ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_flog ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "flog" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 584; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_instance_2 = tmp_mvar_value_3; frame_16f21dff16d8f28a85bfe15662fc510a->m_frame.f_lineno = 584; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_debug, &PyTuple_GET_ITEM( const_tuple_str_digest_dc2a3fb82a87c71cb05b07c4e43e4f17_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 584; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } goto branch_end_1; branch_no_1:; { PyObject *tmp_called_instance_3; PyObject *tmp_mvar_value_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_flog ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_flog ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "flog" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 586; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_called_instance_3 = tmp_mvar_value_4; frame_16f21dff16d8f28a85bfe15662fc510a->m_frame.f_lineno = 586; tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_debug, &PyTuple_GET_ITEM( const_tuple_str_digest_80df08ece85e96799dc365f5f61a3b70_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 586; type_description_1 = "o"; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } branch_end_1:; } { if ( var_present == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "present" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 587; type_description_1 = "o"; goto frame_exception_exit_1; } tmp_return_value = var_present; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_16f21dff16d8f28a85bfe15662fc510a ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_16f21dff16d8f28a85bfe15662fc510a ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_16f21dff16d8f28a85bfe15662fc510a ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_16f21dff16d8f28a85bfe15662fc510a, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_16f21dff16d8f28a85bfe15662fc510a->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_16f21dff16d8f28a85bfe15662fc510a, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_16f21dff16d8f28a85bfe15662fc510a, type_description_1, var_present ); // Release cached frame. if ( frame_16f21dff16d8f28a85bfe15662fc510a == cache_frame_16f21dff16d8f28a85bfe15662fc510a ) { Py_DECREF( frame_16f21dff16d8f28a85bfe15662fc510a ); } cache_frame_16f21dff16d8f28a85bfe15662fc510a = NULL; assertFrameObject( frame_16f21dff16d8f28a85bfe15662fc510a ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_2:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_18_detect_hooks ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( var_present ); var_present = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( var_present ); var_present = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_18_detect_hooks ); 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_future$standard_library$$$function_19_cache_py2_modules( 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 *var_urllib = NULL; PyObject *var_email = NULL; PyObject *var_pickle = NULL; struct Nuitka_FrameObject *frame_1d183ed5d1f8956c033f05375dbea4ee; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_return_value = NULL; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_1d183ed5d1f8956c033f05375dbea4ee = 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_1d183ed5d1f8956c033f05375dbea4ee, codeobj_1d183ed5d1f8956c033f05375dbea4ee, module_future$standard_library, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_1d183ed5d1f8956c033f05375dbea4ee = cache_frame_1d183ed5d1f8956c033f05375dbea4ee; // Push the new frame as the currently active one. pushFrameStack( frame_1d183ed5d1f8956c033f05375dbea4ee ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_1d183ed5d1f8956c033f05375dbea4ee ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 603; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_len_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_py2_modules ); if ( tmp_len_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 603; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); Py_DECREF( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 603; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_0; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 603; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { nuitka_bool tmp_condition_result_2; PyObject *tmp_operand_name_1; PyObject *tmp_operand_name_2; PyObject *tmp_called_name_1; PyObject *tmp_mvar_value_2; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_detect_hooks ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_detect_hooks ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "detect_hooks" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 605; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_name_1 = tmp_mvar_value_2; frame_1d183ed5d1f8956c033f05375dbea4ee->m_frame.f_lineno = 605; tmp_operand_name_2 = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 ); if ( tmp_operand_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 605; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); Py_DECREF( tmp_operand_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 605; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_operand_name_1 = ( tmp_res == 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 605; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 605; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; goto frame_exception_exit_1; } branch_no_2:; } { PyObject *tmp_assign_source_1; PyObject *tmp_name_name_1; PyObject *tmp_globals_name_1; PyObject *tmp_locals_name_1; PyObject *tmp_fromlist_name_1; PyObject *tmp_level_name_1; tmp_name_name_1 = const_str_plain_urllib; tmp_globals_name_1 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = const_int_0; frame_1d183ed5d1f8956c033f05375dbea4ee->m_frame.f_lineno = 606; tmp_assign_source_1 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 606; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_urllib == NULL ); var_urllib = tmp_assign_source_1; } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_3; PyObject *tmp_ass_subscript_1; CHECK_OBJECT( var_urllib ); tmp_ass_subvalue_1 = var_urllib; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 607; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_3; tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_py2_modules ); if ( tmp_ass_subscribed_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 607; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_ass_subscript_1 = const_str_plain_urllib; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 ); Py_DECREF( tmp_ass_subscribed_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 607; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_2; PyObject *tmp_name_name_2; PyObject *tmp_globals_name_2; PyObject *tmp_locals_name_2; PyObject *tmp_fromlist_name_2; PyObject *tmp_level_name_2; tmp_name_name_2 = const_str_plain_email; tmp_globals_name_2 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = Py_None; tmp_level_name_2 = const_int_0; frame_1d183ed5d1f8956c033f05375dbea4ee->m_frame.f_lineno = 609; tmp_assign_source_2 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 609; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_email == NULL ); var_email = tmp_assign_source_2; } { PyObject *tmp_ass_subvalue_2; PyObject *tmp_ass_subscribed_2; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_4; PyObject *tmp_ass_subscript_2; CHECK_OBJECT( var_email ); tmp_ass_subvalue_2 = var_email; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 610; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_4; tmp_ass_subscribed_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_py2_modules ); if ( tmp_ass_subscribed_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 610; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_ass_subscript_2 = const_str_plain_email; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2 ); Py_DECREF( tmp_ass_subscribed_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 610; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_3; PyObject *tmp_name_name_3; PyObject *tmp_globals_name_3; PyObject *tmp_locals_name_3; PyObject *tmp_fromlist_name_3; PyObject *tmp_level_name_3; tmp_name_name_3 = const_str_plain_pickle; tmp_globals_name_3 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_3 = Py_None; tmp_fromlist_name_3 = Py_None; tmp_level_name_3 = const_int_0; frame_1d183ed5d1f8956c033f05375dbea4ee->m_frame.f_lineno = 612; tmp_assign_source_3 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 612; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_pickle == NULL ); var_pickle = tmp_assign_source_3; } { PyObject *tmp_ass_subvalue_3; PyObject *tmp_ass_subscribed_3; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_5; PyObject *tmp_ass_subscript_3; CHECK_OBJECT( var_pickle ); tmp_ass_subvalue_3 = var_pickle; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 613; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_5; tmp_ass_subscribed_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_py2_modules ); if ( tmp_ass_subscribed_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 613; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_ass_subscript_3 = const_str_plain_pickle; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3 ); Py_DECREF( tmp_ass_subscribed_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 613; type_description_1 = "ooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_1d183ed5d1f8956c033f05375dbea4ee ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_1d183ed5d1f8956c033f05375dbea4ee ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_1d183ed5d1f8956c033f05375dbea4ee ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_1d183ed5d1f8956c033f05375dbea4ee, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_1d183ed5d1f8956c033f05375dbea4ee->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_1d183ed5d1f8956c033f05375dbea4ee, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_1d183ed5d1f8956c033f05375dbea4ee, type_description_1, var_urllib, var_email, var_pickle ); // Release cached frame. if ( frame_1d183ed5d1f8956c033f05375dbea4ee == cache_frame_1d183ed5d1f8956c033f05375dbea4ee ) { Py_DECREF( frame_1d183ed5d1f8956c033f05375dbea4ee ); } cache_frame_1d183ed5d1f8956c033f05375dbea4ee = NULL; assertFrameObject( frame_1d183ed5d1f8956c033f05375dbea4ee ); // 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( future$standard_library$$$function_19_cache_py2_modules ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( var_urllib ); var_urllib = NULL; } { Py_XDECREF( var_email ); var_email = NULL; } { Py_XDECREF( var_pickle ); var_pickle = 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( var_urllib ); var_urllib = NULL; } { Py_XDECREF( var_email ); var_email = NULL; } { Py_XDECREF( var_pickle ); var_pickle = 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( future$standard_library$$$function_19_cache_py2_modules ); 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_future$standard_library$$$function_20_import_( 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_module_name = python_pars[ 0 ]; PyObject *par_backport = python_pars[ 1 ]; PyObject *var_importlib = NULL; PyObject *var_prefix = NULL; PyObject *var_parts = NULL; PyObject *var_modules = NULL; PyObject *var_i = NULL; PyObject *var_part = NULL; PyObject *var_sofar = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_for_loop_2__for_iterator = NULL; PyObject *tmp_for_loop_2__iter_value = NULL; PyObject *tmp_tuple_unpack_1__element_1 = NULL; PyObject *tmp_tuple_unpack_1__element_2 = NULL; PyObject *tmp_tuple_unpack_1__source_iter = NULL; PyObject *tmp_tuple_unpack_2__element_1 = NULL; PyObject *tmp_tuple_unpack_2__element_2 = NULL; PyObject *tmp_tuple_unpack_2__source_iter = NULL; struct Nuitka_FrameObject *frame_7b18d4e2a39bb54f2936b3ce935d20ed; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; PyObject *tmp_iterator_attempt; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; int tmp_res; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; static struct Nuitka_FrameObject *cache_frame_7b18d4e2a39bb54f2936b3ce935d20ed = NULL; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_7b18d4e2a39bb54f2936b3ce935d20ed, codeobj_7b18d4e2a39bb54f2936b3ce935d20ed, module_future$standard_library, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_7b18d4e2a39bb54f2936b3ce935d20ed = cache_frame_7b18d4e2a39bb54f2936b3ce935d20ed; // Push the new frame as the currently active one. pushFrameStack( frame_7b18d4e2a39bb54f2936b3ce935d20ed ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_7b18d4e2a39bb54f2936b3ce935d20ed ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_name_name_1; PyObject *tmp_globals_name_1; PyObject *tmp_locals_name_1; PyObject *tmp_fromlist_name_1; PyObject *tmp_level_name_1; tmp_name_name_1 = const_str_plain_importlib; tmp_globals_name_1 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = const_int_0; frame_7b18d4e2a39bb54f2936b3ce935d20ed->m_frame.f_lineno = 672; tmp_assign_source_1 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 672; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert( var_importlib == NULL ); var_importlib = tmp_assign_source_1; } { nuitka_bool tmp_condition_result_1; PyObject *tmp_mvar_value_1; int tmp_truth_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_PY3 ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PY3 ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PY3" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 674; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_mvar_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 674; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_name_name_2; CHECK_OBJECT( par_module_name ); tmp_name_name_2 = par_module_name; frame_7b18d4e2a39bb54f2936b3ce935d20ed->m_frame.f_lineno = 675; tmp_return_value = IMPORT_MODULE1( tmp_name_name_2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 675; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_2; int tmp_truth_name_2; CHECK_OBJECT( par_backport ); tmp_truth_name_2 = CHECK_IF_TRUE( par_backport ); if ( tmp_truth_name_2 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 680; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_condition_result_2 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_741d67a63a1148262437f3f97bcea1cd; assert( var_prefix == NULL ); Py_INCREF( tmp_assign_source_2 ); var_prefix = tmp_assign_source_2; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_3; tmp_assign_source_3 = const_str_digest_88c023ac45bce1a07479790becaae8f3; assert( var_prefix == NULL ); Py_INCREF( tmp_assign_source_3 ); var_prefix = tmp_assign_source_3; } branch_end_2:; } { PyObject *tmp_assign_source_4; PyObject *tmp_left_name_1; PyObject *tmp_called_instance_1; PyObject *tmp_right_name_1; PyObject *tmp_called_instance_2; CHECK_OBJECT( var_prefix ); tmp_called_instance_1 = var_prefix; frame_7b18d4e2a39bb54f2936b3ce935d20ed->m_frame.f_lineno = 684; tmp_left_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_dot_tuple, 0 ) ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 684; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } if ( par_module_name == NULL ) { Py_DECREF( tmp_left_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "module_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 684; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_module_name; frame_7b18d4e2a39bb54f2936b3ce935d20ed->m_frame.f_lineno = 684; tmp_right_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_dot_tuple, 0 ) ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 684; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_4 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 684; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert( var_parts == NULL ); var_parts = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; tmp_assign_source_5 = PyList_New( 0 ); assert( var_modules == NULL ); var_modules = tmp_assign_source_5; } { PyObject *tmp_assign_source_6; PyObject *tmp_iter_arg_1; PyObject *tmp_called_name_1; PyObject *tmp_args_element_name_1; tmp_called_name_1 = (PyObject *)&PyEnum_Type; CHECK_OBJECT( var_parts ); tmp_args_element_name_1 = var_parts; frame_7b18d4e2a39bb54f2936b3ce935d20ed->m_frame.f_lineno = 687; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 687; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_6 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 687; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_6; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_7; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_7 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_7 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; exception_lineno = 687; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_7; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_8; PyObject *tmp_iter_arg_2; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_iter_arg_2 = tmp_for_loop_1__iter_value; tmp_assign_source_8 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 687; type_description_1 = "ooooooooo"; goto try_except_handler_3; } { PyObject *old = tmp_tuple_unpack_1__source_iter; tmp_tuple_unpack_1__source_iter = tmp_assign_source_8; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_9; PyObject *tmp_unpack_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_1 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_9 = UNPACK_NEXT( tmp_unpack_1, 0, 2 ); if ( tmp_assign_source_9 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooo"; exception_lineno = 687; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_1; tmp_tuple_unpack_1__element_1 = tmp_assign_source_9; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_10; PyObject *tmp_unpack_2; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_unpack_2 = tmp_tuple_unpack_1__source_iter; tmp_assign_source_10 = UNPACK_NEXT( tmp_unpack_2, 1, 2 ); if ( tmp_assign_source_10 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooo"; exception_lineno = 687; goto try_except_handler_4; } { PyObject *old = tmp_tuple_unpack_1__element_2; tmp_tuple_unpack_1__element_2 = tmp_assign_source_10; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_1; CHECK_OBJECT( tmp_tuple_unpack_1__source_iter ); tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_1 ); assert( HAS_ITERNEXT( tmp_iterator_name_1 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_1 )->tp_iternext)( tmp_iterator_name_1 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; exception_lineno = 687; goto try_except_handler_4; } } } else { Py_DECREF( tmp_iterator_attempt ); // TODO: Could avoid PyErr_Format. #if PYTHON_VERSION < 300 PyErr_Format( PyExc_ValueError, "too many values to unpack" ); #else PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; exception_lineno = 687; goto try_except_handler_4; } } goto try_end_1; // Exception handler code: try_except_handler_4:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto try_except_handler_3; } // End of try: try_end_1:; } goto try_end_2; // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_2; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_1__source_iter ); Py_DECREF( tmp_tuple_unpack_1__source_iter ); tmp_tuple_unpack_1__source_iter = NULL; } { PyObject *tmp_assign_source_11; CHECK_OBJECT( tmp_tuple_unpack_1__element_1 ); tmp_assign_source_11 = tmp_tuple_unpack_1__element_1; { PyObject *old = var_i; var_i = tmp_assign_source_11; Py_INCREF( var_i ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_1 ); tmp_tuple_unpack_1__element_1 = NULL; } { PyObject *tmp_assign_source_12; CHECK_OBJECT( tmp_tuple_unpack_1__element_2 ); tmp_assign_source_12 = tmp_tuple_unpack_1__element_2; { PyObject *old = var_part; var_part = tmp_assign_source_12; Py_INCREF( var_part ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_1__element_2 ); tmp_tuple_unpack_1__element_2 = NULL; } { PyObject *tmp_assign_source_13; PyObject *tmp_called_name_2; PyObject *tmp_source_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_stop_name_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_step_name_1; tmp_source_name_1 = const_str_dot; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_join ); assert( !(tmp_called_name_2 == NULL) ); if ( var_parts == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 688; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_subscribed_name_1 = var_parts; tmp_start_name_1 = Py_None; if ( var_i == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "i" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 688; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_left_name_2 = var_i; tmp_right_name_2 = const_int_pos_1; tmp_stop_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 ); if ( tmp_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 688; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_args_element_name_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 688; type_description_1 = "ooooooooo"; goto try_except_handler_2; } frame_7b18d4e2a39bb54f2936b3ce935d20ed->m_frame.f_lineno = 688; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assign_source_13 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 688; type_description_1 = "ooooooooo"; goto try_except_handler_2; } { PyObject *old = var_sofar; var_sofar = tmp_assign_source_13; Py_XDECREF( old ); } } { PyObject *tmp_called_name_3; PyObject *tmp_source_name_2; PyObject *tmp_args_element_name_3; PyObject *tmp_called_name_4; PyObject *tmp_source_name_3; PyObject *tmp_args_element_name_4; if ( var_modules == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "modules" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 689; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_source_name_2 = var_modules; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_append ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 689; type_description_1 = "ooooooooo"; goto try_except_handler_2; } if ( var_importlib == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "importlib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 689; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_source_name_3 = var_importlib; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_import_module ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 689; type_description_1 = "ooooooooo"; goto try_except_handler_2; } if ( var_sofar == NULL ) { Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sofar" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 689; type_description_1 = "ooooooooo"; goto try_except_handler_2; } tmp_args_element_name_4 = var_sofar; frame_7b18d4e2a39bb54f2936b3ce935d20ed->m_frame.f_lineno = 689; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_args_element_name_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 689; type_description_1 = "ooooooooo"; goto try_except_handler_2; } frame_7b18d4e2a39bb54f2936b3ce935d20ed->m_frame.f_lineno = 689; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 689; type_description_1 = "ooooooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 687; type_description_1 = "ooooooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_3; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; } // End of try: try_end_3:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { PyObject *tmp_assign_source_14; PyObject *tmp_iter_arg_3; PyObject *tmp_called_name_5; PyObject *tmp_args_element_name_5; PyObject *tmp_list_arg_1; PyObject *tmp_called_name_6; PyObject *tmp_args_element_name_6; tmp_called_name_5 = (PyObject *)&PyReversed_Type; tmp_called_name_6 = (PyObject *)&PyEnum_Type; if ( var_parts == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "parts" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 690; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_6 = var_parts; frame_7b18d4e2a39bb54f2936b3ce935d20ed->m_frame.f_lineno = 690; { PyObject *call_args[] = { tmp_args_element_name_6 }; tmp_list_arg_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } if ( tmp_list_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 690; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_args_element_name_5 = PySequence_List( tmp_list_arg_1 ); Py_DECREF( tmp_list_arg_1 ); if ( tmp_args_element_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 690; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } frame_7b18d4e2a39bb54f2936b3ce935d20ed->m_frame.f_lineno = 690; { PyObject *call_args[] = { tmp_args_element_name_5 }; tmp_iter_arg_3 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args ); } Py_DECREF( tmp_args_element_name_5 ); if ( tmp_iter_arg_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 690; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_assign_source_14 = MAKE_ITERATOR( tmp_iter_arg_3 ); Py_DECREF( tmp_iter_arg_3 ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 690; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_2__for_iterator == NULL ); tmp_for_loop_2__for_iterator = tmp_assign_source_14; } { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_15; CHECK_OBJECT( tmp_for_loop_2__for_iterator ); tmp_next_source_2 = tmp_for_loop_2__for_iterator; tmp_assign_source_15 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_15 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_2; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; exception_lineno = 690; goto try_except_handler_5; } } { PyObject *old = tmp_for_loop_2__iter_value; tmp_for_loop_2__iter_value = tmp_assign_source_15; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_16; PyObject *tmp_iter_arg_4; CHECK_OBJECT( tmp_for_loop_2__iter_value ); tmp_iter_arg_4 = tmp_for_loop_2__iter_value; tmp_assign_source_16 = MAKE_UNPACK_ITERATOR( tmp_iter_arg_4 ); if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 690; type_description_1 = "ooooooooo"; goto try_except_handler_6; } { PyObject *old = tmp_tuple_unpack_2__source_iter; tmp_tuple_unpack_2__source_iter = tmp_assign_source_16; Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_17; PyObject *tmp_unpack_3; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_3 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_17 = UNPACK_NEXT( tmp_unpack_3, 0, 2 ); if ( tmp_assign_source_17 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooo"; exception_lineno = 690; goto try_except_handler_7; } { PyObject *old = tmp_tuple_unpack_2__element_1; tmp_tuple_unpack_2__element_1 = tmp_assign_source_17; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_18; PyObject *tmp_unpack_4; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_unpack_4 = tmp_tuple_unpack_2__source_iter; tmp_assign_source_18 = UNPACK_NEXT( tmp_unpack_4, 1, 2 ); if ( tmp_assign_source_18 == NULL ) { if ( !ERROR_OCCURRED() ) { exception_type = PyExc_StopIteration; Py_INCREF( exception_type ); exception_value = NULL; exception_tb = NULL; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); } type_description_1 = "ooooooooo"; exception_lineno = 690; goto try_except_handler_7; } { PyObject *old = tmp_tuple_unpack_2__element_2; tmp_tuple_unpack_2__element_2 = tmp_assign_source_18; Py_XDECREF( old ); } } { PyObject *tmp_iterator_name_2; CHECK_OBJECT( tmp_tuple_unpack_2__source_iter ); tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter; // Check if iterator has left-over elements. CHECK_OBJECT( tmp_iterator_name_2 ); assert( HAS_ITERNEXT( tmp_iterator_name_2 ) ); tmp_iterator_attempt = (*Py_TYPE( tmp_iterator_name_2 )->tp_iternext)( tmp_iterator_name_2 ); if (likely( tmp_iterator_attempt == NULL )) { PyObject *error = GET_ERROR_OCCURRED(); if ( error != NULL ) { if ( EXCEPTION_MATCH_BOOL_SINGLE( error, PyExc_StopIteration )) { CLEAR_ERROR_OCCURRED(); } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; exception_lineno = 690; goto try_except_handler_7; } } } else { Py_DECREF( tmp_iterator_attempt ); // TODO: Could avoid PyErr_Format. #if PYTHON_VERSION < 300 PyErr_Format( PyExc_ValueError, "too many values to unpack" ); #else PyErr_Format( PyExc_ValueError, "too many values to unpack (expected 2)" ); #endif FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooooooo"; exception_lineno = 690; goto try_except_handler_7; } } goto try_end_4; // Exception handler code: try_except_handler_7:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto try_except_handler_6; } // End of try: try_end_4:; } goto try_end_5; // Exception handler code: try_except_handler_6:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_5; } // End of try: try_end_5:; } { CHECK_OBJECT( (PyObject *)tmp_tuple_unpack_2__source_iter ); Py_DECREF( tmp_tuple_unpack_2__source_iter ); tmp_tuple_unpack_2__source_iter = NULL; } { PyObject *tmp_assign_source_19; CHECK_OBJECT( tmp_tuple_unpack_2__element_1 ); tmp_assign_source_19 = tmp_tuple_unpack_2__element_1; { PyObject *old = var_i; var_i = tmp_assign_source_19; Py_INCREF( var_i ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_1 ); tmp_tuple_unpack_2__element_1 = NULL; } { PyObject *tmp_assign_source_20; CHECK_OBJECT( tmp_tuple_unpack_2__element_2 ); tmp_assign_source_20 = tmp_tuple_unpack_2__element_2; { PyObject *old = var_part; var_part = tmp_assign_source_20; Py_INCREF( var_part ); Py_XDECREF( old ); } } { Py_XDECREF( tmp_tuple_unpack_2__element_2 ); tmp_tuple_unpack_2__element_2 = NULL; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; if ( var_i == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "i" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 691; type_description_1 = "ooooooooo"; goto try_except_handler_5; } tmp_compexpr_left_1 = var_i; tmp_compexpr_right_1 = const_int_0; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 691; type_description_1 = "ooooooooo"; goto try_except_handler_5; } tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { goto loop_end_2; } branch_no_3:; } { PyObject *tmp_setattr_target_1; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_setattr_attr_1; PyObject *tmp_setattr_value_1; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; if ( var_modules == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "modules" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 693; type_description_1 = "ooooooooo"; goto try_except_handler_5; } tmp_subscribed_name_2 = var_modules; if ( var_i == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "i" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 693; type_description_1 = "ooooooooo"; goto try_except_handler_5; } tmp_left_name_3 = var_i; tmp_right_name_3 = const_int_pos_1; tmp_subscript_name_2 = BINARY_OPERATION_SUB( tmp_left_name_3, tmp_right_name_3 ); if ( tmp_subscript_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 693; type_description_1 = "ooooooooo"; goto try_except_handler_5; } tmp_setattr_target_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscript_name_2 ); if ( tmp_setattr_target_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 693; type_description_1 = "ooooooooo"; goto try_except_handler_5; } if ( var_part == NULL ) { Py_DECREF( tmp_setattr_target_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "part" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 693; type_description_1 = "ooooooooo"; goto try_except_handler_5; } tmp_setattr_attr_1 = var_part; if ( var_modules == NULL ) { Py_DECREF( tmp_setattr_target_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "modules" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 693; type_description_1 = "ooooooooo"; goto try_except_handler_5; } tmp_subscribed_name_3 = var_modules; if ( var_i == NULL ) { Py_DECREF( tmp_setattr_target_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "i" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 693; type_description_1 = "ooooooooo"; goto try_except_handler_5; } tmp_subscript_name_3 = var_i; tmp_setattr_value_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_3, tmp_subscript_name_3 ); if ( tmp_setattr_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_setattr_target_1 ); exception_lineno = 693; type_description_1 = "ooooooooo"; goto try_except_handler_5; } tmp_unused = BUILTIN_SETATTR( tmp_setattr_target_1, tmp_setattr_attr_1, tmp_setattr_value_1 ); Py_DECREF( tmp_setattr_target_1 ); Py_DECREF( tmp_setattr_value_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 693; type_description_1 = "ooooooooo"; goto try_except_handler_5; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 690; type_description_1 = "ooooooooo"; goto try_except_handler_5; } goto loop_start_2; loop_end_2:; } goto try_end_6; // Exception handler code: try_except_handler_5:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_2__iter_value ); tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator ); Py_DECREF( tmp_for_loop_2__for_iterator ); tmp_for_loop_2__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto frame_exception_exit_1; } // End of try: try_end_6:; } { Py_XDECREF( tmp_for_loop_2__iter_value ); tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator ); Py_DECREF( tmp_for_loop_2__for_iterator ); tmp_for_loop_2__for_iterator = NULL; } { PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; if ( var_modules == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "modules" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 696; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_4 = var_modules; tmp_subscript_name_4 = const_int_pos_2; tmp_return_value = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_4, tmp_subscript_name_4, 2 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 696; type_description_1 = "ooooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_7b18d4e2a39bb54f2936b3ce935d20ed ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7b18d4e2a39bb54f2936b3ce935d20ed ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_7b18d4e2a39bb54f2936b3ce935d20ed ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_7b18d4e2a39bb54f2936b3ce935d20ed, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_7b18d4e2a39bb54f2936b3ce935d20ed->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_7b18d4e2a39bb54f2936b3ce935d20ed, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_7b18d4e2a39bb54f2936b3ce935d20ed, type_description_1, par_module_name, par_backport, var_importlib, var_prefix, var_parts, var_modules, var_i, var_part, var_sofar ); // Release cached frame. if ( frame_7b18d4e2a39bb54f2936b3ce935d20ed == cache_frame_7b18d4e2a39bb54f2936b3ce935d20ed ) { Py_DECREF( frame_7b18d4e2a39bb54f2936b3ce935d20ed ); } cache_frame_7b18d4e2a39bb54f2936b3ce935d20ed = NULL; assertFrameObject( frame_7b18d4e2a39bb54f2936b3ce935d20ed ); // 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( future$standard_library$$$function_20_import_ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_module_name ); par_module_name = NULL; } { Py_XDECREF( par_backport ); par_backport = NULL; } { Py_XDECREF( var_importlib ); var_importlib = NULL; } { Py_XDECREF( var_prefix ); var_prefix = NULL; } { Py_XDECREF( var_parts ); var_parts = NULL; } { Py_XDECREF( var_modules ); var_modules = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_part ); var_part = NULL; } { Py_XDECREF( var_sofar ); var_sofar = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_module_name ); par_module_name = NULL; } { Py_XDECREF( par_backport ); par_backport = NULL; } { Py_XDECREF( var_importlib ); var_importlib = NULL; } { Py_XDECREF( var_prefix ); var_prefix = NULL; } { Py_XDECREF( var_parts ); var_parts = NULL; } { Py_XDECREF( var_modules ); var_modules = NULL; } { Py_XDECREF( var_i ); var_i = NULL; } { Py_XDECREF( var_part ); var_part = NULL; } { Py_XDECREF( var_sofar ); var_sofar = NULL; } { // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_20_import_ ); 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_future$standard_library$$$function_21_from_import( 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_module_name = python_pars[ 0 ]; PyObject *par_symbol_names = python_pars[ 1 ]; PyObject *par_kwargs = python_pars[ 2 ]; PyObject *var_prefix = NULL; PyObject *var_parts = NULL; PyObject *var_module = NULL; PyObject *var_output = NULL; PyObject *outline_0_var_name = NULL; PyObject *tmp_listcomp_1__$0 = NULL; PyObject *tmp_listcomp_1__contraction = NULL; PyObject *tmp_listcomp_1__iter_value_0 = NULL; struct Nuitka_FrameObject *frame_39701b9bb67f9897e436d28620746cc4; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; int tmp_res; struct Nuitka_FrameObject *frame_e7cf459b330c2d165fa2321d8e76872a_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; static struct Nuitka_FrameObject *cache_frame_e7cf459b330c2d165fa2321d8e76872a_2 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; static struct Nuitka_FrameObject *cache_frame_39701b9bb67f9897e436d28620746cc4 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_39701b9bb67f9897e436d28620746cc4, codeobj_39701b9bb67f9897e436d28620746cc4, module_future$standard_library, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_39701b9bb67f9897e436d28620746cc4 = cache_frame_39701b9bb67f9897e436d28620746cc4; // Push the new frame as the currently active one. pushFrameStack( frame_39701b9bb67f9897e436d28620746cc4 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_39701b9bb67f9897e436d28620746cc4 ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_mvar_value_1; int tmp_truth_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_PY3 ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PY3 ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PY3" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 721; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_mvar_value_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 721; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_name_name_1; CHECK_OBJECT( par_module_name ); tmp_name_name_1 = par_module_name; frame_39701b9bb67f9897e436d28620746cc4->m_frame.f_lineno = 722; tmp_return_value = IMPORT_MODULE1( tmp_name_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 722; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { nuitka_bool tmp_condition_result_2; int tmp_and_left_truth_1; nuitka_bool tmp_and_left_value_1; nuitka_bool tmp_and_right_value_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_value_name_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; tmp_compexpr_left_1 = const_str_plain_backport; CHECK_OBJECT( par_kwargs ); tmp_compexpr_right_1 = par_kwargs; tmp_res = PySequence_Contains( tmp_compexpr_right_1, tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 724; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_and_left_value_1 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0; if ( tmp_and_left_truth_1 == 1 ) { goto and_right_1; } else { goto and_left_1; } and_right_1:; if ( par_kwargs == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 724; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_1 = par_kwargs; tmp_subscript_name_1 = const_str_plain_backport; tmp_value_name_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); if ( tmp_value_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 724; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_value_name_1 ); Py_DECREF( tmp_value_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 724; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_and_right_value_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; tmp_condition_result_2 = tmp_and_right_value_1; goto and_end_1; and_left_1:; tmp_condition_result_2 = tmp_and_left_value_1; and_end_1:; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_1; tmp_assign_source_1 = const_str_digest_741d67a63a1148262437f3f97bcea1cd; assert( var_prefix == NULL ); Py_INCREF( tmp_assign_source_1 ); var_prefix = tmp_assign_source_1; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_88c023ac45bce1a07479790becaae8f3; assert( var_prefix == NULL ); Py_INCREF( tmp_assign_source_2 ); var_prefix = tmp_assign_source_2; } branch_end_2:; } { PyObject *tmp_assign_source_3; PyObject *tmp_left_name_1; PyObject *tmp_called_instance_1; PyObject *tmp_right_name_1; PyObject *tmp_called_instance_2; CHECK_OBJECT( var_prefix ); tmp_called_instance_1 = var_prefix; frame_39701b9bb67f9897e436d28620746cc4->m_frame.f_lineno = 728; tmp_left_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_dot_tuple, 0 ) ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 728; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( par_module_name == NULL ) { Py_DECREF( tmp_left_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "module_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 728; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_module_name; frame_39701b9bb67f9897e436d28620746cc4->m_frame.f_lineno = 728; tmp_right_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_split, &PyTuple_GET_ITEM( const_tuple_str_dot_tuple, 0 ) ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 728; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_assign_source_3 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 728; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_parts == NULL ); var_parts = tmp_assign_source_3; } { PyObject *tmp_assign_source_4; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; PyObject *tmp_left_name_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_2; PyObject *tmp_right_name_3; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_importlib ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_importlib ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "importlib" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 729; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_2; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_import_module ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 729; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( var_prefix == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "prefix" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 729; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_left_name_3 = var_prefix; tmp_right_name_2 = const_str_dot; tmp_left_name_2 = BINARY_OPERATION_ADD( tmp_left_name_3, tmp_right_name_2 ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 729; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } if ( par_module_name == NULL ) { Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_left_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "module_name" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 729; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_right_name_3 = par_module_name; tmp_args_element_name_1 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_3 ); Py_DECREF( tmp_left_name_2 ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 729; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } frame_39701b9bb67f9897e436d28620746cc4->m_frame.f_lineno = 729; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_4 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_assign_source_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 729; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } assert( var_module == NULL ); var_module = tmp_assign_source_4; } { PyObject *tmp_assign_source_5; { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_iter_arg_1; if ( par_symbol_names == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "symbol_names" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 730; type_description_1 = "ooooooo"; goto try_except_handler_2; } tmp_iter_arg_1 = par_symbol_names; tmp_assign_source_6 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 730; type_description_1 = "ooooooo"; goto try_except_handler_2; } assert( tmp_listcomp_1__$0 == NULL ); tmp_listcomp_1__$0 = tmp_assign_source_6; } { PyObject *tmp_assign_source_7; tmp_assign_source_7 = PyList_New( 0 ); assert( tmp_listcomp_1__contraction == NULL ); tmp_listcomp_1__contraction = tmp_assign_source_7; } MAKE_OR_REUSE_FRAME( cache_frame_e7cf459b330c2d165fa2321d8e76872a_2, codeobj_e7cf459b330c2d165fa2321d8e76872a, module_future$standard_library, sizeof(void *)+sizeof(void *) ); frame_e7cf459b330c2d165fa2321d8e76872a_2 = cache_frame_e7cf459b330c2d165fa2321d8e76872a_2; // Push the new frame as the currently active one. pushFrameStack( frame_e7cf459b330c2d165fa2321d8e76872a_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_e7cf459b330c2d165fa2321d8e76872a_2 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_8; CHECK_OBJECT( tmp_listcomp_1__$0 ); tmp_next_source_1 = tmp_listcomp_1__$0; tmp_assign_source_8 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_8 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_2 = "oo"; exception_lineno = 730; goto try_except_handler_3; } } { PyObject *old = tmp_listcomp_1__iter_value_0; tmp_listcomp_1__iter_value_0 = tmp_assign_source_8; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_listcomp_1__iter_value_0 ); tmp_assign_source_9 = tmp_listcomp_1__iter_value_0; { PyObject *old = outline_0_var_name; outline_0_var_name = tmp_assign_source_9; Py_INCREF( outline_0_var_name ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_append_list_1 = tmp_listcomp_1__contraction; if ( var_module == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "module" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 730; type_description_2 = "oo"; goto try_except_handler_3; } tmp_getattr_target_1 = var_module; CHECK_OBJECT( outline_0_var_name ); tmp_getattr_attr_1 = outline_0_var_name; tmp_append_value_1 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, NULL ); if ( tmp_append_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 730; type_description_2 = "oo"; goto try_except_handler_3; } assert( PyList_Check( tmp_append_list_1 ) ); tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 ); Py_DECREF( tmp_append_value_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 730; type_description_2 = "oo"; goto try_except_handler_3; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 730; type_description_2 = "oo"; goto try_except_handler_3; } goto loop_start_1; loop_end_1:; } { CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_assign_source_5 = tmp_listcomp_1__contraction; Py_INCREF( tmp_assign_source_5 ); goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_21_from_import ); return NULL; // Return handler code: try_return_handler_3:; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { goto frame_return_exit_2; } // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_2; } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_e7cf459b330c2d165fa2321d8e76872a_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e7cf459b330c2d165fa2321d8e76872a_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_2; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_e7cf459b330c2d165fa2321d8e76872a_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_e7cf459b330c2d165fa2321d8e76872a_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_e7cf459b330c2d165fa2321d8e76872a_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_e7cf459b330c2d165fa2321d8e76872a_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_e7cf459b330c2d165fa2321d8e76872a_2, type_description_2, outline_0_var_name, var_module ); // Release cached frame. if ( frame_e7cf459b330c2d165fa2321d8e76872a_2 == cache_frame_e7cf459b330c2d165fa2321d8e76872a_2 ) { Py_DECREF( frame_e7cf459b330c2d165fa2321d8e76872a_2 ); } cache_frame_e7cf459b330c2d165fa2321d8e76872a_2 = NULL; assertFrameObject( frame_e7cf459b330c2d165fa2321d8e76872a_2 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; type_description_1 = "ooooooo"; goto try_except_handler_2; skip_nested_handling_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_21_from_import ); return NULL; // Return handler code: try_return_handler_2:; { Py_XDECREF( outline_0_var_name ); outline_0_var_name = NULL; } { goto outline_result_1; } // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( outline_0_var_name ); outline_0_var_name = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_21_from_import ); return NULL; outline_exception_1:; exception_lineno = 730; goto frame_exception_exit_1; outline_result_1:; assert( var_output == NULL ); var_output = tmp_assign_source_5; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_len_arg_1; CHECK_OBJECT( var_output ); tmp_len_arg_1 = var_output; tmp_compexpr_left_2 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 731; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_2 = const_int_pos_1; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_2, tmp_compexpr_right_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 731; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; if ( var_output == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "output" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 732; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_subscribed_name_2 = var_output; tmp_subscript_name_2 = const_int_0; tmp_return_value = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 732; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_3; branch_no_3:; { if ( var_output == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "output" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 734; type_description_1 = "ooooooo"; goto frame_exception_exit_1; } tmp_return_value = var_output; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_end_3:; } branch_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_39701b9bb67f9897e436d28620746cc4 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_39701b9bb67f9897e436d28620746cc4 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_39701b9bb67f9897e436d28620746cc4 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_39701b9bb67f9897e436d28620746cc4, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_39701b9bb67f9897e436d28620746cc4->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_39701b9bb67f9897e436d28620746cc4, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_39701b9bb67f9897e436d28620746cc4, type_description_1, par_module_name, par_symbol_names, par_kwargs, var_prefix, var_parts, var_module, var_output ); // Release cached frame. if ( frame_39701b9bb67f9897e436d28620746cc4 == cache_frame_39701b9bb67f9897e436d28620746cc4 ) { Py_DECREF( frame_39701b9bb67f9897e436d28620746cc4 ); } cache_frame_39701b9bb67f9897e436d28620746cc4 = NULL; assertFrameObject( frame_39701b9bb67f9897e436d28620746cc4 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_2:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_21_from_import ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_module_name ); par_module_name = NULL; } { Py_XDECREF( par_symbol_names ); par_symbol_names = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_prefix ); var_prefix = NULL; } { Py_XDECREF( var_parts ); var_parts = NULL; } { Py_XDECREF( var_module ); var_module = NULL; } { Py_XDECREF( var_output ); var_output = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_module_name ); par_module_name = NULL; } { Py_XDECREF( par_symbol_names ); par_symbol_names = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { Py_XDECREF( var_prefix ); var_prefix = NULL; } { Py_XDECREF( var_parts ); var_parts = NULL; } { Py_XDECREF( var_module ); var_module = NULL; } { Py_XDECREF( var_output ); var_output = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_21_from_import ); 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_future$standard_library$$$function_22___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_args = python_pars[ 1 ]; PyObject *outline_0_var_m = NULL; PyObject *tmp_listcomp_1__$0 = NULL; PyObject *tmp_listcomp_1__contraction = NULL; PyObject *tmp_listcomp_1__iter_value_0 = NULL; struct Nuitka_FrameObject *frame_95e89b449f97e18073ae3c099eb1c12c; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; bool tmp_result; struct Nuitka_FrameObject *frame_5415fc773e32c8448566f4db08293e04_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; static struct Nuitka_FrameObject *cache_frame_5415fc773e32c8448566f4db08293e04_2 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; static struct Nuitka_FrameObject *cache_frame_95e89b449f97e18073ae3c099eb1c12c = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_95e89b449f97e18073ae3c099eb1c12c, codeobj_95e89b449f97e18073ae3c099eb1c12c, module_future$standard_library, sizeof(void *)+sizeof(void *) ); frame_95e89b449f97e18073ae3c099eb1c12c = cache_frame_95e89b449f97e18073ae3c099eb1c12c; // Push the new frame as the currently active one. pushFrameStack( frame_95e89b449f97e18073ae3c099eb1c12c ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_95e89b449f97e18073ae3c099eb1c12c ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; CHECK_OBJECT( par_args ); tmp_len_arg_1 = par_args; tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 747; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_0; tmp_operand_name_1 = RICH_COMPARE_GT( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 747; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 747; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 747; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; if ( par_args == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 748; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_name_1 = par_args; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 748; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_module_names, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 748; type_description_1 = "oo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_called_name_1; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_1; int tmp_truth_name_1; tmp_called_name_1 = LOOKUP_BUILTIN( const_str_plain_any ); assert( tmp_called_name_1 != NULL ); { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_source_name_1; if ( par_self == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 750; type_description_1 = "oo"; goto try_except_handler_2; } tmp_source_name_1 = par_self; tmp_iter_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_module_names ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 750; type_description_1 = "oo"; goto try_except_handler_2; } tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 750; type_description_1 = "oo"; goto try_except_handler_2; } assert( tmp_listcomp_1__$0 == NULL ); tmp_listcomp_1__$0 = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = PyList_New( 0 ); assert( tmp_listcomp_1__contraction == NULL ); tmp_listcomp_1__contraction = tmp_assign_source_2; } MAKE_OR_REUSE_FRAME( cache_frame_5415fc773e32c8448566f4db08293e04_2, codeobj_5415fc773e32c8448566f4db08293e04, module_future$standard_library, sizeof(void *) ); frame_5415fc773e32c8448566f4db08293e04_2 = cache_frame_5415fc773e32c8448566f4db08293e04_2; // Push the new frame as the currently active one. pushFrameStack( frame_5415fc773e32c8448566f4db08293e04_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_5415fc773e32c8448566f4db08293e04_2 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_3; CHECK_OBJECT( tmp_listcomp_1__$0 ); tmp_next_source_1 = tmp_listcomp_1__$0; tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_3 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_2 = "o"; exception_lineno = 750; goto try_except_handler_3; } } { PyObject *old = tmp_listcomp_1__iter_value_0; tmp_listcomp_1__iter_value_0 = tmp_assign_source_3; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_listcomp_1__iter_value_0 ); tmp_assign_source_4 = tmp_listcomp_1__iter_value_0; { PyObject *old = outline_0_var_m; outline_0_var_m = tmp_assign_source_4; Py_INCREF( outline_0_var_m ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_append_list_1 = tmp_listcomp_1__contraction; tmp_compexpr_left_2 = const_str_dot; CHECK_OBJECT( outline_0_var_m ); tmp_compexpr_right_2 = outline_0_var_m; tmp_res = PySequence_Contains( tmp_compexpr_right_2, tmp_compexpr_left_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 750; type_description_2 = "o"; goto try_except_handler_3; } tmp_append_value_1 = ( tmp_res == 1 ) ? Py_True : Py_False; assert( PyList_Check( tmp_append_list_1 ) ); tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 750; type_description_2 = "o"; goto try_except_handler_3; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 750; type_description_2 = "o"; goto try_except_handler_3; } goto loop_start_1; loop_end_1:; } { CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_args_element_name_1 = tmp_listcomp_1__contraction; Py_INCREF( tmp_args_element_name_1 ); goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_22___init__ ); return NULL; // Return handler code: try_return_handler_3:; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { goto frame_return_exit_1; } // Exception handler code: try_except_handler_3:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_2; } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_5415fc773e32c8448566f4db08293e04_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5415fc773e32c8448566f4db08293e04_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_2; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_5415fc773e32c8448566f4db08293e04_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_5415fc773e32c8448566f4db08293e04_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_5415fc773e32c8448566f4db08293e04_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_5415fc773e32c8448566f4db08293e04_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_5415fc773e32c8448566f4db08293e04_2, type_description_2, outline_0_var_m ); // Release cached frame. if ( frame_5415fc773e32c8448566f4db08293e04_2 == cache_frame_5415fc773e32c8448566f4db08293e04_2 ) { Py_DECREF( frame_5415fc773e32c8448566f4db08293e04_2 ); } cache_frame_5415fc773e32c8448566f4db08293e04_2 = NULL; assertFrameObject( frame_5415fc773e32c8448566f4db08293e04_2 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; type_description_1 = "oo"; goto try_except_handler_2; skip_nested_handling_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_22___init__ ); return NULL; // Return handler code: try_return_handler_2:; { Py_XDECREF( outline_0_var_m ); outline_0_var_m = NULL; } { goto outline_result_1; } // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( outline_0_var_m ); outline_0_var_m = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_22___init__ ); return NULL; outline_exception_1:; exception_lineno = 750; goto frame_exception_exit_1; outline_result_1:; frame_95e89b449f97e18073ae3c099eb1c12c->m_frame.f_lineno = 750; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_args_element_name_1 ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 750; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 750; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_raise_type_2; PyObject *tmp_make_exception_arg_1; tmp_make_exception_arg_1 = const_str_digest_bcee7f5bdd5d7df180bcd5614ca88502; frame_95e89b449f97e18073ae3c099eb1c12c->m_frame.f_lineno = 751; { PyObject *call_args[] = { tmp_make_exception_arg_1 }; tmp_raise_type_2 = CALL_FUNCTION_WITH_ARGS1( PyExc_NotImplementedError, call_args ); } assert( !(tmp_raise_type_2 == NULL) ); exception_type = tmp_raise_type_2; exception_lineno = 751; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); type_description_1 = "oo"; goto frame_exception_exit_1; } branch_no_2:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_95e89b449f97e18073ae3c099eb1c12c ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_95e89b449f97e18073ae3c099eb1c12c ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_95e89b449f97e18073ae3c099eb1c12c, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_95e89b449f97e18073ae3c099eb1c12c->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_95e89b449f97e18073ae3c099eb1c12c, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_95e89b449f97e18073ae3c099eb1c12c, type_description_1, par_self, par_args ); // Release cached frame. if ( frame_95e89b449f97e18073ae3c099eb1c12c == cache_frame_95e89b449f97e18073ae3c099eb1c12c ) { Py_DECREF( frame_95e89b449f97e18073ae3c099eb1c12c ); } cache_frame_95e89b449f97e18073ae3c099eb1c12c = NULL; assertFrameObject( frame_95e89b449f97e18073ae3c099eb1c12c ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_2:; { 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( future$standard_library$$$function_22___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_22___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_future$standard_library$$$function_23___enter__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *var_FUTURE_SOURCE_SUBFOLDERS = NULL; PyObject *var_folder = NULL; PyObject *var_m = NULL; PyObject *var_module = NULL; PyObject *outline_0_var_subfolder = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_for_loop_2__for_iterator = NULL; PyObject *tmp_for_loop_2__iter_value = NULL; PyObject *tmp_listcomp_1__$0 = NULL; PyObject *tmp_listcomp_1__contraction = NULL; PyObject *tmp_listcomp_1__iter_value_0 = NULL; struct Nuitka_FrameObject *frame_9a48dd10d1780d3c01a08596178be506; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; int tmp_res; PyObject *tmp_return_value = NULL; struct Nuitka_FrameObject *frame_75d2d175cba028bbd1b7643bb0ed3880_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; static struct Nuitka_FrameObject *cache_frame_75d2d175cba028bbd1b7643bb0ed3880_2 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; 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; static struct Nuitka_FrameObject *cache_frame_9a48dd10d1780d3c01a08596178be506 = NULL; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_9a48dd10d1780d3c01a08596178be506, codeobj_9a48dd10d1780d3c01a08596178be506, module_future$standard_library, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_9a48dd10d1780d3c01a08596178be506 = cache_frame_9a48dd10d1780d3c01a08596178be506; // Push the new frame as the currently active one. pushFrameStack( frame_9a48dd10d1780d3c01a08596178be506 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_9a48dd10d1780d3c01a08596178be506 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_assattr_target_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_copy ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_copy ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "copy" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 754; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_copy ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 754; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_path ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 754; type_description_1 = "ooooo"; goto frame_exception_exit_1; } frame_9a48dd10d1780d3c01a08596178be506->m_frame.f_lineno = 754; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assattr_name_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_assattr_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 754; type_description_1 = "ooooo"; 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 = 754; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_old_sys_path, 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 = 754; type_description_1 = "ooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_2; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_4; PyObject *tmp_assattr_target_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_copy ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_copy ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "copy" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 755; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_3; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_copy ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 755; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_4 == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 755; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_4; tmp_args_element_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_modules ); if ( tmp_args_element_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 755; type_description_1 = "ooooo"; goto frame_exception_exit_1; } frame_9a48dd10d1780d3c01a08596178be506->m_frame.f_lineno = 755; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_assattr_name_2 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_2 ); if ( tmp_assattr_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 755; type_description_1 = "ooooo"; goto frame_exception_exit_1; } if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 755; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_old_sys_modules, tmp_assattr_name_2 ); Py_DECREF( tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 755; type_description_1 = "ooooo"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_5; PyObject *tmp_subscript_name_1; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_5 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 756; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_5; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_version_info ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 756; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_subscript_name_1 = const_int_0; tmp_compexpr_left_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 756; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_pos_3; tmp_res = RICH_COMPARE_BOOL_LT( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 756; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_1; tmp_assign_source_1 = LIST_COPY( const_list_1186e5f4b73fb5ab5be11cf19c672bca_list ); assert( var_FUTURE_SOURCE_SUBFOLDERS == NULL ); var_FUTURE_SOURCE_SUBFOLDERS = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_source_name_6; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 763; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_iter_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_old_sys_path ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 763; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 763; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_2; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_3; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_3 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooo"; exception_lineno = 763; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_3; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_4 = tmp_for_loop_1__iter_value; { PyObject *old = var_folder; var_folder = tmp_assign_source_4; Py_INCREF( var_folder ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_called_name_3; PyObject *tmp_call_result_1; PyObject *tmp_args_element_name_3; int tmp_truth_name_1; tmp_called_name_3 = LOOKUP_BUILTIN( const_str_plain_all ); assert( tmp_called_name_3 != NULL ); { // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_iter_arg_2; if ( var_FUTURE_SOURCE_SUBFOLDERS == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "FUTURE_SOURCE_SUBFOLDERS" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 765; type_description_1 = "ooooo"; goto try_except_handler_3; } tmp_iter_arg_2 = var_FUTURE_SOURCE_SUBFOLDERS; tmp_assign_source_5 = MAKE_ITERATOR( tmp_iter_arg_2 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 764; type_description_1 = "ooooo"; goto try_except_handler_3; } { PyObject *old = tmp_listcomp_1__$0; tmp_listcomp_1__$0 = tmp_assign_source_5; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_6; tmp_assign_source_6 = PyList_New( 0 ); { PyObject *old = tmp_listcomp_1__contraction; tmp_listcomp_1__contraction = tmp_assign_source_6; Py_XDECREF( old ); } } MAKE_OR_REUSE_FRAME( cache_frame_75d2d175cba028bbd1b7643bb0ed3880_2, codeobj_75d2d175cba028bbd1b7643bb0ed3880, module_future$standard_library, sizeof(void *)+sizeof(void *) ); frame_75d2d175cba028bbd1b7643bb0ed3880_2 = cache_frame_75d2d175cba028bbd1b7643bb0ed3880_2; // Push the new frame as the currently active one. pushFrameStack( frame_75d2d175cba028bbd1b7643bb0ed3880_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_75d2d175cba028bbd1b7643bb0ed3880_2 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_7; CHECK_OBJECT( tmp_listcomp_1__$0 ); tmp_next_source_2 = tmp_listcomp_1__$0; tmp_assign_source_7 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_7 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_2; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_2 = "oo"; exception_lineno = 764; goto try_except_handler_4; } } { PyObject *old = tmp_listcomp_1__iter_value_0; tmp_listcomp_1__iter_value_0 = tmp_assign_source_7; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_8; CHECK_OBJECT( tmp_listcomp_1__iter_value_0 ); tmp_assign_source_8 = tmp_listcomp_1__iter_value_0; { PyObject *old = outline_0_var_subfolder; outline_0_var_subfolder = tmp_assign_source_8; Py_INCREF( outline_0_var_subfolder ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; PyObject *tmp_called_name_4; PyObject *tmp_source_name_7; PyObject *tmp_source_name_8; PyObject *tmp_mvar_value_6; PyObject *tmp_args_element_name_4; PyObject *tmp_called_name_5; PyObject *tmp_source_name_9; PyObject *tmp_source_name_10; PyObject *tmp_mvar_value_7; PyObject *tmp_args_element_name_5; PyObject *tmp_args_element_name_6; CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_append_list_1 = tmp_listcomp_1__contraction; tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_6 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 764; type_description_2 = "oo"; goto try_except_handler_4; } tmp_source_name_8 = tmp_mvar_value_6; tmp_source_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_path ); if ( tmp_source_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 764; type_description_2 = "oo"; goto try_except_handler_4; } tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_exists ); Py_DECREF( tmp_source_name_7 ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 764; type_description_2 = "oo"; goto try_except_handler_4; } tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_os ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os ); } if ( tmp_mvar_value_7 == NULL ) { Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 764; type_description_2 = "oo"; goto try_except_handler_4; } tmp_source_name_10 = tmp_mvar_value_7; tmp_source_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_path ); if ( tmp_source_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 764; type_description_2 = "oo"; goto try_except_handler_4; } tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_join ); Py_DECREF( tmp_source_name_9 ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 764; type_description_2 = "oo"; goto try_except_handler_4; } if ( var_folder == NULL ) { Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_called_name_5 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "folder" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 764; type_description_2 = "oo"; goto try_except_handler_4; } tmp_args_element_name_5 = var_folder; if ( outline_0_var_subfolder == NULL ) { Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_called_name_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "subfolder" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 764; type_description_2 = "oo"; goto try_except_handler_4; } tmp_args_element_name_6 = outline_0_var_subfolder; frame_75d2d175cba028bbd1b7643bb0ed3880_2->m_frame.f_lineno = 764; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 }; tmp_args_element_name_4 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_5, call_args ); } Py_DECREF( tmp_called_name_5 ); if ( tmp_args_element_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 764; type_description_2 = "oo"; goto try_except_handler_4; } frame_75d2d175cba028bbd1b7643bb0ed3880_2->m_frame.f_lineno = 764; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_append_value_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_4 ); if ( tmp_append_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 764; type_description_2 = "oo"; goto try_except_handler_4; } assert( PyList_Check( tmp_append_list_1 ) ); tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 ); Py_DECREF( tmp_append_value_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 764; type_description_2 = "oo"; goto try_except_handler_4; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 764; type_description_2 = "oo"; goto try_except_handler_4; } goto loop_start_2; loop_end_2:; } { CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_args_element_name_3 = tmp_listcomp_1__contraction; Py_INCREF( tmp_args_element_name_3 ); goto try_return_handler_4; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_23___enter__ ); return NULL; // Return handler code: try_return_handler_4:; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { goto frame_return_exit_2; } // Exception handler code: try_except_handler_4:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 ); Py_DECREF( tmp_listcomp_1__$0 ); tmp_listcomp_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction ); Py_DECREF( tmp_listcomp_1__contraction ); tmp_listcomp_1__contraction = NULL; } { Py_XDECREF( tmp_listcomp_1__iter_value_0 ); tmp_listcomp_1__iter_value_0 = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_2; } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_75d2d175cba028bbd1b7643bb0ed3880_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_75d2d175cba028bbd1b7643bb0ed3880_2 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_3; frame_exception_exit_2:; #if 0 RESTORE_FRAME_EXCEPTION( frame_75d2d175cba028bbd1b7643bb0ed3880_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_75d2d175cba028bbd1b7643bb0ed3880_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_75d2d175cba028bbd1b7643bb0ed3880_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_75d2d175cba028bbd1b7643bb0ed3880_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_75d2d175cba028bbd1b7643bb0ed3880_2, type_description_2, outline_0_var_subfolder, var_folder ); // Release cached frame. if ( frame_75d2d175cba028bbd1b7643bb0ed3880_2 == cache_frame_75d2d175cba028bbd1b7643bb0ed3880_2 ) { Py_DECREF( frame_75d2d175cba028bbd1b7643bb0ed3880_2 ); } cache_frame_75d2d175cba028bbd1b7643bb0ed3880_2 = NULL; assertFrameObject( frame_75d2d175cba028bbd1b7643bb0ed3880_2 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; type_description_1 = "ooooo"; goto try_except_handler_3; skip_nested_handling_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_23___enter__ ); return NULL; // Return handler code: try_return_handler_3:; { Py_XDECREF( outline_0_var_subfolder ); outline_0_var_subfolder = NULL; } { goto outline_result_1; } // Exception handler code: try_except_handler_3:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( outline_0_var_subfolder ); outline_0_var_subfolder = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_23___enter__ ); return NULL; outline_exception_1:; exception_lineno = 764; goto try_except_handler_2; outline_result_1:; frame_9a48dd10d1780d3c01a08596178be506->m_frame.f_lineno = 764; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_args_element_name_3 ); if ( tmp_call_result_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 764; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_truth_name_1 = CHECK_IF_TRUE( tmp_call_result_1 ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_call_result_1 ); exception_lineno = 764; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; Py_DECREF( tmp_call_result_1 ); if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_called_name_6; PyObject *tmp_source_name_11; PyObject *tmp_source_name_12; PyObject *tmp_mvar_value_8; PyObject *tmp_args_element_name_7; tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_8 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 767; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_source_name_12 = tmp_mvar_value_8; tmp_source_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_path ); if ( tmp_source_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 767; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_called_name_6 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_remove ); Py_DECREF( tmp_source_name_11 ); if ( tmp_called_name_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 767; type_description_1 = "ooooo"; goto try_except_handler_2; } if ( var_folder == NULL ) { Py_DECREF( tmp_called_name_6 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "folder" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 767; type_description_1 = "ooooo"; goto try_except_handler_2; } tmp_args_element_name_7 = var_folder; frame_9a48dd10d1780d3c01a08596178be506->m_frame.f_lineno = 767; { PyObject *call_args[] = { tmp_args_element_name_7 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args ); } Py_DECREF( tmp_called_name_6 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 767; type_description_1 = "ooooo"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 763; type_description_1 = "ooooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_1; } // End of try: try_end_1:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { PyObject *tmp_assign_source_9; PyObject *tmp_iter_arg_3; PyObject *tmp_source_name_13; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 770; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_source_name_13 = par_self; tmp_iter_arg_3 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_module_names ); if ( tmp_iter_arg_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 770; type_description_1 = "ooooo"; goto frame_exception_exit_1; } tmp_assign_source_9 = MAKE_ITERATOR( tmp_iter_arg_3 ); Py_DECREF( tmp_iter_arg_3 ); if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 770; type_description_1 = "ooooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_2__for_iterator == NULL ); tmp_for_loop_2__for_iterator = tmp_assign_source_9; } { // Tried code: { loop_start_3:; { PyObject *tmp_next_source_3; PyObject *tmp_assign_source_10; CHECK_OBJECT( tmp_for_loop_2__for_iterator ); tmp_next_source_3 = tmp_for_loop_2__for_iterator; tmp_assign_source_10 = ITERATOR_NEXT( tmp_next_source_3 ); if ( tmp_assign_source_10 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_3; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooooo"; exception_lineno = 770; goto try_except_handler_5; } } { PyObject *old = tmp_for_loop_2__iter_value; tmp_for_loop_2__iter_value = tmp_assign_source_10; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_11; CHECK_OBJECT( tmp_for_loop_2__iter_value ); tmp_assign_source_11 = tmp_for_loop_2__iter_value; { PyObject *old = var_m; var_m = tmp_assign_source_11; Py_INCREF( var_m ); Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_assign_source_12; PyObject *tmp_name_name_1; PyObject *tmp_level_name_1; CHECK_OBJECT( var_m ); tmp_name_name_1 = var_m; tmp_level_name_1 = const_int_0; frame_9a48dd10d1780d3c01a08596178be506->m_frame.f_lineno = 779; tmp_assign_source_12 = IMPORT_MODULE_KW( tmp_name_name_1, NULL, NULL, NULL, tmp_level_name_1 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 779; type_description_1 = "ooooo"; goto try_except_handler_6; } { PyObject *old = var_module; var_module = tmp_assign_source_12; Py_XDECREF( old ); } } goto try_end_2; // Exception handler code: try_except_handler_6:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Preserve existing published exception. exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_1 ); exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_1 ); exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_1 ); } { if ( exception_keeper_tb_4 == NULL ) { exception_keeper_tb_4 = MAKE_TRACEBACK( frame_9a48dd10d1780d3c01a08596178be506, exception_keeper_lineno_4 ); } else if ( exception_keeper_lineno_4 != 0 ) { exception_keeper_tb_4 = ADD_TRACEBACK( exception_keeper_tb_4, frame_9a48dd10d1780d3c01a08596178be506, exception_keeper_lineno_4 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4 ); PyException_SetTraceback( exception_keeper_value_4, (PyObject *)exception_keeper_tb_4 ); PUBLISH_EXCEPTION( &exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4 ); } { // Tried code: { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_2 = PyExc_ImportError; tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 780; type_description_1 = "ooooo"; goto try_except_handler_7; } 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 = 780; type_description_1 = "ooooo"; goto try_except_handler_7; } tmp_condition_result_3 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 778; } if (exception_tb && exception_tb->tb_frame == &frame_9a48dd10d1780d3c01a08596178be506->m_frame) frame_9a48dd10d1780d3c01a08596178be506->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "ooooo"; goto try_except_handler_7; } branch_no_3:; } goto try_end_3; // Exception handler code: try_except_handler_7:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_5; } // End of try: try_end_3:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } goto try_end_2; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_23___enter__ ); return NULL; // End of try: try_end_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 770; type_description_1 = "ooooo"; goto try_except_handler_5; } goto loop_start_3; loop_end_3:; } goto try_end_4; // Exception handler code: try_except_handler_5:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_2__iter_value ); tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator ); Py_DECREF( tmp_for_loop_2__for_iterator ); tmp_for_loop_2__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto frame_exception_exit_1; } // End of try: try_end_4:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_9a48dd10d1780d3c01a08596178be506 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9a48dd10d1780d3c01a08596178be506 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_9a48dd10d1780d3c01a08596178be506 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_9a48dd10d1780d3c01a08596178be506, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_9a48dd10d1780d3c01a08596178be506->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_9a48dd10d1780d3c01a08596178be506, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_9a48dd10d1780d3c01a08596178be506, type_description_1, par_self, var_FUTURE_SOURCE_SUBFOLDERS, var_folder, var_m, var_module ); // Release cached frame. if ( frame_9a48dd10d1780d3c01a08596178be506 == cache_frame_9a48dd10d1780d3c01a08596178be506 ) { Py_DECREF( frame_9a48dd10d1780d3c01a08596178be506 ); } cache_frame_9a48dd10d1780d3c01a08596178be506 = NULL; assertFrameObject( frame_9a48dd10d1780d3c01a08596178be506 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_2:; { Py_XDECREF( tmp_for_loop_2__iter_value ); tmp_for_loop_2__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator ); Py_DECREF( tmp_for_loop_2__for_iterator ); tmp_for_loop_2__for_iterator = NULL; } { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_23___enter__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_FUTURE_SOURCE_SUBFOLDERS ); var_FUTURE_SOURCE_SUBFOLDERS = NULL; } { Py_XDECREF( var_folder ); var_folder = NULL; } { Py_XDECREF( var_m ); var_m = NULL; } { Py_XDECREF( var_module ); var_module = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_FUTURE_SOURCE_SUBFOLDERS ); var_FUTURE_SOURCE_SUBFOLDERS = NULL; } { Py_XDECREF( var_folder ); var_folder = NULL; } { Py_XDECREF( var_m ); var_m = NULL; } { Py_XDECREF( var_module ); var_module = NULL; } { // Re-raise. exception_type = exception_keeper_type_7; exception_value = exception_keeper_value_7; exception_tb = exception_keeper_tb_7; exception_lineno = exception_keeper_lineno_7; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_23___enter__ ); 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_future$standard_library$$$function_24___exit__( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *par_args = python_pars[ 1 ]; PyObject *var_m = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; struct Nuitka_FrameObject *frame_fa6ffd5486f0af73b511d8e5fa8ce466; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; bool tmp_result; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; static struct Nuitka_FrameObject *cache_frame_fa6ffd5486f0af73b511d8e5fa8ce466 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_fa6ffd5486f0af73b511d8e5fa8ce466, codeobj_fa6ffd5486f0af73b511d8e5fa8ce466, module_future$standard_library, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_fa6ffd5486f0af73b511d8e5fa8ce466 = cache_frame_fa6ffd5486f0af73b511d8e5fa8ce466; // Push the new frame as the currently active one. pushFrameStack( frame_fa6ffd5486f0af73b511d8e5fa8ce466 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_fa6ffd5486f0af73b511d8e5fa8ce466 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_source_name_1; PyObject *tmp_assattr_target_1; PyObject *tmp_mvar_value_1; CHECK_OBJECT( par_self ); tmp_source_name_1 = par_self; tmp_assattr_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_old_sys_path ); if ( tmp_assattr_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 787; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_1 == NULL ) { Py_DECREF( tmp_assattr_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 787; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assattr_target_1 = tmp_mvar_value_1; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_path, 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 = 787; type_description_1 = "ooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assign_source_1; PyObject *tmp_iter_arg_1; PyObject *tmp_left_name_1; PyObject *tmp_set_arg_1; PyObject *tmp_called_instance_1; PyObject *tmp_source_name_2; PyObject *tmp_right_name_1; PyObject *tmp_set_arg_2; PyObject *tmp_called_instance_2; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_2; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 788; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_old_sys_modules ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 788; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_fa6ffd5486f0af73b511d8e5fa8ce466->m_frame.f_lineno = 788; tmp_set_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_keys ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_set_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 788; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_1 = PySet_New( tmp_set_arg_1 ); Py_DECREF( tmp_set_arg_1 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 788; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_2 == NULL ) { Py_DECREF( tmp_left_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 788; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_2; tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_modules ); if ( tmp_called_instance_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 788; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_fa6ffd5486f0af73b511d8e5fa8ce466->m_frame.f_lineno = 788; tmp_set_arg_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_keys ); Py_DECREF( tmp_called_instance_2 ); if ( tmp_set_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 788; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_right_name_1 = PySet_New( tmp_set_arg_2 ); Py_DECREF( tmp_set_arg_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 788; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_iter_arg_1 = BINARY_OPERATION_SUB( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 788; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 ); Py_DECREF( tmp_iter_arg_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 788; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_1; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_2; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_2 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "ooo"; exception_lineno = 788; goto try_except_handler_2; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_2; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_3; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_3 = tmp_for_loop_1__iter_value; { PyObject *old = var_m; var_m = tmp_assign_source_3; Py_INCREF( var_m ); Py_XDECREF( old ); } } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_source_name_4; PyObject *tmp_subscript_name_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_3; PyObject *tmp_ass_subscript_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 = 789; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_4 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_old_sys_modules ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 789; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_m == NULL ) { Py_DECREF( tmp_subscribed_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "m" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 789; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_subscript_name_1 = var_m; tmp_ass_subvalue_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); if ( tmp_ass_subvalue_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 789; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_3 == NULL ) { Py_DECREF( tmp_ass_subvalue_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 789; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_source_name_5 = tmp_mvar_value_3; tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_modules ); 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 = 789; type_description_1 = "ooo"; goto try_except_handler_2; } if ( var_m == 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", "m" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 789; type_description_1 = "ooo"; goto try_except_handler_2; } tmp_ass_subscript_1 = var_m; 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_subvalue_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 789; type_description_1 = "ooo"; goto try_except_handler_2; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 788; type_description_1 = "ooo"; goto try_except_handler_2; } goto loop_start_1; loop_end_1:; } goto try_end_1; // Exception handler code: try_except_handler_2:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_fa6ffd5486f0af73b511d8e5fa8ce466 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_fa6ffd5486f0af73b511d8e5fa8ce466 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_fa6ffd5486f0af73b511d8e5fa8ce466, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_fa6ffd5486f0af73b511d8e5fa8ce466->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_fa6ffd5486f0af73b511d8e5fa8ce466, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_fa6ffd5486f0af73b511d8e5fa8ce466, type_description_1, par_self, par_args, var_m ); // Release cached frame. if ( frame_fa6ffd5486f0af73b511d8e5fa8ce466 == cache_frame_fa6ffd5486f0af73b511d8e5fa8ce466 ) { Py_DECREF( frame_fa6ffd5486f0af73b511d8e5fa8ce466 ); } cache_frame_fa6ffd5486f0af73b511d8e5fa8ce466 = NULL; assertFrameObject( frame_fa6ffd5486f0af73b511d8e5fa8ce466 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { tmp_return_value = Py_None; Py_INCREF( tmp_return_value ); goto try_return_handler_1; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_24___exit__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { Py_XDECREF( var_m ); var_m = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_args ); par_args = NULL; } { Py_XDECREF( var_m ); var_m = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_24___exit__ ); 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_future$standard_library$$$function_25_import_top_level_modules( 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 *var_m = NULL; PyObject *tmp_for_loop_1__for_iterator = NULL; PyObject *tmp_for_loop_1__iter_value = NULL; PyObject *tmp_with_1__enter = NULL; PyObject *tmp_with_1__exit = NULL; nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED; PyObject *tmp_with_1__source = NULL; struct Nuitka_FrameObject *frame_4d94107aeff80912dd78e3d529732024; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; PyObject *exception_preserved_type_1; PyObject *exception_preserved_value_1; PyTracebackObject *exception_preserved_tb_1; int tmp_res; bool tmp_result; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_preserved_type_2; PyObject *exception_preserved_value_2; PyTracebackObject *exception_preserved_tb_2; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; static struct Nuitka_FrameObject *cache_frame_4d94107aeff80912dd78e3d529732024 = NULL; PyObject *tmp_return_value = NULL; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_4d94107aeff80912dd78e3d529732024, codeobj_4d94107aeff80912dd78e3d529732024, module_future$standard_library, sizeof(void *) ); frame_4d94107aeff80912dd78e3d529732024 = cache_frame_4d94107aeff80912dd78e3d529732024; // Push the new frame as the currently active one. pushFrameStack( frame_4d94107aeff80912dd78e3d529732024 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_4d94107aeff80912dd78e3d529732024 ) == 2 ); // Frame stack // Framed code: { // Tried code: { PyObject *tmp_assign_source_1; PyObject *tmp_dircall_arg1_1; PyObject *tmp_mvar_value_1; PyObject *tmp_dircall_arg2_1; PyObject *tmp_mvar_value_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_exclude_local_folder_imports ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_exclude_local_folder_imports ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "exclude_local_folder_imports" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 808; type_description_1 = "o"; goto try_except_handler_2; } tmp_dircall_arg1_1 = tmp_mvar_value_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_TOP_LEVEL_MODULES ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_TOP_LEVEL_MODULES ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "TOP_LEVEL_MODULES" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 808; type_description_1 = "o"; goto try_except_handler_2; } tmp_dircall_arg2_1 = tmp_mvar_value_2; Py_INCREF( tmp_dircall_arg1_1 ); Py_INCREF( tmp_dircall_arg2_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1}; tmp_assign_source_1 = impl___internal__$$$function_2_complex_call_helper_star_list( dir_call_args ); } if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 808; type_description_1 = "o"; goto try_except_handler_2; } assert( tmp_with_1__source == NULL ); tmp_with_1__source = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; CHECK_OBJECT( tmp_with_1__source ); tmp_source_name_1 = tmp_with_1__source; tmp_called_name_1 = LOOKUP_SPECIAL( tmp_source_name_1, const_str_plain___enter__ ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 808; type_description_1 = "o"; goto try_except_handler_2; } frame_4d94107aeff80912dd78e3d529732024->m_frame.f_lineno = 808; tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 ); Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 808; type_description_1 = "o"; goto try_except_handler_2; } assert( tmp_with_1__enter == NULL ); tmp_with_1__enter = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; PyObject *tmp_source_name_2; CHECK_OBJECT( tmp_with_1__source ); tmp_source_name_2 = tmp_with_1__source; tmp_assign_source_3 = LOOKUP_SPECIAL( tmp_source_name_2, const_str_plain___exit__ ); if ( tmp_assign_source_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 808; type_description_1 = "o"; goto try_except_handler_2; } assert( tmp_with_1__exit == NULL ); tmp_with_1__exit = tmp_assign_source_3; } { nuitka_bool tmp_assign_source_4; tmp_assign_source_4 = NUITKA_BOOL_TRUE; tmp_with_1__indicator = tmp_assign_source_4; } { // Tried code: { // Tried code: { PyObject *tmp_assign_source_5; PyObject *tmp_iter_arg_1; PyObject *tmp_mvar_value_3; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_TOP_LEVEL_MODULES ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_TOP_LEVEL_MODULES ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "TOP_LEVEL_MODULES" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 809; type_description_1 = "o"; goto try_except_handler_4; } tmp_iter_arg_1 = tmp_mvar_value_3; tmp_assign_source_5 = MAKE_ITERATOR( tmp_iter_arg_1 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 809; type_description_1 = "o"; goto try_except_handler_4; } assert( tmp_for_loop_1__for_iterator == NULL ); tmp_for_loop_1__for_iterator = tmp_assign_source_5; } { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_6; CHECK_OBJECT( tmp_for_loop_1__for_iterator ); tmp_next_source_1 = tmp_for_loop_1__for_iterator; tmp_assign_source_6 = ITERATOR_NEXT( tmp_next_source_1 ); if ( tmp_assign_source_6 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_1; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_1 = "o"; exception_lineno = 809; goto try_except_handler_5; } } { PyObject *old = tmp_for_loop_1__iter_value; tmp_for_loop_1__iter_value = tmp_assign_source_6; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_7; CHECK_OBJECT( tmp_for_loop_1__iter_value ); tmp_assign_source_7 = tmp_for_loop_1__iter_value; { PyObject *old = var_m; var_m = tmp_assign_source_7; Py_INCREF( var_m ); Py_XDECREF( old ); } } { // Tried code: { PyObject *tmp_name_name_1; CHECK_OBJECT( var_m ); tmp_name_name_1 = var_m; frame_4d94107aeff80912dd78e3d529732024->m_frame.f_lineno = 811; tmp_unused = IMPORT_MODULE1( tmp_name_name_1 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 811; type_description_1 = "o"; goto try_except_handler_6; } Py_DECREF( tmp_unused ); } goto try_end_1; // Exception handler code: try_except_handler_6:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Preserve existing published exception. exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_1 ); exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_1 ); exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_1 ); } { if ( exception_keeper_tb_1 == NULL ) { exception_keeper_tb_1 = MAKE_TRACEBACK( frame_4d94107aeff80912dd78e3d529732024, exception_keeper_lineno_1 ); } else if ( exception_keeper_lineno_1 != 0 ) { exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_4d94107aeff80912dd78e3d529732024, exception_keeper_lineno_1 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 ); PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 ); PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 ); } { // Tried code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_1 = PyExc_ImportError; tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 812; type_description_1 = "o"; goto try_except_handler_7; } 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 = 812; type_description_1 = "o"; goto try_except_handler_7; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 810; } if (exception_tb && exception_tb->tb_frame == &frame_4d94107aeff80912dd78e3d529732024->m_frame) frame_4d94107aeff80912dd78e3d529732024->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "o"; goto try_except_handler_7; } branch_no_1:; } goto try_end_2; // Exception handler code: try_except_handler_7:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_5; } // End of try: try_end_2:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 ); } goto try_end_1; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_25_import_top_level_modules ); return NULL; // End of try: try_end_1:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 809; type_description_1 = "o"; goto try_except_handler_5; } goto loop_start_1; loop_end_1:; } goto try_end_3; // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_4; } // End of try: try_end_3:; } { Py_XDECREF( tmp_for_loop_1__iter_value ); tmp_for_loop_1__iter_value = NULL; } { CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator ); Py_DECREF( tmp_for_loop_1__for_iterator ); tmp_for_loop_1__for_iterator = NULL; } goto try_end_4; // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Preserve existing published exception. exception_preserved_type_2 = EXC_TYPE(PyThreadState_GET()); Py_XINCREF( exception_preserved_type_2 ); exception_preserved_value_2 = EXC_VALUE(PyThreadState_GET()); Py_XINCREF( exception_preserved_value_2 ); exception_preserved_tb_2 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET()); Py_XINCREF( exception_preserved_tb_2 ); } { if ( exception_keeper_tb_4 == NULL ) { exception_keeper_tb_4 = MAKE_TRACEBACK( frame_4d94107aeff80912dd78e3d529732024, exception_keeper_lineno_4 ); } else if ( exception_keeper_lineno_4 != 0 ) { exception_keeper_tb_4 = ADD_TRACEBACK( exception_keeper_tb_4, frame_4d94107aeff80912dd78e3d529732024, exception_keeper_lineno_4 ); } NORMALIZE_EXCEPTION( &exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4 ); PyException_SetTraceback( exception_keeper_value_4, (PyObject *)exception_keeper_tb_4 ); PUBLISH_EXCEPTION( &exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4 ); } { // Tried code: { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET()); tmp_compexpr_right_2 = PyExc_BaseException; tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_2, tmp_compexpr_right_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 808; type_description_1 = "o"; goto try_except_handler_8; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { nuitka_bool tmp_assign_source_8; tmp_assign_source_8 = NUITKA_BOOL_FALSE; tmp_with_1__indicator = tmp_assign_source_8; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_operand_name_2; PyObject *tmp_called_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; PyObject *tmp_args_element_name_3; CHECK_OBJECT( tmp_with_1__exit ); tmp_called_name_2 = tmp_with_1__exit; tmp_args_element_name_1 = EXC_TYPE(PyThreadState_GET()); tmp_args_element_name_2 = EXC_VALUE(PyThreadState_GET()); tmp_args_element_name_3 = EXC_TRACEBACK(PyThreadState_GET()); frame_4d94107aeff80912dd78e3d529732024->m_frame.f_lineno = 808; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2, tmp_args_element_name_3 }; tmp_operand_name_2 = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_2, call_args ); } if ( tmp_operand_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 808; type_description_1 = "o"; goto try_except_handler_8; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 ); Py_DECREF( tmp_operand_name_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 808; type_description_1 = "o"; goto try_except_handler_8; } tmp_condition_result_3 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 808; } if (exception_tb && exception_tb->tb_frame == &frame_4d94107aeff80912dd78e3d529732024->m_frame) frame_4d94107aeff80912dd78e3d529732024->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "o"; goto try_except_handler_8; } branch_no_3:; } goto branch_end_2; branch_no_2:; { tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); if (unlikely( tmp_result == false )) { exception_lineno = 808; } if (exception_tb && exception_tb->tb_frame == &frame_4d94107aeff80912dd78e3d529732024->m_frame) frame_4d94107aeff80912dd78e3d529732024->m_frame.f_lineno = exception_tb->tb_lineno; type_description_1 = "o"; goto try_except_handler_8; } branch_end_2:; } goto try_end_5; // Exception handler code: try_except_handler_8:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 ); } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto try_except_handler_3; } // End of try: try_end_5:; } { // Restore previous exception. SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 ); } goto try_end_4; // exception handler codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_25_import_top_level_modules ); return NULL; // End of try: try_end_4:; } goto try_end_6; // Exception handler code: try_except_handler_3:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { nuitka_bool tmp_condition_result_4; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; assert( tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_3 = ( tmp_with_1__indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_3 = Py_True; tmp_condition_result_4 = ( tmp_compexpr_left_3 == tmp_compexpr_right_3 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_called_name_3; CHECK_OBJECT( tmp_with_1__exit ); tmp_called_name_3 = tmp_with_1__exit; frame_4d94107aeff80912dd78e3d529732024->m_frame.f_lineno = 808; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_3, &PyTuple_GET_ITEM( const_tuple_none_none_none_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( exception_keeper_type_6 ); Py_XDECREF( exception_keeper_value_6 ); Py_XDECREF( exception_keeper_tb_6 ); exception_lineno = 808; type_description_1 = "o"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_4:; } { // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto try_except_handler_2; } // End of try: try_end_6:; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; assert( tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED); tmp_compexpr_left_4 = ( tmp_with_1__indicator == NUITKA_BOOL_TRUE ) ? Py_True : Py_False; tmp_compexpr_right_4 = Py_True; tmp_condition_result_5 = ( tmp_compexpr_left_4 == tmp_compexpr_right_4 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { PyObject *tmp_called_name_4; CHECK_OBJECT( tmp_with_1__exit ); tmp_called_name_4 = tmp_with_1__exit; frame_4d94107aeff80912dd78e3d529732024->m_frame.f_lineno = 808; tmp_unused = CALL_FUNCTION_WITH_ARGS3( tmp_called_name_4, &PyTuple_GET_ITEM( const_tuple_none_none_none_tuple, 0 ) ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 808; type_description_1 = "o"; goto try_except_handler_2; } Py_DECREF( tmp_unused ); } branch_no_5:; } goto try_end_7; // Exception handler code: try_except_handler_2:; exception_keeper_type_7 = exception_type; exception_keeper_value_7 = exception_value; exception_keeper_tb_7 = exception_tb; exception_keeper_lineno_7 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_with_1__source ); tmp_with_1__source = NULL; } { Py_XDECREF( tmp_with_1__enter ); tmp_with_1__enter = NULL; } { Py_XDECREF( tmp_with_1__exit ); tmp_with_1__exit = NULL; } { } { // Re-raise. exception_type = exception_keeper_type_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_7:; } #if 0 RESTORE_FRAME_EXCEPTION( frame_4d94107aeff80912dd78e3d529732024 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_4d94107aeff80912dd78e3d529732024 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_4d94107aeff80912dd78e3d529732024, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_4d94107aeff80912dd78e3d529732024->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_4d94107aeff80912dd78e3d529732024, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_4d94107aeff80912dd78e3d529732024, type_description_1, var_m ); // Release cached frame. if ( frame_4d94107aeff80912dd78e3d529732024 == cache_frame_4d94107aeff80912dd78e3d529732024 ) { Py_DECREF( frame_4d94107aeff80912dd78e3d529732024 ); } cache_frame_4d94107aeff80912dd78e3d529732024 = NULL; assertFrameObject( frame_4d94107aeff80912dd78e3d529732024 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_1:; { CHECK_OBJECT( (PyObject *)tmp_with_1__source ); Py_DECREF( tmp_with_1__source ); tmp_with_1__source = NULL; } { CHECK_OBJECT( (PyObject *)tmp_with_1__enter ); Py_DECREF( tmp_with_1__enter ); tmp_with_1__enter = NULL; } { CHECK_OBJECT( (PyObject *)tmp_with_1__exit ); Py_DECREF( tmp_with_1__exit ); tmp_with_1__exit = NULL; } { } { 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( future$standard_library$$$function_25_import_top_level_modules ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( var_m ); var_m = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( var_m ); var_m = NULL; } { // Re-raise. exception_type = exception_keeper_type_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library$$$function_25_import_top_level_modules ); 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_future$standard_library$$$function_10___enter__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_10___enter__, const_str_plain___enter__, #if PYTHON_VERSION >= 300 const_str_digest_f1c144b5501e244564c9a365c5679846, #endif codeobj_aa1b6d28bdc019d1a79311b622027eab, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_11___exit__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_11___exit__, const_str_plain___exit__, #if PYTHON_VERSION >= 300 const_str_digest_cf7ad829be5bef7d1e655aeeddc8b562, #endif codeobj_55dac2672c630d794d63e264ffcc931e, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_12_restore_sys_modules( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_12_restore_sys_modules, const_str_plain_restore_sys_modules, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_576b56500ce1dcd14e1ee37fb4a89681, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_e09f4c4aa8deaaffb995812f0ebd7f5f, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_13_install_aliases( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_13_install_aliases, const_str_plain_install_aliases, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_856bd4c1a9616550b8e4028d70896389, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_37924d8aab51c243204ea10cb3abf653, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_14_install_hooks( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_14_install_hooks, const_str_plain_install_hooks, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_776afb37938f0cbe2e3fc84bc2c964e0, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_6ea2cdd54dbfe5d0984df2a290ac76a6, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_15_enable_hooks( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_15_enable_hooks, const_str_plain_enable_hooks, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_8105067314b708448f190893d909d8c1, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_f59596a0956797d3ec515593fc38a516, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_16_remove_hooks( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_16_remove_hooks, const_str_plain_remove_hooks, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_3bcae0f155a8ea7dfe5c307a4dfc190e, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_7597c7e1e9cdfb05eba20c084181a0d1, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_17_disable_hooks( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_17_disable_hooks, const_str_plain_disable_hooks, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_51f4b8aa248c14e7f883ab3799141e85, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_6e32d8deb845fd9ea486640e04a8d164, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_18_detect_hooks( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_18_detect_hooks, const_str_plain_detect_hooks, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_16f21dff16d8f28a85bfe15662fc510a, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_a6d0074b40092331d450d29836642c3d, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_19_cache_py2_modules( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_19_cache_py2_modules, const_str_plain_cache_py2_modules, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_1d183ed5d1f8956c033f05375dbea4ee, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_7dfdaea576fcd6c1f67c6e327c4b9df9, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_1___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_1___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_19d50db7e3c841bb98828e04be0e1042, #endif codeobj_3ff92466c57a78bcae7041631ce6e856, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_aa682f05738454dbabbdc9694b4f92ec, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_20_import_( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_20_import_, const_str_plain_import_, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_7b18d4e2a39bb54f2936b3ce935d20ed, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_2bc6f87b6fbd656a22fdba8905d4fe96, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_21_from_import( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_21_from_import, const_str_plain_from_import, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_39701b9bb67f9897e436d28620746cc4, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_c8bffebc40ee0f37ded51d572310b98f, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_22___init__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_22___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_1de06ff1a38a26aad90e9b3c09481f65, #endif codeobj_95e89b449f97e18073ae3c099eb1c12c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_23___enter__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_23___enter__, const_str_plain___enter__, #if PYTHON_VERSION >= 300 const_str_digest_3476ecfa678762c75c63de204f156f3e, #endif codeobj_9a48dd10d1780d3c01a08596178be506, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_24___exit__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_24___exit__, const_str_plain___exit__, #if PYTHON_VERSION >= 300 const_str_digest_6546f1cee79f37d65591b2f7e3ffb838, #endif codeobj_fa6ffd5486f0af73b511d8e5fa8ce466, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_25_import_top_level_modules( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_25_import_top_level_modules, const_str_plain_import_top_level_modules, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_4d94107aeff80912dd78e3d529732024, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_2_find_module( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_2_find_module, const_str_plain_find_module, #if PYTHON_VERSION >= 300 const_str_digest_72311ef6383553bdd418d2f8c9ee3f57, #endif codeobj_b837bc93e7c43b6c6366dc2f48f049c1, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_3_load_module( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_3_load_module, const_str_plain_load_module, #if PYTHON_VERSION >= 300 const_str_digest_f017e0adb19b2edc20a94c304b9a9d9c, #endif codeobj_e30cbb8bfb3b092466e6007ed8660bad, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_4__find_and_load_module( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_4__find_and_load_module, const_str_plain__find_and_load_module, #if PYTHON_VERSION >= 300 const_str_digest_ac7dcef62efcc2547dacf0df4bff677a, #endif codeobj_2a12bec893cccea951b693b69dfa72ff, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_e7bbcc0a5bfd500b737e30f9a8ccd7d5, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_5___enter__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_5___enter__, const_str_plain___enter__, #if PYTHON_VERSION >= 300 const_str_digest_6e897f4d759ca3084c6654f18615eabe, #endif codeobj_a266c4900df50d337159e374ad5758a0, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_6___exit__( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_6___exit__, const_str_plain___exit__, #if PYTHON_VERSION >= 300 const_str_digest_b01481b34eca668fadfe4645bbb14929, #endif codeobj_6403cb0a5ea8f1fb997eacd227722fe5, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_7_is_py2_stdlib_module( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_7_is_py2_stdlib_module, const_str_plain_is_py2_stdlib_module, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_d28726f9fb4f577b4289904cc67dd979, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_ed8e0db7a8c8565436ed8119b7a0c462, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_8_scrub_py2_sys_modules( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_8_scrub_py2_sys_modules, const_str_plain_scrub_py2_sys_modules, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_ab8dd0a002f8c1f754170bc2f157b684, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_ae2d303da3171b6e0b78df408b96020c, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_future$standard_library$$$function_9_scrub_future_sys_modules( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_future$standard_library$$$function_9_scrub_future_sys_modules, const_str_plain_scrub_future_sys_modules, #if PYTHON_VERSION >= 300 NULL, #endif codeobj_241473d3c8c699aa7b58939c56be6f0c, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_future$standard_library, const_str_digest_1c44cc186ff5f187e3855eaaf495260b, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_future$standard_library = { PyModuleDef_HEAD_INIT, "future.standard_library", /* 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( future$standard_library ) { #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_future$standard_library ); } 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("future.standard_library: 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("future.standard_library: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("future.standard_library: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in initfuture$standard_library" ); // 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_future$standard_library = Py_InitModule4( "future.standard_library", // 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_future$standard_library = PyModule_Create( &mdef_future$standard_library ); #endif moduledict_future$standard_library = MODULE_DICT( module_future$standard_library ); // Update "__package__" value to what it ought to be. { #if 1 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (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_future$standard_library, (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_future$standard_library, (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_future$standard_library, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_future$standard_library ); // 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_9ceff9e9dc2f123ff8fecafdd8ee49a7, module_future$standard_library ); 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_future$standard_library, (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_future$standard_library, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_future$standard_library, (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_future$standard_library, (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_future$standard_library, (Nuitka_StringObject *)const_str_plain___spec__, spec_value ); Py_DECREF( module_spec_class ); } #endif #endif // Temp variables if any PyObject *outline_0_var___class__ = NULL; PyObject *outline_1_var___class__ = NULL; PyObject *outline_2_var___class__ = NULL; PyObject *outline_3_var___class__ = NULL; PyObject *tmp_class_creation_1__bases = NULL; PyObject *tmp_class_creation_1__class_decl_dict = NULL; PyObject *tmp_class_creation_1__metaclass = NULL; PyObject *tmp_class_creation_1__prepared = NULL; PyObject *tmp_class_creation_2__bases = NULL; PyObject *tmp_class_creation_2__class_decl_dict = NULL; PyObject *tmp_class_creation_2__metaclass = NULL; PyObject *tmp_class_creation_2__prepared = NULL; PyObject *tmp_class_creation_3__bases = NULL; PyObject *tmp_class_creation_3__class_decl_dict = NULL; PyObject *tmp_class_creation_3__metaclass = NULL; PyObject *tmp_class_creation_3__prepared = NULL; PyObject *tmp_class_creation_4__bases = NULL; PyObject *tmp_class_creation_4__class_decl_dict = NULL; PyObject *tmp_class_creation_4__metaclass = NULL; PyObject *tmp_class_creation_4__prepared = NULL; PyObject *tmp_import_from_1__module = NULL; PyObject *tmp_import_from_2__module = NULL; struct Nuitka_FrameObject *frame_93d3f9ca675dda43b5c7e0c836fbb4de; 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; NUITKA_MAY_BE_UNUSED PyObject *tmp_unused; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; int tmp_res; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; bool tmp_result; PyObject *locals_future$standard_library_232 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_8895add06b517282664de7626d954346_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_8895add06b517282664de7626d954346_2 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; PyObject *locals_future$standard_library_302 = NULL; struct Nuitka_FrameObject *frame_61fbdbe41faa5fa87c04834cb209eaea_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; static struct Nuitka_FrameObject *cache_frame_61fbdbe41faa5fa87c04834cb209eaea_3 = NULL; PyObject *exception_keeper_type_6; PyObject *exception_keeper_value_6; PyTracebackObject *exception_keeper_tb_6; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6; PyObject *exception_keeper_type_7; PyObject *exception_keeper_value_7; PyTracebackObject *exception_keeper_tb_7; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7; PyObject *exception_keeper_type_8; PyObject *exception_keeper_value_8; PyTracebackObject *exception_keeper_tb_8; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8; PyObject *locals_future$standard_library_401 = NULL; struct Nuitka_FrameObject *frame_f0314d9bd7da0c1e88f0d3467e3c995d_4; NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL; static struct Nuitka_FrameObject *cache_frame_f0314d9bd7da0c1e88f0d3467e3c995d_4 = NULL; PyObject *exception_keeper_type_9; PyObject *exception_keeper_value_9; PyTracebackObject *exception_keeper_tb_9; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9; PyObject *exception_keeper_type_10; PyObject *exception_keeper_value_10; PyTracebackObject *exception_keeper_tb_10; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10; PyObject *exception_keeper_type_11; PyObject *exception_keeper_value_11; PyTracebackObject *exception_keeper_tb_11; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11; PyObject *locals_future$standard_library_737 = NULL; struct Nuitka_FrameObject *frame_706b72b49c3ce1113ee23c097afcf65d_5; NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL; static struct Nuitka_FrameObject *cache_frame_706b72b49c3ce1113ee23c097afcf65d_5 = NULL; PyObject *exception_keeper_type_12; PyObject *exception_keeper_value_12; PyTracebackObject *exception_keeper_tb_12; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12; PyObject *exception_keeper_type_13; PyObject *exception_keeper_value_13; PyTracebackObject *exception_keeper_tb_13; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13; PyObject *exception_keeper_type_14; PyObject *exception_keeper_value_14; PyTracebackObject *exception_keeper_tb_14; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = const_str_digest_1cf165e52c03fe26e0558b5cbde45ad8; UPDATE_STRING_DICT0( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_f75ed7d51f1ebcd25fad37e97be28789; UPDATE_STRING_DICT0( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain___file__, tmp_assign_source_2 ); } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = LIST_COPY( const_list_str_digest_6867fb22d00e80c833defe0e38fc0a70_list ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain___path__, tmp_assign_source_3 ); } { PyObject *tmp_assign_source_4; tmp_assign_source_4 = Py_None; UPDATE_STRING_DICT0( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_4 ); } { PyObject *tmp_assign_source_5; tmp_assign_source_5 = PyImport_ImportModule("__future__"); assert( !(tmp_assign_source_5 == NULL) ); assert( tmp_import_from_1__module == NULL ); Py_INCREF( tmp_assign_source_5 ); tmp_import_from_1__module = tmp_assign_source_5; } // Frame without reuse. frame_93d3f9ca675dda43b5c7e0c836fbb4de = MAKE_MODULE_FRAME( codeobj_93d3f9ca675dda43b5c7e0c836fbb4de, module_future$standard_library ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_93d3f9ca675dda43b5c7e0c836fbb4de ); assert( Py_REFCNT( frame_93d3f9ca675dda43b5c7e0c836fbb4de ) == 2 ); // Framed code: { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_import_name_from_1; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_1 = tmp_import_from_1__module; tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_absolute_import ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_absolute_import, tmp_assign_source_6 ); } { PyObject *tmp_assign_source_7; PyObject *tmp_import_name_from_2; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_2 = tmp_import_from_1__module; tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_division ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_division, tmp_assign_source_7 ); } { PyObject *tmp_assign_source_8; PyObject *tmp_import_name_from_3; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_3 = tmp_import_from_1__module; tmp_assign_source_8 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_print_function ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 61; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_print_function, tmp_assign_source_8 ); } goto try_end_1; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_import_from_1__module ); Py_DECREF( tmp_import_from_1__module ); tmp_import_from_1__module = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_1__module ); Py_DECREF( tmp_import_from_1__module ); tmp_import_from_1__module = NULL; } { PyObject *tmp_assign_source_9; 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_sys; tmp_globals_name_1 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = const_int_0; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 63; tmp_assign_source_9 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); assert( !(tmp_assign_source_9 == NULL) ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys, tmp_assign_source_9 ); } { PyObject *tmp_assign_source_10; PyObject *tmp_name_name_2; PyObject *tmp_globals_name_2; PyObject *tmp_locals_name_2; PyObject *tmp_fromlist_name_2; PyObject *tmp_level_name_2; tmp_name_name_2 = const_str_plain_logging; tmp_globals_name_2 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = Py_None; tmp_level_name_2 = const_int_0; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 64; tmp_assign_source_10 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 ); if ( tmp_assign_source_10 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 64; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_logging, tmp_assign_source_10 ); } { PyObject *tmp_assign_source_11; PyObject *tmp_name_name_3; PyObject *tmp_globals_name_3; PyObject *tmp_locals_name_3; PyObject *tmp_fromlist_name_3; PyObject *tmp_level_name_3; tmp_name_name_3 = const_str_plain_imp; tmp_globals_name_3 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_3 = Py_None; tmp_fromlist_name_3 = Py_None; tmp_level_name_3 = const_int_0; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 65; tmp_assign_source_11 = IMPORT_MODULE5( tmp_name_name_3, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_3 ); if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 65; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_imp, tmp_assign_source_11 ); } { PyObject *tmp_assign_source_12; PyObject *tmp_name_name_4; PyObject *tmp_globals_name_4; PyObject *tmp_locals_name_4; PyObject *tmp_fromlist_name_4; PyObject *tmp_level_name_4; tmp_name_name_4 = const_str_plain_contextlib; tmp_globals_name_4 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_4 = Py_None; tmp_fromlist_name_4 = Py_None; tmp_level_name_4 = const_int_0; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 66; tmp_assign_source_12 = IMPORT_MODULE5( tmp_name_name_4, tmp_globals_name_4, tmp_locals_name_4, tmp_fromlist_name_4, tmp_level_name_4 ); if ( tmp_assign_source_12 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 66; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_contextlib, tmp_assign_source_12 ); } { PyObject *tmp_assign_source_13; PyObject *tmp_name_name_5; PyObject *tmp_globals_name_5; PyObject *tmp_locals_name_5; PyObject *tmp_fromlist_name_5; PyObject *tmp_level_name_5; tmp_name_name_5 = const_str_plain_types; tmp_globals_name_5 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_5 = Py_None; tmp_fromlist_name_5 = Py_None; tmp_level_name_5 = const_int_0; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 67; tmp_assign_source_13 = IMPORT_MODULE5( tmp_name_name_5, tmp_globals_name_5, tmp_locals_name_5, tmp_fromlist_name_5, tmp_level_name_5 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 67; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_types, tmp_assign_source_13 ); } { PyObject *tmp_assign_source_14; PyObject *tmp_name_name_6; PyObject *tmp_globals_name_6; PyObject *tmp_locals_name_6; PyObject *tmp_fromlist_name_6; PyObject *tmp_level_name_6; tmp_name_name_6 = const_str_plain_copy; tmp_globals_name_6 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_6 = Py_None; tmp_fromlist_name_6 = Py_None; tmp_level_name_6 = const_int_0; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 68; tmp_assign_source_14 = IMPORT_MODULE5( tmp_name_name_6, tmp_globals_name_6, tmp_locals_name_6, tmp_fromlist_name_6, tmp_level_name_6 ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 68; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_copy, tmp_assign_source_14 ); } { PyObject *tmp_assign_source_15; PyObject *tmp_name_name_7; PyObject *tmp_globals_name_7; PyObject *tmp_locals_name_7; PyObject *tmp_fromlist_name_7; PyObject *tmp_level_name_7; tmp_name_name_7 = const_str_plain_os; tmp_globals_name_7 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_7 = Py_None; tmp_fromlist_name_7 = Py_None; tmp_level_name_7 = const_int_0; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 69; tmp_assign_source_15 = IMPORT_MODULE5( tmp_name_name_7, tmp_globals_name_7, tmp_locals_name_7, tmp_fromlist_name_7, tmp_level_name_7 ); if ( tmp_assign_source_15 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 69; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_os, tmp_assign_source_15 ); } { PyObject *tmp_assign_source_16; PyObject *tmp_called_instance_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_logging ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_logging ); } CHECK_OBJECT( tmp_mvar_value_1 ); tmp_called_instance_1 = tmp_mvar_value_1; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 73; tmp_assign_source_16 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_getLogger, &PyTuple_GET_ITEM( const_tuple_str_plain_future_stdlib_tuple, 0 ) ); if ( tmp_assign_source_16 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 73; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_flog, tmp_assign_source_16 ); } { PyObject *tmp_assign_source_17; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_1; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_3; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_logging ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_logging ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "logging" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 74; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_2; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_Formatter ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 74; goto frame_exception_exit_1; } tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_logging ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_logging ); } if ( tmp_mvar_value_3 == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "logging" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 74; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_3; tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_BASIC_FORMAT ); if ( tmp_args_element_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_1 ); exception_lineno = 74; goto frame_exception_exit_1; } frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 74; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_assign_source_17 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_element_name_1 ); if ( tmp_assign_source_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 74; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain__formatter, tmp_assign_source_17 ); } { PyObject *tmp_assign_source_18; PyObject *tmp_called_instance_2; PyObject *tmp_mvar_value_4; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_logging ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_logging ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "logging" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 75; goto frame_exception_exit_1; } tmp_called_instance_2 = tmp_mvar_value_4; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 75; tmp_assign_source_18 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_StreamHandler ); if ( tmp_assign_source_18 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 75; goto frame_exception_exit_1; } UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain__handler, tmp_assign_source_18 ); } { PyObject *tmp_called_name_2; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_5; PyObject *tmp_args_element_name_2; PyObject *tmp_mvar_value_6; tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain__handler ); if (unlikely( tmp_mvar_value_5 == NULL )) { tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__handler ); } CHECK_OBJECT( tmp_mvar_value_5 ); tmp_source_name_3 = tmp_mvar_value_5; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_setFormatter ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 76; goto frame_exception_exit_1; } tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain__formatter ); if (unlikely( tmp_mvar_value_6 == NULL )) { tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__formatter ); } if ( tmp_mvar_value_6 == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_formatter" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 76; goto frame_exception_exit_1; } tmp_args_element_name_2 = tmp_mvar_value_6; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 76; { PyObject *call_args[] = { tmp_args_element_name_2 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 76; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_3; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_7; PyObject *tmp_args_element_name_3; PyObject *tmp_mvar_value_8; tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_flog ); if (unlikely( tmp_mvar_value_7 == NULL )) { tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_flog ); } if ( tmp_mvar_value_7 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "flog" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 77; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_7; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_addHandler ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 77; goto frame_exception_exit_1; } tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain__handler ); if (unlikely( tmp_mvar_value_8 == NULL )) { tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain__handler ); } if ( tmp_mvar_value_8 == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "_handler" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 77; goto frame_exception_exit_1; } tmp_args_element_name_3 = tmp_mvar_value_8; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 77; { PyObject *call_args[] = { tmp_args_element_name_3 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 77; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_called_name_4; PyObject *tmp_source_name_5; PyObject *tmp_mvar_value_9; PyObject *tmp_args_element_name_4; PyObject *tmp_source_name_6; PyObject *tmp_mvar_value_10; tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_flog ); if (unlikely( tmp_mvar_value_9 == NULL )) { tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_flog ); } if ( tmp_mvar_value_9 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "flog" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 78; goto frame_exception_exit_1; } tmp_source_name_5 = tmp_mvar_value_9; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_setLevel ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 78; goto frame_exception_exit_1; } tmp_mvar_value_10 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_logging ); if (unlikely( tmp_mvar_value_10 == NULL )) { tmp_mvar_value_10 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_logging ); } if ( tmp_mvar_value_10 == NULL ) { Py_DECREF( tmp_called_name_4 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "logging" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 78; goto frame_exception_exit_1; } tmp_source_name_6 = tmp_mvar_value_10; tmp_args_element_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_WARN ); if ( tmp_args_element_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 78; goto frame_exception_exit_1; } frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 78; { PyObject *call_args[] = { tmp_args_element_name_4 }; tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_4 ); if ( tmp_unused == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 78; goto frame_exception_exit_1; } Py_DECREF( tmp_unused ); } { PyObject *tmp_assign_source_19; PyObject *tmp_name_name_8; PyObject *tmp_globals_name_8; PyObject *tmp_locals_name_8; PyObject *tmp_fromlist_name_8; PyObject *tmp_level_name_8; tmp_name_name_8 = const_str_digest_118c8611317729818c37c760127e23b2; tmp_globals_name_8 = (PyObject *)moduledict_future$standard_library; tmp_locals_name_8 = Py_None; tmp_fromlist_name_8 = const_tuple_str_plain_PY2_str_plain_PY3_tuple; tmp_level_name_8 = const_int_0; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 80; tmp_assign_source_19 = IMPORT_MODULE5( tmp_name_name_8, tmp_globals_name_8, tmp_locals_name_8, tmp_fromlist_name_8, tmp_level_name_8 ); if ( tmp_assign_source_19 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; goto frame_exception_exit_1; } assert( tmp_import_from_2__module == NULL ); tmp_import_from_2__module = tmp_assign_source_19; } { // Tried code: { PyObject *tmp_assign_source_20; PyObject *tmp_import_name_from_4; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_4 = tmp_import_from_2__module; tmp_assign_source_20 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_PY2 ); if ( tmp_assign_source_20 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_PY2, tmp_assign_source_20 ); } { PyObject *tmp_assign_source_21; PyObject *tmp_import_name_from_5; CHECK_OBJECT( tmp_import_from_2__module ); tmp_import_name_from_5 = tmp_import_from_2__module; tmp_assign_source_21 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_PY3 ); if ( tmp_assign_source_21 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; goto try_except_handler_2; } UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_PY3, tmp_assign_source_21 ); } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_import_from_2__module ); Py_DECREF( tmp_import_from_2__module ); tmp_import_from_2__module = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto frame_exception_exit_1; } // End of try: try_end_2:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_2__module ); Py_DECREF( tmp_import_from_2__module ); tmp_import_from_2__module = NULL; } { PyObject *tmp_assign_source_22; tmp_assign_source_22 = PySet_New( const_set_8eaf02816a3165d0c6a4461807f15b30 ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_REPLACED_MODULES, tmp_assign_source_22 ); } { PyObject *tmp_assign_source_23; tmp_assign_source_23 = PyDict_Copy( const_dict_5fc6a3135ebc310861979f8749e49963 ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_RENAMES, tmp_assign_source_23 ); } { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; PyObject *tmp_len_arg_1; PyObject *tmp_left_name_1; PyObject *tmp_set_arg_1; PyObject *tmp_called_instance_3; PyObject *tmp_mvar_value_11; PyObject *tmp_right_name_1; PyObject *tmp_set_arg_2; PyObject *tmp_mvar_value_12; tmp_mvar_value_11 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_RENAMES ); if (unlikely( tmp_mvar_value_11 == NULL )) { tmp_mvar_value_11 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_RENAMES ); } CHECK_OBJECT( tmp_mvar_value_11 ); tmp_called_instance_3 = tmp_mvar_value_11; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 167; tmp_set_arg_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_values ); if ( tmp_set_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 167; goto frame_exception_exit_1; } tmp_left_name_1 = PySet_New( tmp_set_arg_1 ); Py_DECREF( tmp_set_arg_1 ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 167; goto frame_exception_exit_1; } tmp_mvar_value_12 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_REPLACED_MODULES ); if (unlikely( tmp_mvar_value_12 == NULL )) { tmp_mvar_value_12 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_REPLACED_MODULES ); } if ( tmp_mvar_value_12 == NULL ) { Py_DECREF( tmp_left_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "REPLACED_MODULES" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 167; goto frame_exception_exit_1; } tmp_set_arg_2 = tmp_mvar_value_12; tmp_right_name_1 = PySet_New( tmp_set_arg_2 ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 167; goto frame_exception_exit_1; } tmp_len_arg_1 = BINARY_OPERATION( PyNumber_And, tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_left_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_len_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 167; goto frame_exception_exit_1; } tmp_compexpr_left_1 = BUILTIN_LEN( tmp_len_arg_1 ); Py_DECREF( tmp_len_arg_1 ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 167; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_0; tmp_operand_name_1 = RICH_COMPARE_EQ_NORECURSE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_operand_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 167; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); Py_DECREF( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 167; goto frame_exception_exit_1; } tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_raise_type_1; tmp_raise_type_1 = PyExc_AssertionError; exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_lineno = 167; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); goto frame_exception_exit_1; } branch_no_1:; } { PyObject *tmp_assign_source_24; tmp_assign_source_24 = LIST_COPY( const_list_7a047a2d9d1cef0ced81cb339c7f4fd5_list ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_MOVES, tmp_assign_source_24 ); } { // Tried code: { PyObject *tmp_assign_source_25; PyObject *tmp_dircall_arg1_1; tmp_dircall_arg1_1 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1}; tmp_assign_source_25 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_25 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 232; goto try_except_handler_3; } assert( tmp_class_creation_1__bases == NULL ); tmp_class_creation_1__bases = tmp_assign_source_25; } { PyObject *tmp_assign_source_26; tmp_assign_source_26 = PyDict_New(); assert( tmp_class_creation_1__class_decl_dict == NULL ); tmp_class_creation_1__class_decl_dict = tmp_assign_source_26; } { PyObject *tmp_assign_source_27; PyObject *tmp_metaclass_name_1; nuitka_bool tmp_condition_result_2; PyObject *tmp_key_name_1; PyObject *tmp_dict_name_1; PyObject *tmp_dict_name_2; PyObject *tmp_key_name_2; nuitka_bool tmp_condition_result_3; int tmp_truth_name_1; PyObject *tmp_type_arg_1; PyObject *tmp_subscribed_name_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 = 232; goto try_except_handler_3; } tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto 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 = 232; goto try_except_handler_3; } 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 = 232; goto try_except_handler_3; } tmp_condition_result_3 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto condexpr_true_2; } else { goto condexpr_false_2; } condexpr_true_2:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_subscribed_name_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 = 232; goto try_except_handler_3; } 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 = 232; goto try_except_handler_3; } 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_27 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_27 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 232; goto try_except_handler_3; } assert( tmp_class_creation_1__metaclass == NULL ); tmp_class_creation_1__metaclass = tmp_assign_source_27; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_key_name_3; PyObject *tmp_dict_name_3; tmp_key_name_3 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dict_name_3 = tmp_class_creation_1__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_3, tmp_key_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 232; goto try_except_handler_3; } tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 232; goto try_except_handler_3; } } branch_no_2:; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_source_name_7; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_7 = tmp_class_creation_1__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_7, const_str_plain___prepare__ ); tmp_condition_result_5 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_assign_source_28; PyObject *tmp_called_name_5; PyObject *tmp_source_name_8; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_1; PyObject *tmp_kw_name_1; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_8 = tmp_class_creation_1__metaclass; tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain___prepare__ ); if ( tmp_called_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 232; goto try_except_handler_3; } tmp_tuple_element_1 = const_str_plain_RenameImport; tmp_args_name_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_1 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 ); CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 232; tmp_assign_source_28 = CALL_FUNCTION( tmp_called_name_5, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_5 ); Py_DECREF( tmp_args_name_1 ); if ( tmp_assign_source_28 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 232; goto try_except_handler_3; } assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_28; } { nuitka_bool tmp_condition_result_6; PyObject *tmp_operand_name_2; PyObject *tmp_source_name_9; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_source_name_9 = tmp_class_creation_1__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_9, 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 = 232; goto try_except_handler_3; } tmp_condition_result_6 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { PyObject *tmp_raise_type_2; PyObject *tmp_raise_value_1; PyObject *tmp_left_name_2; PyObject *tmp_right_name_2; PyObject *tmp_tuple_element_2; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; PyObject *tmp_source_name_10; PyObject *tmp_type_arg_2; tmp_raise_type_2 = PyExc_TypeError; tmp_left_name_2 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_getattr_target_1 = tmp_class_creation_1__metaclass; tmp_getattr_attr_1 = const_str_plain___name__; tmp_getattr_default_1 = const_str_angle_metaclass; tmp_tuple_element_2 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 232; goto try_except_handler_3; } tmp_right_name_2 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_type_arg_2 = tmp_class_creation_1__prepared; tmp_source_name_10 = BUILTIN_TYPE1( tmp_type_arg_2 ); assert( !(tmp_source_name_10 == NULL) ); tmp_tuple_element_2 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain___name__ ); Py_DECREF( tmp_source_name_10 ); if ( tmp_tuple_element_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_2 ); exception_lineno = 232; goto try_except_handler_3; } PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_2 ); tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_right_name_2 ); if ( tmp_raise_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 232; goto try_except_handler_3; } exception_type = tmp_raise_type_2; Py_INCREF( tmp_raise_type_2 ); exception_value = tmp_raise_value_1; exception_lineno = 232; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_3; } branch_no_4:; } goto branch_end_3; branch_no_3:; { PyObject *tmp_assign_source_29; tmp_assign_source_29 = PyDict_New(); assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_29; } branch_end_3:; } { PyObject *tmp_assign_source_30; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_future$standard_library_232 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_9ceff9e9dc2f123ff8fecafdd8ee49a7; tmp_res = PyObject_SetItem( locals_future$standard_library_232, 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 = 232; goto try_except_handler_5; } } { tmp_dictset_value = const_str_digest_b3548188c09b5d1b7bf22c337a5d6d7b; tmp_res = PyObject_SetItem( locals_future$standard_library_232, 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 = 232; goto try_except_handler_5; } } { tmp_dictset_value = const_str_plain_RenameImport; tmp_res = PyObject_SetItem( locals_future$standard_library_232, 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 = 232; goto try_except_handler_5; } } MAKE_OR_REUSE_FRAME( cache_frame_8895add06b517282664de7626d954346_2, codeobj_8895add06b517282664de7626d954346, module_future$standard_library, sizeof(void *) ); frame_8895add06b517282664de7626d954346_2 = cache_frame_8895add06b517282664de7626d954346_2; // Push the new frame as the currently active one. pushFrameStack( frame_8895add06b517282664de7626d954346_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8895add06b517282664de7626d954346_2 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = Py_True; tmp_res = PyObject_SetItem( locals_future$standard_library_232, const_str_plain_RENAMER, tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 241; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_future$standard_library$$$function_1___init__( ); tmp_res = PyObject_SetItem( locals_future$standard_library_232, 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 = 243; type_description_2 = "o"; goto frame_exception_exit_2; } } { PyObject *tmp_defaults_1; tmp_defaults_1 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_1 ); tmp_dictset_value = MAKE_FUNCTION_future$standard_library$$$function_2_find_module( tmp_defaults_1 ); tmp_res = PyObject_SetItem( locals_future$standard_library_232, const_str_plain_find_module, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 255; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_future$standard_library$$$function_3_load_module( ); tmp_res = PyObject_SetItem( locals_future$standard_library_232, const_str_plain_load_module, 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 = 263; type_description_2 = "o"; goto frame_exception_exit_2; } } { PyObject *tmp_defaults_2; tmp_defaults_2 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_2 ); tmp_dictset_value = MAKE_FUNCTION_future$standard_library$$$function_4__find_and_load_module( tmp_defaults_2 ); tmp_res = PyObject_SetItem( locals_future$standard_library_232, const_str_plain__find_and_load_module, 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 = 278; type_description_2 = "o"; goto frame_exception_exit_2; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_8895add06b517282664de7626d954346_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_8895add06b517282664de7626d954346_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8895add06b517282664de7626d954346_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8895add06b517282664de7626d954346_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8895add06b517282664de7626d954346_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8895add06b517282664de7626d954346_2, type_description_2, outline_0_var___class__ ); // Release cached frame. if ( frame_8895add06b517282664de7626d954346_2 == cache_frame_8895add06b517282664de7626d954346_2 ) { Py_DECREF( frame_8895add06b517282664de7626d954346_2 ); } cache_frame_8895add06b517282664de7626d954346_2 = NULL; assertFrameObject( frame_8895add06b517282664de7626d954346_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_5; skip_nested_handling_1:; { nuitka_bool tmp_condition_result_7; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_compexpr_left_2 = tmp_class_creation_1__bases; tmp_compexpr_right_2 = const_tuple_type_object_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 = 232; 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 branch_yes_5; } else { goto branch_no_5; } branch_yes_5:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_future$standard_library_232, 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 = 232; goto try_except_handler_5; } } branch_no_5:; } { PyObject *tmp_assign_source_31; PyObject *tmp_called_name_6; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_3; PyObject *tmp_kw_name_2; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_called_name_6 = tmp_class_creation_1__metaclass; tmp_tuple_element_3 = const_str_plain_RenameImport; tmp_args_name_2 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_3 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_3 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_3 ); tmp_tuple_element_3 = locals_future$standard_library_232; Py_INCREF( tmp_tuple_element_3 ); PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_3 ); CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 232; tmp_assign_source_31 = CALL_FUNCTION( tmp_called_name_6, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_31 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 232; goto try_except_handler_5; } assert( outline_0_var___class__ == NULL ); outline_0_var___class__ = tmp_assign_source_31; } { CHECK_OBJECT( outline_0_var___class__ ); tmp_assign_source_30 = outline_0_var___class__; Py_INCREF( tmp_assign_source_30 ); goto try_return_handler_5; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_5:; { Py_DECREF( locals_future$standard_library_232 ); locals_future$standard_library_232 = NULL; } { goto try_return_handler_4; } // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_future$standard_library_232 ); locals_future$standard_library_232 = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto try_except_handler_4; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_4:; { 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_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library ); return MOD_RETURN_VALUE( NULL ); outline_exception_1:; exception_lineno = 232; goto try_except_handler_3; outline_result_1:; UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_RenameImport, tmp_assign_source_30 ); } goto try_end_3; // Exception handler code: try_except_handler_3:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_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_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto frame_exception_exit_1; } // End of try: try_end_3:; } { 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_32; PyObject *tmp_dircall_arg1_2; tmp_dircall_arg1_2 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_2 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_2}; tmp_assign_source_32 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_32 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; goto try_except_handler_6; } assert( tmp_class_creation_2__bases == NULL ); tmp_class_creation_2__bases = tmp_assign_source_32; } { PyObject *tmp_assign_source_33; tmp_assign_source_33 = PyDict_New(); assert( tmp_class_creation_2__class_decl_dict == NULL ); tmp_class_creation_2__class_decl_dict = tmp_assign_source_33; } { PyObject *tmp_assign_source_34; PyObject *tmp_metaclass_name_2; nuitka_bool tmp_condition_result_8; PyObject *tmp_key_name_4; PyObject *tmp_dict_name_4; PyObject *tmp_dict_name_5; PyObject *tmp_key_name_5; nuitka_bool tmp_condition_result_9; int tmp_truth_name_2; PyObject *tmp_type_arg_3; PyObject *tmp_subscribed_name_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 = 302; goto try_except_handler_6; } tmp_condition_result_8 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_8 == NUITKA_BOOL_TRUE ) { goto condexpr_true_3; } else { goto condexpr_false_3; } condexpr_true_3:; CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dict_name_5 = tmp_class_creation_2__class_decl_dict; tmp_key_name_5 = const_str_plain_metaclass; tmp_metaclass_name_2 = DICT_GET_ITEM( tmp_dict_name_5, tmp_key_name_5 ); if ( tmp_metaclass_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; goto try_except_handler_6; } 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 = 302; goto try_except_handler_6; } tmp_condition_result_9 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE ) { goto condexpr_true_4; } else { goto condexpr_false_4; } condexpr_true_4:; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_subscribed_name_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 = 302; goto try_except_handler_6; } 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 = 302; goto try_except_handler_6; } 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_34 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 ); Py_DECREF( tmp_metaclass_name_2 ); if ( tmp_assign_source_34 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; goto try_except_handler_6; } assert( tmp_class_creation_2__metaclass == NULL ); tmp_class_creation_2__metaclass = tmp_assign_source_34; } { nuitka_bool tmp_condition_result_10; PyObject *tmp_key_name_6; PyObject *tmp_dict_name_6; tmp_key_name_6 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dict_name_6 = tmp_class_creation_2__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_6, tmp_key_name_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; goto try_except_handler_6; } tmp_condition_result_10 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE ) { goto branch_yes_6; } else { goto branch_no_6; } branch_yes_6:; { CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; goto try_except_handler_6; } } branch_no_6:; } { nuitka_bool tmp_condition_result_11; PyObject *tmp_source_name_11; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_11 = tmp_class_creation_2__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_11, const_str_plain___prepare__ ); tmp_condition_result_11 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE ) { goto branch_yes_7; } else { goto branch_no_7; } branch_yes_7:; { PyObject *tmp_assign_source_35; PyObject *tmp_called_name_7; PyObject *tmp_source_name_12; PyObject *tmp_args_name_3; PyObject *tmp_tuple_element_4; PyObject *tmp_kw_name_3; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_source_name_12 = tmp_class_creation_2__metaclass; tmp_called_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain___prepare__ ); if ( tmp_called_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; goto try_except_handler_6; } tmp_tuple_element_4 = const_str_plain_hooks; tmp_args_name_3 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_3, 0, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_4 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_3, 1, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_3 = tmp_class_creation_2__class_decl_dict; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 302; tmp_assign_source_35 = CALL_FUNCTION( tmp_called_name_7, tmp_args_name_3, tmp_kw_name_3 ); Py_DECREF( tmp_called_name_7 ); Py_DECREF( tmp_args_name_3 ); if ( tmp_assign_source_35 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; goto try_except_handler_6; } assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_35; } { nuitka_bool tmp_condition_result_12; PyObject *tmp_operand_name_3; PyObject *tmp_source_name_13; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_source_name_13 = tmp_class_creation_2__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_13, const_str_plain___getitem__ ); tmp_operand_name_3 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; goto try_except_handler_6; } tmp_condition_result_12 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE ) { goto branch_yes_8; } else { goto branch_no_8; } branch_yes_8:; { PyObject *tmp_raise_type_3; PyObject *tmp_raise_value_2; PyObject *tmp_left_name_3; PyObject *tmp_right_name_3; PyObject *tmp_tuple_element_5; PyObject *tmp_getattr_target_2; PyObject *tmp_getattr_attr_2; PyObject *tmp_getattr_default_2; PyObject *tmp_source_name_14; PyObject *tmp_type_arg_4; tmp_raise_type_3 = PyExc_TypeError; tmp_left_name_3 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_getattr_target_2 = tmp_class_creation_2__metaclass; tmp_getattr_attr_2 = const_str_plain___name__; tmp_getattr_default_2 = const_str_angle_metaclass; tmp_tuple_element_5 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; goto try_except_handler_6; } tmp_right_name_3 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_5 ); CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_type_arg_4 = tmp_class_creation_2__prepared; tmp_source_name_14 = BUILTIN_TYPE1( tmp_type_arg_4 ); assert( !(tmp_source_name_14 == NULL) ); tmp_tuple_element_5 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain___name__ ); Py_DECREF( tmp_source_name_14 ); if ( tmp_tuple_element_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_3 ); exception_lineno = 302; goto try_except_handler_6; } PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_5 ); tmp_raise_value_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_raise_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; goto try_except_handler_6; } exception_type = tmp_raise_type_3; Py_INCREF( tmp_raise_type_3 ); exception_value = tmp_raise_value_2; exception_lineno = 302; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_6; } branch_no_8:; } goto branch_end_7; branch_no_7:; { PyObject *tmp_assign_source_36; tmp_assign_source_36 = PyDict_New(); assert( tmp_class_creation_2__prepared == NULL ); tmp_class_creation_2__prepared = tmp_assign_source_36; } branch_end_7:; } { PyObject *tmp_assign_source_37; { PyObject *tmp_set_locals_2; CHECK_OBJECT( tmp_class_creation_2__prepared ); tmp_set_locals_2 = tmp_class_creation_2__prepared; locals_future$standard_library_302 = tmp_set_locals_2; Py_INCREF( tmp_set_locals_2 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_9ceff9e9dc2f123ff8fecafdd8ee49a7; tmp_res = PyObject_SetItem( locals_future$standard_library_302, 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 = 302; goto try_except_handler_8; } } { tmp_dictset_value = const_str_digest_338935a85b07479d661ed9e78f3fe0c9; tmp_res = PyObject_SetItem( locals_future$standard_library_302, 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 = 302; goto try_except_handler_8; } } { tmp_dictset_value = const_str_plain_hooks; tmp_res = PyObject_SetItem( locals_future$standard_library_302, 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 = 302; goto try_except_handler_8; } } MAKE_OR_REUSE_FRAME( cache_frame_61fbdbe41faa5fa87c04834cb209eaea_3, codeobj_61fbdbe41faa5fa87c04834cb209eaea, module_future$standard_library, sizeof(void *) ); frame_61fbdbe41faa5fa87c04834cb209eaea_3 = cache_frame_61fbdbe41faa5fa87c04834cb209eaea_3; // Push the new frame as the currently active one. pushFrameStack( frame_61fbdbe41faa5fa87c04834cb209eaea_3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_61fbdbe41faa5fa87c04834cb209eaea_3 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_future$standard_library$$$function_5___enter__( ); tmp_res = PyObject_SetItem( locals_future$standard_library_302, const_str_plain___enter__, 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 = 319; type_description_2 = "o"; goto frame_exception_exit_3; } } { tmp_dictset_value = MAKE_FUNCTION_future$standard_library$$$function_6___exit__( ); tmp_res = PyObject_SetItem( locals_future$standard_library_302, const_str_plain___exit__, 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 = 327; type_description_2 = "o"; goto frame_exception_exit_3; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_61fbdbe41faa5fa87c04834cb209eaea_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_61fbdbe41faa5fa87c04834cb209eaea_3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_61fbdbe41faa5fa87c04834cb209eaea_3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_61fbdbe41faa5fa87c04834cb209eaea_3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_61fbdbe41faa5fa87c04834cb209eaea_3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_61fbdbe41faa5fa87c04834cb209eaea_3, type_description_2, outline_1_var___class__ ); // Release cached frame. if ( frame_61fbdbe41faa5fa87c04834cb209eaea_3 == cache_frame_61fbdbe41faa5fa87c04834cb209eaea_3 ) { Py_DECREF( frame_61fbdbe41faa5fa87c04834cb209eaea_3 ); } cache_frame_61fbdbe41faa5fa87c04834cb209eaea_3 = NULL; assertFrameObject( frame_61fbdbe41faa5fa87c04834cb209eaea_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_8; skip_nested_handling_2:; { nuitka_bool tmp_condition_result_13; PyObject *tmp_compexpr_left_3; PyObject *tmp_compexpr_right_3; CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_compexpr_left_3 = tmp_class_creation_2__bases; tmp_compexpr_right_3 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_3, tmp_compexpr_right_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; goto try_except_handler_8; } tmp_condition_result_13 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE ) { goto branch_yes_9; } else { goto branch_no_9; } branch_yes_9:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_future$standard_library_302, 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 = 302; goto try_except_handler_8; } } branch_no_9:; } { PyObject *tmp_assign_source_38; PyObject *tmp_called_name_8; PyObject *tmp_args_name_4; PyObject *tmp_tuple_element_6; PyObject *tmp_kw_name_4; CHECK_OBJECT( tmp_class_creation_2__metaclass ); tmp_called_name_8 = tmp_class_creation_2__metaclass; tmp_tuple_element_6 = const_str_plain_hooks; tmp_args_name_4 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_6 ); CHECK_OBJECT( tmp_class_creation_2__bases ); tmp_tuple_element_6 = tmp_class_creation_2__bases; Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_6 ); tmp_tuple_element_6 = locals_future$standard_library_302; Py_INCREF( tmp_tuple_element_6 ); PyTuple_SET_ITEM( tmp_args_name_4, 2, tmp_tuple_element_6 ); CHECK_OBJECT( tmp_class_creation_2__class_decl_dict ); tmp_kw_name_4 = tmp_class_creation_2__class_decl_dict; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 302; tmp_assign_source_38 = CALL_FUNCTION( tmp_called_name_8, tmp_args_name_4, tmp_kw_name_4 ); Py_DECREF( tmp_args_name_4 ); if ( tmp_assign_source_38 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 302; goto try_except_handler_8; } assert( outline_1_var___class__ == NULL ); outline_1_var___class__ = tmp_assign_source_38; } { CHECK_OBJECT( outline_1_var___class__ ); tmp_assign_source_37 = outline_1_var___class__; Py_INCREF( tmp_assign_source_37 ); goto try_return_handler_8; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_8:; { Py_DECREF( locals_future$standard_library_302 ); locals_future$standard_library_302 = NULL; } { goto try_return_handler_7; } // Exception handler code: try_except_handler_8:; exception_keeper_type_6 = exception_type; exception_keeper_value_6 = exception_value; exception_keeper_tb_6 = exception_tb; exception_keeper_lineno_6 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_future$standard_library_302 ); locals_future$standard_library_302 = NULL; } { // Re-raise. exception_type = exception_keeper_type_6; exception_value = exception_keeper_value_6; exception_tb = exception_keeper_tb_6; exception_lineno = exception_keeper_lineno_6; goto try_except_handler_7; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_7:; { 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_7:; 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; { // 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 outline_exception_2; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library ); return MOD_RETURN_VALUE( NULL ); outline_exception_2:; exception_lineno = 302; goto try_except_handler_6; outline_result_2:; UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_hooks, tmp_assign_source_37 ); } goto try_end_4; // Exception handler code: try_except_handler_6:; exception_keeper_type_8 = exception_type; exception_keeper_value_8 = exception_value; exception_keeper_tb_8 = exception_tb; exception_keeper_lineno_8 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_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_8; exception_value = exception_keeper_value_8; exception_tb = exception_keeper_tb_8; exception_lineno = exception_keeper_lineno_8; goto frame_exception_exit_1; } // End of try: try_end_4:; } { 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; } { nuitka_bool tmp_condition_result_14; PyObject *tmp_mvar_value_13; int tmp_truth_name_3; tmp_mvar_value_13 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_PY2 ); if (unlikely( tmp_mvar_value_13 == NULL )) { tmp_mvar_value_13 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PY2 ); } if ( tmp_mvar_value_13 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PY2" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 336; goto frame_exception_exit_1; } tmp_truth_name_3 = CHECK_IF_TRUE( tmp_mvar_value_13 ); if ( tmp_truth_name_3 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 336; goto frame_exception_exit_1; } tmp_condition_result_14 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE ) { goto branch_yes_10; } else { goto branch_no_10; } branch_yes_10:; { nuitka_bool tmp_condition_result_15; PyObject *tmp_operand_name_4; PyObject *tmp_compexpr_left_4; PyObject *tmp_compexpr_right_4; PyObject *tmp_len_arg_2; PyObject *tmp_left_name_4; PyObject *tmp_set_arg_3; PyObject *tmp_called_instance_4; PyObject *tmp_mvar_value_14; PyObject *tmp_right_name_4; PyObject *tmp_set_arg_4; PyObject *tmp_source_name_15; PyObject *tmp_mvar_value_15; tmp_mvar_value_14 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_RENAMES ); if (unlikely( tmp_mvar_value_14 == NULL )) { tmp_mvar_value_14 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_RENAMES ); } if ( tmp_mvar_value_14 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "RENAMES" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 337; goto frame_exception_exit_1; } tmp_called_instance_4 = tmp_mvar_value_14; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 337; tmp_set_arg_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_4, const_str_plain_values ); if ( tmp_set_arg_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 337; goto frame_exception_exit_1; } tmp_left_name_4 = PySet_New( tmp_set_arg_3 ); Py_DECREF( tmp_set_arg_3 ); if ( tmp_left_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 337; goto frame_exception_exit_1; } tmp_mvar_value_15 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_15 == NULL )) { tmp_mvar_value_15 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_15 == NULL ) { Py_DECREF( tmp_left_name_4 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 337; goto frame_exception_exit_1; } tmp_source_name_15 = tmp_mvar_value_15; tmp_set_arg_4 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_builtin_module_names ); if ( tmp_set_arg_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_4 ); exception_lineno = 337; goto frame_exception_exit_1; } tmp_right_name_4 = PySet_New( tmp_set_arg_4 ); Py_DECREF( tmp_set_arg_4 ); if ( tmp_right_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_left_name_4 ); exception_lineno = 337; goto frame_exception_exit_1; } tmp_len_arg_2 = BINARY_OPERATION( PyNumber_And, tmp_left_name_4, tmp_right_name_4 ); Py_DECREF( tmp_left_name_4 ); Py_DECREF( tmp_right_name_4 ); if ( tmp_len_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 337; goto frame_exception_exit_1; } tmp_compexpr_left_4 = BUILTIN_LEN( tmp_len_arg_2 ); Py_DECREF( tmp_len_arg_2 ); if ( tmp_compexpr_left_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 337; goto frame_exception_exit_1; } tmp_compexpr_right_4 = const_int_0; tmp_operand_name_4 = RICH_COMPARE_EQ_NORECURSE( tmp_compexpr_left_4, tmp_compexpr_right_4 ); Py_DECREF( tmp_compexpr_left_4 ); if ( tmp_operand_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 337; goto frame_exception_exit_1; } tmp_res = CHECK_IF_TRUE( tmp_operand_name_4 ); Py_DECREF( tmp_operand_name_4 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 337; goto frame_exception_exit_1; } tmp_condition_result_15 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE ) { goto branch_yes_11; } else { goto branch_no_11; } branch_yes_11:; { PyObject *tmp_raise_type_4; tmp_raise_type_4 = PyExc_AssertionError; exception_type = tmp_raise_type_4; Py_INCREF( tmp_raise_type_4 ); exception_lineno = 337; RAISE_EXCEPTION_WITH_TYPE( &exception_type, &exception_value, &exception_tb ); goto frame_exception_exit_1; } branch_no_11:; } branch_no_10:; } { PyObject *tmp_assign_source_39; tmp_assign_source_39 = MAKE_FUNCTION_future$standard_library$$$function_7_is_py2_stdlib_module( ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_is_py2_stdlib_module, tmp_assign_source_39 ); } { PyObject *tmp_assign_source_40; tmp_assign_source_40 = MAKE_FUNCTION_future$standard_library$$$function_8_scrub_py2_sys_modules( ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_scrub_py2_sys_modules, tmp_assign_source_40 ); } { PyObject *tmp_assign_source_41; tmp_assign_source_41 = MAKE_FUNCTION_future$standard_library$$$function_9_scrub_future_sys_modules( ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_scrub_future_sys_modules, tmp_assign_source_41 ); } { // Tried code: { PyObject *tmp_assign_source_42; PyObject *tmp_dircall_arg1_3; tmp_dircall_arg1_3 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_3 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_3}; tmp_assign_source_42 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_42 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_9; } assert( tmp_class_creation_3__bases == NULL ); tmp_class_creation_3__bases = tmp_assign_source_42; } { PyObject *tmp_assign_source_43; tmp_assign_source_43 = PyDict_New(); assert( tmp_class_creation_3__class_decl_dict == NULL ); tmp_class_creation_3__class_decl_dict = tmp_assign_source_43; } { PyObject *tmp_assign_source_44; PyObject *tmp_metaclass_name_3; nuitka_bool tmp_condition_result_16; PyObject *tmp_key_name_7; PyObject *tmp_dict_name_7; PyObject *tmp_dict_name_8; PyObject *tmp_key_name_8; nuitka_bool tmp_condition_result_17; int tmp_truth_name_4; PyObject *tmp_type_arg_5; PyObject *tmp_subscribed_name_3; PyObject *tmp_subscript_name_3; PyObject *tmp_bases_name_3; tmp_key_name_7 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_7 = tmp_class_creation_3__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_7, tmp_key_name_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_9; } tmp_condition_result_16 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE ) { goto condexpr_true_5; } else { goto condexpr_false_5; } condexpr_true_5:; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_8 = tmp_class_creation_3__class_decl_dict; tmp_key_name_8 = const_str_plain_metaclass; tmp_metaclass_name_3 = DICT_GET_ITEM( tmp_dict_name_8, tmp_key_name_8 ); if ( tmp_metaclass_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_9; } goto condexpr_end_5; condexpr_false_5:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_truth_name_4 = CHECK_IF_TRUE( tmp_class_creation_3__bases ); if ( tmp_truth_name_4 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_9; } tmp_condition_result_17 = tmp_truth_name_4 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_17 == NUITKA_BOOL_TRUE ) { goto condexpr_true_6; } else { goto condexpr_false_6; } condexpr_true_6:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_subscribed_name_3 = tmp_class_creation_3__bases; tmp_subscript_name_3 = const_int_0; tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 ); if ( tmp_type_arg_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_9; } tmp_metaclass_name_3 = BUILTIN_TYPE1( tmp_type_arg_5 ); Py_DECREF( tmp_type_arg_5 ); if ( tmp_metaclass_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_9; } goto condexpr_end_6; condexpr_false_6:; tmp_metaclass_name_3 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_3 ); condexpr_end_6:; condexpr_end_5:; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_bases_name_3 = tmp_class_creation_3__bases; tmp_assign_source_44 = SELECT_METACLASS( tmp_metaclass_name_3, tmp_bases_name_3 ); Py_DECREF( tmp_metaclass_name_3 ); if ( tmp_assign_source_44 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_9; } assert( tmp_class_creation_3__metaclass == NULL ); tmp_class_creation_3__metaclass = tmp_assign_source_44; } { nuitka_bool tmp_condition_result_18; PyObject *tmp_key_name_9; PyObject *tmp_dict_name_9; tmp_key_name_9 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dict_name_9 = tmp_class_creation_3__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_9, tmp_key_name_9 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_9; } tmp_condition_result_18 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE ) { goto branch_yes_12; } else { goto branch_no_12; } branch_yes_12:; { CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_9; } } branch_no_12:; } { nuitka_bool tmp_condition_result_19; PyObject *tmp_source_name_16; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_source_name_16 = tmp_class_creation_3__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_16, const_str_plain___prepare__ ); tmp_condition_result_19 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_19 == NUITKA_BOOL_TRUE ) { goto branch_yes_13; } else { goto branch_no_13; } branch_yes_13:; { PyObject *tmp_assign_source_45; PyObject *tmp_called_name_9; PyObject *tmp_source_name_17; PyObject *tmp_args_name_5; PyObject *tmp_tuple_element_7; PyObject *tmp_kw_name_5; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_source_name_17 = tmp_class_creation_3__metaclass; tmp_called_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_17, const_str_plain___prepare__ ); if ( tmp_called_name_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_9; } tmp_tuple_element_7 = const_str_plain_suspend_hooks; tmp_args_name_5 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_args_name_5, 0, tmp_tuple_element_7 ); CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_tuple_element_7 = tmp_class_creation_3__bases; Py_INCREF( tmp_tuple_element_7 ); PyTuple_SET_ITEM( tmp_args_name_5, 1, tmp_tuple_element_7 ); CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_kw_name_5 = tmp_class_creation_3__class_decl_dict; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 401; tmp_assign_source_45 = CALL_FUNCTION( tmp_called_name_9, tmp_args_name_5, tmp_kw_name_5 ); Py_DECREF( tmp_called_name_9 ); Py_DECREF( tmp_args_name_5 ); if ( tmp_assign_source_45 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_9; } assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_45; } { nuitka_bool tmp_condition_result_20; PyObject *tmp_operand_name_5; PyObject *tmp_source_name_18; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_source_name_18 = tmp_class_creation_3__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_18, const_str_plain___getitem__ ); tmp_operand_name_5 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_9; } tmp_condition_result_20 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_20 == NUITKA_BOOL_TRUE ) { goto branch_yes_14; } else { goto branch_no_14; } branch_yes_14:; { PyObject *tmp_raise_type_5; PyObject *tmp_raise_value_3; PyObject *tmp_left_name_5; PyObject *tmp_right_name_5; PyObject *tmp_tuple_element_8; PyObject *tmp_getattr_target_3; PyObject *tmp_getattr_attr_3; PyObject *tmp_getattr_default_3; PyObject *tmp_source_name_19; PyObject *tmp_type_arg_6; tmp_raise_type_5 = PyExc_TypeError; tmp_left_name_5 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_getattr_target_3 = tmp_class_creation_3__metaclass; tmp_getattr_attr_3 = const_str_plain___name__; tmp_getattr_default_3 = const_str_angle_metaclass; tmp_tuple_element_8 = BUILTIN_GETATTR( tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3 ); if ( tmp_tuple_element_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_9; } tmp_right_name_5 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_5, 0, tmp_tuple_element_8 ); CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_type_arg_6 = tmp_class_creation_3__prepared; tmp_source_name_19 = BUILTIN_TYPE1( tmp_type_arg_6 ); assert( !(tmp_source_name_19 == NULL) ); tmp_tuple_element_8 = LOOKUP_ATTRIBUTE( tmp_source_name_19, const_str_plain___name__ ); Py_DECREF( tmp_source_name_19 ); if ( tmp_tuple_element_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_5 ); exception_lineno = 401; goto try_except_handler_9; } PyTuple_SET_ITEM( tmp_right_name_5, 1, tmp_tuple_element_8 ); tmp_raise_value_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_5, tmp_right_name_5 ); Py_DECREF( tmp_right_name_5 ); if ( tmp_raise_value_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_9; } exception_type = tmp_raise_type_5; Py_INCREF( tmp_raise_type_5 ); exception_value = tmp_raise_value_3; exception_lineno = 401; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_9; } branch_no_14:; } goto branch_end_13; branch_no_13:; { PyObject *tmp_assign_source_46; tmp_assign_source_46 = PyDict_New(); assert( tmp_class_creation_3__prepared == NULL ); tmp_class_creation_3__prepared = tmp_assign_source_46; } branch_end_13:; } { PyObject *tmp_assign_source_47; { PyObject *tmp_set_locals_3; CHECK_OBJECT( tmp_class_creation_3__prepared ); tmp_set_locals_3 = tmp_class_creation_3__prepared; locals_future$standard_library_401 = tmp_set_locals_3; Py_INCREF( tmp_set_locals_3 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_9ceff9e9dc2f123ff8fecafdd8ee49a7; tmp_res = PyObject_SetItem( locals_future$standard_library_401, 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 = 401; goto try_except_handler_11; } } { tmp_dictset_value = const_str_digest_d4f05f6c37f4ee12d6e6e272bee86149; tmp_res = PyObject_SetItem( locals_future$standard_library_401, 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 = 401; goto try_except_handler_11; } } { tmp_dictset_value = const_str_plain_suspend_hooks; tmp_res = PyObject_SetItem( locals_future$standard_library_401, 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 = 401; goto try_except_handler_11; } } MAKE_OR_REUSE_FRAME( cache_frame_f0314d9bd7da0c1e88f0d3467e3c995d_4, codeobj_f0314d9bd7da0c1e88f0d3467e3c995d, module_future$standard_library, sizeof(void *) ); frame_f0314d9bd7da0c1e88f0d3467e3c995d_4 = cache_frame_f0314d9bd7da0c1e88f0d3467e3c995d_4; // Push the new frame as the currently active one. pushFrameStack( frame_f0314d9bd7da0c1e88f0d3467e3c995d_4 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_f0314d9bd7da0c1e88f0d3467e3c995d_4 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_future$standard_library$$$function_10___enter__( ); tmp_res = PyObject_SetItem( locals_future$standard_library_401, const_str_plain___enter__, 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 = 415; type_description_2 = "o"; goto frame_exception_exit_4; } } { tmp_dictset_value = MAKE_FUNCTION_future$standard_library$$$function_11___exit__( ); tmp_res = PyObject_SetItem( locals_future$standard_library_401, const_str_plain___exit__, 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 = 421; type_description_2 = "o"; goto frame_exception_exit_4; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_f0314d9bd7da0c1e88f0d3467e3c995d_4 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_3; frame_exception_exit_4:; #if 0 RESTORE_FRAME_EXCEPTION( frame_f0314d9bd7da0c1e88f0d3467e3c995d_4 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_f0314d9bd7da0c1e88f0d3467e3c995d_4, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_f0314d9bd7da0c1e88f0d3467e3c995d_4->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_f0314d9bd7da0c1e88f0d3467e3c995d_4, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_f0314d9bd7da0c1e88f0d3467e3c995d_4, type_description_2, outline_2_var___class__ ); // Release cached frame. if ( frame_f0314d9bd7da0c1e88f0d3467e3c995d_4 == cache_frame_f0314d9bd7da0c1e88f0d3467e3c995d_4 ) { Py_DECREF( frame_f0314d9bd7da0c1e88f0d3467e3c995d_4 ); } cache_frame_f0314d9bd7da0c1e88f0d3467e3c995d_4 = NULL; assertFrameObject( frame_f0314d9bd7da0c1e88f0d3467e3c995d_4 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_3; frame_no_exception_3:; goto skip_nested_handling_3; nested_frame_exit_3:; goto try_except_handler_11; skip_nested_handling_3:; { nuitka_bool tmp_condition_result_21; PyObject *tmp_compexpr_left_5; PyObject *tmp_compexpr_right_5; CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_compexpr_left_5 = tmp_class_creation_3__bases; tmp_compexpr_right_5 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_5, tmp_compexpr_right_5 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_11; } tmp_condition_result_21 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_21 == NUITKA_BOOL_TRUE ) { goto branch_yes_15; } else { goto branch_no_15; } branch_yes_15:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_future$standard_library_401, 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 = 401; goto try_except_handler_11; } } branch_no_15:; } { PyObject *tmp_assign_source_48; PyObject *tmp_called_name_10; PyObject *tmp_args_name_6; PyObject *tmp_tuple_element_9; PyObject *tmp_kw_name_6; CHECK_OBJECT( tmp_class_creation_3__metaclass ); tmp_called_name_10 = tmp_class_creation_3__metaclass; tmp_tuple_element_9 = const_str_plain_suspend_hooks; tmp_args_name_6 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_args_name_6, 0, tmp_tuple_element_9 ); CHECK_OBJECT( tmp_class_creation_3__bases ); tmp_tuple_element_9 = tmp_class_creation_3__bases; Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_args_name_6, 1, tmp_tuple_element_9 ); tmp_tuple_element_9 = locals_future$standard_library_401; Py_INCREF( tmp_tuple_element_9 ); PyTuple_SET_ITEM( tmp_args_name_6, 2, tmp_tuple_element_9 ); CHECK_OBJECT( tmp_class_creation_3__class_decl_dict ); tmp_kw_name_6 = tmp_class_creation_3__class_decl_dict; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 401; tmp_assign_source_48 = CALL_FUNCTION( tmp_called_name_10, tmp_args_name_6, tmp_kw_name_6 ); Py_DECREF( tmp_args_name_6 ); if ( tmp_assign_source_48 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 401; goto try_except_handler_11; } assert( outline_2_var___class__ == NULL ); outline_2_var___class__ = tmp_assign_source_48; } { CHECK_OBJECT( outline_2_var___class__ ); tmp_assign_source_47 = outline_2_var___class__; Py_INCREF( tmp_assign_source_47 ); goto try_return_handler_11; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_11:; { Py_DECREF( locals_future$standard_library_401 ); locals_future$standard_library_401 = NULL; } { goto try_return_handler_10; } // Exception handler code: try_except_handler_11:; exception_keeper_type_9 = exception_type; exception_keeper_value_9 = exception_value; exception_keeper_tb_9 = exception_tb; exception_keeper_lineno_9 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_future$standard_library_401 ); locals_future$standard_library_401 = NULL; } { // Re-raise. exception_type = exception_keeper_type_9; exception_value = exception_keeper_value_9; exception_tb = exception_keeper_tb_9; exception_lineno = exception_keeper_lineno_9; goto try_except_handler_10; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_10:; { CHECK_OBJECT( (PyObject *)outline_2_var___class__ ); Py_DECREF( outline_2_var___class__ ); outline_2_var___class__ = NULL; } { goto outline_result_3; } // Exception handler code: try_except_handler_10:; exception_keeper_type_10 = exception_type; exception_keeper_value_10 = exception_value; exception_keeper_tb_10 = exception_tb; exception_keeper_lineno_10 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_10; exception_value = exception_keeper_value_10; exception_tb = exception_keeper_tb_10; exception_lineno = exception_keeper_lineno_10; goto outline_exception_3; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library ); return MOD_RETURN_VALUE( NULL ); outline_exception_3:; exception_lineno = 401; goto try_except_handler_9; outline_result_3:; UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_suspend_hooks, tmp_assign_source_47 ); } goto try_end_5; // Exception handler code: try_except_handler_9:; exception_keeper_type_11 = exception_type; exception_keeper_value_11 = exception_value; exception_keeper_tb_11 = exception_tb; exception_keeper_lineno_11 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_3__bases ); tmp_class_creation_3__bases = NULL; } { Py_XDECREF( tmp_class_creation_3__class_decl_dict ); tmp_class_creation_3__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_3__metaclass ); tmp_class_creation_3__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_3__prepared ); tmp_class_creation_3__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_11; exception_value = exception_keeper_value_11; exception_tb = exception_keeper_tb_11; exception_lineno = exception_keeper_lineno_11; goto frame_exception_exit_1; } // End of try: try_end_5:; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__bases ); Py_DECREF( tmp_class_creation_3__bases ); tmp_class_creation_3__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__class_decl_dict ); Py_DECREF( tmp_class_creation_3__class_decl_dict ); tmp_class_creation_3__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__metaclass ); Py_DECREF( tmp_class_creation_3__metaclass ); tmp_class_creation_3__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_3__prepared ); Py_DECREF( tmp_class_creation_3__prepared ); tmp_class_creation_3__prepared = NULL; } { PyObject *tmp_assign_source_49; tmp_assign_source_49 = MAKE_FUNCTION_future$standard_library$$$function_12_restore_sys_modules( ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_restore_sys_modules, tmp_assign_source_49 ); } { PyObject *tmp_assign_source_50; tmp_assign_source_50 = MAKE_FUNCTION_future$standard_library$$$function_13_install_aliases( ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_install_aliases, tmp_assign_source_50 ); } { PyObject *tmp_assign_source_51; tmp_assign_source_51 = MAKE_FUNCTION_future$standard_library$$$function_14_install_hooks( ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_install_hooks, tmp_assign_source_51 ); } { PyObject *tmp_assign_source_52; tmp_assign_source_52 = MAKE_FUNCTION_future$standard_library$$$function_15_enable_hooks( ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_enable_hooks, tmp_assign_source_52 ); } { PyObject *tmp_assign_source_53; PyObject *tmp_defaults_3; tmp_defaults_3 = const_tuple_false_tuple; Py_INCREF( tmp_defaults_3 ); tmp_assign_source_53 = MAKE_FUNCTION_future$standard_library$$$function_16_remove_hooks( tmp_defaults_3 ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_remove_hooks, tmp_assign_source_53 ); } { PyObject *tmp_assign_source_54; tmp_assign_source_54 = MAKE_FUNCTION_future$standard_library$$$function_17_disable_hooks( ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_disable_hooks, tmp_assign_source_54 ); } { PyObject *tmp_assign_source_55; tmp_assign_source_55 = MAKE_FUNCTION_future$standard_library$$$function_18_detect_hooks( ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_detect_hooks, tmp_assign_source_55 ); } { nuitka_bool tmp_condition_result_22; PyObject *tmp_operand_name_6; PyObject *tmp_source_name_20; PyObject *tmp_mvar_value_16; PyObject *tmp_attribute_name_1; tmp_mvar_value_16 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_16 == NULL )) { tmp_mvar_value_16 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_16 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 595; goto frame_exception_exit_1; } tmp_source_name_20 = tmp_mvar_value_16; tmp_attribute_name_1 = const_str_plain_py2_modules; tmp_res = BUILTIN_HASATTR_BOOL( tmp_source_name_20, tmp_attribute_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 595; goto frame_exception_exit_1; } tmp_operand_name_6 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 595; goto frame_exception_exit_1; } tmp_condition_result_22 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_22 == NUITKA_BOOL_TRUE ) { goto branch_yes_16; } else { goto branch_no_16; } branch_yes_16:; { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; PyObject *tmp_mvar_value_17; tmp_assattr_name_1 = PyDict_New(); tmp_mvar_value_17 = GET_STRING_DICT_VALUE( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_sys ); if (unlikely( tmp_mvar_value_17 == NULL )) { tmp_mvar_value_17 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys ); } if ( tmp_mvar_value_17 == NULL ) { Py_DECREF( tmp_assattr_name_1 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 596; goto frame_exception_exit_1; } tmp_assattr_target_1 = tmp_mvar_value_17; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_py2_modules, 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 = 596; goto frame_exception_exit_1; } } branch_no_16:; } { PyObject *tmp_assign_source_56; tmp_assign_source_56 = MAKE_FUNCTION_future$standard_library$$$function_19_cache_py2_modules( ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_cache_py2_modules, tmp_assign_source_56 ); } { PyObject *tmp_assign_source_57; PyObject *tmp_defaults_4; tmp_defaults_4 = const_tuple_false_tuple; Py_INCREF( tmp_defaults_4 ); tmp_assign_source_57 = MAKE_FUNCTION_future$standard_library$$$function_20_import_( tmp_defaults_4 ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_import_, tmp_assign_source_57 ); } { PyObject *tmp_assign_source_58; tmp_assign_source_58 = MAKE_FUNCTION_future$standard_library$$$function_21_from_import( ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_from_import, tmp_assign_source_58 ); } { // Tried code: { PyObject *tmp_assign_source_59; PyObject *tmp_dircall_arg1_4; tmp_dircall_arg1_4 = const_tuple_type_object_tuple; Py_INCREF( tmp_dircall_arg1_4 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_4}; tmp_assign_source_59 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_59 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_12; } assert( tmp_class_creation_4__bases == NULL ); tmp_class_creation_4__bases = tmp_assign_source_59; } { PyObject *tmp_assign_source_60; tmp_assign_source_60 = PyDict_New(); assert( tmp_class_creation_4__class_decl_dict == NULL ); tmp_class_creation_4__class_decl_dict = tmp_assign_source_60; } { PyObject *tmp_assign_source_61; PyObject *tmp_metaclass_name_4; nuitka_bool tmp_condition_result_23; PyObject *tmp_key_name_10; PyObject *tmp_dict_name_10; PyObject *tmp_dict_name_11; PyObject *tmp_key_name_11; nuitka_bool tmp_condition_result_24; int tmp_truth_name_5; PyObject *tmp_type_arg_7; PyObject *tmp_subscribed_name_4; PyObject *tmp_subscript_name_4; PyObject *tmp_bases_name_4; tmp_key_name_10 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dict_name_10 = tmp_class_creation_4__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_10, tmp_key_name_10 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_12; } tmp_condition_result_23 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_23 == NUITKA_BOOL_TRUE ) { goto condexpr_true_7; } else { goto condexpr_false_7; } condexpr_true_7:; CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dict_name_11 = tmp_class_creation_4__class_decl_dict; tmp_key_name_11 = const_str_plain_metaclass; tmp_metaclass_name_4 = DICT_GET_ITEM( tmp_dict_name_11, tmp_key_name_11 ); if ( tmp_metaclass_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_12; } goto condexpr_end_7; condexpr_false_7:; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_truth_name_5 = CHECK_IF_TRUE( tmp_class_creation_4__bases ); if ( tmp_truth_name_5 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_12; } tmp_condition_result_24 = tmp_truth_name_5 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_24 == NUITKA_BOOL_TRUE ) { goto condexpr_true_8; } else { goto condexpr_false_8; } condexpr_true_8:; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_subscribed_name_4 = tmp_class_creation_4__bases; tmp_subscript_name_4 = const_int_0; tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_4, tmp_subscript_name_4, 0 ); if ( tmp_type_arg_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_12; } tmp_metaclass_name_4 = BUILTIN_TYPE1( tmp_type_arg_7 ); Py_DECREF( tmp_type_arg_7 ); if ( tmp_metaclass_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_12; } goto condexpr_end_8; condexpr_false_8:; tmp_metaclass_name_4 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_4 ); condexpr_end_8:; condexpr_end_7:; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_bases_name_4 = tmp_class_creation_4__bases; tmp_assign_source_61 = SELECT_METACLASS( tmp_metaclass_name_4, tmp_bases_name_4 ); Py_DECREF( tmp_metaclass_name_4 ); if ( tmp_assign_source_61 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_12; } assert( tmp_class_creation_4__metaclass == NULL ); tmp_class_creation_4__metaclass = tmp_assign_source_61; } { nuitka_bool tmp_condition_result_25; PyObject *tmp_key_name_12; PyObject *tmp_dict_name_12; tmp_key_name_12 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dict_name_12 = tmp_class_creation_4__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_12, tmp_key_name_12 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_12; } tmp_condition_result_25 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_25 == NUITKA_BOOL_TRUE ) { goto branch_yes_17; } else { goto branch_no_17; } branch_yes_17:; { CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_12; } } branch_no_17:; } { nuitka_bool tmp_condition_result_26; PyObject *tmp_source_name_21; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_source_name_21 = tmp_class_creation_4__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_21, const_str_plain___prepare__ ); tmp_condition_result_26 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_26 == NUITKA_BOOL_TRUE ) { goto branch_yes_18; } else { goto branch_no_18; } branch_yes_18:; { PyObject *tmp_assign_source_62; PyObject *tmp_called_name_11; PyObject *tmp_source_name_22; PyObject *tmp_args_name_7; PyObject *tmp_tuple_element_10; PyObject *tmp_kw_name_7; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_source_name_22 = tmp_class_creation_4__metaclass; tmp_called_name_11 = LOOKUP_ATTRIBUTE( tmp_source_name_22, const_str_plain___prepare__ ); if ( tmp_called_name_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_12; } tmp_tuple_element_10 = const_str_plain_exclude_local_folder_imports; tmp_args_name_7 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_10 ); PyTuple_SET_ITEM( tmp_args_name_7, 0, tmp_tuple_element_10 ); CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_tuple_element_10 = tmp_class_creation_4__bases; Py_INCREF( tmp_tuple_element_10 ); PyTuple_SET_ITEM( tmp_args_name_7, 1, tmp_tuple_element_10 ); CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_kw_name_7 = tmp_class_creation_4__class_decl_dict; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 737; tmp_assign_source_62 = CALL_FUNCTION( tmp_called_name_11, tmp_args_name_7, tmp_kw_name_7 ); Py_DECREF( tmp_called_name_11 ); Py_DECREF( tmp_args_name_7 ); if ( tmp_assign_source_62 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_12; } assert( tmp_class_creation_4__prepared == NULL ); tmp_class_creation_4__prepared = tmp_assign_source_62; } { nuitka_bool tmp_condition_result_27; PyObject *tmp_operand_name_7; PyObject *tmp_source_name_23; CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_source_name_23 = tmp_class_creation_4__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_23, const_str_plain___getitem__ ); tmp_operand_name_7 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_7 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_12; } tmp_condition_result_27 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_27 == NUITKA_BOOL_TRUE ) { goto branch_yes_19; } else { goto branch_no_19; } branch_yes_19:; { PyObject *tmp_raise_type_6; PyObject *tmp_raise_value_4; PyObject *tmp_left_name_6; PyObject *tmp_right_name_6; PyObject *tmp_tuple_element_11; PyObject *tmp_getattr_target_4; PyObject *tmp_getattr_attr_4; PyObject *tmp_getattr_default_4; PyObject *tmp_source_name_24; PyObject *tmp_type_arg_8; tmp_raise_type_6 = PyExc_TypeError; tmp_left_name_6 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_getattr_target_4 = tmp_class_creation_4__metaclass; tmp_getattr_attr_4 = const_str_plain___name__; tmp_getattr_default_4 = const_str_angle_metaclass; tmp_tuple_element_11 = BUILTIN_GETATTR( tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4 ); if ( tmp_tuple_element_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_12; } tmp_right_name_6 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_6, 0, tmp_tuple_element_11 ); CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_type_arg_8 = tmp_class_creation_4__prepared; tmp_source_name_24 = BUILTIN_TYPE1( tmp_type_arg_8 ); assert( !(tmp_source_name_24 == NULL) ); tmp_tuple_element_11 = LOOKUP_ATTRIBUTE( tmp_source_name_24, const_str_plain___name__ ); Py_DECREF( tmp_source_name_24 ); if ( tmp_tuple_element_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_6 ); exception_lineno = 737; goto try_except_handler_12; } PyTuple_SET_ITEM( tmp_right_name_6, 1, tmp_tuple_element_11 ); tmp_raise_value_4 = BINARY_OPERATION_REMAINDER( tmp_left_name_6, tmp_right_name_6 ); Py_DECREF( tmp_right_name_6 ); if ( tmp_raise_value_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_12; } exception_type = tmp_raise_type_6; Py_INCREF( tmp_raise_type_6 ); exception_value = tmp_raise_value_4; exception_lineno = 737; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_12; } branch_no_19:; } goto branch_end_18; branch_no_18:; { PyObject *tmp_assign_source_63; tmp_assign_source_63 = PyDict_New(); assert( tmp_class_creation_4__prepared == NULL ); tmp_class_creation_4__prepared = tmp_assign_source_63; } branch_end_18:; } { PyObject *tmp_assign_source_64; { PyObject *tmp_set_locals_4; CHECK_OBJECT( tmp_class_creation_4__prepared ); tmp_set_locals_4 = tmp_class_creation_4__prepared; locals_future$standard_library_737 = tmp_set_locals_4; Py_INCREF( tmp_set_locals_4 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_9ceff9e9dc2f123ff8fecafdd8ee49a7; tmp_res = PyObject_SetItem( locals_future$standard_library_737, 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 = 737; goto try_except_handler_14; } } { tmp_dictset_value = const_str_digest_4d0e902535eaa4d534ad5b2e0c25d9af; tmp_res = PyObject_SetItem( locals_future$standard_library_737, 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 = 737; goto try_except_handler_14; } } { tmp_dictset_value = const_str_plain_exclude_local_folder_imports; tmp_res = PyObject_SetItem( locals_future$standard_library_737, 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 = 737; goto try_except_handler_14; } } MAKE_OR_REUSE_FRAME( cache_frame_706b72b49c3ce1113ee23c097afcf65d_5, codeobj_706b72b49c3ce1113ee23c097afcf65d, module_future$standard_library, sizeof(void *) ); frame_706b72b49c3ce1113ee23c097afcf65d_5 = cache_frame_706b72b49c3ce1113ee23c097afcf65d_5; // Push the new frame as the currently active one. pushFrameStack( frame_706b72b49c3ce1113ee23c097afcf65d_5 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_706b72b49c3ce1113ee23c097afcf65d_5 ) == 2 ); // Frame stack // Framed code: { tmp_dictset_value = MAKE_FUNCTION_future$standard_library$$$function_22___init__( ); tmp_res = PyObject_SetItem( locals_future$standard_library_737, 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 = 746; type_description_2 = "o"; goto frame_exception_exit_5; } } { tmp_dictset_value = MAKE_FUNCTION_future$standard_library$$$function_23___enter__( ); tmp_res = PyObject_SetItem( locals_future$standard_library_737, const_str_plain___enter__, 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 = 753; type_description_2 = "o"; goto frame_exception_exit_5; } } { tmp_dictset_value = MAKE_FUNCTION_future$standard_library$$$function_24___exit__( ); tmp_res = PyObject_SetItem( locals_future$standard_library_737, const_str_plain___exit__, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 785; type_description_2 = "o"; goto frame_exception_exit_5; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_706b72b49c3ce1113ee23c097afcf65d_5 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_4; frame_exception_exit_5:; #if 0 RESTORE_FRAME_EXCEPTION( frame_706b72b49c3ce1113ee23c097afcf65d_5 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_706b72b49c3ce1113ee23c097afcf65d_5, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_706b72b49c3ce1113ee23c097afcf65d_5->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_706b72b49c3ce1113ee23c097afcf65d_5, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_706b72b49c3ce1113ee23c097afcf65d_5, type_description_2, outline_3_var___class__ ); // Release cached frame. if ( frame_706b72b49c3ce1113ee23c097afcf65d_5 == cache_frame_706b72b49c3ce1113ee23c097afcf65d_5 ) { Py_DECREF( frame_706b72b49c3ce1113ee23c097afcf65d_5 ); } cache_frame_706b72b49c3ce1113ee23c097afcf65d_5 = NULL; assertFrameObject( frame_706b72b49c3ce1113ee23c097afcf65d_5 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_4; frame_no_exception_4:; goto skip_nested_handling_4; nested_frame_exit_4:; goto try_except_handler_14; skip_nested_handling_4:; { nuitka_bool tmp_condition_result_28; PyObject *tmp_compexpr_left_6; PyObject *tmp_compexpr_right_6; CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_compexpr_left_6 = tmp_class_creation_4__bases; tmp_compexpr_right_6 = const_tuple_type_object_tuple; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_6, tmp_compexpr_right_6 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_14; } tmp_condition_result_28 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_28 == NUITKA_BOOL_TRUE ) { goto branch_yes_20; } else { goto branch_no_20; } branch_yes_20:; { tmp_dictset_value = const_tuple_type_object_tuple; tmp_res = PyObject_SetItem( locals_future$standard_library_737, 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 = 737; goto try_except_handler_14; } } branch_no_20:; } { PyObject *tmp_assign_source_65; PyObject *tmp_called_name_12; PyObject *tmp_args_name_8; PyObject *tmp_tuple_element_12; PyObject *tmp_kw_name_8; CHECK_OBJECT( tmp_class_creation_4__metaclass ); tmp_called_name_12 = tmp_class_creation_4__metaclass; tmp_tuple_element_12 = const_str_plain_exclude_local_folder_imports; tmp_args_name_8 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_12 ); PyTuple_SET_ITEM( tmp_args_name_8, 0, tmp_tuple_element_12 ); CHECK_OBJECT( tmp_class_creation_4__bases ); tmp_tuple_element_12 = tmp_class_creation_4__bases; Py_INCREF( tmp_tuple_element_12 ); PyTuple_SET_ITEM( tmp_args_name_8, 1, tmp_tuple_element_12 ); tmp_tuple_element_12 = locals_future$standard_library_737; Py_INCREF( tmp_tuple_element_12 ); PyTuple_SET_ITEM( tmp_args_name_8, 2, tmp_tuple_element_12 ); CHECK_OBJECT( tmp_class_creation_4__class_decl_dict ); tmp_kw_name_8 = tmp_class_creation_4__class_decl_dict; frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame.f_lineno = 737; tmp_assign_source_65 = CALL_FUNCTION( tmp_called_name_12, tmp_args_name_8, tmp_kw_name_8 ); Py_DECREF( tmp_args_name_8 ); if ( tmp_assign_source_65 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 737; goto try_except_handler_14; } assert( outline_3_var___class__ == NULL ); outline_3_var___class__ = tmp_assign_source_65; } { CHECK_OBJECT( outline_3_var___class__ ); tmp_assign_source_64 = outline_3_var___class__; Py_INCREF( tmp_assign_source_64 ); goto try_return_handler_14; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_14:; { Py_DECREF( locals_future$standard_library_737 ); locals_future$standard_library_737 = NULL; } { goto try_return_handler_13; } // Exception handler code: try_except_handler_14:; exception_keeper_type_12 = exception_type; exception_keeper_value_12 = exception_value; exception_keeper_tb_12 = exception_tb; exception_keeper_lineno_12 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_future$standard_library_737 ); locals_future$standard_library_737 = NULL; } { // Re-raise. exception_type = exception_keeper_type_12; exception_value = exception_keeper_value_12; exception_tb = exception_keeper_tb_12; exception_lineno = exception_keeper_lineno_12; goto try_except_handler_13; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( future$standard_library ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_13:; { CHECK_OBJECT( (PyObject *)outline_3_var___class__ ); Py_DECREF( outline_3_var___class__ ); outline_3_var___class__ = NULL; } { goto outline_result_4; } // Exception handler code: try_except_handler_13:; exception_keeper_type_13 = exception_type; exception_keeper_value_13 = exception_value; exception_keeper_tb_13 = exception_tb; exception_keeper_lineno_13 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_13; exception_value = exception_keeper_value_13; exception_tb = exception_keeper_tb_13; exception_lineno = exception_keeper_lineno_13; goto outline_exception_4; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( future$standard_library ); return MOD_RETURN_VALUE( NULL ); outline_exception_4:; exception_lineno = 737; goto try_except_handler_12; outline_result_4:; UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_exclude_local_folder_imports, tmp_assign_source_64 ); } goto try_end_6; // Exception handler code: try_except_handler_12:; exception_keeper_type_14 = exception_type; exception_keeper_value_14 = exception_value; exception_keeper_tb_14 = exception_tb; exception_keeper_lineno_14 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_4__bases ); tmp_class_creation_4__bases = NULL; } { Py_XDECREF( tmp_class_creation_4__class_decl_dict ); tmp_class_creation_4__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_4__metaclass ); tmp_class_creation_4__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_4__prepared ); tmp_class_creation_4__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_14; exception_value = exception_keeper_value_14; exception_tb = exception_keeper_tb_14; exception_lineno = exception_keeper_lineno_14; goto frame_exception_exit_1; } // End of try: try_end_6:; } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_93d3f9ca675dda43b5c7e0c836fbb4de ); #endif popFrameStack(); assertFrameObject( frame_93d3f9ca675dda43b5c7e0c836fbb4de ); goto frame_no_exception_5; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_93d3f9ca675dda43b5c7e0c836fbb4de ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_93d3f9ca675dda43b5c7e0c836fbb4de, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_93d3f9ca675dda43b5c7e0c836fbb4de->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_93d3f9ca675dda43b5c7e0c836fbb4de, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_5:; { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__bases ); Py_DECREF( tmp_class_creation_4__bases ); tmp_class_creation_4__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__class_decl_dict ); Py_DECREF( tmp_class_creation_4__class_decl_dict ); tmp_class_creation_4__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__metaclass ); Py_DECREF( tmp_class_creation_4__metaclass ); tmp_class_creation_4__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_4__prepared ); Py_DECREF( tmp_class_creation_4__prepared ); tmp_class_creation_4__prepared = NULL; } { PyObject *tmp_assign_source_66; tmp_assign_source_66 = LIST_COPY( const_list_4e9b9bf76e8c056d59800ce1a1d4308e_list ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_TOP_LEVEL_MODULES, tmp_assign_source_66 ); } { PyObject *tmp_assign_source_67; tmp_assign_source_67 = MAKE_FUNCTION_future$standard_library$$$function_25_import_top_level_modules( ); UPDATE_STRING_DICT1( moduledict_future$standard_library, (Nuitka_StringObject *)const_str_plain_import_top_level_modules, tmp_assign_source_67 ); } return MOD_RETURN_VALUE( module_future$standard_library ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }