/* Generated code for Python source for module 'telegram.games.game' * 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_telegram$games$game 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_telegram$games$game; PyDictObject *moduledict_telegram$games$game; /* The module constants used, if any. */ extern PyObject *const_str_angle_dictcontraction; static PyObject *const_str_plain_parse_text_entity; extern PyObject *const_str_plain_metaclass; extern PyObject *const_str_plain_entity; static PyObject *const_tuple_str_plain_text_entities_tuple; extern PyObject *const_str_plain___name__; extern PyObject *const_tuple_str_plain___class___tuple; extern PyObject *const_str_angle_metaclass; static PyObject *const_str_digest_c1dd8ca28fe17ffdc436765b64341044; extern PyObject *const_str_plain___file__; static PyObject *const_str_plain_text_entities; extern PyObject *const_str_plain_offset; static PyObject *const_str_digest_b0c37b45c42cdda3b53e5aff06e9690c; extern PyObject *const_str_plain_encode; extern PyObject *const_str_plain_entity_text; extern PyObject *const_str_plain_de_json; extern PyObject *const_str_plain_None; extern PyObject *const_str_plain_classmethod; static PyObject *const_str_digest_5137ac984e88f9c1db05dec0e62277eb; extern PyObject *const_str_plain_cls; extern PyObject *const_tuple_none_none_none_tuple; static PyObject *const_str_digest_ef65aab2f5f4d576545992b97cdbcc4f; extern PyObject *const_str_plain_TelegramObject; extern PyObject *const_str_plain___doc__; extern PyObject *const_str_plain_description; extern PyObject *const_str_plain___orig_bases__; static PyObject *const_str_digest_eb8ca806985702e5e0e45801c984887f; extern PyObject *const_str_plain_data; extern PyObject *const_str_plain_PhotoSize; extern PyObject *const_tuple_str_plain_photo_tuple; static PyObject *const_str_digest_96adb1836e808c0a26b900f72cb71541; extern PyObject *const_str_plain___qualname__; extern PyObject *const_str_plain_p; extern PyObject *const_tuple_str_plain_entity_str_plain_types_str_plain_self_tuple; extern PyObject *const_int_pos_65535; extern PyObject *const_str_plain_Game; extern PyObject *const_str_plain_telegram; static PyObject *const_str_plain_parse_text_entities; extern PyObject *const_tuple_empty; extern PyObject *const_str_plain_title; extern PyObject *const_tuple_20e0b3bec4ab147948eec94e87ff90d7_tuple; static PyObject *const_str_digest_852b49137eddf71242963122ba93e8a7; extern PyObject *const_tuple_str_plain_x_tuple; extern PyObject *const_str_plain_maxunicode; extern PyObject *const_str_plain_decode; extern PyObject *const_str_plain___getitem__; static PyObject *const_tuple_bd8565c9775de88acfa49d4186ceea52_tuple; static PyObject *const_str_digest_8457211e90b7d954f8c13fa60179bfd6; extern PyObject *const_int_0; extern PyObject *const_str_plain_photo; static PyObject *const_str_digest_ccd045eb2362961ef3e494ae3752ce90; extern PyObject *const_str_plain_bot; extern PyObject *const_str_plain_text; extern PyObject *const_str_plain_ALL_TYPES; extern PyObject *const_tuple_str_plain_self_str_plain_types_tuple; extern PyObject *const_str_plain_length; extern PyObject *const_tuple_str_plain_self_str_plain_data_str_plain___class___tuple; extern PyObject *const_str_plain_de_list; extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295; extern PyObject *const_str_plain_x; extern PyObject *const_str_angle_listcomp; extern PyObject *const_str_digest_a166d0e20cf23102cf939cef62c22331; extern PyObject *const_str_plain_Animation; extern PyObject *const_str_plain_type; extern PyObject *const_str_plain___cached__; extern PyObject *const_str_plain___class__; extern PyObject *const_tuple_none_tuple; extern PyObject *const_str_plain___module__; extern PyObject *const_str_plain_sys; extern PyObject *const_tuple_str_plain_animation_tuple; extern PyObject *const_tuple_str_plain_self_str_plain_entity_str_plain_entity_text_tuple; static PyObject *const_str_digest_cf278f57d543c6b937098904cd30fa21; static PyObject *const_str_digest_a78a413585876207c3be67d4282e8a64; extern PyObject *const_str_plain___prepare__; extern PyObject *const_str_plain___init__; extern PyObject *const_str_plain_types; extern PyObject *const_str_plain_self; static PyObject *const_str_digest_9f02888736ba1221499f68faef877635; extern PyObject *const_str_plain_to_dict; extern PyObject *const_str_plain_kwargs; extern PyObject *const_str_plain_get; extern PyObject *const_str_plain_MessageEntity; extern PyObject *const_int_pos_2; static PyObject *const_tuple_cb464963e22ce127d0ee0ff60387cdb5_tuple; extern PyObject *const_tuple_str_digest_a166d0e20cf23102cf939cef62c22331_tuple; extern PyObject *const_tuple_str_plain_p_tuple; extern PyObject *const_str_plain_animation; static PyObject *module_filename_obj; static bool constants_created = false; static void createModuleConstants( void ) { const_str_plain_parse_text_entity = UNSTREAM_STRING( &constant_bin[ 1289445 ], 17, 1 ); const_tuple_str_plain_text_entities_tuple = PyTuple_New( 1 ); const_str_plain_text_entities = UNSTREAM_STRING( &constant_bin[ 1289462 ], 13, 1 ); PyTuple_SET_ITEM( const_tuple_str_plain_text_entities_tuple, 0, const_str_plain_text_entities ); Py_INCREF( const_str_plain_text_entities ); const_str_digest_c1dd8ca28fe17ffdc436765b64341044 = UNSTREAM_STRING( &constant_bin[ 1289475 ], 12, 0 ); const_str_digest_b0c37b45c42cdda3b53e5aff06e9690c = UNSTREAM_STRING( &constant_bin[ 1289487 ], 19, 0 ); const_str_digest_5137ac984e88f9c1db05dec0e62277eb = UNSTREAM_STRING( &constant_bin[ 1289506 ], 1031, 0 ); const_str_digest_ef65aab2f5f4d576545992b97cdbcc4f = UNSTREAM_STRING( &constant_bin[ 1290537 ], 55, 0 ); const_str_digest_eb8ca806985702e5e0e45801c984887f = UNSTREAM_STRING( &constant_bin[ 1290592 ], 1927, 0 ); const_str_digest_96adb1836e808c0a26b900f72cb71541 = UNSTREAM_STRING( &constant_bin[ 1292519 ], 603, 0 ); const_str_plain_parse_text_entities = UNSTREAM_STRING( &constant_bin[ 1293122 ], 19, 1 ); const_str_digest_852b49137eddf71242963122ba93e8a7 = UNSTREAM_STRING( &constant_bin[ 1293141 ], 28, 0 ); const_tuple_bd8565c9775de88acfa49d4186ceea52_tuple = PyTuple_New( 4 ); PyTuple_SET_ITEM( const_tuple_bd8565c9775de88acfa49d4186ceea52_tuple, 0, const_str_plain_MessageEntity ); Py_INCREF( const_str_plain_MessageEntity ); PyTuple_SET_ITEM( const_tuple_bd8565c9775de88acfa49d4186ceea52_tuple, 1, const_str_plain_TelegramObject ); Py_INCREF( const_str_plain_TelegramObject ); PyTuple_SET_ITEM( const_tuple_bd8565c9775de88acfa49d4186ceea52_tuple, 2, const_str_plain_Animation ); Py_INCREF( const_str_plain_Animation ); PyTuple_SET_ITEM( const_tuple_bd8565c9775de88acfa49d4186ceea52_tuple, 3, const_str_plain_PhotoSize ); Py_INCREF( const_str_plain_PhotoSize ); const_str_digest_8457211e90b7d954f8c13fa60179bfd6 = UNSTREAM_STRING( &constant_bin[ 1293169 ], 12, 0 ); const_str_digest_ccd045eb2362961ef3e494ae3752ce90 = UNSTREAM_STRING( &constant_bin[ 1293181 ], 13, 0 ); const_str_digest_cf278f57d543c6b937098904cd30fa21 = UNSTREAM_STRING( &constant_bin[ 1293194 ], 22, 0 ); const_str_digest_a78a413585876207c3be67d4282e8a64 = UNSTREAM_STRING( &constant_bin[ 1293216 ], 63, 0 ); const_str_digest_9f02888736ba1221499f68faef877635 = UNSTREAM_STRING( &constant_bin[ 1293279 ], 24, 0 ); const_tuple_cb464963e22ce127d0ee0ff60387cdb5_tuple = PyTuple_New( 8 ); PyTuple_SET_ITEM( const_tuple_cb464963e22ce127d0ee0ff60387cdb5_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self ); PyTuple_SET_ITEM( const_tuple_cb464963e22ce127d0ee0ff60387cdb5_tuple, 1, const_str_plain_title ); Py_INCREF( const_str_plain_title ); PyTuple_SET_ITEM( const_tuple_cb464963e22ce127d0ee0ff60387cdb5_tuple, 2, const_str_plain_description ); Py_INCREF( const_str_plain_description ); PyTuple_SET_ITEM( const_tuple_cb464963e22ce127d0ee0ff60387cdb5_tuple, 3, const_str_plain_photo ); Py_INCREF( const_str_plain_photo ); PyTuple_SET_ITEM( const_tuple_cb464963e22ce127d0ee0ff60387cdb5_tuple, 4, const_str_plain_text ); Py_INCREF( const_str_plain_text ); PyTuple_SET_ITEM( const_tuple_cb464963e22ce127d0ee0ff60387cdb5_tuple, 5, const_str_plain_text_entities ); Py_INCREF( const_str_plain_text_entities ); PyTuple_SET_ITEM( const_tuple_cb464963e22ce127d0ee0ff60387cdb5_tuple, 6, const_str_plain_animation ); Py_INCREF( const_str_plain_animation ); PyTuple_SET_ITEM( const_tuple_cb464963e22ce127d0ee0ff60387cdb5_tuple, 7, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs ); constants_created = true; } #ifndef __NUITKA_NO_ASSERT__ void checkModuleConstants_telegram$games$game( void ) { // The module may not have been used at all. if (constants_created == false) return; } #endif // The module code objects. static PyCodeObject *codeobj_ba9c8c66613bce8344e6e03a302a92cb; static PyCodeObject *codeobj_70f8204349460491f0780e7e72363a7b; static PyCodeObject *codeobj_40cfc2daeed66e9ab75a1c355f67f191; static PyCodeObject *codeobj_a8aee4bad58c039dd83fff12953165d4; static PyCodeObject *codeobj_47b5acfaad090af7e0405ea29621dc0a; static PyCodeObject *codeobj_330d4470ea67724e248c73a4781dfc18; static PyCodeObject *codeobj_223a50f7c54ff8410637acc5caf5afef; static PyCodeObject *codeobj_8e74142b330c3aa9d85048db863c285f; static PyCodeObject *codeobj_89e4a4e05cfe1a25ca4a85632ac48ae4; static PyCodeObject *codeobj_306ff8771a82870383a6440f7166ecdd; static void createModuleCodeObjects(void) { module_filename_obj = const_str_digest_ef65aab2f5f4d576545992b97cdbcc4f; codeobj_ba9c8c66613bce8344e6e03a302a92cb = MAKE_CODEOBJ( module_filename_obj, const_str_angle_dictcontraction, 146, const_tuple_str_plain_entity_str_plain_types_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_70f8204349460491f0780e7e72363a7b = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 91, const_tuple_str_plain_p_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_40cfc2daeed66e9ab75a1c355f67f191 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 93, const_tuple_str_plain_x_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_a8aee4bad58c039dd83fff12953165d4 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_852b49137eddf71242963122ba93e8a7, 1, const_tuple_empty, 0, 0, CO_NOFREE ); codeobj_47b5acfaad090af7e0405ea29621dc0a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Game, 26, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE ); codeobj_330d4470ea67724e248c73a4781dfc18 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 60, const_tuple_cb464963e22ce127d0ee0ff60387cdb5_tuple, 7, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE ); codeobj_223a50f7c54ff8410637acc5caf5afef = MAKE_CODEOBJ( module_filename_obj, const_str_plain_de_json, 75, const_tuple_20e0b3bec4ab147948eec94e87ff90d7_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS ); codeobj_8e74142b330c3aa9d85048db863c285f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_parse_text_entities, 122, const_tuple_str_plain_self_str_plain_types_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_89e4a4e05cfe1a25ca4a85632ac48ae4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_parse_text_entity, 97, const_tuple_str_plain_self_str_plain_entity_str_plain_entity_text_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE ); codeobj_306ff8771a82870383a6440f7166ecdd = MAKE_CODEOBJ( module_filename_obj, const_str_plain_to_dict, 88, const_tuple_str_plain_self_str_plain_data_str_plain___class___tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS ); } // The module function declarations. NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars ); NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_7_complex_call_helper_star_dict( PyObject **python_pars ); static PyObject *MAKE_FUNCTION_telegram$games$game$$$function_1___init__( PyObject *defaults ); static PyObject *MAKE_FUNCTION_telegram$games$game$$$function_2_de_json( ); static PyObject *MAKE_FUNCTION_telegram$games$game$$$function_3_to_dict( ); static PyObject *MAKE_FUNCTION_telegram$games$game$$$function_4_parse_text_entity( ); static PyObject *MAKE_FUNCTION_telegram$games$game$$$function_5_parse_text_entities( PyObject *defaults ); // The module function definitions. static PyObject *impl_telegram$games$game$$$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_title = python_pars[ 1 ]; PyObject *par_description = python_pars[ 2 ]; PyObject *par_photo = python_pars[ 3 ]; PyObject *par_text = python_pars[ 4 ]; PyObject *par_text_entities = python_pars[ 5 ]; PyObject *par_animation = python_pars[ 6 ]; PyObject *par_kwargs = python_pars[ 7 ]; struct Nuitka_FrameObject *frame_330d4470ea67724e248c73a4781dfc18; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; bool tmp_result; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; static struct Nuitka_FrameObject *cache_frame_330d4470ea67724e248c73a4781dfc18 = 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_330d4470ea67724e248c73a4781dfc18, codeobj_330d4470ea67724e248c73a4781dfc18, module_telegram$games$game, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_330d4470ea67724e248c73a4781dfc18 = cache_frame_330d4470ea67724e248c73a4781dfc18; // Push the new frame as the currently active one. pushFrameStack( frame_330d4470ea67724e248c73a4781dfc18 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_330d4470ea67724e248c73a4781dfc18 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assattr_name_1; PyObject *tmp_assattr_target_1; CHECK_OBJECT( par_title ); tmp_assattr_name_1 = par_title; CHECK_OBJECT( par_self ); tmp_assattr_target_1 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_title, tmp_assattr_name_1 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 68; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_2; PyObject *tmp_assattr_target_2; if ( par_description == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "description" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 69; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_2 = par_description; 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 = 69; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_2 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_description, tmp_assattr_name_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 69; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_3; PyObject *tmp_assattr_target_3; if ( par_photo == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "photo" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 70; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_3 = par_photo; 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 = 70; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_3 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_photo, tmp_assattr_name_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 70; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_4; PyObject *tmp_assattr_target_4; if ( par_text == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 71; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_4 = par_text; 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 = 71; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_4 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_text, tmp_assattr_name_4 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 71; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_5; int tmp_or_left_truth_1; PyObject *tmp_or_left_value_1; PyObject *tmp_or_right_value_1; PyObject *tmp_assattr_target_5; if ( par_text_entities == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "text_entities" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 72; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_or_left_value_1 = par_text_entities; tmp_or_left_truth_1 = CHECK_IF_TRUE( tmp_or_left_value_1 ); if ( tmp_or_left_truth_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 72; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } if ( tmp_or_left_truth_1 == 1 ) { goto or_left_1; } else { goto or_right_1; } or_right_1:; tmp_or_right_value_1 = PyList_New( 0 ); tmp_assattr_name_5 = tmp_or_right_value_1; goto or_end_1; or_left_1:; Py_INCREF( tmp_or_left_value_1 ); tmp_assattr_name_5 = tmp_or_left_value_1; or_end_1:; if ( par_self == NULL ) { Py_DECREF( tmp_assattr_name_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 72; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_5 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_text_entities, tmp_assattr_name_5 ); Py_DECREF( tmp_assattr_name_5 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 72; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } { PyObject *tmp_assattr_name_6; PyObject *tmp_assattr_target_6; if ( par_animation == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "animation" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 73; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_name_6 = par_animation; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 73; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } tmp_assattr_target_6 = par_self; tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain_animation, tmp_assattr_name_6 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 73; type_description_1 = "oooooooo"; goto frame_exception_exit_1; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_330d4470ea67724e248c73a4781dfc18 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_330d4470ea67724e248c73a4781dfc18 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_330d4470ea67724e248c73a4781dfc18, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_330d4470ea67724e248c73a4781dfc18->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_330d4470ea67724e248c73a4781dfc18, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_330d4470ea67724e248c73a4781dfc18, type_description_1, par_self, par_title, par_description, par_photo, par_text, par_text_entities, par_animation, par_kwargs ); // Release cached frame. if ( frame_330d4470ea67724e248c73a4781dfc18 == cache_frame_330d4470ea67724e248c73a4781dfc18 ) { Py_DECREF( frame_330d4470ea67724e248c73a4781dfc18 ); } cache_frame_330d4470ea67724e248c73a4781dfc18 = NULL; assertFrameObject( frame_330d4470ea67724e248c73a4781dfc18 ); // 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( telegram$games$game$$$function_1___init__ ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_title ); par_title = NULL; } { Py_XDECREF( par_description ); par_description = NULL; } { Py_XDECREF( par_photo ); par_photo = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_text_entities ); par_text_entities = NULL; } { Py_XDECREF( par_animation ); par_animation = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_title ); par_title = NULL; } { Py_XDECREF( par_description ); par_description = NULL; } { Py_XDECREF( par_photo ); par_photo = NULL; } { Py_XDECREF( par_text ); par_text = NULL; } { Py_XDECREF( par_text_entities ); par_text_entities = NULL; } { Py_XDECREF( par_animation ); par_animation = NULL; } { Py_XDECREF( par_kwargs ); par_kwargs = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( telegram$games$game$$$function_1___init__ ); return NULL; function_exception_exit: assert( exception_type ); RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return NULL; function_return_exit: CHECK_OBJECT( tmp_return_value ); assert( had_error || !ERROR_OCCURRED() ); return tmp_return_value; } static PyObject *impl_telegram$games$game$$$function_2_de_json( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_cls = python_pars[ 0 ]; PyObject *par_data = python_pars[ 1 ]; PyObject *par_bot = python_pars[ 2 ]; struct Nuitka_FrameObject *frame_223a50f7c54ff8410637acc5caf5afef; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; int tmp_res; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *tmp_return_value = NULL; bool tmp_result; static struct Nuitka_FrameObject *cache_frame_223a50f7c54ff8410637acc5caf5afef = 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_223a50f7c54ff8410637acc5caf5afef, codeobj_223a50f7c54ff8410637acc5caf5afef, module_telegram$games$game, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_223a50f7c54ff8410637acc5caf5afef = cache_frame_223a50f7c54ff8410637acc5caf5afef; // Push the new frame as the currently active one. pushFrameStack( frame_223a50f7c54ff8410637acc5caf5afef ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_223a50f7c54ff8410637acc5caf5afef ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_operand_name_1; CHECK_OBJECT( par_data ); tmp_operand_name_1 = par_data; tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 77; type_description_1 = "oooN"; 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; PyObject *tmp_called_name_1; PyObject *tmp_source_name_1; PyObject *tmp_type_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_object_name_1; PyObject *tmp_args_element_name_1; PyObject *tmp_args_element_name_2; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain_Game ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Game ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Game" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 80; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_type_name_1 = tmp_mvar_value_1; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 80; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_object_name_1 = par_cls; tmp_source_name_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 ); if ( tmp_source_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_de_json ); Py_DECREF( tmp_source_name_1 ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; type_description_1 = "oooN"; goto frame_exception_exit_1; } if ( par_data == NULL ) { Py_DECREF( tmp_called_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 80; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_args_element_name_1 = par_data; if ( par_bot == 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", "bot" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 80; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_args_element_name_2 = par_bot; frame_223a50f7c54ff8410637acc5caf5afef->m_frame.f_lineno = 80; { PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 }; tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 80; type_description_1 = "oooN"; goto frame_exception_exit_1; } { PyObject *old = par_data; par_data = tmp_assign_source_1; Py_XDECREF( old ); } } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_called_name_2; PyObject *tmp_source_name_2; PyObject *tmp_mvar_value_2; PyObject *tmp_args_element_name_3; PyObject *tmp_called_instance_1; PyObject *tmp_args_element_name_4; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain_PhotoSize ); if (unlikely( tmp_mvar_value_2 == NULL )) { tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PhotoSize ); } if ( tmp_mvar_value_2 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PhotoSize" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 82; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_source_name_2 = tmp_mvar_value_2; tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_de_list ); if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 82; type_description_1 = "oooN"; goto frame_exception_exit_1; } if ( par_data == NULL ) { Py_DECREF( tmp_called_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 82; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_called_instance_1 = par_data; frame_223a50f7c54ff8410637acc5caf5afef->m_frame.f_lineno = 82; tmp_args_element_name_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_plain_photo_tuple, 0 ) ); if ( tmp_args_element_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_2 ); exception_lineno = 82; type_description_1 = "oooN"; goto frame_exception_exit_1; } if ( par_bot == NULL ) { Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bot" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 82; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_args_element_name_4 = par_bot; frame_223a50f7c54ff8410637acc5caf5afef->m_frame.f_lineno = 82; { PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 }; tmp_ass_subvalue_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args ); } Py_DECREF( tmp_called_name_2 ); Py_DECREF( tmp_args_element_name_3 ); if ( tmp_ass_subvalue_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 82; type_description_1 = "oooN"; goto frame_exception_exit_1; } if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 82; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_ass_subscribed_1 = par_data; tmp_ass_subscript_1 = const_str_plain_photo; 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 = 82; type_description_1 = "oooN"; goto frame_exception_exit_1; } } { PyObject *tmp_ass_subvalue_2; PyObject *tmp_called_name_3; PyObject *tmp_source_name_3; PyObject *tmp_mvar_value_3; PyObject *tmp_args_element_name_5; PyObject *tmp_called_instance_2; PyObject *tmp_args_element_name_6; PyObject *tmp_ass_subscribed_2; PyObject *tmp_ass_subscript_2; tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain_MessageEntity ); if (unlikely( tmp_mvar_value_3 == NULL )) { tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_MessageEntity ); } if ( tmp_mvar_value_3 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "MessageEntity" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 83; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_source_name_3 = tmp_mvar_value_3; tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_de_list ); if ( tmp_called_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 83; type_description_1 = "oooN"; goto frame_exception_exit_1; } if ( par_data == NULL ) { Py_DECREF( tmp_called_name_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 83; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_called_instance_2 = par_data; frame_223a50f7c54ff8410637acc5caf5afef->m_frame.f_lineno = 83; tmp_args_element_name_5 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_plain_text_entities_tuple, 0 ) ); if ( tmp_args_element_name_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_3 ); exception_lineno = 83; type_description_1 = "oooN"; goto frame_exception_exit_1; } if ( par_bot == NULL ) { Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_5 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bot" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 83; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_args_element_name_6 = par_bot; frame_223a50f7c54ff8410637acc5caf5afef->m_frame.f_lineno = 83; { PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 }; tmp_ass_subvalue_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args ); } Py_DECREF( tmp_called_name_3 ); Py_DECREF( tmp_args_element_name_5 ); if ( tmp_ass_subvalue_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 83; type_description_1 = "oooN"; goto frame_exception_exit_1; } if ( par_data == NULL ) { Py_DECREF( tmp_ass_subvalue_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 83; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_ass_subscribed_2 = par_data; tmp_ass_subscript_2 = const_str_plain_text_entities; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2 ); Py_DECREF( tmp_ass_subvalue_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 83; type_description_1 = "oooN"; goto frame_exception_exit_1; } } { PyObject *tmp_ass_subvalue_3; PyObject *tmp_called_name_4; PyObject *tmp_source_name_4; PyObject *tmp_mvar_value_4; PyObject *tmp_args_element_name_7; PyObject *tmp_called_instance_3; PyObject *tmp_args_element_name_8; PyObject *tmp_ass_subscribed_3; PyObject *tmp_ass_subscript_3; tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain_Animation ); if (unlikely( tmp_mvar_value_4 == NULL )) { tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Animation ); } if ( tmp_mvar_value_4 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Animation" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 84; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_source_name_4 = tmp_mvar_value_4; tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_de_json ); if ( tmp_called_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; type_description_1 = "oooN"; goto frame_exception_exit_1; } if ( par_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 84; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_called_instance_3 = par_data; frame_223a50f7c54ff8410637acc5caf5afef->m_frame.f_lineno = 84; tmp_args_element_name_7 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_plain_animation_tuple, 0 ) ); if ( tmp_args_element_name_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_called_name_4 ); exception_lineno = 84; type_description_1 = "oooN"; goto frame_exception_exit_1; } if ( par_bot == NULL ) { Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_7 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bot" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 84; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_args_element_name_8 = par_bot; frame_223a50f7c54ff8410637acc5caf5afef->m_frame.f_lineno = 84; { PyObject *call_args[] = { tmp_args_element_name_7, tmp_args_element_name_8 }; tmp_ass_subvalue_3 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_4, call_args ); } Py_DECREF( tmp_called_name_4 ); Py_DECREF( tmp_args_element_name_7 ); if ( tmp_ass_subvalue_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; type_description_1 = "oooN"; goto frame_exception_exit_1; } if ( par_data == NULL ) { Py_DECREF( tmp_ass_subvalue_3 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 84; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_ass_subscribed_3 = par_data; tmp_ass_subscript_3 = const_str_plain_animation; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_3, tmp_ass_subscript_3, tmp_ass_subvalue_3 ); Py_DECREF( tmp_ass_subvalue_3 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 84; type_description_1 = "oooN"; goto frame_exception_exit_1; } } { PyObject *tmp_dircall_arg1_1; PyObject *tmp_dircall_arg2_1; if ( par_cls == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 86; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_dircall_arg1_1 = par_cls; if ( par_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 86; type_description_1 = "oooN"; goto frame_exception_exit_1; } tmp_dircall_arg2_1 = par_data; 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_return_value = impl___internal__$$$function_7_complex_call_helper_star_dict( dir_call_args ); } if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 86; type_description_1 = "oooN"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_223a50f7c54ff8410637acc5caf5afef ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_223a50f7c54ff8410637acc5caf5afef ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_223a50f7c54ff8410637acc5caf5afef ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_223a50f7c54ff8410637acc5caf5afef, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_223a50f7c54ff8410637acc5caf5afef->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_223a50f7c54ff8410637acc5caf5afef, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_223a50f7c54ff8410637acc5caf5afef, type_description_1, par_cls, par_data, par_bot, NULL ); // Release cached frame. if ( frame_223a50f7c54ff8410637acc5caf5afef == cache_frame_223a50f7c54ff8410637acc5caf5afef ) { Py_DECREF( frame_223a50f7c54ff8410637acc5caf5afef ); } cache_frame_223a50f7c54ff8410637acc5caf5afef = NULL; assertFrameObject( frame_223a50f7c54ff8410637acc5caf5afef ); // 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( telegram$games$game$$$function_2_de_json ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_bot ); par_bot = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_cls ); par_cls = NULL; } { Py_XDECREF( par_data ); par_data = NULL; } { Py_XDECREF( par_bot ); par_bot = 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( telegram$games$game$$$function_2_de_json ); 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_telegram$games$game$$$function_3_to_dict( struct Nuitka_FunctionObject const *self, PyObject **python_pars ) { // Preserve error status for checks #ifndef __NUITKA_NO_ASSERT__ NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED(); #endif // Local variable declarations. PyObject *par_self = python_pars[ 0 ]; PyObject *var_data = NULL; PyObject *outline_0_var_p = NULL; PyObject *outline_1_var_x = NULL; PyObject *tmp_listcomp_1__$0 = NULL; PyObject *tmp_listcomp_1__contraction = NULL; PyObject *tmp_listcomp_1__iter_value_0 = NULL; PyObject *tmp_listcomp_2__$0 = NULL; PyObject *tmp_listcomp_2__contraction = NULL; PyObject *tmp_listcomp_2__iter_value_0 = NULL; struct Nuitka_FrameObject *frame_306ff8771a82870383a6440f7166ecdd; 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_70f8204349460491f0780e7e72363a7b_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_70f8204349460491f0780e7e72363a7b_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; bool tmp_result; struct Nuitka_FrameObject *frame_40cfc2daeed66e9ab75a1c355f67f191_3; NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; static struct Nuitka_FrameObject *cache_frame_40cfc2daeed66e9ab75a1c355f67f191_3 = 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; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_306ff8771a82870383a6440f7166ecdd = NULL; PyObject *exception_keeper_type_5; PyObject *exception_keeper_value_5; PyTracebackObject *exception_keeper_tb_5; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5; // Actual function code. { // Tried code: MAKE_OR_REUSE_FRAME( cache_frame_306ff8771a82870383a6440f7166ecdd, codeobj_306ff8771a82870383a6440f7166ecdd, module_telegram$games$game, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_306ff8771a82870383a6440f7166ecdd = cache_frame_306ff8771a82870383a6440f7166ecdd; // Push the new frame as the currently active one. pushFrameStack( frame_306ff8771a82870383a6440f7166ecdd ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_306ff8771a82870383a6440f7166ecdd ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; PyObject *tmp_type_name_1; PyObject *tmp_mvar_value_1; PyObject *tmp_object_name_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain_Game ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Game ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Game" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 89; type_description_1 = "ooN"; goto frame_exception_exit_1; } tmp_type_name_1 = tmp_mvar_value_1; CHECK_OBJECT( par_self ); tmp_object_name_1 = par_self; tmp_called_instance_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_1 = "ooN"; goto frame_exception_exit_1; } frame_306ff8771a82870383a6440f7166ecdd->m_frame.f_lineno = 89; tmp_assign_source_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_to_dict ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 89; type_description_1 = "ooN"; goto frame_exception_exit_1; } assert( var_data == NULL ); var_data = tmp_assign_source_1; } { PyObject *tmp_ass_subvalue_1; PyObject *tmp_ass_subscribed_1; PyObject *tmp_ass_subscript_1; { // Tried code: { PyObject *tmp_assign_source_2; 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 = 91; type_description_1 = "ooN"; goto try_except_handler_2; } tmp_source_name_1 = par_self; tmp_iter_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_photo ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 91; type_description_1 = "ooN"; 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 = 91; type_description_1 = "ooN"; 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_70f8204349460491f0780e7e72363a7b_2, codeobj_70f8204349460491f0780e7e72363a7b, module_telegram$games$game, sizeof(void *) ); frame_70f8204349460491f0780e7e72363a7b_2 = cache_frame_70f8204349460491f0780e7e72363a7b_2; // Push the new frame as the currently active one. pushFrameStack( frame_70f8204349460491f0780e7e72363a7b_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_70f8204349460491f0780e7e72363a7b_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 = 91; 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_p; outline_0_var_p = tmp_assign_source_5; Py_INCREF( outline_0_var_p ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_1; PyObject *tmp_append_value_1; PyObject *tmp_called_instance_2; CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_append_list_1 = tmp_listcomp_1__contraction; CHECK_OBJECT( outline_0_var_p ); tmp_called_instance_2 = outline_0_var_p; frame_70f8204349460491f0780e7e72363a7b_2->m_frame.f_lineno = 91; tmp_append_value_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_to_dict ); if ( tmp_append_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 91; 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 = 91; 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 = 91; type_description_2 = "o"; goto try_except_handler_3; } goto loop_start_1; loop_end_1:; } { CHECK_OBJECT( tmp_listcomp_1__contraction ); tmp_ass_subvalue_1 = tmp_listcomp_1__contraction; Py_INCREF( tmp_ass_subvalue_1 ); goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( telegram$games$game$$$function_3_to_dict ); 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_70f8204349460491f0780e7e72363a7b_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_70f8204349460491f0780e7e72363a7b_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_70f8204349460491f0780e7e72363a7b_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_70f8204349460491f0780e7e72363a7b_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_70f8204349460491f0780e7e72363a7b_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_70f8204349460491f0780e7e72363a7b_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_70f8204349460491f0780e7e72363a7b_2, type_description_2, outline_0_var_p ); // Release cached frame. if ( frame_70f8204349460491f0780e7e72363a7b_2 == cache_frame_70f8204349460491f0780e7e72363a7b_2 ) { Py_DECREF( frame_70f8204349460491f0780e7e72363a7b_2 ); } cache_frame_70f8204349460491f0780e7e72363a7b_2 = NULL; assertFrameObject( frame_70f8204349460491f0780e7e72363a7b_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 = "ooN"; goto try_except_handler_2; skip_nested_handling_1:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( telegram$games$game$$$function_3_to_dict ); return NULL; // Return handler code: try_return_handler_2:; { Py_XDECREF( outline_0_var_p ); outline_0_var_p = 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_p ); outline_0_var_p = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( telegram$games$game$$$function_3_to_dict ); return NULL; outline_exception_1:; exception_lineno = 91; goto frame_exception_exit_1; outline_result_1:; if ( var_data == 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", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 91; type_description_1 = "ooN"; goto frame_exception_exit_1; } tmp_ass_subscribed_1 = var_data; tmp_ass_subscript_1 = const_str_plain_photo; 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 = 91; type_description_1 = "ooN"; goto frame_exception_exit_1; } } { nuitka_bool tmp_condition_result_1; PyObject *tmp_source_name_2; PyObject *tmp_attribute_value_1; int tmp_truth_name_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 92; type_description_1 = "ooN"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_text_entities ); if ( tmp_attribute_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 92; type_description_1 = "ooN"; goto frame_exception_exit_1; } 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 = 92; type_description_1 = "ooN"; 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_ass_subvalue_2; PyObject *tmp_ass_subscribed_2; PyObject *tmp_ass_subscript_2; { // Tried code: { PyObject *tmp_assign_source_6; PyObject *tmp_iter_arg_2; PyObject *tmp_source_name_3; 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 = 93; type_description_1 = "ooN"; goto try_except_handler_4; } tmp_source_name_3 = par_self; tmp_iter_arg_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_text_entities ); if ( tmp_iter_arg_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 93; type_description_1 = "ooN"; goto try_except_handler_4; } tmp_assign_source_6 = MAKE_ITERATOR( tmp_iter_arg_2 ); Py_DECREF( tmp_iter_arg_2 ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 93; type_description_1 = "ooN"; goto try_except_handler_4; } assert( tmp_listcomp_2__$0 == NULL ); tmp_listcomp_2__$0 = tmp_assign_source_6; } { PyObject *tmp_assign_source_7; tmp_assign_source_7 = PyList_New( 0 ); assert( tmp_listcomp_2__contraction == NULL ); tmp_listcomp_2__contraction = tmp_assign_source_7; } MAKE_OR_REUSE_FRAME( cache_frame_40cfc2daeed66e9ab75a1c355f67f191_3, codeobj_40cfc2daeed66e9ab75a1c355f67f191, module_telegram$games$game, sizeof(void *) ); frame_40cfc2daeed66e9ab75a1c355f67f191_3 = cache_frame_40cfc2daeed66e9ab75a1c355f67f191_3; // Push the new frame as the currently active one. pushFrameStack( frame_40cfc2daeed66e9ab75a1c355f67f191_3 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_40cfc2daeed66e9ab75a1c355f67f191_3 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_2:; { PyObject *tmp_next_source_2; PyObject *tmp_assign_source_8; CHECK_OBJECT( tmp_listcomp_2__$0 ); tmp_next_source_2 = tmp_listcomp_2__$0; tmp_assign_source_8 = ITERATOR_NEXT( tmp_next_source_2 ); if ( tmp_assign_source_8 == NULL ) { if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() ) { goto loop_end_2; } else { FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); type_description_2 = "o"; exception_lineno = 93; goto try_except_handler_5; } } { PyObject *old = tmp_listcomp_2__iter_value_0; tmp_listcomp_2__iter_value_0 = tmp_assign_source_8; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_9; CHECK_OBJECT( tmp_listcomp_2__iter_value_0 ); tmp_assign_source_9 = tmp_listcomp_2__iter_value_0; { PyObject *old = outline_1_var_x; outline_1_var_x = tmp_assign_source_9; Py_INCREF( outline_1_var_x ); Py_XDECREF( old ); } } { PyObject *tmp_append_list_2; PyObject *tmp_append_value_2; PyObject *tmp_called_instance_3; CHECK_OBJECT( tmp_listcomp_2__contraction ); tmp_append_list_2 = tmp_listcomp_2__contraction; CHECK_OBJECT( outline_1_var_x ); tmp_called_instance_3 = outline_1_var_x; frame_40cfc2daeed66e9ab75a1c355f67f191_3->m_frame.f_lineno = 93; tmp_append_value_2 = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_to_dict ); if ( tmp_append_value_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 93; type_description_2 = "o"; goto try_except_handler_5; } assert( PyList_Check( tmp_append_list_2 ) ); tmp_res = PyList_Append( tmp_append_list_2, tmp_append_value_2 ); Py_DECREF( tmp_append_value_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 93; type_description_2 = "o"; goto try_except_handler_5; } } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 93; type_description_2 = "o"; goto try_except_handler_5; } goto loop_start_2; loop_end_2:; } { CHECK_OBJECT( tmp_listcomp_2__contraction ); tmp_ass_subvalue_2 = tmp_listcomp_2__contraction; Py_INCREF( tmp_ass_subvalue_2 ); goto try_return_handler_5; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( telegram$games$game$$$function_3_to_dict ); return NULL; // Return handler code: try_return_handler_5:; { CHECK_OBJECT( (PyObject *)tmp_listcomp_2__$0 ); Py_DECREF( tmp_listcomp_2__$0 ); tmp_listcomp_2__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_2__contraction ); Py_DECREF( tmp_listcomp_2__contraction ); tmp_listcomp_2__contraction = NULL; } { Py_XDECREF( tmp_listcomp_2__iter_value_0 ); tmp_listcomp_2__iter_value_0 = NULL; } { goto frame_return_exit_3; } // Exception handler code: try_except_handler_5:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_listcomp_2__$0 ); Py_DECREF( tmp_listcomp_2__$0 ); tmp_listcomp_2__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_listcomp_2__contraction ); Py_DECREF( tmp_listcomp_2__contraction ); tmp_listcomp_2__contraction = NULL; } { Py_XDECREF( tmp_listcomp_2__iter_value_0 ); tmp_listcomp_2__iter_value_0 = NULL; } { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto frame_exception_exit_3; } // End of try: } #if 0 RESTORE_FRAME_EXCEPTION( frame_40cfc2daeed66e9ab75a1c355f67f191_3 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_return_exit_3:; #if 0 RESTORE_FRAME_EXCEPTION( frame_40cfc2daeed66e9ab75a1c355f67f191_3 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_4; frame_exception_exit_3:; #if 0 RESTORE_FRAME_EXCEPTION( frame_40cfc2daeed66e9ab75a1c355f67f191_3 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_40cfc2daeed66e9ab75a1c355f67f191_3, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_40cfc2daeed66e9ab75a1c355f67f191_3->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_40cfc2daeed66e9ab75a1c355f67f191_3, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_40cfc2daeed66e9ab75a1c355f67f191_3, type_description_2, outline_1_var_x ); // Release cached frame. if ( frame_40cfc2daeed66e9ab75a1c355f67f191_3 == cache_frame_40cfc2daeed66e9ab75a1c355f67f191_3 ) { Py_DECREF( frame_40cfc2daeed66e9ab75a1c355f67f191_3 ); } cache_frame_40cfc2daeed66e9ab75a1c355f67f191_3 = NULL; assertFrameObject( frame_40cfc2daeed66e9ab75a1c355f67f191_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:; type_description_1 = "ooN"; goto try_except_handler_4; skip_nested_handling_2:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( telegram$games$game$$$function_3_to_dict ); return NULL; // Return handler code: try_return_handler_4:; { Py_XDECREF( outline_1_var_x ); outline_1_var_x = NULL; } { goto outline_result_2; } // Exception handler code: try_except_handler_4:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( outline_1_var_x ); outline_1_var_x = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto outline_exception_2; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( telegram$games$game$$$function_3_to_dict ); return NULL; outline_exception_2:; exception_lineno = 93; goto frame_exception_exit_1; outline_result_2:; if ( var_data == NULL ) { Py_DECREF( tmp_ass_subvalue_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 93; type_description_1 = "ooN"; goto frame_exception_exit_1; } tmp_ass_subscribed_2 = var_data; tmp_ass_subscript_2 = const_str_plain_text_entities; tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2 ); Py_DECREF( tmp_ass_subvalue_2 ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 93; type_description_1 = "ooN"; goto frame_exception_exit_1; } } branch_no_1:; } { if ( var_data == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 95; type_description_1 = "ooN"; goto frame_exception_exit_1; } tmp_return_value = var_data; Py_INCREF( tmp_return_value ); goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_306ff8771a82870383a6440f7166ecdd ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_3; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_306ff8771a82870383a6440f7166ecdd ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_306ff8771a82870383a6440f7166ecdd ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_306ff8771a82870383a6440f7166ecdd, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_306ff8771a82870383a6440f7166ecdd->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_306ff8771a82870383a6440f7166ecdd, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_306ff8771a82870383a6440f7166ecdd, type_description_1, par_self, var_data, NULL ); // Release cached frame. if ( frame_306ff8771a82870383a6440f7166ecdd == cache_frame_306ff8771a82870383a6440f7166ecdd ) { Py_DECREF( frame_306ff8771a82870383a6440f7166ecdd ); } cache_frame_306ff8771a82870383a6440f7166ecdd = NULL; assertFrameObject( frame_306ff8771a82870383a6440f7166ecdd ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto try_except_handler_1; frame_no_exception_3:; // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( telegram$games$game$$$function_3_to_dict ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_data ); var_data = NULL; } { goto function_return_exit; } // Exception handler code: try_except_handler_1:; exception_keeper_type_5 = exception_type; exception_keeper_value_5 = exception_value; exception_keeper_tb_5 = exception_tb; exception_keeper_lineno_5 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( var_data ); var_data = NULL; } { // Re-raise. exception_type = exception_keeper_type_5; exception_value = exception_keeper_value_5; exception_tb = exception_keeper_tb_5; exception_lineno = exception_keeper_lineno_5; goto function_exception_exit; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( telegram$games$game$$$function_3_to_dict ); 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_telegram$games$game$$$function_4_parse_text_entity( 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_entity = python_pars[ 1 ]; PyObject *var_entity_text = NULL; struct Nuitka_FrameObject *frame_89e4a4e05cfe1a25ca4a85632ac48ae4; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; int tmp_res; PyObject *tmp_return_value = NULL; static struct Nuitka_FrameObject *cache_frame_89e4a4e05cfe1a25ca4a85632ac48ae4 = 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_89e4a4e05cfe1a25ca4a85632ac48ae4, codeobj_89e4a4e05cfe1a25ca4a85632ac48ae4, module_telegram$games$game, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_89e4a4e05cfe1a25ca4a85632ac48ae4 = cache_frame_89e4a4e05cfe1a25ca4a85632ac48ae4; // Push the new frame as the currently active one. pushFrameStack( frame_89e4a4e05cfe1a25ca4a85632ac48ae4 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_89e4a4e05cfe1a25ca4a85632ac48ae4 ) == 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; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_telegram$games$game, (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 = 114; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_compexpr_left_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_maxunicode ); if ( tmp_compexpr_left_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 114; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_compexpr_right_1 = const_int_pos_65535; tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 ); Py_DECREF( tmp_compexpr_left_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 114; 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_subscribed_name_1; PyObject *tmp_source_name_2; PyObject *tmp_subscript_name_1; PyObject *tmp_start_name_1; PyObject *tmp_source_name_3; PyObject *tmp_stop_name_1; PyObject *tmp_left_name_1; PyObject *tmp_source_name_4; PyObject *tmp_right_name_1; PyObject *tmp_source_name_5; PyObject *tmp_step_name_1; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 115; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_2 = par_self; tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_text ); if ( tmp_subscribed_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 115; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_entity == 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", "entity" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 115; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_3 = par_entity; tmp_start_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_offset ); if ( tmp_start_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_1 ); exception_lineno = 115; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_entity == NULL ) { Py_DECREF( tmp_subscribed_name_1 ); Py_DECREF( tmp_start_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "entity" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 115; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_4 = par_entity; tmp_left_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_offset ); if ( tmp_left_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_1 ); Py_DECREF( tmp_start_name_1 ); exception_lineno = 115; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_entity == NULL ) { Py_DECREF( tmp_subscribed_name_1 ); Py_DECREF( tmp_start_name_1 ); Py_DECREF( tmp_left_name_1 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "entity" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 115; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_5 = par_entity; tmp_right_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_length ); if ( tmp_right_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_1 ); Py_DECREF( tmp_start_name_1 ); Py_DECREF( tmp_left_name_1 ); exception_lineno = 115; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_stop_name_1 = 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_stop_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_subscribed_name_1 ); Py_DECREF( tmp_start_name_1 ); exception_lineno = 115; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_step_name_1 = Py_None; tmp_subscript_name_1 = MAKE_SLICEOBJ3( tmp_start_name_1, tmp_stop_name_1, tmp_step_name_1 ); Py_DECREF( tmp_start_name_1 ); Py_DECREF( tmp_stop_name_1 ); assert( !(tmp_subscript_name_1 == NULL) ); tmp_return_value = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 ); Py_DECREF( tmp_subscribed_name_1 ); Py_DECREF( tmp_subscript_name_1 ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 115; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } goto branch_end_1; branch_no_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_called_instance_1; PyObject *tmp_source_name_6; if ( par_self == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 117; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_6 = par_self; tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_text ); if ( tmp_called_instance_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 117; type_description_1 = "ooo"; goto frame_exception_exit_1; } frame_89e4a4e05cfe1a25ca4a85632ac48ae4->m_frame.f_lineno = 117; tmp_assign_source_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_encode, &PyTuple_GET_ITEM( const_tuple_str_digest_a166d0e20cf23102cf939cef62c22331_tuple, 0 ) ); Py_DECREF( tmp_called_instance_1 ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 117; type_description_1 = "ooo"; goto frame_exception_exit_1; } assert( var_entity_text == NULL ); var_entity_text = tmp_assign_source_1; } { PyObject *tmp_assign_source_2; PyObject *tmp_subscribed_name_2; PyObject *tmp_subscript_name_2; PyObject *tmp_start_name_2; PyObject *tmp_left_name_2; PyObject *tmp_source_name_7; PyObject *tmp_right_name_2; PyObject *tmp_stop_name_2; PyObject *tmp_left_name_3; PyObject *tmp_left_name_4; PyObject *tmp_source_name_8; PyObject *tmp_right_name_3; PyObject *tmp_source_name_9; PyObject *tmp_right_name_4; PyObject *tmp_step_name_2; CHECK_OBJECT( var_entity_text ); tmp_subscribed_name_2 = var_entity_text; if ( par_entity == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "entity" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 118; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_7 = par_entity; tmp_left_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_offset ); if ( tmp_left_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 118; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_right_name_2 = const_int_pos_2; tmp_start_name_2 = BINARY_OPERATION_MUL( tmp_left_name_2, tmp_right_name_2 ); Py_DECREF( tmp_left_name_2 ); if ( tmp_start_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 118; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_entity == NULL ) { Py_DECREF( tmp_start_name_2 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "entity" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 118; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_8 = par_entity; tmp_left_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_offset ); if ( tmp_left_name_4 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_start_name_2 ); exception_lineno = 118; type_description_1 = "ooo"; goto frame_exception_exit_1; } if ( par_entity == NULL ) { Py_DECREF( tmp_start_name_2 ); Py_DECREF( tmp_left_name_4 ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "entity" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 118; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_source_name_9 = par_entity; tmp_right_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_length ); if ( tmp_right_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_start_name_2 ); Py_DECREF( tmp_left_name_4 ); exception_lineno = 118; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_left_name_3 = BINARY_OPERATION_ADD( tmp_left_name_4, tmp_right_name_3 ); Py_DECREF( tmp_left_name_4 ); Py_DECREF( tmp_right_name_3 ); if ( tmp_left_name_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_start_name_2 ); exception_lineno = 118; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_right_name_4 = const_int_pos_2; tmp_stop_name_2 = BINARY_OPERATION_MUL( tmp_left_name_3, tmp_right_name_4 ); Py_DECREF( tmp_left_name_3 ); if ( tmp_stop_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_start_name_2 ); exception_lineno = 118; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_step_name_2 = Py_None; tmp_subscript_name_2 = MAKE_SLICEOBJ3( tmp_start_name_2, tmp_stop_name_2, tmp_step_name_2 ); Py_DECREF( tmp_start_name_2 ); Py_DECREF( tmp_stop_name_2 ); assert( !(tmp_subscript_name_2 == NULL) ); tmp_assign_source_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 ); Py_DECREF( tmp_subscript_name_2 ); if ( tmp_assign_source_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 118; type_description_1 = "ooo"; goto frame_exception_exit_1; } { PyObject *old = var_entity_text; var_entity_text = tmp_assign_source_2; Py_XDECREF( old ); } } branch_end_1:; } { PyObject *tmp_called_instance_2; if ( var_entity_text == NULL ) { exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "entity_text" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 120; type_description_1 = "ooo"; goto frame_exception_exit_1; } tmp_called_instance_2 = var_entity_text; frame_89e4a4e05cfe1a25ca4a85632ac48ae4->m_frame.f_lineno = 120; tmp_return_value = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_decode, &PyTuple_GET_ITEM( const_tuple_str_digest_a166d0e20cf23102cf939cef62c22331_tuple, 0 ) ); if ( tmp_return_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 120; type_description_1 = "ooo"; goto frame_exception_exit_1; } goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_89e4a4e05cfe1a25ca4a85632ac48ae4 ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_1; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_89e4a4e05cfe1a25ca4a85632ac48ae4 ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_89e4a4e05cfe1a25ca4a85632ac48ae4 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_89e4a4e05cfe1a25ca4a85632ac48ae4, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_89e4a4e05cfe1a25ca4a85632ac48ae4->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_89e4a4e05cfe1a25ca4a85632ac48ae4, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_89e4a4e05cfe1a25ca4a85632ac48ae4, type_description_1, par_self, par_entity, var_entity_text ); // Release cached frame. if ( frame_89e4a4e05cfe1a25ca4a85632ac48ae4 == cache_frame_89e4a4e05cfe1a25ca4a85632ac48ae4 ) { Py_DECREF( frame_89e4a4e05cfe1a25ca4a85632ac48ae4 ); } cache_frame_89e4a4e05cfe1a25ca4a85632ac48ae4 = NULL; assertFrameObject( frame_89e4a4e05cfe1a25ca4a85632ac48ae4 ); // 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( telegram$games$game$$$function_4_parse_text_entity ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_entity ); par_entity = NULL; } { Py_XDECREF( var_entity_text ); var_entity_text = 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_entity ); par_entity = NULL; } { Py_XDECREF( var_entity_text ); var_entity_text = 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( telegram$games$game$$$function_4_parse_text_entity ); 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_telegram$games$game$$$function_5_parse_text_entities( 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_types = python_pars[ 1 ]; PyObject *outline_0_var_entity = NULL; PyObject *tmp_dictcontraction_1__$0 = NULL; PyObject *tmp_dictcontraction_1__contraction = NULL; PyObject *tmp_dictcontraction_1__iter_value_0 = NULL; struct Nuitka_FrameObject *frame_8e74142b330c3aa9d85048db863c285f; 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; struct Nuitka_FrameObject *frame_ba9c8c66613bce8344e6e03a302a92cb_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; int tmp_res; PyObject *tmp_dictset_value; PyObject *tmp_dictset_dict; PyObject *tmp_dictset_key; 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_ba9c8c66613bce8344e6e03a302a92cb_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_8e74142b330c3aa9d85048db863c285f = 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_8e74142b330c3aa9d85048db863c285f, codeobj_8e74142b330c3aa9d85048db863c285f, module_telegram$games$game, sizeof(void *)+sizeof(void *) ); frame_8e74142b330c3aa9d85048db863c285f = cache_frame_8e74142b330c3aa9d85048db863c285f; // Push the new frame as the currently active one. pushFrameStack( frame_8e74142b330c3aa9d85048db863c285f ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_8e74142b330c3aa9d85048db863c285f ) == 2 ); // Frame stack // Framed code: { nuitka_bool tmp_condition_result_1; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( par_types ); tmp_compexpr_left_1 = par_types; tmp_compexpr_right_1 = Py_None; tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { PyObject *tmp_assign_source_1; PyObject *tmp_source_name_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain_MessageEntity ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_MessageEntity ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "MessageEntity" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 144; type_description_1 = "oo"; goto frame_exception_exit_1; } tmp_source_name_1 = tmp_mvar_value_1; tmp_assign_source_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_ALL_TYPES ); if ( tmp_assign_source_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 144; type_description_1 = "oo"; goto frame_exception_exit_1; } { PyObject *old = par_types; par_types = tmp_assign_source_1; Py_XDECREF( old ); } } branch_no_1:; } { { // Tried code: { PyObject *tmp_assign_source_2; PyObject *tmp_iter_arg_1; PyObject *tmp_source_name_2; 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 = 148; type_description_1 = "oo"; goto try_except_handler_2; } tmp_source_name_2 = par_self; tmp_iter_arg_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_text_entities ); if ( tmp_iter_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 148; type_description_1 = "oo"; 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 = 146; type_description_1 = "oo"; goto try_except_handler_2; } assert( tmp_dictcontraction_1__$0 == NULL ); tmp_dictcontraction_1__$0 = tmp_assign_source_2; } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = PyDict_New(); assert( tmp_dictcontraction_1__contraction == NULL ); tmp_dictcontraction_1__contraction = tmp_assign_source_3; } MAKE_OR_REUSE_FRAME( cache_frame_ba9c8c66613bce8344e6e03a302a92cb_2, codeobj_ba9c8c66613bce8344e6e03a302a92cb, module_telegram$games$game, sizeof(void *)+sizeof(void *)+sizeof(void *) ); frame_ba9c8c66613bce8344e6e03a302a92cb_2 = cache_frame_ba9c8c66613bce8344e6e03a302a92cb_2; // Push the new frame as the currently active one. pushFrameStack( frame_ba9c8c66613bce8344e6e03a302a92cb_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_ba9c8c66613bce8344e6e03a302a92cb_2 ) == 2 ); // Frame stack // Framed code: { // Tried code: { loop_start_1:; { PyObject *tmp_next_source_1; PyObject *tmp_assign_source_4; CHECK_OBJECT( tmp_dictcontraction_1__$0 ); tmp_next_source_1 = tmp_dictcontraction_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 = "ooo"; exception_lineno = 146; goto try_except_handler_3; } } { PyObject *old = tmp_dictcontraction_1__iter_value_0; tmp_dictcontraction_1__iter_value_0 = tmp_assign_source_4; Py_XDECREF( old ); } } { PyObject *tmp_assign_source_5; CHECK_OBJECT( tmp_dictcontraction_1__iter_value_0 ); tmp_assign_source_5 = tmp_dictcontraction_1__iter_value_0; { PyObject *old = outline_0_var_entity; outline_0_var_entity = tmp_assign_source_5; Py_INCREF( outline_0_var_entity ); Py_XDECREF( old ); } } { nuitka_bool tmp_condition_result_2; PyObject *tmp_compexpr_left_2; PyObject *tmp_compexpr_right_2; PyObject *tmp_source_name_3; CHECK_OBJECT( outline_0_var_entity ); tmp_source_name_3 = outline_0_var_entity; tmp_compexpr_left_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_type ); if ( tmp_compexpr_left_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 148; type_description_2 = "ooo"; goto try_except_handler_3; } if ( par_types == NULL ) { Py_DECREF( tmp_compexpr_left_2 ); exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "types" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 148; type_description_2 = "ooo"; goto try_except_handler_3; } tmp_compexpr_right_2 = par_types; tmp_res = PySequence_Contains( tmp_compexpr_right_2, tmp_compexpr_left_2 ); Py_DECREF( tmp_compexpr_left_2 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 148; type_description_2 = "ooo"; goto try_except_handler_3; } tmp_condition_result_2 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_called_name_1; PyObject *tmp_source_name_4; PyObject *tmp_args_element_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 = 147; type_description_2 = "ooo"; goto try_except_handler_3; } tmp_source_name_4 = par_self; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_parse_text_entity ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 147; type_description_2 = "ooo"; goto try_except_handler_3; } if ( outline_0_var_entity == 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", "entity" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 147; type_description_2 = "ooo"; goto try_except_handler_3; } tmp_args_element_name_1 = outline_0_var_entity; frame_ba9c8c66613bce8344e6e03a302a92cb_2->m_frame.f_lineno = 147; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args ); } Py_DECREF( tmp_called_name_1 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 147; type_description_2 = "ooo"; goto try_except_handler_3; } CHECK_OBJECT( tmp_dictcontraction_1__contraction ); tmp_dictset_dict = tmp_dictcontraction_1__contraction; if ( outline_0_var_entity == NULL ) { Py_DECREF( tmp_dictset_value ); exception_type = PyExc_UnboundLocalError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "entity" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 147; type_description_2 = "ooo"; goto try_except_handler_3; } tmp_dictset_key = outline_0_var_entity; tmp_res = PyDict_SetItem( tmp_dictset_dict, tmp_dictset_key, 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 = 146; type_description_2 = "ooo"; goto try_except_handler_3; } } branch_no_2:; } if ( CONSIDER_THREADING() == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 146; type_description_2 = "ooo"; goto try_except_handler_3; } goto loop_start_1; loop_end_1:; } { CHECK_OBJECT( tmp_dictcontraction_1__contraction ); tmp_return_value = tmp_dictcontraction_1__contraction; Py_INCREF( tmp_return_value ); goto try_return_handler_3; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( telegram$games$game$$$function_5_parse_text_entities ); return NULL; // Return handler code: try_return_handler_3:; { CHECK_OBJECT( (PyObject *)tmp_dictcontraction_1__$0 ); Py_DECREF( tmp_dictcontraction_1__$0 ); tmp_dictcontraction_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_dictcontraction_1__contraction ); Py_DECREF( tmp_dictcontraction_1__contraction ); tmp_dictcontraction_1__contraction = NULL; } { Py_XDECREF( tmp_dictcontraction_1__iter_value_0 ); tmp_dictcontraction_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_dictcontraction_1__$0 ); Py_DECREF( tmp_dictcontraction_1__$0 ); tmp_dictcontraction_1__$0 = NULL; } { CHECK_OBJECT( (PyObject *)tmp_dictcontraction_1__contraction ); Py_DECREF( tmp_dictcontraction_1__contraction ); tmp_dictcontraction_1__contraction = NULL; } { Py_XDECREF( tmp_dictcontraction_1__iter_value_0 ); tmp_dictcontraction_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_ba9c8c66613bce8344e6e03a302a92cb_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_ba9c8c66613bce8344e6e03a302a92cb_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_ba9c8c66613bce8344e6e03a302a92cb_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_ba9c8c66613bce8344e6e03a302a92cb_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_ba9c8c66613bce8344e6e03a302a92cb_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_ba9c8c66613bce8344e6e03a302a92cb_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_ba9c8c66613bce8344e6e03a302a92cb_2, type_description_2, outline_0_var_entity, par_types, par_self ); // Release cached frame. if ( frame_ba9c8c66613bce8344e6e03a302a92cb_2 == cache_frame_ba9c8c66613bce8344e6e03a302a92cb_2 ) { Py_DECREF( frame_ba9c8c66613bce8344e6e03a302a92cb_2 ); } cache_frame_ba9c8c66613bce8344e6e03a302a92cb_2 = NULL; assertFrameObject( frame_ba9c8c66613bce8344e6e03a302a92cb_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( telegram$games$game$$$function_5_parse_text_entities ); return NULL; // Return handler code: try_return_handler_2:; { Py_XDECREF( outline_0_var_entity ); outline_0_var_entity = 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_entity ); outline_0_var_entity = 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( telegram$games$game$$$function_5_parse_text_entities ); return NULL; outline_exception_1:; exception_lineno = 146; goto frame_exception_exit_1; outline_result_1:; goto frame_return_exit_1; } #if 0 RESTORE_FRAME_EXCEPTION( frame_8e74142b330c3aa9d85048db863c285f ); #endif // Put the previous frame back on top. popFrameStack(); goto frame_no_exception_2; frame_return_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8e74142b330c3aa9d85048db863c285f ); #endif // Put the previous frame back on top. popFrameStack(); goto try_return_handler_1; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_8e74142b330c3aa9d85048db863c285f ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_8e74142b330c3aa9d85048db863c285f, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_8e74142b330c3aa9d85048db863c285f->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_8e74142b330c3aa9d85048db863c285f, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_8e74142b330c3aa9d85048db863c285f, type_description_1, par_self, par_types ); // Release cached frame. if ( frame_8e74142b330c3aa9d85048db863c285f == cache_frame_8e74142b330c3aa9d85048db863c285f ) { Py_DECREF( frame_8e74142b330c3aa9d85048db863c285f ); } cache_frame_8e74142b330c3aa9d85048db863c285f = NULL; assertFrameObject( frame_8e74142b330c3aa9d85048db863c285f ); // 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( telegram$games$game$$$function_5_parse_text_entities ); return NULL; // Return handler code: try_return_handler_1:; { Py_XDECREF( par_self ); par_self = NULL; } { Py_XDECREF( par_types ); par_types = 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_types ); par_types = 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( telegram$games$game$$$function_5_parse_text_entities ); 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_telegram$games$game$$$function_1___init__( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_telegram$games$game$$$function_1___init__, const_str_plain___init__, #if PYTHON_VERSION >= 300 const_str_digest_ccd045eb2362961ef3e494ae3752ce90, #endif codeobj_330d4470ea67724e248c73a4781dfc18, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_telegram$games$game, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_telegram$games$game$$$function_2_de_json( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_telegram$games$game$$$function_2_de_json, const_str_plain_de_json, #if PYTHON_VERSION >= 300 const_str_digest_c1dd8ca28fe17ffdc436765b64341044, #endif codeobj_223a50f7c54ff8410637acc5caf5afef, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_telegram$games$game, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_telegram$games$game$$$function_3_to_dict( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_telegram$games$game$$$function_3_to_dict, const_str_plain_to_dict, #if PYTHON_VERSION >= 300 const_str_digest_8457211e90b7d954f8c13fa60179bfd6, #endif codeobj_306ff8771a82870383a6440f7166ecdd, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_telegram$games$game, NULL, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_telegram$games$game$$$function_4_parse_text_entity( ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_telegram$games$game$$$function_4_parse_text_entity, const_str_plain_parse_text_entity, #if PYTHON_VERSION >= 300 const_str_digest_cf278f57d543c6b937098904cd30fa21, #endif codeobj_89e4a4e05cfe1a25ca4a85632ac48ae4, NULL, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_telegram$games$game, const_str_digest_96adb1836e808c0a26b900f72cb71541, 0 ); return (PyObject *)result; } static PyObject *MAKE_FUNCTION_telegram$games$game$$$function_5_parse_text_entities( PyObject *defaults ) { struct Nuitka_FunctionObject *result = Nuitka_Function_New( impl_telegram$games$game$$$function_5_parse_text_entities, const_str_plain_parse_text_entities, #if PYTHON_VERSION >= 300 const_str_digest_9f02888736ba1221499f68faef877635, #endif codeobj_8e74142b330c3aa9d85048db863c285f, defaults, #if PYTHON_VERSION >= 300 NULL, NULL, #endif module_telegram$games$game, const_str_digest_5137ac984e88f9c1db05dec0e62277eb, 0 ); return (PyObject *)result; } #if PYTHON_VERSION >= 300 static struct PyModuleDef mdef_telegram$games$game = { PyModuleDef_HEAD_INIT, "telegram.games.game", /* 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( telegram$games$game ) { #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_telegram$games$game ); } 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("telegram.games.game: 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("telegram.games.game: Calling createModuleConstants()."); #endif createModuleConstants(); /* The code objects used by this module are created now. */ #ifdef _NUITKA_TRACE puts("telegram.games.game: Calling createModuleCodeObjects()."); #endif createModuleCodeObjects(); // puts( "in inittelegram$games$game" ); // 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_telegram$games$game = Py_InitModule4( "telegram.games.game", // 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_telegram$games$game = PyModule_Create( &mdef_telegram$games$game ); #endif moduledict_telegram$games$game = MODULE_DICT( module_telegram$games$game ); // Update "__package__" value to what it ought to be. { #if 0 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain___name__ ); UPDATE_STRING_DICT1( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain___package__, module_name ); #else #if PYTHON_VERSION < 300 PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_telegram$games$game, (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_telegram$games$game, (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_telegram$games$game, (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_telegram$games$game, (Nuitka_StringObject *)const_str_plain___package__, PyUnicode_Substring( module_name, 0, dot_index ) ); } #endif #endif } CHECK_OBJECT( module_telegram$games$game ); // 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_b0c37b45c42cdda3b53e5aff06e9690c, module_telegram$games$game ); 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_telegram$games$game, (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_telegram$games$game, (Nuitka_StringObject *)const_str_plain___builtins__, value ); } #if PYTHON_VERSION >= 300 UPDATE_STRING_DICT0( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader ); #endif #if PYTHON_VERSION >= 340 #if 0 UPDATE_STRING_DICT0( moduledict_telegram$games$game, (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_telegram$games$game, (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_telegram$games$game, (Nuitka_StringObject *)const_str_plain___spec__, spec_value ); Py_DECREF( module_spec_class ); } #endif #endif // Temp variables if any PyObject *outline_0_var___class__ = NULL; PyObject *tmp_class_creation_1__bases = NULL; PyObject *tmp_class_creation_1__bases_orig = NULL; PyObject *tmp_class_creation_1__class_decl_dict = NULL; PyObject *tmp_class_creation_1__metaclass = NULL; PyObject *tmp_class_creation_1__prepared = NULL; PyObject *tmp_import_from_1__module = NULL; struct Nuitka_FrameObject *frame_a8aee4bad58c039dd83fff12953165d4; NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL; PyObject *exception_type = NULL; PyObject *exception_value = NULL; PyTracebackObject *exception_tb = NULL; NUITKA_MAY_BE_UNUSED int exception_lineno = 0; PyObject *exception_keeper_type_1; PyObject *exception_keeper_value_1; PyTracebackObject *exception_keeper_tb_1; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1; int tmp_res; PyObject *tmp_dictdel_dict; PyObject *tmp_dictdel_key; bool tmp_result; PyObject *locals_telegram$games$game_26 = NULL; PyObject *tmp_dictset_value; struct Nuitka_FrameObject *frame_47b5acfaad090af7e0405ea29621dc0a_2; NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL; static struct Nuitka_FrameObject *cache_frame_47b5acfaad090af7e0405ea29621dc0a_2 = NULL; PyObject *exception_keeper_type_2; PyObject *exception_keeper_value_2; PyTracebackObject *exception_keeper_tb_2; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2; PyObject *exception_keeper_type_3; PyObject *exception_keeper_value_3; PyTracebackObject *exception_keeper_tb_3; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3; PyObject *exception_keeper_type_4; PyObject *exception_keeper_value_4; PyTracebackObject *exception_keeper_tb_4; NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4; // Module code. { PyObject *tmp_assign_source_1; tmp_assign_source_1 = const_str_digest_a78a413585876207c3be67d4282e8a64; UPDATE_STRING_DICT0( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 ); } { PyObject *tmp_assign_source_2; tmp_assign_source_2 = const_str_digest_ef65aab2f5f4d576545992b97cdbcc4f; UPDATE_STRING_DICT0( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain___file__, tmp_assign_source_2 ); } { PyObject *tmp_assign_source_3; tmp_assign_source_3 = Py_None; UPDATE_STRING_DICT0( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 ); } { PyObject *tmp_assign_source_4; PyObject *tmp_name_name_1; PyObject *tmp_globals_name_1; PyObject *tmp_locals_name_1; PyObject *tmp_fromlist_name_1; PyObject *tmp_level_name_1; tmp_name_name_1 = const_str_plain_sys; tmp_globals_name_1 = (PyObject *)moduledict_telegram$games$game; tmp_locals_name_1 = Py_None; tmp_fromlist_name_1 = Py_None; tmp_level_name_1 = const_int_0; tmp_assign_source_4 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 ); assert( !(tmp_assign_source_4 == NULL) ); UPDATE_STRING_DICT1( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain_sys, tmp_assign_source_4 ); } // Frame without reuse. frame_a8aee4bad58c039dd83fff12953165d4 = MAKE_MODULE_FRAME( codeobj_a8aee4bad58c039dd83fff12953165d4, module_telegram$games$game ); // Push the new frame as the currently active one, and we should be exclusively // owning it. pushFrameStack( frame_a8aee4bad58c039dd83fff12953165d4 ); assert( Py_REFCNT( frame_a8aee4bad58c039dd83fff12953165d4 ) == 2 ); // Framed code: { PyObject *tmp_assign_source_5; PyObject *tmp_name_name_2; PyObject *tmp_globals_name_2; PyObject *tmp_locals_name_2; PyObject *tmp_fromlist_name_2; PyObject *tmp_level_name_2; tmp_name_name_2 = const_str_plain_telegram; tmp_globals_name_2 = (PyObject *)moduledict_telegram$games$game; tmp_locals_name_2 = Py_None; tmp_fromlist_name_2 = const_tuple_bd8565c9775de88acfa49d4186ceea52_tuple; tmp_level_name_2 = const_int_0; frame_a8aee4bad58c039dd83fff12953165d4->m_frame.f_lineno = 23; tmp_assign_source_5 = IMPORT_MODULE5( tmp_name_name_2, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_2 ); if ( tmp_assign_source_5 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 23; goto frame_exception_exit_1; } assert( tmp_import_from_1__module == NULL ); tmp_import_from_1__module = tmp_assign_source_5; } { // 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_MessageEntity ); if ( tmp_assign_source_6 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 23; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain_MessageEntity, 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_TelegramObject ); if ( tmp_assign_source_7 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 23; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain_TelegramObject, 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_Animation ); if ( tmp_assign_source_8 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 23; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain_Animation, tmp_assign_source_8 ); } { PyObject *tmp_assign_source_9; PyObject *tmp_import_name_from_4; CHECK_OBJECT( tmp_import_from_1__module ); tmp_import_name_from_4 = tmp_import_from_1__module; tmp_assign_source_9 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_PhotoSize ); if ( tmp_assign_source_9 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 23; goto try_except_handler_1; } UPDATE_STRING_DICT1( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain_PhotoSize, tmp_assign_source_9 ); } goto try_end_1; // Exception handler code: try_except_handler_1:; exception_keeper_type_1 = exception_type; exception_keeper_value_1 = exception_value; exception_keeper_tb_1 = exception_tb; exception_keeper_lineno_1 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { CHECK_OBJECT( (PyObject *)tmp_import_from_1__module ); Py_DECREF( tmp_import_from_1__module ); tmp_import_from_1__module = NULL; } { // Re-raise. exception_type = exception_keeper_type_1; exception_value = exception_keeper_value_1; exception_tb = exception_keeper_tb_1; exception_lineno = exception_keeper_lineno_1; goto frame_exception_exit_1; } // End of try: try_end_1:; } { CHECK_OBJECT( (PyObject *)tmp_import_from_1__module ); Py_DECREF( tmp_import_from_1__module ); tmp_import_from_1__module = NULL; } { // Tried code: { PyObject *tmp_assign_source_10; PyObject *tmp_tuple_element_1; PyObject *tmp_mvar_value_1; tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain_TelegramObject ); if (unlikely( tmp_mvar_value_1 == NULL )) { tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_TelegramObject ); } if ( tmp_mvar_value_1 == NULL ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "TelegramObject" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 26; goto try_except_handler_2; } tmp_tuple_element_1 = tmp_mvar_value_1; tmp_assign_source_10 = PyTuple_New( 1 ); Py_INCREF( tmp_tuple_element_1 ); PyTuple_SET_ITEM( tmp_assign_source_10, 0, tmp_tuple_element_1 ); assert( tmp_class_creation_1__bases_orig == NULL ); tmp_class_creation_1__bases_orig = tmp_assign_source_10; } { PyObject *tmp_assign_source_11; PyObject *tmp_dircall_arg1_1; CHECK_OBJECT( tmp_class_creation_1__bases_orig ); tmp_dircall_arg1_1 = tmp_class_creation_1__bases_orig; Py_INCREF( tmp_dircall_arg1_1 ); { PyObject *dir_call_args[] = {tmp_dircall_arg1_1}; tmp_assign_source_11 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args ); } if ( tmp_assign_source_11 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_2; } assert( tmp_class_creation_1__bases == NULL ); tmp_class_creation_1__bases = tmp_assign_source_11; } { PyObject *tmp_assign_source_12; tmp_assign_source_12 = PyDict_New(); assert( tmp_class_creation_1__class_decl_dict == NULL ); tmp_class_creation_1__class_decl_dict = tmp_assign_source_12; } { PyObject *tmp_assign_source_13; PyObject *tmp_metaclass_name_1; nuitka_bool tmp_condition_result_1; PyObject *tmp_key_name_1; PyObject *tmp_dict_name_1; PyObject *tmp_dict_name_2; PyObject *tmp_key_name_2; nuitka_bool tmp_condition_result_2; int tmp_truth_name_1; PyObject *tmp_type_arg_1; PyObject *tmp_subscribed_name_1; PyObject *tmp_subscript_name_1; PyObject *tmp_bases_name_1; tmp_key_name_1 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dict_name_1 = tmp_class_creation_1__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_1, tmp_key_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_2; } tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE ) { goto condexpr_true_1; } else { goto condexpr_false_1; } condexpr_true_1:; CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict; tmp_key_name_2 = const_str_plain_metaclass; tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 ); if ( tmp_metaclass_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_2; } goto condexpr_end_1; condexpr_false_1:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_truth_name_1 = CHECK_IF_TRUE( tmp_class_creation_1__bases ); if ( tmp_truth_name_1 == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_2; } tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE ) { goto condexpr_true_2; } else { goto condexpr_false_2; } condexpr_true_2:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_subscribed_name_1 = tmp_class_creation_1__bases; tmp_subscript_name_1 = const_int_0; tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 ); if ( tmp_type_arg_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_2; } tmp_metaclass_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 ); Py_DECREF( tmp_type_arg_1 ); if ( tmp_metaclass_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_2; } goto condexpr_end_2; condexpr_false_2:; tmp_metaclass_name_1 = (PyObject *)&PyType_Type; Py_INCREF( tmp_metaclass_name_1 ); condexpr_end_2:; condexpr_end_1:; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_bases_name_1 = tmp_class_creation_1__bases; tmp_assign_source_13 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 ); Py_DECREF( tmp_metaclass_name_1 ); if ( tmp_assign_source_13 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_2; } assert( tmp_class_creation_1__metaclass == NULL ); tmp_class_creation_1__metaclass = tmp_assign_source_13; } { nuitka_bool tmp_condition_result_3; PyObject *tmp_key_name_3; PyObject *tmp_dict_name_3; tmp_key_name_3 = const_str_plain_metaclass; CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dict_name_3 = tmp_class_creation_1__class_decl_dict; tmp_res = PyDict_Contains( tmp_dict_name_3, tmp_key_name_3 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_2; } tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE ) { goto branch_yes_1; } else { goto branch_no_1; } branch_yes_1:; { CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict; tmp_dictdel_key = const_str_plain_metaclass; tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key ); if ( tmp_result == false ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_2; } } branch_no_1:; } { nuitka_bool tmp_condition_result_4; PyObject *tmp_source_name_1; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_1 = tmp_class_creation_1__metaclass; tmp_res = PyObject_HasAttr( tmp_source_name_1, const_str_plain___prepare__ ); tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE ) { goto branch_yes_2; } else { goto branch_no_2; } branch_yes_2:; { PyObject *tmp_assign_source_14; PyObject *tmp_called_name_1; PyObject *tmp_source_name_2; PyObject *tmp_args_name_1; PyObject *tmp_tuple_element_2; PyObject *tmp_kw_name_1; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_source_name_2 = tmp_class_creation_1__metaclass; tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___prepare__ ); if ( tmp_called_name_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_2; } tmp_tuple_element_2 = const_str_plain_Game; tmp_args_name_1 = PyTuple_New( 2 ); Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_2 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_2 ); PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_2 ); CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_kw_name_1 = tmp_class_creation_1__class_decl_dict; frame_a8aee4bad58c039dd83fff12953165d4->m_frame.f_lineno = 26; tmp_assign_source_14 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 ); Py_DECREF( tmp_called_name_1 ); Py_DECREF( tmp_args_name_1 ); if ( tmp_assign_source_14 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_2; } assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_14; } { nuitka_bool tmp_condition_result_5; PyObject *tmp_operand_name_1; PyObject *tmp_source_name_3; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_source_name_3 = tmp_class_creation_1__prepared; tmp_res = PyObject_HasAttr( tmp_source_name_3, const_str_plain___getitem__ ); tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False; tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_2; } tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE ) { goto branch_yes_3; } else { goto branch_no_3; } branch_yes_3:; { PyObject *tmp_raise_type_1; PyObject *tmp_raise_value_1; PyObject *tmp_left_name_1; PyObject *tmp_right_name_1; PyObject *tmp_tuple_element_3; PyObject *tmp_getattr_target_1; PyObject *tmp_getattr_attr_1; PyObject *tmp_getattr_default_1; PyObject *tmp_source_name_4; PyObject *tmp_type_arg_2; tmp_raise_type_1 = PyExc_TypeError; tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_getattr_target_1 = tmp_class_creation_1__metaclass; tmp_getattr_attr_1 = const_str_plain___name__; tmp_getattr_default_1 = const_str_angle_metaclass; tmp_tuple_element_3 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 ); if ( tmp_tuple_element_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_2; } tmp_right_name_1 = PyTuple_New( 2 ); PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_3 ); CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_type_arg_2 = tmp_class_creation_1__prepared; tmp_source_name_4 = BUILTIN_TYPE1( tmp_type_arg_2 ); assert( !(tmp_source_name_4 == NULL) ); tmp_tuple_element_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ ); Py_DECREF( tmp_source_name_4 ); if ( tmp_tuple_element_3 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); Py_DECREF( tmp_right_name_1 ); exception_lineno = 26; goto try_except_handler_2; } PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_3 ); tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 ); Py_DECREF( tmp_right_name_1 ); if ( tmp_raise_value_1 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_2; } exception_type = tmp_raise_type_1; Py_INCREF( tmp_raise_type_1 ); exception_value = tmp_raise_value_1; exception_lineno = 26; RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb ); goto try_except_handler_2; } branch_no_3:; } goto branch_end_2; branch_no_2:; { PyObject *tmp_assign_source_15; tmp_assign_source_15 = PyDict_New(); assert( tmp_class_creation_1__prepared == NULL ); tmp_class_creation_1__prepared = tmp_assign_source_15; } branch_end_2:; } { PyObject *tmp_assign_source_16; { PyObject *tmp_set_locals_1; CHECK_OBJECT( tmp_class_creation_1__prepared ); tmp_set_locals_1 = tmp_class_creation_1__prepared; locals_telegram$games$game_26 = tmp_set_locals_1; Py_INCREF( tmp_set_locals_1 ); } { // Tried code: { // Tried code: { tmp_dictset_value = const_str_digest_b0c37b45c42cdda3b53e5aff06e9690c; tmp_res = PyObject_SetItem( locals_telegram$games$game_26, 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 = 26; goto try_except_handler_4; } } { tmp_dictset_value = const_str_digest_eb8ca806985702e5e0e45801c984887f; tmp_res = PyObject_SetItem( locals_telegram$games$game_26, 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 = 26; goto try_except_handler_4; } } { tmp_dictset_value = const_str_plain_Game; tmp_res = PyObject_SetItem( locals_telegram$games$game_26, 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 = 26; goto try_except_handler_4; } } MAKE_OR_REUSE_FRAME( cache_frame_47b5acfaad090af7e0405ea29621dc0a_2, codeobj_47b5acfaad090af7e0405ea29621dc0a, module_telegram$games$game, sizeof(void *) ); frame_47b5acfaad090af7e0405ea29621dc0a_2 = cache_frame_47b5acfaad090af7e0405ea29621dc0a_2; // Push the new frame as the currently active one. pushFrameStack( frame_47b5acfaad090af7e0405ea29621dc0a_2 ); // Mark the frame object as in use, ref count 1 will be up for reuse. assert( Py_REFCNT( frame_47b5acfaad090af7e0405ea29621dc0a_2 ) == 2 ); // Frame stack // Framed code: { PyObject *tmp_defaults_1; tmp_defaults_1 = const_tuple_none_none_none_tuple; Py_INCREF( tmp_defaults_1 ); tmp_dictset_value = MAKE_FUNCTION_telegram$games$game$$$function_1___init__( tmp_defaults_1 ); tmp_res = PyObject_SetItem( locals_telegram$games$game_26, 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 = 60; type_description_2 = "o"; goto frame_exception_exit_2; } } { nuitka_bool tmp_condition_result_6; PyObject *tmp_called_name_2; PyObject *tmp_args_element_name_1; PyObject *tmp_classmethod_arg_1; tmp_res = MAPPING_HAS_ITEM( locals_telegram$games$game_26, const_str_plain_classmethod ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 75; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_condition_result_6 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_6 == NUITKA_BOOL_TRUE ) { goto condexpr_true_3; } else { goto condexpr_false_3; } condexpr_true_3:; tmp_called_name_2 = PyObject_GetItem( locals_telegram$games$game_26, const_str_plain_classmethod ); if ( tmp_called_name_2 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() ) { exception_type = PyExc_NameError; Py_INCREF( exception_type ); exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "classmethod" ); exception_tb = NULL; NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb ); CHAIN_EXCEPTION( exception_value ); exception_lineno = 75; type_description_2 = "o"; goto frame_exception_exit_2; } if ( tmp_called_name_2 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 75; type_description_2 = "o"; goto frame_exception_exit_2; } tmp_args_element_name_1 = MAKE_FUNCTION_telegram$games$game$$$function_2_de_json( ); frame_47b5acfaad090af7e0405ea29621dc0a_2->m_frame.f_lineno = 75; { PyObject *call_args[] = { tmp_args_element_name_1 }; tmp_dictset_value = 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_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 75; type_description_2 = "o"; goto frame_exception_exit_2; } goto condexpr_end_3; condexpr_false_3:; tmp_classmethod_arg_1 = MAKE_FUNCTION_telegram$games$game$$$function_2_de_json( ); tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_1 ); Py_DECREF( tmp_classmethod_arg_1 ); if ( tmp_dictset_value == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 75; type_description_2 = "o"; goto frame_exception_exit_2; } condexpr_end_3:; tmp_res = PyObject_SetItem( locals_telegram$games$game_26, const_str_plain_de_json, 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 = 75; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_telegram$games$game$$$function_3_to_dict( ); tmp_res = PyObject_SetItem( locals_telegram$games$game_26, const_str_plain_to_dict, 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 = 88; type_description_2 = "o"; goto frame_exception_exit_2; } } { tmp_dictset_value = MAKE_FUNCTION_telegram$games$game$$$function_4_parse_text_entity( ); tmp_res = PyObject_SetItem( locals_telegram$games$game_26, const_str_plain_parse_text_entity, tmp_dictset_value ); Py_DECREF( tmp_dictset_value ); if ( tmp_res != 0 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 97; type_description_2 = "o"; goto frame_exception_exit_2; } } { PyObject *tmp_defaults_2; tmp_defaults_2 = const_tuple_none_tuple; Py_INCREF( tmp_defaults_2 ); tmp_dictset_value = MAKE_FUNCTION_telegram$games$game$$$function_5_parse_text_entities( tmp_defaults_2 ); tmp_res = PyObject_SetItem( locals_telegram$games$game_26, const_str_plain_parse_text_entities, 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 = 122; type_description_2 = "o"; goto frame_exception_exit_2; } } #if 0 RESTORE_FRAME_EXCEPTION( frame_47b5acfaad090af7e0405ea29621dc0a_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_47b5acfaad090af7e0405ea29621dc0a_2 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_47b5acfaad090af7e0405ea29621dc0a_2, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_47b5acfaad090af7e0405ea29621dc0a_2->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_47b5acfaad090af7e0405ea29621dc0a_2, exception_lineno ); } // Attachs locals to frame if any. Nuitka_Frame_AttachLocals( (struct Nuitka_FrameObject *)frame_47b5acfaad090af7e0405ea29621dc0a_2, type_description_2, outline_0_var___class__ ); // Release cached frame. if ( frame_47b5acfaad090af7e0405ea29621dc0a_2 == cache_frame_47b5acfaad090af7e0405ea29621dc0a_2 ) { Py_DECREF( frame_47b5acfaad090af7e0405ea29621dc0a_2 ); } cache_frame_47b5acfaad090af7e0405ea29621dc0a_2 = NULL; assertFrameObject( frame_47b5acfaad090af7e0405ea29621dc0a_2 ); // Put the previous frame back on top. popFrameStack(); // Return the error. goto nested_frame_exit_1; frame_no_exception_1:; goto skip_nested_handling_1; nested_frame_exit_1:; goto try_except_handler_4; skip_nested_handling_1:; { nuitka_bool tmp_condition_result_7; PyObject *tmp_compexpr_left_1; PyObject *tmp_compexpr_right_1; CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_compexpr_left_1 = tmp_class_creation_1__bases; CHECK_OBJECT( tmp_class_creation_1__bases_orig ); tmp_compexpr_right_1 = tmp_class_creation_1__bases_orig; tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_1, tmp_compexpr_right_1 ); if ( tmp_res == -1 ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_4; } tmp_condition_result_7 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE; if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE ) { goto branch_yes_4; } else { goto branch_no_4; } branch_yes_4:; { CHECK_OBJECT( tmp_class_creation_1__bases_orig ); tmp_dictset_value = tmp_class_creation_1__bases_orig; tmp_res = PyObject_SetItem( locals_telegram$games$game_26, 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 = 26; goto try_except_handler_4; } } branch_no_4:; } { PyObject *tmp_assign_source_17; PyObject *tmp_called_name_3; PyObject *tmp_args_name_2; PyObject *tmp_tuple_element_4; PyObject *tmp_kw_name_2; CHECK_OBJECT( tmp_class_creation_1__metaclass ); tmp_called_name_3 = tmp_class_creation_1__metaclass; tmp_tuple_element_4 = const_str_plain_Game; tmp_args_name_2 = PyTuple_New( 3 ); Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_2, 0, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_1__bases ); tmp_tuple_element_4 = tmp_class_creation_1__bases; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_2, 1, tmp_tuple_element_4 ); tmp_tuple_element_4 = locals_telegram$games$game_26; Py_INCREF( tmp_tuple_element_4 ); PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_4 ); CHECK_OBJECT( tmp_class_creation_1__class_decl_dict ); tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict; frame_a8aee4bad58c039dd83fff12953165d4->m_frame.f_lineno = 26; tmp_assign_source_17 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_2, tmp_kw_name_2 ); Py_DECREF( tmp_args_name_2 ); if ( tmp_assign_source_17 == NULL ) { assert( ERROR_OCCURRED() ); FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb ); exception_lineno = 26; goto try_except_handler_4; } assert( outline_0_var___class__ == NULL ); outline_0_var___class__ = tmp_assign_source_17; } { CHECK_OBJECT( outline_0_var___class__ ); tmp_assign_source_16 = outline_0_var___class__; Py_INCREF( tmp_assign_source_16 ); goto try_return_handler_4; } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( telegram$games$game ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_4:; { Py_DECREF( locals_telegram$games$game_26 ); locals_telegram$games$game_26 = NULL; } { goto try_return_handler_3; } // Exception handler code: try_except_handler_4:; exception_keeper_type_2 = exception_type; exception_keeper_value_2 = exception_value; exception_keeper_tb_2 = exception_tb; exception_keeper_lineno_2 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_DECREF( locals_telegram$games$game_26 ); locals_telegram$games$game_26 = NULL; } { // Re-raise. exception_type = exception_keeper_type_2; exception_value = exception_keeper_value_2; exception_tb = exception_keeper_tb_2; exception_lineno = exception_keeper_lineno_2; goto try_except_handler_3; } // End of try: } // tried codes exits in all cases NUITKA_CANNOT_GET_HERE( telegram$games$game ); return MOD_RETURN_VALUE( NULL ); // Return handler code: try_return_handler_3:; { CHECK_OBJECT( (PyObject *)outline_0_var___class__ ); Py_DECREF( outline_0_var___class__ ); outline_0_var___class__ = NULL; } { goto outline_result_1; } // Exception handler code: try_except_handler_3:; exception_keeper_type_3 = exception_type; exception_keeper_value_3 = exception_value; exception_keeper_tb_3 = exception_tb; exception_keeper_lineno_3 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { // Re-raise. exception_type = exception_keeper_type_3; exception_value = exception_keeper_value_3; exception_tb = exception_keeper_tb_3; exception_lineno = exception_keeper_lineno_3; goto outline_exception_1; } // End of try: } // Return statement must have exited already. NUITKA_CANNOT_GET_HERE( telegram$games$game ); return MOD_RETURN_VALUE( NULL ); outline_exception_1:; exception_lineno = 26; goto try_except_handler_2; outline_result_1:; UPDATE_STRING_DICT1( moduledict_telegram$games$game, (Nuitka_StringObject *)const_str_plain_Game, tmp_assign_source_16 ); } goto try_end_2; // Exception handler code: try_except_handler_2:; exception_keeper_type_4 = exception_type; exception_keeper_value_4 = exception_value; exception_keeper_tb_4 = exception_tb; exception_keeper_lineno_4 = exception_lineno; exception_type = NULL; exception_value = NULL; exception_tb = NULL; exception_lineno = 0; { Py_XDECREF( tmp_class_creation_1__bases ); tmp_class_creation_1__bases = NULL; } { Py_XDECREF( tmp_class_creation_1__class_decl_dict ); tmp_class_creation_1__class_decl_dict = NULL; } { Py_XDECREF( tmp_class_creation_1__metaclass ); tmp_class_creation_1__metaclass = NULL; } { Py_XDECREF( tmp_class_creation_1__prepared ); tmp_class_creation_1__prepared = NULL; } { // Re-raise. exception_type = exception_keeper_type_4; exception_value = exception_keeper_value_4; exception_tb = exception_keeper_tb_4; exception_lineno = exception_keeper_lineno_4; goto frame_exception_exit_1; } // End of try: try_end_2:; } // Restore frame exception if necessary. #if 0 RESTORE_FRAME_EXCEPTION( frame_a8aee4bad58c039dd83fff12953165d4 ); #endif popFrameStack(); assertFrameObject( frame_a8aee4bad58c039dd83fff12953165d4 ); goto frame_no_exception_2; frame_exception_exit_1:; #if 0 RESTORE_FRAME_EXCEPTION( frame_a8aee4bad58c039dd83fff12953165d4 ); #endif if ( exception_tb == NULL ) { exception_tb = MAKE_TRACEBACK( frame_a8aee4bad58c039dd83fff12953165d4, exception_lineno ); } else if ( exception_tb->tb_frame != &frame_a8aee4bad58c039dd83fff12953165d4->m_frame ) { exception_tb = ADD_TRACEBACK( exception_tb, frame_a8aee4bad58c039dd83fff12953165d4, exception_lineno ); } // Put the previous frame back on top. popFrameStack(); // Return the error. goto module_exception_exit; frame_no_exception_2:; { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__bases ); Py_DECREF( tmp_class_creation_1__bases ); tmp_class_creation_1__bases = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__class_decl_dict ); Py_DECREF( tmp_class_creation_1__class_decl_dict ); tmp_class_creation_1__class_decl_dict = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__metaclass ); Py_DECREF( tmp_class_creation_1__metaclass ); tmp_class_creation_1__metaclass = NULL; } { CHECK_OBJECT( (PyObject *)tmp_class_creation_1__prepared ); Py_DECREF( tmp_class_creation_1__prepared ); tmp_class_creation_1__prepared = NULL; } return MOD_RETURN_VALUE( module_telegram$games$game ); module_exception_exit: RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb ); return MOD_RETURN_VALUE( NULL ); }