Files
fesmoo_perdoliq/baraban.build/module.telegram.callbackquery.c
2019-12-06 12:23:21 +03:00

5207 lines
165 KiB
C

/* Generated code for Python source for module 'telegram.callbackquery'
* 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$callbackquery 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$callbackquery;
PyDictObject *moduledict_telegram$callbackquery;
/* The module constants used, if any. */
extern PyObject *const_str_plain_from_user;
extern PyObject *const_str_plain___orig_bases__;
static PyObject *const_tuple_75759055a1263865d32421202af6c234_tuple;
extern PyObject *const_str_plain_data;
static PyObject *const_str_digest_6177f06b351fa82079f91b19df18034e;
extern PyObject *const_str_plain_metaclass;
extern PyObject *const_str_plain___module__;
extern PyObject *const_str_plain___name__;
extern PyObject *const_str_plain_Message;
extern PyObject *const_str_plain_from;
extern PyObject *const_str_plain___getitem__;
extern PyObject *const_tuple_str_plain_from_tuple;
extern PyObject *const_str_plain___qualname__;
extern PyObject *const_str_plain__id_attrs;
extern PyObject *const_str_angle_metaclass;
extern PyObject *const_tuple_str_plain___class___tuple;
static PyObject *const_str_digest_0fd478bf241ec0036c7bf49d45bf07c2;
extern PyObject *const_tuple_none_none_none_none_none_tuple;
extern PyObject *const_str_plain___file__;
static PyObject *const_str_digest_3a27a6a7c967ef1d5c205b395b05431b;
static PyObject *const_str_digest_41f81a3042a0602b178444f0e9ec1cfd;
extern PyObject *const_str_plain_User;
extern PyObject *const_str_plain_args;
extern PyObject *const_int_0;
extern PyObject *const_str_plain_CallbackQuery;
static PyObject *const_str_digest_cf4230d9b7ed276a48cb8b430d164d7a;
extern PyObject *const_str_plain_game_short_name;
extern PyObject *const_str_plain_chat_id;
extern PyObject *const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_tuple;
extern PyObject *const_str_plain_edit_message_caption;
extern PyObject *const_str_plain___prepare__;
extern PyObject *const_str_plain___init__;
extern PyObject *const_str_plain_answer;
static PyObject *const_str_digest_6040662bf03f4bbea03ddfe4752f9fa6;
extern PyObject *const_str_plain_bot;
extern PyObject *const_str_plain_edit_message_reply_markup;
extern PyObject *const_str_plain_TelegramObject;
static PyObject *const_str_digest_2382614829da4c7d3c41dc2f7566054a;
static PyObject *const_str_digest_8bf5021b7722215d9df2b1b997df8a34;
extern PyObject *const_str_plain_self;
extern PyObject *const_str_plain_message;
extern PyObject *const_str_plain_id;
extern PyObject *const_str_plain_edit_message_text;
static PyObject *const_str_digest_7cd7e918c33a778afbb6908200493ef2;
extern PyObject *const_str_plain_de_json;
static PyObject *const_str_digest_c269dc38aa1e42518d379e50050a235b;
extern PyObject *const_tuple_str_plain_message_tuple;
extern PyObject *const_str_plain_answerCallbackQuery;
extern PyObject *const_str_plain_None;
static PyObject *const_str_digest_4f0f1f2dad9617d88b804e6e52ba3fec;
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
extern PyObject *const_tuple_empty;
extern PyObject *const_str_plain_telegram;
extern PyObject *const_str_plain_get;
extern PyObject *const_str_plain_message_id;
extern PyObject *const_str_plain_classmethod;
static PyObject *const_str_digest_5ff8c07a0ac213ee04519b90b455b744;
extern PyObject *const_str_plain_kwargs;
static PyObject *const_str_digest_fd9ce657f35141aac400b98f3313168c;
extern PyObject *const_str_plain_cls;
static PyObject *const_str_plain_chat_instance;
extern PyObject *const_tuple_20e0b3bec4ab147948eec94e87ff90d7_tuple;
static PyObject *const_str_digest_74962f84f9efea9890afe360da673e5d;
static PyObject *const_tuple_str_plain_TelegramObject_str_plain_Message_str_plain_User_tuple;
extern PyObject *const_str_plain_type;
extern PyObject *const_str_plain_inline_message_id;
static PyObject *const_str_digest_682df3a9e8f73c188dc3d2391310f68f;
extern PyObject *const_str_plain___doc__;
extern PyObject *const_str_plain___cached__;
extern PyObject *const_str_plain___class__;
static PyObject *module_filename_obj;
static bool constants_created = false;
static void createModuleConstants( void )
{
const_tuple_75759055a1263865d32421202af6c234_tuple = PyTuple_New( 10 );
PyTuple_SET_ITEM( const_tuple_75759055a1263865d32421202af6c234_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
PyTuple_SET_ITEM( const_tuple_75759055a1263865d32421202af6c234_tuple, 1, const_str_plain_id ); Py_INCREF( const_str_plain_id );
PyTuple_SET_ITEM( const_tuple_75759055a1263865d32421202af6c234_tuple, 2, const_str_plain_from_user ); Py_INCREF( const_str_plain_from_user );
const_str_plain_chat_instance = UNSTREAM_STRING( &constant_bin[ 1233493 ], 13, 1 );
PyTuple_SET_ITEM( const_tuple_75759055a1263865d32421202af6c234_tuple, 3, const_str_plain_chat_instance ); Py_INCREF( const_str_plain_chat_instance );
PyTuple_SET_ITEM( const_tuple_75759055a1263865d32421202af6c234_tuple, 4, const_str_plain_message ); Py_INCREF( const_str_plain_message );
PyTuple_SET_ITEM( const_tuple_75759055a1263865d32421202af6c234_tuple, 5, const_str_plain_data ); Py_INCREF( const_str_plain_data );
PyTuple_SET_ITEM( const_tuple_75759055a1263865d32421202af6c234_tuple, 6, const_str_plain_inline_message_id ); Py_INCREF( const_str_plain_inline_message_id );
PyTuple_SET_ITEM( const_tuple_75759055a1263865d32421202af6c234_tuple, 7, const_str_plain_game_short_name ); Py_INCREF( const_str_plain_game_short_name );
PyTuple_SET_ITEM( const_tuple_75759055a1263865d32421202af6c234_tuple, 8, const_str_plain_bot ); Py_INCREF( const_str_plain_bot );
PyTuple_SET_ITEM( const_tuple_75759055a1263865d32421202af6c234_tuple, 9, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs );
const_str_digest_6177f06b351fa82079f91b19df18034e = UNSTREAM_STRING( &constant_bin[ 1233506 ], 22, 0 );
const_str_digest_0fd478bf241ec0036c7bf49d45bf07c2 = UNSTREAM_STRING( &constant_bin[ 1233528 ], 20, 0 );
const_str_digest_3a27a6a7c967ef1d5c205b395b05431b = UNSTREAM_STRING( &constant_bin[ 1233548 ], 39, 0 );
const_str_digest_41f81a3042a0602b178444f0e9ec1cfd = UNSTREAM_STRING( &constant_bin[ 1233587 ], 58, 0 );
const_str_digest_cf4230d9b7ed276a48cb8b430d164d7a = UNSTREAM_STRING( &constant_bin[ 1233645 ], 587, 0 );
const_str_digest_6040662bf03f4bbea03ddfe4752f9fa6 = UNSTREAM_STRING( &constant_bin[ 1234232 ], 71, 0 );
const_str_digest_2382614829da4c7d3c41dc2f7566054a = UNSTREAM_STRING( &constant_bin[ 1234303 ], 22, 0 );
const_str_digest_8bf5021b7722215d9df2b1b997df8a34 = UNSTREAM_STRING( &constant_bin[ 1234325 ], 2657, 0 );
const_str_digest_7cd7e918c33a778afbb6908200493ef2 = UNSTREAM_STRING( &constant_bin[ 1236982 ], 21, 0 );
const_str_digest_c269dc38aa1e42518d379e50050a235b = UNSTREAM_STRING( &constant_bin[ 1237003 ], 34, 0 );
const_str_digest_4f0f1f2dad9617d88b804e6e52ba3fec = UNSTREAM_STRING( &constant_bin[ 1237037 ], 183, 0 );
const_str_digest_5ff8c07a0ac213ee04519b90b455b744 = UNSTREAM_STRING( &constant_bin[ 1237220 ], 31, 0 );
const_str_digest_fd9ce657f35141aac400b98f3313168c = UNSTREAM_STRING( &constant_bin[ 1237251 ], 623, 0 );
const_str_digest_74962f84f9efea9890afe360da673e5d = UNSTREAM_STRING( &constant_bin[ 1237874 ], 602, 0 );
const_tuple_str_plain_TelegramObject_str_plain_Message_str_plain_User_tuple = PyTuple_New( 3 );
PyTuple_SET_ITEM( const_tuple_str_plain_TelegramObject_str_plain_Message_str_plain_User_tuple, 0, const_str_plain_TelegramObject ); Py_INCREF( const_str_plain_TelegramObject );
PyTuple_SET_ITEM( const_tuple_str_plain_TelegramObject_str_plain_Message_str_plain_User_tuple, 1, const_str_plain_Message ); Py_INCREF( const_str_plain_Message );
PyTuple_SET_ITEM( const_tuple_str_plain_TelegramObject_str_plain_Message_str_plain_User_tuple, 2, const_str_plain_User ); Py_INCREF( const_str_plain_User );
const_str_digest_682df3a9e8f73c188dc3d2391310f68f = UNSTREAM_STRING( &constant_bin[ 1238476 ], 31, 0 );
constants_created = true;
}
#ifndef __NUITKA_NO_ASSERT__
void checkModuleConstants_telegram$callbackquery( void )
{
// The module may not have been used at all.
if (constants_created == false) return;
}
#endif
// The module code objects.
static PyCodeObject *codeobj_fccec1c2622d8e813354900065faeda1;
static PyCodeObject *codeobj_1d4a6b67aa03281d28860b4cd13cdd86;
static PyCodeObject *codeobj_588918f9f4c78e3b0769932bd4eb2bbe;
static PyCodeObject *codeobj_fd7dea1e96584417e768aee5c51568bd;
static PyCodeObject *codeobj_6977091fc246e9818e62083c629fe150;
static PyCodeObject *codeobj_0ac2ed4dfd971b937a4f0427c129773e;
static PyCodeObject *codeobj_abffc095ed4c03f2b9e06f9eba8d4bd7;
static PyCodeObject *codeobj_bcee7b38d919177539e13b9b51b74012;
static void createModuleCodeObjects(void)
{
module_filename_obj = const_str_digest_41f81a3042a0602b178444f0e9ec1cfd;
codeobj_fccec1c2622d8e813354900065faeda1 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_5ff8c07a0ac213ee04519b90b455b744, 1, const_tuple_empty, 0, 0, CO_NOFREE );
codeobj_1d4a6b67aa03281d28860b4cd13cdd86 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_CallbackQuery, 24, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE );
codeobj_588918f9f4c78e3b0769932bd4eb2bbe = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 72, const_tuple_75759055a1263865d32421202af6c234_tuple, 9, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE );
codeobj_fd7dea1e96584417e768aee5c51568bd = MAKE_CODEOBJ( module_filename_obj, const_str_plain_answer, 108, const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE );
codeobj_6977091fc246e9818e62083c629fe150 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_de_json, 96, const_tuple_20e0b3bec4ab147948eec94e87ff90d7_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS );
codeobj_0ac2ed4dfd971b937a4f0427c129773e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_edit_message_caption, 143, const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE );
codeobj_abffc095ed4c03f2b9e06f9eba8d4bd7 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_edit_message_reply_markup, 167, const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE );
codeobj_bcee7b38d919177539e13b9b51b74012 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_edit_message_text, 119, const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE );
}
// 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_10_complex_call_helper_keywords_star_dict( PyObject **python_pars );
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_6_complex_call_helper_pos_star_list_star_dict( PyObject **python_pars );
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_12_complex_call_helper_keywords_star_list_star_dict( PyObject **python_pars );
static PyObject *MAKE_FUNCTION_telegram$callbackquery$$$function_1___init__( PyObject *defaults );
static PyObject *MAKE_FUNCTION_telegram$callbackquery$$$function_2_de_json( );
static PyObject *MAKE_FUNCTION_telegram$callbackquery$$$function_3_answer( );
static PyObject *MAKE_FUNCTION_telegram$callbackquery$$$function_4_edit_message_text( );
static PyObject *MAKE_FUNCTION_telegram$callbackquery$$$function_5_edit_message_caption( );
static PyObject *MAKE_FUNCTION_telegram$callbackquery$$$function_6_edit_message_reply_markup( );
// The module function definitions.
static PyObject *impl_telegram$callbackquery$$$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_id = python_pars[ 1 ];
PyObject *par_from_user = python_pars[ 2 ];
PyObject *par_chat_instance = python_pars[ 3 ];
PyObject *par_message = python_pars[ 4 ];
PyObject *par_data = python_pars[ 5 ];
PyObject *par_inline_message_id = python_pars[ 6 ];
PyObject *par_game_short_name = python_pars[ 7 ];
PyObject *par_bot = python_pars[ 8 ];
PyObject *par_kwargs = python_pars[ 9 ];
struct Nuitka_FrameObject *frame_588918f9f4c78e3b0769932bd4eb2bbe;
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_588918f9f4c78e3b0769932bd4eb2bbe = 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_588918f9f4c78e3b0769932bd4eb2bbe, codeobj_588918f9f4c78e3b0769932bd4eb2bbe, module_telegram$callbackquery, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_588918f9f4c78e3b0769932bd4eb2bbe = cache_frame_588918f9f4c78e3b0769932bd4eb2bbe;
// Push the new frame as the currently active one.
pushFrameStack( frame_588918f9f4c78e3b0769932bd4eb2bbe );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_588918f9f4c78e3b0769932bd4eb2bbe ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_name_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT( par_id );
tmp_assattr_name_1 = par_id;
CHECK_OBJECT( par_self );
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_id, tmp_assattr_name_1 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 83;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_2;
PyObject *tmp_assattr_target_2;
if ( par_from_user == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "from_user" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 84;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_2 = par_from_user;
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 = 84;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_from_user, tmp_assattr_name_2 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 84;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_3;
PyObject *tmp_assattr_target_3;
if ( par_chat_instance == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "chat_instance" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 85;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_3 = par_chat_instance;
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 = 85;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_chat_instance, tmp_assattr_name_3 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 85;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_4;
PyObject *tmp_assattr_target_4;
if ( par_message == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "message" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 87;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_4 = par_message;
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 = 87;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_message, tmp_assattr_name_4 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 87;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_5;
PyObject *tmp_assattr_target_5;
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 = 88;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_5 = par_data;
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 = 88;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_data, tmp_assattr_name_5 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 88;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_6;
PyObject *tmp_assattr_target_6;
if ( par_inline_message_id == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "inline_message_id" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 89;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_6 = par_inline_message_id;
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 = 89;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain_inline_message_id, tmp_assattr_name_6 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 89;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_7;
PyObject *tmp_assattr_target_7;
if ( par_game_short_name == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "game_short_name" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 90;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_7 = par_game_short_name;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 90;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_7, const_str_plain_game_short_name, tmp_assattr_name_7 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 90;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_8;
PyObject *tmp_assattr_target_8;
if ( par_bot == NULL )
{
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 = 92;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_8 = par_bot;
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 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_8 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_8, const_str_plain_bot, tmp_assattr_name_8 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 92;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_name_9;
PyObject *tmp_tuple_element_1;
PyObject *tmp_source_name_1;
PyObject *tmp_assattr_target_9;
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 = 94;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_source_name_1 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_id );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 94;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_name_9 = PyTuple_New( 1 );
PyTuple_SET_ITEM( tmp_assattr_name_9, 0, tmp_tuple_element_1 );
if ( par_self == NULL )
{
Py_DECREF( tmp_assattr_name_9 );
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 = 94;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_9 = par_self;
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_9, const_str_plain__id_attrs, tmp_assattr_name_9 );
Py_DECREF( tmp_assattr_name_9 );
if ( tmp_result == false )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 94;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_588918f9f4c78e3b0769932bd4eb2bbe );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_588918f9f4c78e3b0769932bd4eb2bbe );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_588918f9f4c78e3b0769932bd4eb2bbe, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_588918f9f4c78e3b0769932bd4eb2bbe->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_588918f9f4c78e3b0769932bd4eb2bbe, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_588918f9f4c78e3b0769932bd4eb2bbe,
type_description_1,
par_self,
par_id,
par_from_user,
par_chat_instance,
par_message,
par_data,
par_inline_message_id,
par_game_short_name,
par_bot,
par_kwargs
);
// Release cached frame.
if ( frame_588918f9f4c78e3b0769932bd4eb2bbe == cache_frame_588918f9f4c78e3b0769932bd4eb2bbe )
{
Py_DECREF( frame_588918f9f4c78e3b0769932bd4eb2bbe );
}
cache_frame_588918f9f4c78e3b0769932bd4eb2bbe = NULL;
assertFrameObject( frame_588918f9f4c78e3b0769932bd4eb2bbe );
// 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$callbackquery$$$function_1___init__ );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_id );
par_id = NULL;
}
{
Py_XDECREF( par_from_user );
par_from_user = NULL;
}
{
Py_XDECREF( par_chat_instance );
par_chat_instance = NULL;
}
{
Py_XDECREF( par_message );
par_message = NULL;
}
{
Py_XDECREF( par_data );
par_data = NULL;
}
{
Py_XDECREF( par_inline_message_id );
par_inline_message_id = NULL;
}
{
Py_XDECREF( par_game_short_name );
par_game_short_name = NULL;
}
{
Py_XDECREF( par_bot );
par_bot = 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_id );
par_id = NULL;
}
{
Py_XDECREF( par_from_user );
par_from_user = NULL;
}
{
Py_XDECREF( par_chat_instance );
par_chat_instance = NULL;
}
{
Py_XDECREF( par_message );
par_message = NULL;
}
{
Py_XDECREF( par_data );
par_data = NULL;
}
{
Py_XDECREF( par_inline_message_id );
par_inline_message_id = NULL;
}
{
Py_XDECREF( par_game_short_name );
par_game_short_name = NULL;
}
{
Py_XDECREF( par_bot );
par_bot = 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$callbackquery$$$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$callbackquery$$$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_6977091fc246e9818e62083c629fe150;
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_6977091fc246e9818e62083c629fe150 = 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_6977091fc246e9818e62083c629fe150, codeobj_6977091fc246e9818e62083c629fe150, module_telegram$callbackquery, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_6977091fc246e9818e62083c629fe150 = cache_frame_6977091fc246e9818e62083c629fe150;
// Push the new frame as the currently active one.
pushFrameStack( frame_6977091fc246e9818e62083c629fe150 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_6977091fc246e9818e62083c629fe150 ) == 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 = 98;
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$callbackquery, (Nuitka_StringObject *)const_str_plain_CallbackQuery );
if (unlikely( tmp_mvar_value_1 == NULL ))
{
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_CallbackQuery );
}
if ( tmp_mvar_value_1 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "CallbackQuery" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 101;
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 = 101;
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 = 101;
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 = 101;
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 = 101;
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 = 101;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_args_element_name_2 = par_bot;
frame_6977091fc246e9818e62083c629fe150->m_frame.f_lineno = 101;
{
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 = 101;
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$callbackquery, (Nuitka_StringObject *)const_str_plain_User );
if (unlikely( tmp_mvar_value_2 == NULL ))
{
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_User );
}
if ( tmp_mvar_value_2 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "User" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 103;
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_json );
if ( tmp_called_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 103;
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 = 103;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = par_data;
frame_6977091fc246e9818e62083c629fe150->m_frame.f_lineno = 103;
tmp_args_element_name_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_plain_from_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 = 103;
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 = 103;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_args_element_name_4 = par_bot;
frame_6977091fc246e9818e62083c629fe150->m_frame.f_lineno = 103;
{
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 = 103;
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 = 103;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_1 = par_data;
tmp_ass_subscript_1 = const_str_plain_from_user;
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 = 103;
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$callbackquery, (Nuitka_StringObject *)const_str_plain_Message );
if (unlikely( tmp_mvar_value_3 == NULL ))
{
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Message );
}
if ( tmp_mvar_value_3 == NULL )
{
exception_type = PyExc_NameError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Message" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 104;
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_json );
if ( tmp_called_name_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 104;
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 = 104;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = par_data;
frame_6977091fc246e9818e62083c629fe150->m_frame.f_lineno = 104;
tmp_args_element_name_5 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_plain_message_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 = 104;
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 = 104;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_args_element_name_6 = par_bot;
frame_6977091fc246e9818e62083c629fe150->m_frame.f_lineno = 104;
{
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 = 104;
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 = 104;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_2 = par_data;
tmp_ass_subscript_2 = const_str_plain_message;
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 = 104;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_dircall_arg3_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 = 106;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_1 = par_cls;
tmp_dict_key_1 = const_str_plain_bot;
if ( par_bot == NULL )
{
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 = 106;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_dict_value_1 = par_bot;
tmp_dircall_arg2_1 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem( tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1 );
assert( !(tmp_res != 0) );
if ( par_data == NULL )
{
Py_DECREF( tmp_dircall_arg2_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 = 106;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
tmp_dircall_arg3_1 = par_data;
Py_INCREF( tmp_dircall_arg1_1 );
Py_INCREF( tmp_dircall_arg3_1 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_return_value = impl___internal__$$$function_10_complex_call_helper_keywords_star_dict( dir_call_args );
}
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 106;
type_description_1 = "oooN";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_6977091fc246e9818e62083c629fe150 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_6977091fc246e9818e62083c629fe150 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_6977091fc246e9818e62083c629fe150 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_6977091fc246e9818e62083c629fe150, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_6977091fc246e9818e62083c629fe150->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_6977091fc246e9818e62083c629fe150, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_6977091fc246e9818e62083c629fe150,
type_description_1,
par_cls,
par_data,
par_bot,
NULL
);
// Release cached frame.
if ( frame_6977091fc246e9818e62083c629fe150 == cache_frame_6977091fc246e9818e62083c629fe150 )
{
Py_DECREF( frame_6977091fc246e9818e62083c629fe150 );
}
cache_frame_6977091fc246e9818e62083c629fe150 = NULL;
assertFrameObject( frame_6977091fc246e9818e62083c629fe150 );
// 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$callbackquery$$$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$callbackquery$$$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$callbackquery$$$function_3_answer( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_args = python_pars[ 1 ];
PyObject *par_kwargs = python_pars[ 2 ];
struct Nuitka_FrameObject *frame_fd7dea1e96584417e768aee5c51568bd;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_fd7dea1e96584417e768aee5c51568bd = 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_fd7dea1e96584417e768aee5c51568bd, codeobj_fd7dea1e96584417e768aee5c51568bd, module_telegram$callbackquery, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_fd7dea1e96584417e768aee5c51568bd = cache_frame_fd7dea1e96584417e768aee5c51568bd;
// Push the new frame as the currently active one.
pushFrameStack( frame_fd7dea1e96584417e768aee5c51568bd );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_fd7dea1e96584417e768aee5c51568bd ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_source_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_source_name_3;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_dircall_arg4_1;
CHECK_OBJECT( par_self );
tmp_source_name_2 = par_self;
tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_bot );
if ( tmp_source_name_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;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_answerCallbackQuery );
Py_DECREF( tmp_source_name_1 );
if ( tmp_dircall_arg1_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;
}
if ( par_self == NULL )
{
Py_DECREF( tmp_dircall_arg1_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "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_3 = par_self;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_id );
if ( tmp_tuple_element_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_1 );
exception_lineno = 117;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg2_1 = PyTuple_New( 1 );
PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 );
if ( par_args == NULL )
{
Py_DECREF( tmp_dircall_arg1_1 );
Py_DECREF( tmp_dircall_arg2_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
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_dircall_arg3_1 = par_args;
if ( par_kwargs == NULL )
{
Py_DECREF( tmp_dircall_arg1_1 );
Py_DECREF( tmp_dircall_arg2_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 117;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg4_1 = par_kwargs;
Py_INCREF( tmp_dircall_arg3_1 );
Py_INCREF( tmp_dircall_arg4_1 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1, tmp_dircall_arg4_1};
tmp_return_value = impl___internal__$$$function_6_complex_call_helper_pos_star_list_star_dict( dir_call_args );
}
if ( tmp_return_value == 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;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_fd7dea1e96584417e768aee5c51568bd );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_fd7dea1e96584417e768aee5c51568bd );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_fd7dea1e96584417e768aee5c51568bd );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_fd7dea1e96584417e768aee5c51568bd, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_fd7dea1e96584417e768aee5c51568bd->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_fd7dea1e96584417e768aee5c51568bd, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_fd7dea1e96584417e768aee5c51568bd,
type_description_1,
par_self,
par_args,
par_kwargs
);
// Release cached frame.
if ( frame_fd7dea1e96584417e768aee5c51568bd == cache_frame_fd7dea1e96584417e768aee5c51568bd )
{
Py_DECREF( frame_fd7dea1e96584417e768aee5c51568bd );
}
cache_frame_fd7dea1e96584417e768aee5c51568bd = NULL;
assertFrameObject( frame_fd7dea1e96584417e768aee5c51568bd );
// 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$callbackquery$$$function_3_answer );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_args );
par_args = NULL;
}
{
Py_XDECREF( 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_args );
par_args = 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$callbackquery$$$function_3_answer );
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$callbackquery$$$function_4_edit_message_text( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_args = python_pars[ 1 ];
PyObject *par_kwargs = python_pars[ 2 ];
struct Nuitka_FrameObject *frame_bcee7b38d919177539e13b9b51b74012;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_bcee7b38d919177539e13b9b51b74012 = 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_bcee7b38d919177539e13b9b51b74012, codeobj_bcee7b38d919177539e13b9b51b74012, module_telegram$callbackquery, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_bcee7b38d919177539e13b9b51b74012 = cache_frame_bcee7b38d919177539e13b9b51b74012;
// Push the new frame as the currently active one.
pushFrameStack( frame_bcee7b38d919177539e13b9b51b74012 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_bcee7b38d919177539e13b9b51b74012 ) == 2 ); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_source_name_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_inline_message_id );
if ( tmp_attribute_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 136;
type_description_1 = "ooo";
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 = 136;
type_description_1 = "ooo";
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_dircall_arg1_1;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_source_name_4;
PyObject *tmp_dircall_arg4_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 = 137;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_3 = par_self;
tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_bot );
if ( tmp_source_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 137;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_edit_message_text );
Py_DECREF( tmp_source_name_2 );
if ( tmp_dircall_arg1_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 137;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( par_args == NULL )
{
Py_DECREF( tmp_dircall_arg1_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 138;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg2_1 = par_args;
tmp_dict_key_1 = const_str_plain_inline_message_id;
if ( par_self == NULL )
{
Py_DECREF( tmp_dircall_arg1_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 138;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_4 = par_self;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_inline_message_id );
if ( tmp_dict_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_1 );
exception_lineno = 138;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg3_1 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem( tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1 );
Py_DECREF( tmp_dict_value_1 );
assert( !(tmp_res != 0) );
if ( par_kwargs == NULL )
{
Py_DECREF( tmp_dircall_arg1_1 );
Py_DECREF( tmp_dircall_arg3_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 138;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg4_1 = par_kwargs;
Py_INCREF( tmp_dircall_arg2_1 );
Py_INCREF( tmp_dircall_arg4_1 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1, tmp_dircall_arg4_1};
tmp_return_value = impl___internal__$$$function_12_complex_call_helper_keywords_star_list_star_dict( dir_call_args );
}
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 137;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_dircall_arg1_2;
PyObject *tmp_source_name_5;
PyObject *tmp_source_name_6;
PyObject *tmp_dircall_arg2_2;
PyObject *tmp_dircall_arg3_2;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
PyObject *tmp_source_name_7;
PyObject *tmp_source_name_8;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
PyObject *tmp_source_name_9;
PyObject *tmp_source_name_10;
PyObject *tmp_dircall_arg4_2;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 140;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_6 = par_self;
tmp_source_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_bot );
if ( tmp_source_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 140;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_edit_message_text );
Py_DECREF( tmp_source_name_5 );
if ( tmp_dircall_arg1_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 140;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( par_args == NULL )
{
Py_DECREF( tmp_dircall_arg1_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 141;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg2_2 = par_args;
tmp_dict_key_2 = const_str_plain_chat_id;
if ( par_self == NULL )
{
Py_DECREF( tmp_dircall_arg1_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 141;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_8 = par_self;
tmp_source_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_message );
if ( tmp_source_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_2 );
exception_lineno = 141;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dict_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_chat_id );
Py_DECREF( tmp_source_name_7 );
if ( tmp_dict_value_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_2 );
exception_lineno = 141;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg3_2 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem( tmp_dircall_arg3_2, tmp_dict_key_2, tmp_dict_value_2 );
Py_DECREF( tmp_dict_value_2 );
assert( !(tmp_res != 0) );
tmp_dict_key_3 = const_str_plain_message_id;
if ( par_self == NULL )
{
Py_DECREF( tmp_dircall_arg1_2 );
Py_DECREF( tmp_dircall_arg3_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 141;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_10 = par_self;
tmp_source_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_message );
if ( tmp_source_name_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_2 );
Py_DECREF( tmp_dircall_arg3_2 );
exception_lineno = 141;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dict_value_3 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_message_id );
Py_DECREF( tmp_source_name_9 );
if ( tmp_dict_value_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_2 );
Py_DECREF( tmp_dircall_arg3_2 );
exception_lineno = 141;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = PyDict_SetItem( tmp_dircall_arg3_2, tmp_dict_key_3, tmp_dict_value_3 );
Py_DECREF( tmp_dict_value_3 );
assert( !(tmp_res != 0) );
if ( par_kwargs == NULL )
{
Py_DECREF( tmp_dircall_arg1_2 );
Py_DECREF( tmp_dircall_arg3_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 141;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg4_2 = par_kwargs;
Py_INCREF( tmp_dircall_arg2_2 );
Py_INCREF( tmp_dircall_arg4_2 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_2, tmp_dircall_arg4_2};
tmp_return_value = impl___internal__$$$function_12_complex_call_helper_keywords_star_list_star_dict( dir_call_args );
}
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 140;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_1:;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_bcee7b38d919177539e13b9b51b74012 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_bcee7b38d919177539e13b9b51b74012 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_bcee7b38d919177539e13b9b51b74012 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_bcee7b38d919177539e13b9b51b74012, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_bcee7b38d919177539e13b9b51b74012->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_bcee7b38d919177539e13b9b51b74012, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_bcee7b38d919177539e13b9b51b74012,
type_description_1,
par_self,
par_args,
par_kwargs
);
// Release cached frame.
if ( frame_bcee7b38d919177539e13b9b51b74012 == cache_frame_bcee7b38d919177539e13b9b51b74012 )
{
Py_DECREF( frame_bcee7b38d919177539e13b9b51b74012 );
}
cache_frame_bcee7b38d919177539e13b9b51b74012 = NULL;
assertFrameObject( frame_bcee7b38d919177539e13b9b51b74012 );
// 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$callbackquery$$$function_4_edit_message_text );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_args );
par_args = NULL;
}
{
Py_XDECREF( 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_args );
par_args = 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$callbackquery$$$function_4_edit_message_text );
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$callbackquery$$$function_5_edit_message_caption( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_args = python_pars[ 1 ];
PyObject *par_kwargs = python_pars[ 2 ];
struct Nuitka_FrameObject *frame_0ac2ed4dfd971b937a4f0427c129773e;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_0ac2ed4dfd971b937a4f0427c129773e = 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_0ac2ed4dfd971b937a4f0427c129773e, codeobj_0ac2ed4dfd971b937a4f0427c129773e, module_telegram$callbackquery, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_0ac2ed4dfd971b937a4f0427c129773e = cache_frame_0ac2ed4dfd971b937a4f0427c129773e;
// Push the new frame as the currently active one.
pushFrameStack( frame_0ac2ed4dfd971b937a4f0427c129773e );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_0ac2ed4dfd971b937a4f0427c129773e ) == 2 ); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_source_name_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_inline_message_id );
if ( tmp_attribute_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 160;
type_description_1 = "ooo";
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 = 160;
type_description_1 = "ooo";
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_dircall_arg1_1;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_source_name_4;
PyObject *tmp_dircall_arg4_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 = 161;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_3 = par_self;
tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_bot );
if ( tmp_source_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 161;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_edit_message_caption );
Py_DECREF( tmp_source_name_2 );
if ( tmp_dircall_arg1_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 161;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( par_args == NULL )
{
Py_DECREF( tmp_dircall_arg1_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 162;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg2_1 = par_args;
tmp_dict_key_1 = const_str_plain_inline_message_id;
if ( par_self == NULL )
{
Py_DECREF( tmp_dircall_arg1_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 162;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_4 = par_self;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_inline_message_id );
if ( tmp_dict_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_1 );
exception_lineno = 162;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg3_1 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem( tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1 );
Py_DECREF( tmp_dict_value_1 );
assert( !(tmp_res != 0) );
if ( par_kwargs == NULL )
{
Py_DECREF( tmp_dircall_arg1_1 );
Py_DECREF( tmp_dircall_arg3_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 162;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg4_1 = par_kwargs;
Py_INCREF( tmp_dircall_arg2_1 );
Py_INCREF( tmp_dircall_arg4_1 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1, tmp_dircall_arg4_1};
tmp_return_value = impl___internal__$$$function_12_complex_call_helper_keywords_star_list_star_dict( dir_call_args );
}
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 161;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_dircall_arg1_2;
PyObject *tmp_source_name_5;
PyObject *tmp_source_name_6;
PyObject *tmp_dircall_arg2_2;
PyObject *tmp_dircall_arg3_2;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
PyObject *tmp_source_name_7;
PyObject *tmp_source_name_8;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
PyObject *tmp_source_name_9;
PyObject *tmp_source_name_10;
PyObject *tmp_dircall_arg4_2;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 164;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_6 = par_self;
tmp_source_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_bot );
if ( tmp_source_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 164;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_edit_message_caption );
Py_DECREF( tmp_source_name_5 );
if ( tmp_dircall_arg1_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 164;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( par_args == NULL )
{
Py_DECREF( tmp_dircall_arg1_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 165;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg2_2 = par_args;
tmp_dict_key_2 = const_str_plain_chat_id;
if ( par_self == NULL )
{
Py_DECREF( tmp_dircall_arg1_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 165;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_8 = par_self;
tmp_source_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_message );
if ( tmp_source_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_2 );
exception_lineno = 165;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dict_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_chat_id );
Py_DECREF( tmp_source_name_7 );
if ( tmp_dict_value_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_2 );
exception_lineno = 165;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg3_2 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem( tmp_dircall_arg3_2, tmp_dict_key_2, tmp_dict_value_2 );
Py_DECREF( tmp_dict_value_2 );
assert( !(tmp_res != 0) );
tmp_dict_key_3 = const_str_plain_message_id;
if ( par_self == NULL )
{
Py_DECREF( tmp_dircall_arg1_2 );
Py_DECREF( tmp_dircall_arg3_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 165;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_10 = par_self;
tmp_source_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_message );
if ( tmp_source_name_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_2 );
Py_DECREF( tmp_dircall_arg3_2 );
exception_lineno = 165;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dict_value_3 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_message_id );
Py_DECREF( tmp_source_name_9 );
if ( tmp_dict_value_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_2 );
Py_DECREF( tmp_dircall_arg3_2 );
exception_lineno = 165;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = PyDict_SetItem( tmp_dircall_arg3_2, tmp_dict_key_3, tmp_dict_value_3 );
Py_DECREF( tmp_dict_value_3 );
assert( !(tmp_res != 0) );
if ( par_kwargs == NULL )
{
Py_DECREF( tmp_dircall_arg1_2 );
Py_DECREF( tmp_dircall_arg3_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 165;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg4_2 = par_kwargs;
Py_INCREF( tmp_dircall_arg2_2 );
Py_INCREF( tmp_dircall_arg4_2 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_2, tmp_dircall_arg4_2};
tmp_return_value = impl___internal__$$$function_12_complex_call_helper_keywords_star_list_star_dict( dir_call_args );
}
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 164;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_1:;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_0ac2ed4dfd971b937a4f0427c129773e );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_0ac2ed4dfd971b937a4f0427c129773e );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_0ac2ed4dfd971b937a4f0427c129773e );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_0ac2ed4dfd971b937a4f0427c129773e, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_0ac2ed4dfd971b937a4f0427c129773e->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_0ac2ed4dfd971b937a4f0427c129773e, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_0ac2ed4dfd971b937a4f0427c129773e,
type_description_1,
par_self,
par_args,
par_kwargs
);
// Release cached frame.
if ( frame_0ac2ed4dfd971b937a4f0427c129773e == cache_frame_0ac2ed4dfd971b937a4f0427c129773e )
{
Py_DECREF( frame_0ac2ed4dfd971b937a4f0427c129773e );
}
cache_frame_0ac2ed4dfd971b937a4f0427c129773e = NULL;
assertFrameObject( frame_0ac2ed4dfd971b937a4f0427c129773e );
// 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$callbackquery$$$function_5_edit_message_caption );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_args );
par_args = NULL;
}
{
Py_XDECREF( 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_args );
par_args = 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$callbackquery$$$function_5_edit_message_caption );
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$callbackquery$$$function_6_edit_message_reply_markup( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
{
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[ 0 ];
PyObject *par_args = python_pars[ 1 ];
PyObject *par_kwargs = python_pars[ 2 ];
struct Nuitka_FrameObject *frame_abffc095ed4c03f2b9e06f9eba8d4bd7;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_abffc095ed4c03f2b9e06f9eba8d4bd7 = 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_abffc095ed4c03f2b9e06f9eba8d4bd7, codeobj_abffc095ed4c03f2b9e06f9eba8d4bd7, module_telegram$callbackquery, sizeof(void *)+sizeof(void *)+sizeof(void *) );
frame_abffc095ed4c03f2b9e06f9eba8d4bd7 = cache_frame_abffc095ed4c03f2b9e06f9eba8d4bd7;
// Push the new frame as the currently active one.
pushFrameStack( frame_abffc095ed4c03f2b9e06f9eba8d4bd7 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_abffc095ed4c03f2b9e06f9eba8d4bd7 ) == 2 ); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_source_name_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT( par_self );
tmp_source_name_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_inline_message_id );
if ( tmp_attribute_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 184;
type_description_1 = "ooo";
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 = 184;
type_description_1 = "ooo";
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_dircall_arg1_1;
PyObject *tmp_source_name_2;
PyObject *tmp_source_name_3;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_source_name_4;
PyObject *tmp_dircall_arg4_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 = 185;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_3 = par_self;
tmp_source_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_bot );
if ( tmp_source_name_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 185;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_edit_message_reply_markup );
Py_DECREF( tmp_source_name_2 );
if ( tmp_dircall_arg1_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 185;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( par_args == NULL )
{
Py_DECREF( tmp_dircall_arg1_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 186;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg2_1 = par_args;
tmp_dict_key_1 = const_str_plain_inline_message_id;
if ( par_self == NULL )
{
Py_DECREF( tmp_dircall_arg1_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 186;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_4 = par_self;
tmp_dict_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_inline_message_id );
if ( tmp_dict_value_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_1 );
exception_lineno = 186;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg3_1 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem( tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1 );
Py_DECREF( tmp_dict_value_1 );
assert( !(tmp_res != 0) );
if ( par_kwargs == NULL )
{
Py_DECREF( tmp_dircall_arg1_1 );
Py_DECREF( tmp_dircall_arg3_1 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 186;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg4_1 = par_kwargs;
Py_INCREF( tmp_dircall_arg2_1 );
Py_INCREF( tmp_dircall_arg4_1 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1, tmp_dircall_arg4_1};
tmp_return_value = impl___internal__$$$function_12_complex_call_helper_keywords_star_list_star_dict( dir_call_args );
}
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 185;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_dircall_arg1_2;
PyObject *tmp_source_name_5;
PyObject *tmp_source_name_6;
PyObject *tmp_dircall_arg2_2;
PyObject *tmp_dircall_arg3_2;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
PyObject *tmp_source_name_7;
PyObject *tmp_source_name_8;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
PyObject *tmp_source_name_9;
PyObject *tmp_source_name_10;
PyObject *tmp_dircall_arg4_2;
if ( par_self == NULL )
{
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 188;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_6 = par_self;
tmp_source_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_bot );
if ( tmp_source_name_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg1_2 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_edit_message_reply_markup );
Py_DECREF( tmp_source_name_5 );
if ( tmp_dircall_arg1_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if ( par_args == NULL )
{
Py_DECREF( tmp_dircall_arg1_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "args" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 189;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg2_2 = par_args;
tmp_dict_key_2 = const_str_plain_chat_id;
if ( par_self == NULL )
{
Py_DECREF( tmp_dircall_arg1_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 189;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_8 = par_self;
tmp_source_name_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_message );
if ( tmp_source_name_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_2 );
exception_lineno = 189;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dict_value_2 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_chat_id );
Py_DECREF( tmp_source_name_7 );
if ( tmp_dict_value_2 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_2 );
exception_lineno = 189;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg3_2 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem( tmp_dircall_arg3_2, tmp_dict_key_2, tmp_dict_value_2 );
Py_DECREF( tmp_dict_value_2 );
assert( !(tmp_res != 0) );
tmp_dict_key_3 = const_str_plain_message_id;
if ( par_self == NULL )
{
Py_DECREF( tmp_dircall_arg1_2 );
Py_DECREF( tmp_dircall_arg3_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 189;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_source_name_10 = par_self;
tmp_source_name_9 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_message );
if ( tmp_source_name_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_2 );
Py_DECREF( tmp_dircall_arg3_2 );
exception_lineno = 189;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dict_value_3 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_message_id );
Py_DECREF( tmp_source_name_9 );
if ( tmp_dict_value_3 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
Py_DECREF( tmp_dircall_arg1_2 );
Py_DECREF( tmp_dircall_arg3_2 );
exception_lineno = 189;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = PyDict_SetItem( tmp_dircall_arg3_2, tmp_dict_key_3, tmp_dict_value_3 );
Py_DECREF( tmp_dict_value_3 );
assert( !(tmp_res != 0) );
if ( par_kwargs == NULL )
{
Py_DECREF( tmp_dircall_arg1_2 );
Py_DECREF( tmp_dircall_arg3_2 );
exception_type = PyExc_UnboundLocalError;
Py_INCREF( exception_type );
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" );
exception_tb = NULL;
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
CHAIN_EXCEPTION( exception_value );
exception_lineno = 189;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_dircall_arg4_2 = par_kwargs;
Py_INCREF( tmp_dircall_arg2_2 );
Py_INCREF( tmp_dircall_arg4_2 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_2, tmp_dircall_arg4_2};
tmp_return_value = impl___internal__$$$function_12_complex_call_helper_keywords_star_list_star_dict( dir_call_args );
}
if ( tmp_return_value == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 188;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_1:;
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_abffc095ed4c03f2b9e06f9eba8d4bd7 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_abffc095ed4c03f2b9e06f9eba8d4bd7 );
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_abffc095ed4c03f2b9e06f9eba8d4bd7 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_abffc095ed4c03f2b9e06f9eba8d4bd7, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_abffc095ed4c03f2b9e06f9eba8d4bd7->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_abffc095ed4c03f2b9e06f9eba8d4bd7, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_abffc095ed4c03f2b9e06f9eba8d4bd7,
type_description_1,
par_self,
par_args,
par_kwargs
);
// Release cached frame.
if ( frame_abffc095ed4c03f2b9e06f9eba8d4bd7 == cache_frame_abffc095ed4c03f2b9e06f9eba8d4bd7 )
{
Py_DECREF( frame_abffc095ed4c03f2b9e06f9eba8d4bd7 );
}
cache_frame_abffc095ed4c03f2b9e06f9eba8d4bd7 = NULL;
assertFrameObject( frame_abffc095ed4c03f2b9e06f9eba8d4bd7 );
// 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$callbackquery$$$function_6_edit_message_reply_markup );
return NULL;
// Return handler code:
try_return_handler_1:;
{
Py_XDECREF( par_self );
par_self = NULL;
}
{
Py_XDECREF( par_args );
par_args = NULL;
}
{
Py_XDECREF( 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_args );
par_args = 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$callbackquery$$$function_6_edit_message_reply_markup );
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$callbackquery$$$function_1___init__( PyObject *defaults )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_telegram$callbackquery$$$function_1___init__,
const_str_plain___init__,
#if PYTHON_VERSION >= 300
const_str_digest_2382614829da4c7d3c41dc2f7566054a,
#endif
codeobj_588918f9f4c78e3b0769932bd4eb2bbe,
defaults,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_telegram$callbackquery,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_telegram$callbackquery$$$function_2_de_json( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_telegram$callbackquery$$$function_2_de_json,
const_str_plain_de_json,
#if PYTHON_VERSION >= 300
const_str_digest_7cd7e918c33a778afbb6908200493ef2,
#endif
codeobj_6977091fc246e9818e62083c629fe150,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_telegram$callbackquery,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_telegram$callbackquery$$$function_3_answer( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_telegram$callbackquery$$$function_3_answer,
const_str_plain_answer,
#if PYTHON_VERSION >= 300
const_str_digest_0fd478bf241ec0036c7bf49d45bf07c2,
#endif
codeobj_fd7dea1e96584417e768aee5c51568bd,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_telegram$callbackquery,
const_str_digest_4f0f1f2dad9617d88b804e6e52ba3fec,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_telegram$callbackquery$$$function_4_edit_message_text( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_telegram$callbackquery$$$function_4_edit_message_text,
const_str_plain_edit_message_text,
#if PYTHON_VERSION >= 300
const_str_digest_682df3a9e8f73c188dc3d2391310f68f,
#endif
codeobj_bcee7b38d919177539e13b9b51b74012,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_telegram$callbackquery,
const_str_digest_cf4230d9b7ed276a48cb8b430d164d7a,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_telegram$callbackquery$$$function_5_edit_message_caption( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_telegram$callbackquery$$$function_5_edit_message_caption,
const_str_plain_edit_message_caption,
#if PYTHON_VERSION >= 300
const_str_digest_c269dc38aa1e42518d379e50050a235b,
#endif
codeobj_0ac2ed4dfd971b937a4f0427c129773e,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_telegram$callbackquery,
const_str_digest_74962f84f9efea9890afe360da673e5d,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_telegram$callbackquery$$$function_6_edit_message_reply_markup( )
{
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_telegram$callbackquery$$$function_6_edit_message_reply_markup,
const_str_plain_edit_message_reply_markup,
#if PYTHON_VERSION >= 300
const_str_digest_3a27a6a7c967ef1d5c205b395b05431b,
#endif
codeobj_abffc095ed4c03f2b9e06f9eba8d4bd7,
NULL,
#if PYTHON_VERSION >= 300
NULL,
NULL,
#endif
module_telegram$callbackquery,
const_str_digest_fd9ce657f35141aac400b98f3313168c,
0
);
return (PyObject *)result;
}
#if PYTHON_VERSION >= 300
static struct PyModuleDef mdef_telegram$callbackquery =
{
PyModuleDef_HEAD_INIT,
"telegram.callbackquery", /* 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$callbackquery )
{
#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$callbackquery );
}
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.callbackquery: 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.callbackquery: Calling createModuleConstants().");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
puts("telegram.callbackquery: Calling createModuleCodeObjects().");
#endif
createModuleCodeObjects();
// puts( "in inittelegram$callbackquery" );
// 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$callbackquery = Py_InitModule4(
"telegram.callbackquery", // 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$callbackquery = PyModule_Create( &mdef_telegram$callbackquery );
#endif
moduledict_telegram$callbackquery = MODULE_DICT( module_telegram$callbackquery );
// Update "__package__" value to what it ought to be.
{
#if 0
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_telegram$callbackquery, (Nuitka_StringObject *)const_str_plain___name__ );
UPDATE_STRING_DICT1(
moduledict_telegram$callbackquery,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 300
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_telegram$callbackquery, (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$callbackquery,
(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$callbackquery, (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$callbackquery,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring( module_name, 0, dot_index )
);
}
#endif
#endif
}
CHECK_OBJECT( module_telegram$callbackquery );
// 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_6177f06b351fa82079f91b19df18034e, module_telegram$callbackquery );
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$callbackquery, (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$callbackquery, (Nuitka_StringObject *)const_str_plain___builtins__, value );
}
#if PYTHON_VERSION >= 300
UPDATE_STRING_DICT0( moduledict_telegram$callbackquery, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
#endif
#if PYTHON_VERSION >= 340
#if 0
UPDATE_STRING_DICT0( moduledict_telegram$callbackquery, (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$callbackquery, (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$callbackquery, (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_fccec1c2622d8e813354900065faeda1;
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$callbackquery_24 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_1d4a6b67aa03281d28860b4cd13cdd86_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_1d4a6b67aa03281d28860b4cd13cdd86_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_6040662bf03f4bbea03ddfe4752f9fa6;
UPDATE_STRING_DICT0( moduledict_telegram$callbackquery, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = const_str_digest_41f81a3042a0602b178444f0e9ec1cfd;
UPDATE_STRING_DICT0( moduledict_telegram$callbackquery, (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$callbackquery, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
}
// Frame without reuse.
frame_fccec1c2622d8e813354900065faeda1 = MAKE_MODULE_FRAME( codeobj_fccec1c2622d8e813354900065faeda1, module_telegram$callbackquery );
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack( frame_fccec1c2622d8e813354900065faeda1 );
assert( Py_REFCNT( frame_fccec1c2622d8e813354900065faeda1 ) == 2 );
// Framed code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_name_name_1;
PyObject *tmp_globals_name_1;
PyObject *tmp_locals_name_1;
PyObject *tmp_fromlist_name_1;
PyObject *tmp_level_name_1;
tmp_name_name_1 = const_str_plain_telegram;
tmp_globals_name_1 = (PyObject *)moduledict_telegram$callbackquery;
tmp_locals_name_1 = Py_None;
tmp_fromlist_name_1 = const_tuple_str_plain_TelegramObject_str_plain_Message_str_plain_User_tuple;
tmp_level_name_1 = const_int_0;
frame_fccec1c2622d8e813354900065faeda1->m_frame.f_lineno = 21;
tmp_assign_source_4 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
if ( tmp_assign_source_4 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 21;
goto frame_exception_exit_1;
}
assert( tmp_import_from_1__module == NULL );
tmp_import_from_1__module = tmp_assign_source_4;
}
{
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_import_name_from_1;
CHECK_OBJECT( tmp_import_from_1__module );
tmp_import_name_from_1 = tmp_import_from_1__module;
tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_TelegramObject );
if ( tmp_assign_source_5 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 21;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1( moduledict_telegram$callbackquery, (Nuitka_StringObject *)const_str_plain_TelegramObject, tmp_assign_source_5 );
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_import_name_from_2;
CHECK_OBJECT( tmp_import_from_1__module );
tmp_import_name_from_2 = tmp_import_from_1__module;
tmp_assign_source_6 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_Message );
if ( tmp_assign_source_6 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 21;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1( moduledict_telegram$callbackquery, (Nuitka_StringObject *)const_str_plain_Message, tmp_assign_source_6 );
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_import_name_from_3;
CHECK_OBJECT( tmp_import_from_1__module );
tmp_import_name_from_3 = tmp_import_from_1__module;
tmp_assign_source_7 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_User );
if ( tmp_assign_source_7 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 21;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1( moduledict_telegram$callbackquery, (Nuitka_StringObject *)const_str_plain_User, tmp_assign_source_7 );
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
Py_DECREF( tmp_import_from_1__module );
tmp_import_from_1__module = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
}
// End of try:
try_end_1:;
}
{
CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
Py_DECREF( tmp_import_from_1__module );
tmp_import_from_1__module = NULL;
}
{
// Tried code:
{
PyObject *tmp_assign_source_8;
PyObject *tmp_tuple_element_1;
PyObject *tmp_mvar_value_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_telegram$callbackquery, (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 = 24;
goto try_except_handler_2;
}
tmp_tuple_element_1 = tmp_mvar_value_1;
tmp_assign_source_8 = PyTuple_New( 1 );
Py_INCREF( tmp_tuple_element_1 );
PyTuple_SET_ITEM( tmp_assign_source_8, 0, tmp_tuple_element_1 );
assert( tmp_class_creation_1__bases_orig == NULL );
tmp_class_creation_1__bases_orig = tmp_assign_source_8;
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_dircall_arg1_1;
CHECK_OBJECT( tmp_class_creation_1__bases_orig );
tmp_dircall_arg1_1 = tmp_class_creation_1__bases_orig;
Py_INCREF( tmp_dircall_arg1_1 );
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_9 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
}
if ( tmp_assign_source_9 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 24;
goto try_except_handler_2;
}
assert( tmp_class_creation_1__bases == NULL );
tmp_class_creation_1__bases = tmp_assign_source_9;
}
{
PyObject *tmp_assign_source_10;
tmp_assign_source_10 = PyDict_New();
assert( tmp_class_creation_1__class_decl_dict == NULL );
tmp_class_creation_1__class_decl_dict = tmp_assign_source_10;
}
{
PyObject *tmp_assign_source_11;
PyObject *tmp_metaclass_name_1;
nuitka_bool tmp_condition_result_1;
PyObject *tmp_key_name_1;
PyObject *tmp_dict_name_1;
PyObject *tmp_dict_name_2;
PyObject *tmp_key_name_2;
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_subscribed_name_1;
PyObject *tmp_subscript_name_1;
PyObject *tmp_bases_name_1;
tmp_key_name_1 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dict_name_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_1, tmp_key_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 24;
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 = 24;
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 = 24;
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 = 24;
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 = 24;
goto try_except_handler_2;
}
goto condexpr_end_2;
condexpr_false_2:;
tmp_metaclass_name_1 = (PyObject *)&PyType_Type;
Py_INCREF( tmp_metaclass_name_1 );
condexpr_end_2:;
condexpr_end_1:;
CHECK_OBJECT( tmp_class_creation_1__bases );
tmp_bases_name_1 = tmp_class_creation_1__bases;
tmp_assign_source_11 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
Py_DECREF( tmp_metaclass_name_1 );
if ( tmp_assign_source_11 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 24;
goto try_except_handler_2;
}
assert( tmp_class_creation_1__metaclass == NULL );
tmp_class_creation_1__metaclass = tmp_assign_source_11;
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_key_name_3;
PyObject *tmp_dict_name_3;
tmp_key_name_3 = const_str_plain_metaclass;
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
tmp_dict_name_3 = tmp_class_creation_1__class_decl_dict;
tmp_res = PyDict_Contains( tmp_dict_name_3, tmp_key_name_3 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 24;
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 = 24;
goto try_except_handler_2;
}
}
branch_no_1:;
}
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_source_name_1;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_source_name_1 = tmp_class_creation_1__metaclass;
tmp_res = PyObject_HasAttr( tmp_source_name_1, const_str_plain___prepare__ );
tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
{
goto branch_yes_2;
}
else
{
goto branch_no_2;
}
branch_yes_2:;
{
PyObject *tmp_assign_source_12;
PyObject *tmp_called_name_1;
PyObject *tmp_source_name_2;
PyObject *tmp_args_name_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_kw_name_1;
CHECK_OBJECT( tmp_class_creation_1__metaclass );
tmp_source_name_2 = tmp_class_creation_1__metaclass;
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain___prepare__ );
if ( tmp_called_name_1 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 24;
goto try_except_handler_2;
}
tmp_tuple_element_2 = const_str_plain_CallbackQuery;
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_fccec1c2622d8e813354900065faeda1->m_frame.f_lineno = 24;
tmp_assign_source_12 = CALL_FUNCTION( tmp_called_name_1, tmp_args_name_1, tmp_kw_name_1 );
Py_DECREF( tmp_called_name_1 );
Py_DECREF( tmp_args_name_1 );
if ( tmp_assign_source_12 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 24;
goto try_except_handler_2;
}
assert( tmp_class_creation_1__prepared == NULL );
tmp_class_creation_1__prepared = tmp_assign_source_12;
}
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_operand_name_1;
PyObject *tmp_source_name_3;
CHECK_OBJECT( tmp_class_creation_1__prepared );
tmp_source_name_3 = tmp_class_creation_1__prepared;
tmp_res = PyObject_HasAttr( tmp_source_name_3, const_str_plain___getitem__ );
tmp_operand_name_1 = ( tmp_res != 0 ) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 24;
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 = 24;
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 = 24;
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 = 24;
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 = 24;
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
goto try_except_handler_2;
}
branch_no_3:;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_13;
tmp_assign_source_13 = PyDict_New();
assert( tmp_class_creation_1__prepared == NULL );
tmp_class_creation_1__prepared = tmp_assign_source_13;
}
branch_end_2:;
}
{
PyObject *tmp_assign_source_14;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT( tmp_class_creation_1__prepared );
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_telegram$callbackquery_24 = tmp_set_locals_1;
Py_INCREF( tmp_set_locals_1 );
}
{
// Tried code:
{
// Tried code:
{
tmp_dictset_value = const_str_digest_6177f06b351fa82079f91b19df18034e;
tmp_res = PyObject_SetItem( locals_telegram$callbackquery_24, 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 = 24;
goto try_except_handler_4;
}
}
{
tmp_dictset_value = const_str_digest_8bf5021b7722215d9df2b1b997df8a34;
tmp_res = PyObject_SetItem( locals_telegram$callbackquery_24, 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 = 24;
goto try_except_handler_4;
}
}
{
tmp_dictset_value = const_str_plain_CallbackQuery;
tmp_res = PyObject_SetItem( locals_telegram$callbackquery_24, 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 = 24;
goto try_except_handler_4;
}
}
MAKE_OR_REUSE_FRAME( cache_frame_1d4a6b67aa03281d28860b4cd13cdd86_2, codeobj_1d4a6b67aa03281d28860b4cd13cdd86, module_telegram$callbackquery, sizeof(void *) );
frame_1d4a6b67aa03281d28860b4cd13cdd86_2 = cache_frame_1d4a6b67aa03281d28860b4cd13cdd86_2;
// Push the new frame as the currently active one.
pushFrameStack( frame_1d4a6b67aa03281d28860b4cd13cdd86_2 );
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert( Py_REFCNT( frame_1d4a6b67aa03281d28860b4cd13cdd86_2 ) == 2 ); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_1;
tmp_defaults_1 = const_tuple_none_none_none_none_none_tuple;
Py_INCREF( tmp_defaults_1 );
tmp_dictset_value = MAKE_FUNCTION_telegram$callbackquery$$$function_1___init__( tmp_defaults_1 );
tmp_res = PyObject_SetItem( locals_telegram$callbackquery_24, 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 = 72;
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$callbackquery_24, const_str_plain_classmethod );
if ( tmp_res == -1 )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 96;
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$callbackquery_24, 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 = 96;
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 = 96;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_args_element_name_1 = MAKE_FUNCTION_telegram$callbackquery$$$function_2_de_json( );
frame_1d4a6b67aa03281d28860b4cd13cdd86_2->m_frame.f_lineno = 96;
{
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 = 96;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_3;
condexpr_false_3:;
tmp_classmethod_arg_1 = MAKE_FUNCTION_telegram$callbackquery$$$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 = 96;
type_description_2 = "o";
goto frame_exception_exit_2;
}
condexpr_end_3:;
tmp_res = PyObject_SetItem( locals_telegram$callbackquery_24, 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 = 96;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_telegram$callbackquery$$$function_3_answer( );
tmp_res = PyObject_SetItem( locals_telegram$callbackquery_24, const_str_plain_answer, 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 = 108;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_telegram$callbackquery$$$function_4_edit_message_text( );
tmp_res = PyObject_SetItem( locals_telegram$callbackquery_24, const_str_plain_edit_message_text, 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 = 119;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_telegram$callbackquery$$$function_5_edit_message_caption( );
tmp_res = PyObject_SetItem( locals_telegram$callbackquery_24, const_str_plain_edit_message_caption, 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 = 143;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
tmp_dictset_value = MAKE_FUNCTION_telegram$callbackquery$$$function_6_edit_message_reply_markup( );
tmp_res = PyObject_SetItem( locals_telegram$callbackquery_24, const_str_plain_edit_message_reply_markup, 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 = 167;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION( frame_1d4a6b67aa03281d28860b4cd13cdd86_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_1d4a6b67aa03281d28860b4cd13cdd86_2 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_1d4a6b67aa03281d28860b4cd13cdd86_2, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_1d4a6b67aa03281d28860b4cd13cdd86_2->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_1d4a6b67aa03281d28860b4cd13cdd86_2, exception_lineno );
}
// Attachs locals to frame if any.
Nuitka_Frame_AttachLocals(
(struct Nuitka_FrameObject *)frame_1d4a6b67aa03281d28860b4cd13cdd86_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame.
if ( frame_1d4a6b67aa03281d28860b4cd13cdd86_2 == cache_frame_1d4a6b67aa03281d28860b4cd13cdd86_2 )
{
Py_DECREF( frame_1d4a6b67aa03281d28860b4cd13cdd86_2 );
}
cache_frame_1d4a6b67aa03281d28860b4cd13cdd86_2 = NULL;
assertFrameObject( frame_1d4a6b67aa03281d28860b4cd13cdd86_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 = 24;
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$callbackquery_24, 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 = 24;
goto try_except_handler_4;
}
}
branch_no_4:;
}
{
PyObject *tmp_assign_source_15;
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_CallbackQuery;
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$callbackquery_24;
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_fccec1c2622d8e813354900065faeda1->m_frame.f_lineno = 24;
tmp_assign_source_15 = CALL_FUNCTION( tmp_called_name_3, tmp_args_name_2, tmp_kw_name_2 );
Py_DECREF( tmp_args_name_2 );
if ( tmp_assign_source_15 == NULL )
{
assert( ERROR_OCCURRED() );
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
exception_lineno = 24;
goto try_except_handler_4;
}
assert( outline_0_var___class__ == NULL );
outline_0_var___class__ = tmp_assign_source_15;
}
{
CHECK_OBJECT( outline_0_var___class__ );
tmp_assign_source_14 = outline_0_var___class__;
Py_INCREF( tmp_assign_source_14 );
goto try_return_handler_4;
}
// tried codes exits in all cases
NUITKA_CANNOT_GET_HERE( telegram$callbackquery );
return MOD_RETURN_VALUE( NULL );
// Return handler code:
try_return_handler_4:;
{
Py_DECREF( locals_telegram$callbackquery_24 );
locals_telegram$callbackquery_24 = 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$callbackquery_24 );
locals_telegram$callbackquery_24 = 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$callbackquery );
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$callbackquery );
return MOD_RETURN_VALUE( NULL );
outline_exception_1:;
exception_lineno = 24;
goto try_except_handler_2;
outline_result_1:;
UPDATE_STRING_DICT1( moduledict_telegram$callbackquery, (Nuitka_StringObject *)const_str_plain_CallbackQuery, tmp_assign_source_14 );
}
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
Py_XDECREF( tmp_class_creation_1__bases );
tmp_class_creation_1__bases = NULL;
}
{
Py_XDECREF( tmp_class_creation_1__class_decl_dict );
tmp_class_creation_1__class_decl_dict = NULL;
}
{
Py_XDECREF( tmp_class_creation_1__metaclass );
tmp_class_creation_1__metaclass = NULL;
}
{
Py_XDECREF( tmp_class_creation_1__prepared );
tmp_class_creation_1__prepared = NULL;
}
{
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
}
// End of try:
try_end_2:;
}
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION( frame_fccec1c2622d8e813354900065faeda1 );
#endif
popFrameStack();
assertFrameObject( frame_fccec1c2622d8e813354900065faeda1 );
goto frame_no_exception_2;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION( frame_fccec1c2622d8e813354900065faeda1 );
#endif
if ( exception_tb == NULL )
{
exception_tb = MAKE_TRACEBACK( frame_fccec1c2622d8e813354900065faeda1, exception_lineno );
}
else if ( exception_tb->tb_frame != &frame_fccec1c2622d8e813354900065faeda1->m_frame )
{
exception_tb = ADD_TRACEBACK( exception_tb, frame_fccec1c2622d8e813354900065faeda1, 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$callbackquery );
module_exception_exit:
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
return MOD_RETURN_VALUE( NULL );
}