mirror of
https://github.com/house-of-vanity/fesmoo_perdoliq.git
synced 2025-08-21 16:17:15 +00:00
9391 lines
290 KiB
C
9391 lines
290 KiB
C
/* Generated code for Python source for module 'telegram.chat'
|
|
* 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$chat 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$chat;
|
|
PyDictObject *moduledict_telegram$chat;
|
|
|
|
/* The module constants used, if any. */
|
|
extern PyObject *const_str_plain_kick_chat_member;
|
|
extern PyObject *const_str_plain_metaclass;
|
|
static PyObject *const_str_plain_supergroup;
|
|
extern PyObject *const_str_plain___name__;
|
|
extern PyObject *const_str_plain_Message;
|
|
extern PyObject *const_tuple_str_plain___class___tuple;
|
|
extern PyObject *const_str_angle_metaclass;
|
|
static PyObject *const_str_digest_2449d7e1458499030d7b04c24e33504f;
|
|
extern PyObject *const_str_plain_leave_chat;
|
|
static PyObject *const_str_digest_633519313e6b3e41e4425b0b0603640f;
|
|
extern PyObject *const_str_plain_send_chat_action;
|
|
extern PyObject *const_str_plain___file__;
|
|
static PyObject *const_str_digest_ee3fac579a437d384068e18564d6476e;
|
|
extern PyObject *const_str_plain_group;
|
|
extern PyObject *const_str_plain_args;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_args_str_plain_kwargs_tuple;
|
|
extern PyObject *const_str_plain_get_chat_administrators;
|
|
extern PyObject *const_str_plain_sticker_set_name;
|
|
extern PyObject *const_str_plain_link;
|
|
static PyObject *const_str_digest_d58b4ed5607e9bdfbc916d15c9459047;
|
|
static PyObject *const_str_digest_d57f6cc574b49d35a4f5a188635478b8;
|
|
extern PyObject *const_str_plain_id;
|
|
extern PyObject *const_str_plain_de_json;
|
|
extern PyObject *const_str_plain_None;
|
|
extern PyObject *const_str_plain_classmethod;
|
|
static PyObject *const_str_digest_33ec649549517d791e1f88eef1c2244c;
|
|
extern PyObject *const_str_plain_cls;
|
|
extern PyObject *const_str_plain_send_document;
|
|
static PyObject *const_str_digest_488d49d66cbfd5e327a2d32b0b78d562;
|
|
static PyObject *const_str_digest_7ff1135b99cfa4e93537b24f27e1e7b7;
|
|
static PyObject *const_str_digest_b046afac1d967ef0d6d28a7c8ce4b711;
|
|
static PyObject *const_str_digest_07c16e6970922ab66ea422b3ed25fbcf;
|
|
extern PyObject *const_str_plain___doc__;
|
|
extern PyObject *const_str_plain_TelegramObject;
|
|
extern PyObject *const_str_plain_description;
|
|
extern PyObject *const_str_plain___orig_bases__;
|
|
extern PyObject *const_str_plain_data;
|
|
static PyObject *const_str_plain_leave;
|
|
extern PyObject *const_tuple_str_plain_photo_tuple;
|
|
static PyObject *const_str_digest_23c2e38b8afc5e09c7da334ae85bbef4;
|
|
extern PyObject *const_str_plain___qualname__;
|
|
static PyObject *const_str_digest_60cc8b1a3cc58dc7cada0f275a37a938;
|
|
static PyObject *const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple;
|
|
extern PyObject *const_str_plain_send_video;
|
|
static PyObject *const_str_digest_a32dd12d8ea6ad79cac651ee60c29c23;
|
|
static PyObject *const_str_digest_b12ee3c8df1dcae5bd221902591994a9;
|
|
extern PyObject *const_tuple_str_plain_self_tuple;
|
|
static PyObject *const_str_digest_01c74fffed87c42320df02df5e904cbe;
|
|
static PyObject *const_str_plain_unban_member;
|
|
static PyObject *const_str_plain_all_members_are_administrators;
|
|
extern PyObject *const_str_plain_get_chat_member;
|
|
extern PyObject *const_str_plain_send_video_note;
|
|
extern PyObject *const_str_plain_PRIVATE;
|
|
static PyObject *const_str_plain_invite_link;
|
|
extern PyObject *const_str_plain_telegram;
|
|
extern PyObject *const_tuple_empty;
|
|
static PyObject *const_str_digest_067e2d7ed21b9bba4049e659b4bb3010;
|
|
extern PyObject *const_str_plain_username;
|
|
extern PyObject *const_str_plain_title;
|
|
static PyObject *const_str_digest_0c16fab5abaf4742bfbccc6f20b63e0b;
|
|
static PyObject *const_str_digest_c593cf85d1a03e95d4819ec0591d89b3;
|
|
extern PyObject *const_str_digest_9137fa5ffbc9afdf75db4989970bf6f8;
|
|
extern PyObject *const_tuple_str_plain_pinned_message_tuple;
|
|
static PyObject *const_str_plain_channel;
|
|
extern PyObject *const_tuple_str_plain_Message_tuple;
|
|
static PyObject *const_str_digest_d7f43b690b5ec6f52fdced361d395b63;
|
|
static PyObject *const_str_digest_218fa260fc2ac9c9e639a88d91527947;
|
|
extern PyObject *const_str_plain_unban_chat_member;
|
|
extern PyObject *const_str_plain___getitem__;
|
|
extern PyObject *const_str_plain__id_attrs;
|
|
static PyObject *const_str_digest_858d9d7db0a752c770e1de744ea47acc;
|
|
static PyObject *const_str_digest_997a121a7cc310d6ffda3ab4610afa69;
|
|
extern PyObject *const_str_plain_send_audio;
|
|
static PyObject *const_str_digest_c089ab9b1392ea15851324ea9981590e;
|
|
extern PyObject *const_int_0;
|
|
static PyObject *const_str_digest_d4f5aa2f9fa14bbbf7aee16a43d47147;
|
|
extern PyObject *const_str_plain_photo;
|
|
extern PyObject *const_str_plain_bot;
|
|
extern PyObject *const_str_plain_get_chat_members_count;
|
|
static PyObject *const_str_digest_edb8de46bd13ad3150e01f988aad2692;
|
|
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
static PyObject *const_str_digest_fdba530396f7824844e2621f0ac03306;
|
|
static PyObject *const_str_digest_8567c8218e535c4f06c81d8236ad6b05;
|
|
extern PyObject *const_str_plain_type;
|
|
static PyObject *const_str_digest_003e10b0c15569e5d50883ac1abf1a0e;
|
|
extern PyObject *const_str_plain_CHANNEL;
|
|
static PyObject *const_str_plain_kick_member;
|
|
extern PyObject *const_str_plain_ChatPhoto;
|
|
extern PyObject *const_str_plain___cached__;
|
|
extern PyObject *const_str_plain___class__;
|
|
static PyObject *const_str_plain_get_members_count;
|
|
extern PyObject *const_str_plain_pinned_message;
|
|
extern PyObject *const_tuple_none_none_none_none_none_none_none_none_none_none_none_none_tuple;
|
|
static PyObject *const_str_plain_send_action;
|
|
extern PyObject *const_str_plain_send_message;
|
|
static PyObject *const_str_digest_466db0f6ac98afd52c1fcf9760226596;
|
|
static PyObject *const_str_digest_aeeb046691b4367dd2617e821e14fba2;
|
|
extern PyObject *const_str_plain___module__;
|
|
static PyObject *const_str_digest_066e39faab08b0bfce2a261f2c7bd4dd;
|
|
static PyObject *const_tuple_str_plain_TelegramObject_str_plain_ChatPhoto_tuple;
|
|
static PyObject *const_str_plain_GROUP;
|
|
extern PyObject *const_str_plain_last_name;
|
|
static PyObject *const_str_digest_26b6331bf5b51593db423f01da20b64e;
|
|
static PyObject *const_str_plain_can_set_sticker_set;
|
|
extern PyObject *const_str_plain_send_voice;
|
|
static PyObject *const_str_digest_861aaef525cd342369b77630e9486231;
|
|
static PyObject *const_str_digest_063eb5c45e29b442882d3cb2ca82f852;
|
|
static PyObject *const_tuple_str_plain_cls_str_plain_data_str_plain_bot_str_plain_Message_tuple;
|
|
extern PyObject *const_str_plain___prepare__;
|
|
extern PyObject *const_str_plain___init__;
|
|
extern PyObject *const_str_plain_self;
|
|
extern PyObject *const_str_plain_private;
|
|
static PyObject *const_str_digest_a6a67056ca08661fdbfd1e6b6b745642;
|
|
static PyObject *const_str_plain_get_administrators;
|
|
extern PyObject *const_str_plain_Chat;
|
|
extern PyObject *const_str_plain_kwargs;
|
|
extern PyObject *const_str_plain_get;
|
|
extern PyObject *const_str_plain_SUPERGROUP;
|
|
extern PyObject *const_str_plain_first_name;
|
|
static PyObject *const_str_digest_1fb4321ce84aa4fd453b892079405ced;
|
|
static PyObject *const_str_plain_get_member;
|
|
extern PyObject *const_str_plain_format;
|
|
extern PyObject *const_str_plain_property;
|
|
extern PyObject *const_str_plain_send_animation;
|
|
extern PyObject *const_str_plain_send_photo;
|
|
extern PyObject *const_str_plain_send_sticker;
|
|
static PyObject *const_str_digest_a60d42d90aaa37d819e103219103280b;
|
|
static PyObject *const_str_digest_0624b48824fdc0206623166d465453f8;
|
|
static PyObject *const_str_digest_10c52016f0e08be24fea5b4d21f0ff8b;
|
|
static PyObject *const_str_digest_b2238ee4e6592e8ebcf01566205a81de;
|
|
static PyObject *const_str_digest_0a78dbe1b37f0c2f2652fbdd36b8b68a;
|
|
static PyObject *module_filename_obj;
|
|
|
|
static bool constants_created = false;
|
|
|
|
static void createModuleConstants( void )
|
|
{
|
|
const_str_plain_supergroup = UNSTREAM_STRING( &constant_bin[ 1134124 ], 10, 1 );
|
|
const_str_digest_2449d7e1458499030d7b04c24e33504f = UNSTREAM_STRING( &constant_bin[ 1238507 ], 13, 0 );
|
|
const_str_digest_633519313e6b3e41e4425b0b0603640f = UNSTREAM_STRING( &constant_bin[ 1238520 ], 234, 0 );
|
|
const_str_digest_ee3fac579a437d384068e18564d6476e = UNSTREAM_STRING( &constant_bin[ 1238754 ], 110, 0 );
|
|
const_str_digest_d58b4ed5607e9bdfbc916d15c9459047 = UNSTREAM_STRING( &constant_bin[ 1238864 ], 49, 0 );
|
|
const_str_digest_d57f6cc574b49d35a4f5a188635478b8 = UNSTREAM_STRING( &constant_bin[ 1238913 ], 12, 0 );
|
|
const_str_digest_33ec649549517d791e1f88eef1c2244c = UNSTREAM_STRING( &constant_bin[ 1238925 ], 18, 0 );
|
|
const_str_digest_488d49d66cbfd5e327a2d32b0b78d562 = UNSTREAM_STRING( &constant_bin[ 1238943 ], 238, 0 );
|
|
const_str_digest_7ff1135b99cfa4e93537b24f27e1e7b7 = UNSTREAM_STRING( &constant_bin[ 1239181 ], 19, 0 );
|
|
const_str_digest_b046afac1d967ef0d6d28a7c8ce4b711 = UNSTREAM_STRING( &constant_bin[ 1239200 ], 239, 0 );
|
|
const_str_digest_07c16e6970922ab66ea422b3ed25fbcf = UNSTREAM_STRING( &constant_bin[ 1239439 ], 63, 0 );
|
|
const_str_plain_leave = UNSTREAM_STRING( &constant_bin[ 599833 ], 5, 1 );
|
|
const_str_digest_23c2e38b8afc5e09c7da334ae85bbef4 = UNSTREAM_STRING( &constant_bin[ 1239502 ], 17, 0 );
|
|
const_str_digest_60cc8b1a3cc58dc7cada0f275a37a938 = UNSTREAM_STRING( &constant_bin[ 1239519 ], 234, 0 );
|
|
const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple = PyTuple_New( 16 );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 1, const_str_plain_id ); Py_INCREF( const_str_plain_id );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 2, const_str_plain_type ); Py_INCREF( const_str_plain_type );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 3, const_str_plain_title ); Py_INCREF( const_str_plain_title );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 4, const_str_plain_username ); Py_INCREF( const_str_plain_username );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 5, const_str_plain_first_name ); Py_INCREF( const_str_plain_first_name );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 6, const_str_plain_last_name ); Py_INCREF( const_str_plain_last_name );
|
|
const_str_plain_all_members_are_administrators = UNSTREAM_STRING( &constant_bin[ 1239753 ], 30, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 7, const_str_plain_all_members_are_administrators ); Py_INCREF( const_str_plain_all_members_are_administrators );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 8, const_str_plain_bot ); Py_INCREF( const_str_plain_bot );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 9, const_str_plain_photo ); Py_INCREF( const_str_plain_photo );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 10, const_str_plain_description ); Py_INCREF( const_str_plain_description );
|
|
const_str_plain_invite_link = UNSTREAM_STRING( &constant_bin[ 1159038 ], 11, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 11, const_str_plain_invite_link ); Py_INCREF( const_str_plain_invite_link );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 12, const_str_plain_pinned_message ); Py_INCREF( const_str_plain_pinned_message );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 13, const_str_plain_sticker_set_name ); Py_INCREF( const_str_plain_sticker_set_name );
|
|
const_str_plain_can_set_sticker_set = UNSTREAM_STRING( &constant_bin[ 1134293 ], 19, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 14, const_str_plain_can_set_sticker_set ); Py_INCREF( const_str_plain_can_set_sticker_set );
|
|
PyTuple_SET_ITEM( const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 15, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs );
|
|
const_str_digest_a32dd12d8ea6ad79cac651ee60c29c23 = UNSTREAM_STRING( &constant_bin[ 1239783 ], 22, 0 );
|
|
const_str_digest_b12ee3c8df1dcae5bd221902591994a9 = UNSTREAM_STRING( &constant_bin[ 1239805 ], 172, 0 );
|
|
const_str_digest_01c74fffed87c42320df02df5e904cbe = UNSTREAM_STRING( &constant_bin[ 1239783 ], 15, 0 );
|
|
const_str_plain_unban_member = UNSTREAM_STRING( &constant_bin[ 1239507 ], 12, 1 );
|
|
const_str_digest_067e2d7ed21b9bba4049e659b4bb3010 = UNSTREAM_STRING( &constant_bin[ 1239977 ], 9, 0 );
|
|
const_str_digest_0c16fab5abaf4742bfbccc6f20b63e0b = UNSTREAM_STRING( &constant_bin[ 1239986 ], 236, 0 );
|
|
const_str_digest_c593cf85d1a03e95d4819ec0591d89b3 = UNSTREAM_STRING( &constant_bin[ 1240222 ], 234, 0 );
|
|
const_str_plain_channel = UNSTREAM_STRING( &constant_bin[ 776006 ], 7, 1 );
|
|
const_str_digest_d7f43b690b5ec6f52fdced361d395b63 = UNSTREAM_STRING( &constant_bin[ 1240456 ], 16, 0 );
|
|
const_str_digest_218fa260fc2ac9c9e639a88d91527947 = UNSTREAM_STRING( &constant_bin[ 1240472 ], 479, 0 );
|
|
const_str_digest_858d9d7db0a752c770e1de744ea47acc = UNSTREAM_STRING( &constant_bin[ 1240951 ], 15, 0 );
|
|
const_str_digest_997a121a7cc310d6ffda3ab4610afa69 = UNSTREAM_STRING( &constant_bin[ 1240966 ], 146, 0 );
|
|
const_str_digest_c089ab9b1392ea15851324ea9981590e = UNSTREAM_STRING( &constant_bin[ 1241112 ], 17, 0 );
|
|
const_str_digest_d4f5aa2f9fa14bbbf7aee16a43d47147 = UNSTREAM_STRING( &constant_bin[ 1241129 ], 15, 0 );
|
|
const_str_digest_edb8de46bd13ad3150e01f988aad2692 = UNSTREAM_STRING( &constant_bin[ 1241144 ], 17, 0 );
|
|
const_str_digest_fdba530396f7824844e2621f0ac03306 = UNSTREAM_STRING( &constant_bin[ 1241161 ], 15, 0 );
|
|
const_str_digest_8567c8218e535c4f06c81d8236ad6b05 = UNSTREAM_STRING( &constant_bin[ 1241176 ], 423, 0 );
|
|
const_str_digest_003e10b0c15569e5d50883ac1abf1a0e = UNSTREAM_STRING( &constant_bin[ 1241599 ], 179, 0 );
|
|
const_str_plain_kick_member = UNSTREAM_STRING( &constant_bin[ 1240461 ], 11, 1 );
|
|
const_str_plain_get_members_count = UNSTREAM_STRING( &constant_bin[ 1239788 ], 17, 1 );
|
|
const_str_plain_send_action = UNSTREAM_STRING( &constant_bin[ 1241778 ], 11, 1 );
|
|
const_str_digest_466db0f6ac98afd52c1fcf9760226596 = UNSTREAM_STRING( &constant_bin[ 1241789 ], 237, 0 );
|
|
const_str_digest_aeeb046691b4367dd2617e821e14fba2 = UNSTREAM_STRING( &constant_bin[ 1242026 ], 15, 0 );
|
|
const_str_digest_066e39faab08b0bfce2a261f2c7bd4dd = UNSTREAM_STRING( &constant_bin[ 1242041 ], 157, 0 );
|
|
const_tuple_str_plain_TelegramObject_str_plain_ChatPhoto_tuple = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_TelegramObject_str_plain_ChatPhoto_tuple, 0, const_str_plain_TelegramObject ); Py_INCREF( const_str_plain_TelegramObject );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_TelegramObject_str_plain_ChatPhoto_tuple, 1, const_str_plain_ChatPhoto ); Py_INCREF( const_str_plain_ChatPhoto );
|
|
const_str_plain_GROUP = UNSTREAM_STRING( &constant_bin[ 462182 ], 5, 1 );
|
|
const_str_digest_26b6331bf5b51593db423f01da20b64e = UNSTREAM_STRING( &constant_bin[ 1242198 ], 3049, 0 );
|
|
const_str_digest_861aaef525cd342369b77630e9486231 = UNSTREAM_STRING( &constant_bin[ 1245247 ], 20, 0 );
|
|
const_str_digest_063eb5c45e29b442882d3cb2ca82f852 = UNSTREAM_STRING( &constant_bin[ 1245267 ], 13, 0 );
|
|
const_tuple_str_plain_cls_str_plain_data_str_plain_bot_str_plain_Message_tuple = PyTuple_New( 4 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_data_str_plain_bot_str_plain_Message_tuple, 0, const_str_plain_cls ); Py_INCREF( const_str_plain_cls );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_data_str_plain_bot_str_plain_Message_tuple, 1, const_str_plain_data ); Py_INCREF( const_str_plain_data );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_data_str_plain_bot_str_plain_Message_tuple, 2, const_str_plain_bot ); Py_INCREF( const_str_plain_bot );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_cls_str_plain_data_str_plain_bot_str_plain_Message_tuple, 3, const_str_plain_Message ); Py_INCREF( const_str_plain_Message );
|
|
const_str_digest_a6a67056ca08661fdbfd1e6b6b745642 = UNSTREAM_STRING( &constant_bin[ 1245280 ], 234, 0 );
|
|
const_str_plain_get_administrators = UNSTREAM_STRING( &constant_bin[ 1245514 ], 18, 1 );
|
|
const_str_digest_1fb4321ce84aa4fd453b892079405ced = UNSTREAM_STRING( &constant_bin[ 1245532 ], 10, 0 );
|
|
const_str_plain_get_member = UNSTREAM_STRING( &constant_bin[ 1239788 ], 10, 1 );
|
|
const_str_digest_a60d42d90aaa37d819e103219103280b = UNSTREAM_STRING( &constant_bin[ 1245542 ], 16, 0 );
|
|
const_str_digest_0624b48824fdc0206623166d465453f8 = UNSTREAM_STRING( &constant_bin[ 1245558 ], 22, 0 );
|
|
const_str_digest_10c52016f0e08be24fea5b4d21f0ff8b = UNSTREAM_STRING( &constant_bin[ 1245580 ], 184, 0 );
|
|
const_str_digest_b2238ee4e6592e8ebcf01566205a81de = UNSTREAM_STRING( &constant_bin[ 1245764 ], 236, 0 );
|
|
const_str_digest_0a78dbe1b37f0c2f2652fbdd36b8b68a = UNSTREAM_STRING( &constant_bin[ 1246000 ], 23, 0 );
|
|
|
|
constants_created = true;
|
|
}
|
|
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
void checkModuleConstants_telegram$chat( void )
|
|
{
|
|
// The module may not have been used at all.
|
|
if (constants_created == false) return;
|
|
|
|
|
|
}
|
|
#endif
|
|
|
|
// The module code objects.
|
|
static PyCodeObject *codeobj_7a4ba1650334873e2a4c9b34ba1614e4;
|
|
static PyCodeObject *codeobj_1b34d7971d685fc1a37c930c648347a8;
|
|
static PyCodeObject *codeobj_541119cab8dcfeba396a6408cb270378;
|
|
static PyCodeObject *codeobj_afad08362cc95028c59510d32a89a4cd;
|
|
static PyCodeObject *codeobj_883c1dc8f3e307c0b4295fb6af71048a;
|
|
static PyCodeObject *codeobj_03b016c350f9bc620b7bc01b9432d33b;
|
|
static PyCodeObject *codeobj_6db20ce050382115913db7d1263b3ef6;
|
|
static PyCodeObject *codeobj_acf5b06defa7c748f2e2a5ba785073ec;
|
|
static PyCodeObject *codeobj_3189ed08265957e857f76b12c90fd7a5;
|
|
static PyCodeObject *codeobj_78957a70c06fce49f2c159cf22ea8d48;
|
|
static PyCodeObject *codeobj_fc5535a4fbb5cb3c511d997d1d81d065;
|
|
static PyCodeObject *codeobj_d8bb24eebd991e9e9128ed18060bdf7e;
|
|
static PyCodeObject *codeobj_6a6cc32a36f17d2a9528e8ad6e481ace;
|
|
static PyCodeObject *codeobj_2de8336132cd6670a9fee230b8ae4556;
|
|
static PyCodeObject *codeobj_71752936f2058b7d913d84aee3ac84e1;
|
|
static PyCodeObject *codeobj_717655623bcb69b8838b93b2f3461104;
|
|
static PyCodeObject *codeobj_a1adb471e3bba6674f46494ab6fc59af;
|
|
static PyCodeObject *codeobj_e2f25f2c7442810160350bbdf3ad64ff;
|
|
static PyCodeObject *codeobj_0cb96c8ad40e34872dc37dbbf55c14a8;
|
|
static PyCodeObject *codeobj_afe273eb23fc966d211fcd584cdf561f;
|
|
static PyCodeObject *codeobj_da8e6c8f19855211b2710fb40ade9087;
|
|
|
|
static void createModuleCodeObjects(void)
|
|
{
|
|
module_filename_obj = const_str_digest_d58b4ed5607e9bdfbc916d15c9459047;
|
|
codeobj_7a4ba1650334873e2a4c9b34ba1614e4 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_0624b48824fdc0206623166d465453f8, 1, const_tuple_empty, 0, 0, CO_NOFREE );
|
|
codeobj_1b34d7971d685fc1a37c930c648347a8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Chat, 25, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE );
|
|
codeobj_541119cab8dcfeba396a6408cb270378 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 84, const_tuple_b157c47b87d4781c2115dac876b08c9f_tuple, 15, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE );
|
|
codeobj_afad08362cc95028c59510d32a89a4cd = MAKE_CODEOBJ( module_filename_obj, const_str_plain_de_json, 127, const_tuple_str_plain_cls_str_plain_data_str_plain_bot_str_plain_Message_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_883c1dc8f3e307c0b4295fb6af71048a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_administrators, 161, 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_03b016c350f9bc620b7bc01b9432d33b = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_member, 186, 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_6db20ce050382115913db7d1263b3ef6 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_members_count, 175, 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_acf5b06defa7c748f2e2a5ba785073ec = MAKE_CODEOBJ( module_filename_obj, const_str_plain_kick_member, 197, 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_3189ed08265957e857f76b12c90fd7a5 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_leave, 150, 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_78957a70c06fce49f2c159cf22ea8d48 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_link, 119, const_tuple_str_plain_self_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_fc5535a4fbb5cb3c511d997d1d81d065 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_send_action, 138, 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_d8bb24eebd991e9e9128ed18060bdf7e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_send_animation, 276, 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_6a6cc32a36f17d2a9528e8ad6e481ace = MAKE_CODEOBJ( module_filename_obj, const_str_plain_send_audio, 250, 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_2de8336132cd6670a9fee230b8ae4556 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_send_document, 263, 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_71752936f2058b7d913d84aee3ac84e1 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_send_message, 224, 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_717655623bcb69b8838b93b2f3461104 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_send_photo, 237, 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_a1adb471e3bba6674f46494ab6fc59af = MAKE_CODEOBJ( module_filename_obj, const_str_plain_send_sticker, 289, 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_e2f25f2c7442810160350bbdf3ad64ff = MAKE_CODEOBJ( module_filename_obj, const_str_plain_send_video, 302, 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_0cb96c8ad40e34872dc37dbbf55c14a8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_send_video_note, 315, 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_afe273eb23fc966d211fcd584cdf561f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_send_voice, 328, 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_da8e6c8f19855211b2710fb40ade9087 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_unban_member, 213, 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 );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_10_unban_member( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_11_send_message( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_12_send_photo( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_13_send_audio( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_14_send_document( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_15_send_animation( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_16_send_sticker( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_17_send_video( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_18_send_video_note( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_19_send_voice( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_1___init__( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_2_link( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_3_de_json( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_4_send_action( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_5_leave( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_6_get_administrators( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_7_get_members_count( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_8_get_member( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_9_kick_member( );
|
|
|
|
|
|
// The module function definitions.
|
|
static PyObject *impl_telegram$chat$$$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_type = python_pars[ 2 ];
|
|
PyObject *par_title = python_pars[ 3 ];
|
|
PyObject *par_username = python_pars[ 4 ];
|
|
PyObject *par_first_name = python_pars[ 5 ];
|
|
PyObject *par_last_name = python_pars[ 6 ];
|
|
PyObject *par_all_members_are_administrators = python_pars[ 7 ];
|
|
PyObject *par_bot = python_pars[ 8 ];
|
|
PyObject *par_photo = python_pars[ 9 ];
|
|
PyObject *par_description = python_pars[ 10 ];
|
|
PyObject *par_invite_link = python_pars[ 11 ];
|
|
PyObject *par_pinned_message = python_pars[ 12 ];
|
|
PyObject *par_sticker_set_name = python_pars[ 13 ];
|
|
PyObject *par_can_set_sticker_set = python_pars[ 14 ];
|
|
PyObject *par_kwargs = python_pars[ 15 ];
|
|
struct Nuitka_FrameObject *frame_541119cab8dcfeba396a6408cb270378;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
bool tmp_result;
|
|
static struct Nuitka_FrameObject *cache_frame_541119cab8dcfeba396a6408cb270378 = 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_541119cab8dcfeba396a6408cb270378, codeobj_541119cab8dcfeba396a6408cb270378, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_541119cab8dcfeba396a6408cb270378 = cache_frame_541119cab8dcfeba396a6408cb270378;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_541119cab8dcfeba396a6408cb270378 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_541119cab8dcfeba396a6408cb270378 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assattr_name_1;
|
|
PyObject *tmp_int_arg_1;
|
|
PyObject *tmp_assattr_target_1;
|
|
CHECK_OBJECT( par_id );
|
|
tmp_int_arg_1 = par_id;
|
|
tmp_assattr_name_1 = PyNumber_Int( tmp_int_arg_1 );
|
|
if ( tmp_assattr_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 101;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_assattr_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 101;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_1 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_id, tmp_assattr_name_1 );
|
|
Py_DECREF( tmp_assattr_name_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 101;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_2;
|
|
PyObject *tmp_assattr_target_2;
|
|
if ( par_type == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "type" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 102;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_2 = par_type;
|
|
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 = 102;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_2 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_type, tmp_assattr_name_2 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 102;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_3;
|
|
PyObject *tmp_assattr_target_3;
|
|
if ( par_title == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "title" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 104;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_3 = par_title;
|
|
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 = 104;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_3 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_title, tmp_assattr_name_3 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 104;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_4;
|
|
PyObject *tmp_assattr_target_4;
|
|
if ( par_username == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "username" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 105;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_4 = par_username;
|
|
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 = 105;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_4 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_username, tmp_assattr_name_4 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 105;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_5;
|
|
PyObject *tmp_assattr_target_5;
|
|
if ( par_first_name == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "first_name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 106;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_5 = par_first_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 = 106;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_5 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_first_name, tmp_assattr_name_5 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 106;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_6;
|
|
PyObject *tmp_assattr_target_6;
|
|
if ( par_last_name == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "last_name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 107;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_6 = par_last_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 = 107;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_6 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain_last_name, tmp_assattr_name_6 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 107;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_7;
|
|
PyObject *tmp_assattr_target_7;
|
|
if ( par_all_members_are_administrators == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "all_members_are_administrators" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 108;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_7 = par_all_members_are_administrators;
|
|
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 = 108;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_7 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_7, const_str_plain_all_members_are_administrators, tmp_assattr_name_7 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 108;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_8;
|
|
PyObject *tmp_assattr_target_8;
|
|
if ( par_photo == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "photo" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 109;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_8 = par_photo;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 109;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_8 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_8, const_str_plain_photo, tmp_assattr_name_8 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 109;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_9;
|
|
PyObject *tmp_assattr_target_9;
|
|
if ( par_description == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "description" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_9 = par_description;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_9 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_9, const_str_plain_description, tmp_assattr_name_9 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 110;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_10;
|
|
PyObject *tmp_assattr_target_10;
|
|
if ( par_invite_link == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "invite_link" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_10 = par_invite_link;
|
|
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 = 111;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_10 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_10, const_str_plain_invite_link, tmp_assattr_name_10 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 111;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_11;
|
|
PyObject *tmp_assattr_target_11;
|
|
if ( par_pinned_message == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "pinned_message" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_11 = par_pinned_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 = 112;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_11 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_11, const_str_plain_pinned_message, tmp_assattr_name_11 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 112;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_12;
|
|
PyObject *tmp_assattr_target_12;
|
|
if ( par_sticker_set_name == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sticker_set_name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 113;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_12 = par_sticker_set_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 = 113;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_12 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_12, const_str_plain_sticker_set_name, tmp_assattr_name_12 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 113;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_13;
|
|
PyObject *tmp_assattr_target_13;
|
|
if ( par_can_set_sticker_set == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "can_set_sticker_set" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 114;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_13 = par_can_set_sticker_set;
|
|
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 = 114;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_13 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_13, const_str_plain_can_set_sticker_set, tmp_assattr_name_13 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 114;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_14;
|
|
PyObject *tmp_assattr_target_14;
|
|
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 = 116;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_14 = 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 = 116;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_14 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_14, const_str_plain_bot, tmp_assattr_name_14 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 116;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_15;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_assattr_target_15;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "oooooooooooooooo";
|
|
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 = 117;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assattr_name_15 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_assattr_name_15, 0, tmp_tuple_element_1 );
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_assattr_name_15 );
|
|
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 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_15 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_15, const_str_plain__id_attrs, tmp_assattr_name_15 );
|
|
Py_DECREF( tmp_assattr_name_15 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "oooooooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_541119cab8dcfeba396a6408cb270378 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_541119cab8dcfeba396a6408cb270378 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_541119cab8dcfeba396a6408cb270378, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_541119cab8dcfeba396a6408cb270378->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_541119cab8dcfeba396a6408cb270378, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_541119cab8dcfeba396a6408cb270378,
|
|
type_description_1,
|
|
par_self,
|
|
par_id,
|
|
par_type,
|
|
par_title,
|
|
par_username,
|
|
par_first_name,
|
|
par_last_name,
|
|
par_all_members_are_administrators,
|
|
par_bot,
|
|
par_photo,
|
|
par_description,
|
|
par_invite_link,
|
|
par_pinned_message,
|
|
par_sticker_set_name,
|
|
par_can_set_sticker_set,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_541119cab8dcfeba396a6408cb270378 == cache_frame_541119cab8dcfeba396a6408cb270378 )
|
|
{
|
|
Py_DECREF( frame_541119cab8dcfeba396a6408cb270378 );
|
|
}
|
|
cache_frame_541119cab8dcfeba396a6408cb270378 = NULL;
|
|
|
|
assertFrameObject( frame_541119cab8dcfeba396a6408cb270378 );
|
|
|
|
// 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$chat$$$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_type );
|
|
par_type = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_title );
|
|
par_title = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_username );
|
|
par_username = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_first_name );
|
|
par_first_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_last_name );
|
|
par_last_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_all_members_are_administrators );
|
|
par_all_members_are_administrators = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_bot );
|
|
par_bot = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_photo );
|
|
par_photo = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_description );
|
|
par_description = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_invite_link );
|
|
par_invite_link = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_pinned_message );
|
|
par_pinned_message = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_sticker_set_name );
|
|
par_sticker_set_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_can_set_sticker_set );
|
|
par_can_set_sticker_set = 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_type );
|
|
par_type = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_title );
|
|
par_title = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_username );
|
|
par_username = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_first_name );
|
|
par_first_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_last_name );
|
|
par_last_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_all_members_are_administrators );
|
|
par_all_members_are_administrators = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_bot );
|
|
par_bot = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_photo );
|
|
par_photo = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_description );
|
|
par_description = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_invite_link );
|
|
par_invite_link = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_pinned_message );
|
|
par_pinned_message = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_sticker_set_name );
|
|
par_sticker_set_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_can_set_sticker_set );
|
|
par_can_set_sticker_set = 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$chat$$$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$chat$$$function_2_link( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
struct Nuitka_FrameObject *frame_78957a70c06fce49f2c159cf22ea8d48;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_78957a70c06fce49f2c159cf22ea8d48 = 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_78957a70c06fce49f2c159cf22ea8d48, codeobj_78957a70c06fce49f2c159cf22ea8d48, module_telegram$chat, sizeof(void *) );
|
|
frame_78957a70c06fce49f2c159cf22ea8d48 = cache_frame_78957a70c06fce49f2c159cf22ea8d48;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_78957a70c06fce49f2c159cf22ea8d48 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_78957a70c06fce49f2c159cf22ea8d48 ) == 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_username );
|
|
if ( tmp_attribute_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 123;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_attribute_value_1 );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_attribute_value_1 );
|
|
|
|
exception_lineno = 123;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
Py_DECREF( tmp_attribute_value_1 );
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_source_name_3;
|
|
tmp_source_name_2 = const_str_digest_9137fa5ffbc9afdf75db4989970bf6f8;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_format );
|
|
assert( !(tmp_called_name_1 == NULL) );
|
|
if ( par_self == 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", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 124;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_3 = par_self;
|
|
tmp_args_element_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_username );
|
|
if ( tmp_args_element_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_1 );
|
|
|
|
exception_lineno = 124;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_78957a70c06fce49f2c159cf22ea8d48->m_frame.f_lineno = 124;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
|
tmp_return_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 124;
|
|
type_description_1 = "o";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_78957a70c06fce49f2c159cf22ea8d48 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_78957a70c06fce49f2c159cf22ea8d48 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_78957a70c06fce49f2c159cf22ea8d48 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_78957a70c06fce49f2c159cf22ea8d48, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_78957a70c06fce49f2c159cf22ea8d48->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_78957a70c06fce49f2c159cf22ea8d48, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_78957a70c06fce49f2c159cf22ea8d48,
|
|
type_description_1,
|
|
par_self
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_78957a70c06fce49f2c159cf22ea8d48 == cache_frame_78957a70c06fce49f2c159cf22ea8d48 )
|
|
{
|
|
Py_DECREF( frame_78957a70c06fce49f2c159cf22ea8d48 );
|
|
}
|
|
cache_frame_78957a70c06fce49f2c159cf22ea8d48 = NULL;
|
|
|
|
assertFrameObject( frame_78957a70c06fce49f2c159cf22ea8d48 );
|
|
|
|
// 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$chat$$$function_2_link );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( telegram$chat$$$function_2_link );
|
|
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$chat$$$function_3_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 ];
|
|
PyObject *var_Message = NULL;
|
|
struct Nuitka_FrameObject *frame_afad08362cc95028c59510d32a89a4cd;
|
|
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_afad08362cc95028c59510d32a89a4cd = 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_afad08362cc95028c59510d32a89a4cd, codeobj_afad08362cc95028c59510d32a89a4cd, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_afad08362cc95028c59510d32a89a4cd = cache_frame_afad08362cc95028c59510d32a89a4cd;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_afad08362cc95028c59510d32a89a4cd );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_afad08362cc95028c59510d32a89a4cd ) == 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 = 129;
|
|
type_description_1 = "oooo";
|
|
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_ass_subvalue_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_telegram$chat, (Nuitka_StringObject *)const_str_plain_ChatPhoto );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_ChatPhoto );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "ChatPhoto" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 132;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = tmp_mvar_value_1;
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_de_json );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 132;
|
|
type_description_1 = "oooo";
|
|
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 = 132;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_data;
|
|
frame_afad08362cc95028c59510d32a89a4cd->m_frame.f_lineno = 132;
|
|
tmp_args_element_name_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_plain_photo_tuple, 0 ) );
|
|
|
|
if ( tmp_args_element_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_1 );
|
|
|
|
exception_lineno = 132;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_bot == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_element_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 = 132;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_bot;
|
|
frame_afad08362cc95028c59510d32a89a4cd->m_frame.f_lineno = 132;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_ass_subvalue_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
Py_DECREF( tmp_args_element_name_1 );
|
|
if ( tmp_ass_subvalue_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 132;
|
|
type_description_1 = "oooo";
|
|
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 = 132;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = par_data;
|
|
tmp_ass_subscript_1 = const_str_plain_photo;
|
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 132;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_import_name_from_1;
|
|
PyObject *tmp_name_name_1;
|
|
PyObject *tmp_globals_name_1;
|
|
PyObject *tmp_locals_name_1;
|
|
PyObject *tmp_fromlist_name_1;
|
|
PyObject *tmp_level_name_1;
|
|
tmp_name_name_1 = const_str_plain_telegram;
|
|
tmp_globals_name_1 = (PyObject *)moduledict_telegram$chat;
|
|
tmp_locals_name_1 = Py_None;
|
|
tmp_fromlist_name_1 = const_tuple_str_plain_Message_tuple;
|
|
tmp_level_name_1 = const_int_0;
|
|
frame_afad08362cc95028c59510d32a89a4cd->m_frame.f_lineno = 133;
|
|
tmp_import_name_from_1 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
|
|
if ( tmp_import_name_from_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 133;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assign_source_1 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_Message );
|
|
Py_DECREF( tmp_import_name_from_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 133;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_Message == NULL );
|
|
var_Message = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_2;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_called_instance_2;
|
|
PyObject *tmp_args_element_name_4;
|
|
PyObject *tmp_ass_subscribed_2;
|
|
PyObject *tmp_ass_subscript_2;
|
|
CHECK_OBJECT( var_Message );
|
|
tmp_source_name_2 = var_Message;
|
|
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 = 134;
|
|
type_description_1 = "oooo";
|
|
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 = 134;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_2 = par_data;
|
|
frame_afad08362cc95028c59510d32a89a4cd->m_frame.f_lineno = 134;
|
|
tmp_args_element_name_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_plain_pinned_message_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 = 134;
|
|
type_description_1 = "oooo";
|
|
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 = 134;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_4 = par_bot;
|
|
frame_afad08362cc95028c59510d32a89a4cd->m_frame.f_lineno = 134;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 };
|
|
tmp_ass_subvalue_2 = 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_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 134;
|
|
type_description_1 = "oooo";
|
|
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 = 134;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_2 = par_data;
|
|
tmp_ass_subscript_2 = const_str_plain_pinned_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 = 134;
|
|
type_description_1 = "oooo";
|
|
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 = 136;
|
|
type_description_1 = "oooo";
|
|
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 = 136;
|
|
type_description_1 = "oooo";
|
|
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 = 136;
|
|
type_description_1 = "oooo";
|
|
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 = 136;
|
|
type_description_1 = "oooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_afad08362cc95028c59510d32a89a4cd );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_afad08362cc95028c59510d32a89a4cd );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_afad08362cc95028c59510d32a89a4cd );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_afad08362cc95028c59510d32a89a4cd, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_afad08362cc95028c59510d32a89a4cd->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_afad08362cc95028c59510d32a89a4cd, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_afad08362cc95028c59510d32a89a4cd,
|
|
type_description_1,
|
|
par_cls,
|
|
par_data,
|
|
par_bot,
|
|
var_Message
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_afad08362cc95028c59510d32a89a4cd == cache_frame_afad08362cc95028c59510d32a89a4cd )
|
|
{
|
|
Py_DECREF( frame_afad08362cc95028c59510d32a89a4cd );
|
|
}
|
|
cache_frame_afad08362cc95028c59510d32a89a4cd = NULL;
|
|
|
|
assertFrameObject( frame_afad08362cc95028c59510d32a89a4cd );
|
|
|
|
// 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$chat$$$function_3_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;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_Message );
|
|
var_Message = 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;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_Message );
|
|
var_Message = 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$chat$$$function_3_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$chat$$$function_4_send_action( 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_fc5535a4fbb5cb3c511d997d1d81d065;
|
|
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_fc5535a4fbb5cb3c511d997d1d81d065 = 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_fc5535a4fbb5cb3c511d997d1d81d065, codeobj_fc5535a4fbb5cb3c511d997d1d81d065, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_fc5535a4fbb5cb3c511d997d1d81d065 = cache_frame_fc5535a4fbb5cb3c511d997d1d81d065;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_fc5535a4fbb5cb3c511d997d1d81d065 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_fc5535a4fbb5cb3c511d997d1d81d065 ) == 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 = 148;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_send_chat_action );
|
|
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 = 148;
|
|
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 = 148;
|
|
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 = 148;
|
|
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 = 148;
|
|
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 = 148;
|
|
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 = 148;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_fc5535a4fbb5cb3c511d997d1d81d065 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_fc5535a4fbb5cb3c511d997d1d81d065 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_fc5535a4fbb5cb3c511d997d1d81d065 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_fc5535a4fbb5cb3c511d997d1d81d065, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_fc5535a4fbb5cb3c511d997d1d81d065->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_fc5535a4fbb5cb3c511d997d1d81d065, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_fc5535a4fbb5cb3c511d997d1d81d065,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_fc5535a4fbb5cb3c511d997d1d81d065 == cache_frame_fc5535a4fbb5cb3c511d997d1d81d065 )
|
|
{
|
|
Py_DECREF( frame_fc5535a4fbb5cb3c511d997d1d81d065 );
|
|
}
|
|
cache_frame_fc5535a4fbb5cb3c511d997d1d81d065 = NULL;
|
|
|
|
assertFrameObject( frame_fc5535a4fbb5cb3c511d997d1d81d065 );
|
|
|
|
// 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$chat$$$function_4_send_action );
|
|
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$chat$$$function_4_send_action );
|
|
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$chat$$$function_5_leave( 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_3189ed08265957e857f76b12c90fd7a5;
|
|
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_3189ed08265957e857f76b12c90fd7a5 = 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_3189ed08265957e857f76b12c90fd7a5, codeobj_3189ed08265957e857f76b12c90fd7a5, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_3189ed08265957e857f76b12c90fd7a5 = cache_frame_3189ed08265957e857f76b12c90fd7a5;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_3189ed08265957e857f76b12c90fd7a5 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_3189ed08265957e857f76b12c90fd7a5 ) == 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 = 159;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_leave_chat );
|
|
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 = 159;
|
|
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 = 159;
|
|
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 = 159;
|
|
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 = 159;
|
|
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 = 159;
|
|
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 = 159;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_3189ed08265957e857f76b12c90fd7a5 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_3189ed08265957e857f76b12c90fd7a5 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_3189ed08265957e857f76b12c90fd7a5 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_3189ed08265957e857f76b12c90fd7a5, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_3189ed08265957e857f76b12c90fd7a5->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_3189ed08265957e857f76b12c90fd7a5, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_3189ed08265957e857f76b12c90fd7a5,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_3189ed08265957e857f76b12c90fd7a5 == cache_frame_3189ed08265957e857f76b12c90fd7a5 )
|
|
{
|
|
Py_DECREF( frame_3189ed08265957e857f76b12c90fd7a5 );
|
|
}
|
|
cache_frame_3189ed08265957e857f76b12c90fd7a5 = NULL;
|
|
|
|
assertFrameObject( frame_3189ed08265957e857f76b12c90fd7a5 );
|
|
|
|
// 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$chat$$$function_5_leave );
|
|
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$chat$$$function_5_leave );
|
|
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$chat$$$function_6_get_administrators( 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_883c1dc8f3e307c0b4295fb6af71048a;
|
|
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_883c1dc8f3e307c0b4295fb6af71048a = 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_883c1dc8f3e307c0b4295fb6af71048a, codeobj_883c1dc8f3e307c0b4295fb6af71048a, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_883c1dc8f3e307c0b4295fb6af71048a = cache_frame_883c1dc8f3e307c0b4295fb6af71048a;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_883c1dc8f3e307c0b4295fb6af71048a );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_883c1dc8f3e307c0b4295fb6af71048a ) == 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 = 173;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get_chat_administrators );
|
|
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 = 173;
|
|
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 = 173;
|
|
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 = 173;
|
|
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 = 173;
|
|
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 = 173;
|
|
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 = 173;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_883c1dc8f3e307c0b4295fb6af71048a );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_883c1dc8f3e307c0b4295fb6af71048a );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_883c1dc8f3e307c0b4295fb6af71048a );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_883c1dc8f3e307c0b4295fb6af71048a, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_883c1dc8f3e307c0b4295fb6af71048a->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_883c1dc8f3e307c0b4295fb6af71048a, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_883c1dc8f3e307c0b4295fb6af71048a,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_883c1dc8f3e307c0b4295fb6af71048a == cache_frame_883c1dc8f3e307c0b4295fb6af71048a )
|
|
{
|
|
Py_DECREF( frame_883c1dc8f3e307c0b4295fb6af71048a );
|
|
}
|
|
cache_frame_883c1dc8f3e307c0b4295fb6af71048a = NULL;
|
|
|
|
assertFrameObject( frame_883c1dc8f3e307c0b4295fb6af71048a );
|
|
|
|
// 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$chat$$$function_6_get_administrators );
|
|
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$chat$$$function_6_get_administrators );
|
|
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$chat$$$function_7_get_members_count( 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_6db20ce050382115913db7d1263b3ef6;
|
|
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_6db20ce050382115913db7d1263b3ef6 = 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_6db20ce050382115913db7d1263b3ef6, codeobj_6db20ce050382115913db7d1263b3ef6, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_6db20ce050382115913db7d1263b3ef6 = cache_frame_6db20ce050382115913db7d1263b3ef6;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_6db20ce050382115913db7d1263b3ef6 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_6db20ce050382115913db7d1263b3ef6 ) == 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 = 184;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get_chat_members_count );
|
|
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 = 184;
|
|
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 = 184;
|
|
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 = 184;
|
|
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 = 184;
|
|
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 = 184;
|
|
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 = 184;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6db20ce050382115913db7d1263b3ef6 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6db20ce050382115913db7d1263b3ef6 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6db20ce050382115913db7d1263b3ef6 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_6db20ce050382115913db7d1263b3ef6, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_6db20ce050382115913db7d1263b3ef6->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_6db20ce050382115913db7d1263b3ef6, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_6db20ce050382115913db7d1263b3ef6,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_6db20ce050382115913db7d1263b3ef6 == cache_frame_6db20ce050382115913db7d1263b3ef6 )
|
|
{
|
|
Py_DECREF( frame_6db20ce050382115913db7d1263b3ef6 );
|
|
}
|
|
cache_frame_6db20ce050382115913db7d1263b3ef6 = NULL;
|
|
|
|
assertFrameObject( frame_6db20ce050382115913db7d1263b3ef6 );
|
|
|
|
// 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$chat$$$function_7_get_members_count );
|
|
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$chat$$$function_7_get_members_count );
|
|
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$chat$$$function_8_get_member( 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_03b016c350f9bc620b7bc01b9432d33b;
|
|
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_03b016c350f9bc620b7bc01b9432d33b = 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_03b016c350f9bc620b7bc01b9432d33b, codeobj_03b016c350f9bc620b7bc01b9432d33b, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_03b016c350f9bc620b7bc01b9432d33b = cache_frame_03b016c350f9bc620b7bc01b9432d33b;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_03b016c350f9bc620b7bc01b9432d33b );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_03b016c350f9bc620b7bc01b9432d33b ) == 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 = 195;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get_chat_member );
|
|
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 = 195;
|
|
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 = 195;
|
|
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 = 195;
|
|
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 = 195;
|
|
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 = 195;
|
|
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 = 195;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_03b016c350f9bc620b7bc01b9432d33b );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_03b016c350f9bc620b7bc01b9432d33b );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_03b016c350f9bc620b7bc01b9432d33b );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_03b016c350f9bc620b7bc01b9432d33b, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_03b016c350f9bc620b7bc01b9432d33b->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_03b016c350f9bc620b7bc01b9432d33b, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_03b016c350f9bc620b7bc01b9432d33b,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_03b016c350f9bc620b7bc01b9432d33b == cache_frame_03b016c350f9bc620b7bc01b9432d33b )
|
|
{
|
|
Py_DECREF( frame_03b016c350f9bc620b7bc01b9432d33b );
|
|
}
|
|
cache_frame_03b016c350f9bc620b7bc01b9432d33b = NULL;
|
|
|
|
assertFrameObject( frame_03b016c350f9bc620b7bc01b9432d33b );
|
|
|
|
// 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$chat$$$function_8_get_member );
|
|
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$chat$$$function_8_get_member );
|
|
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$chat$$$function_9_kick_member( 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_acf5b06defa7c748f2e2a5ba785073ec;
|
|
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_acf5b06defa7c748f2e2a5ba785073ec = 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_acf5b06defa7c748f2e2a5ba785073ec, codeobj_acf5b06defa7c748f2e2a5ba785073ec, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_acf5b06defa7c748f2e2a5ba785073ec = cache_frame_acf5b06defa7c748f2e2a5ba785073ec;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_acf5b06defa7c748f2e2a5ba785073ec );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_acf5b06defa7c748f2e2a5ba785073ec ) == 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 = 211;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_kick_chat_member );
|
|
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 = 211;
|
|
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 = 211;
|
|
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 = 211;
|
|
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 = 211;
|
|
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 = 211;
|
|
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 = 211;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_acf5b06defa7c748f2e2a5ba785073ec );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_acf5b06defa7c748f2e2a5ba785073ec );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_acf5b06defa7c748f2e2a5ba785073ec );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_acf5b06defa7c748f2e2a5ba785073ec, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_acf5b06defa7c748f2e2a5ba785073ec->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_acf5b06defa7c748f2e2a5ba785073ec, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_acf5b06defa7c748f2e2a5ba785073ec,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_acf5b06defa7c748f2e2a5ba785073ec == cache_frame_acf5b06defa7c748f2e2a5ba785073ec )
|
|
{
|
|
Py_DECREF( frame_acf5b06defa7c748f2e2a5ba785073ec );
|
|
}
|
|
cache_frame_acf5b06defa7c748f2e2a5ba785073ec = NULL;
|
|
|
|
assertFrameObject( frame_acf5b06defa7c748f2e2a5ba785073ec );
|
|
|
|
// 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$chat$$$function_9_kick_member );
|
|
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$chat$$$function_9_kick_member );
|
|
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$chat$$$function_10_unban_member( 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_da8e6c8f19855211b2710fb40ade9087;
|
|
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_da8e6c8f19855211b2710fb40ade9087 = 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_da8e6c8f19855211b2710fb40ade9087, codeobj_da8e6c8f19855211b2710fb40ade9087, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_da8e6c8f19855211b2710fb40ade9087 = cache_frame_da8e6c8f19855211b2710fb40ade9087;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_da8e6c8f19855211b2710fb40ade9087 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_da8e6c8f19855211b2710fb40ade9087 ) == 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 = 222;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_unban_chat_member );
|
|
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 = 222;
|
|
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 = 222;
|
|
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 = 222;
|
|
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 = 222;
|
|
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 = 222;
|
|
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 = 222;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_da8e6c8f19855211b2710fb40ade9087 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_da8e6c8f19855211b2710fb40ade9087 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_da8e6c8f19855211b2710fb40ade9087 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_da8e6c8f19855211b2710fb40ade9087, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_da8e6c8f19855211b2710fb40ade9087->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_da8e6c8f19855211b2710fb40ade9087, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_da8e6c8f19855211b2710fb40ade9087,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_da8e6c8f19855211b2710fb40ade9087 == cache_frame_da8e6c8f19855211b2710fb40ade9087 )
|
|
{
|
|
Py_DECREF( frame_da8e6c8f19855211b2710fb40ade9087 );
|
|
}
|
|
cache_frame_da8e6c8f19855211b2710fb40ade9087 = NULL;
|
|
|
|
assertFrameObject( frame_da8e6c8f19855211b2710fb40ade9087 );
|
|
|
|
// 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$chat$$$function_10_unban_member );
|
|
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$chat$$$function_10_unban_member );
|
|
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$chat$$$function_11_send_message( 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_71752936f2058b7d913d84aee3ac84e1;
|
|
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_71752936f2058b7d913d84aee3ac84e1 = 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_71752936f2058b7d913d84aee3ac84e1, codeobj_71752936f2058b7d913d84aee3ac84e1, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_71752936f2058b7d913d84aee3ac84e1 = cache_frame_71752936f2058b7d913d84aee3ac84e1;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_71752936f2058b7d913d84aee3ac84e1 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_71752936f2058b7d913d84aee3ac84e1 ) == 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 = 235;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_send_message );
|
|
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 = 235;
|
|
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 = 235;
|
|
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 = 235;
|
|
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 = 235;
|
|
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 = 235;
|
|
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 = 235;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_71752936f2058b7d913d84aee3ac84e1 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_71752936f2058b7d913d84aee3ac84e1 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_71752936f2058b7d913d84aee3ac84e1 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_71752936f2058b7d913d84aee3ac84e1, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_71752936f2058b7d913d84aee3ac84e1->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_71752936f2058b7d913d84aee3ac84e1, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_71752936f2058b7d913d84aee3ac84e1,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_71752936f2058b7d913d84aee3ac84e1 == cache_frame_71752936f2058b7d913d84aee3ac84e1 )
|
|
{
|
|
Py_DECREF( frame_71752936f2058b7d913d84aee3ac84e1 );
|
|
}
|
|
cache_frame_71752936f2058b7d913d84aee3ac84e1 = NULL;
|
|
|
|
assertFrameObject( frame_71752936f2058b7d913d84aee3ac84e1 );
|
|
|
|
// 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$chat$$$function_11_send_message );
|
|
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$chat$$$function_11_send_message );
|
|
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$chat$$$function_12_send_photo( 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_717655623bcb69b8838b93b2f3461104;
|
|
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_717655623bcb69b8838b93b2f3461104 = 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_717655623bcb69b8838b93b2f3461104, codeobj_717655623bcb69b8838b93b2f3461104, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_717655623bcb69b8838b93b2f3461104 = cache_frame_717655623bcb69b8838b93b2f3461104;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_717655623bcb69b8838b93b2f3461104 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_717655623bcb69b8838b93b2f3461104 ) == 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 = 248;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_send_photo );
|
|
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 = 248;
|
|
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 = 248;
|
|
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 = 248;
|
|
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 = 248;
|
|
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 = 248;
|
|
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 = 248;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_717655623bcb69b8838b93b2f3461104 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_717655623bcb69b8838b93b2f3461104 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_717655623bcb69b8838b93b2f3461104 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_717655623bcb69b8838b93b2f3461104, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_717655623bcb69b8838b93b2f3461104->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_717655623bcb69b8838b93b2f3461104, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_717655623bcb69b8838b93b2f3461104,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_717655623bcb69b8838b93b2f3461104 == cache_frame_717655623bcb69b8838b93b2f3461104 )
|
|
{
|
|
Py_DECREF( frame_717655623bcb69b8838b93b2f3461104 );
|
|
}
|
|
cache_frame_717655623bcb69b8838b93b2f3461104 = NULL;
|
|
|
|
assertFrameObject( frame_717655623bcb69b8838b93b2f3461104 );
|
|
|
|
// 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$chat$$$function_12_send_photo );
|
|
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$chat$$$function_12_send_photo );
|
|
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$chat$$$function_13_send_audio( 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_6a6cc32a36f17d2a9528e8ad6e481ace;
|
|
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_6a6cc32a36f17d2a9528e8ad6e481ace = 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_6a6cc32a36f17d2a9528e8ad6e481ace, codeobj_6a6cc32a36f17d2a9528e8ad6e481ace, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_6a6cc32a36f17d2a9528e8ad6e481ace = cache_frame_6a6cc32a36f17d2a9528e8ad6e481ace;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_6a6cc32a36f17d2a9528e8ad6e481ace );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_6a6cc32a36f17d2a9528e8ad6e481ace ) == 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 = 261;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_send_audio );
|
|
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 = 261;
|
|
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 = 261;
|
|
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 = 261;
|
|
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 = 261;
|
|
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 = 261;
|
|
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 = 261;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6a6cc32a36f17d2a9528e8ad6e481ace );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6a6cc32a36f17d2a9528e8ad6e481ace );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_6a6cc32a36f17d2a9528e8ad6e481ace );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_6a6cc32a36f17d2a9528e8ad6e481ace, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_6a6cc32a36f17d2a9528e8ad6e481ace->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_6a6cc32a36f17d2a9528e8ad6e481ace, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_6a6cc32a36f17d2a9528e8ad6e481ace,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_6a6cc32a36f17d2a9528e8ad6e481ace == cache_frame_6a6cc32a36f17d2a9528e8ad6e481ace )
|
|
{
|
|
Py_DECREF( frame_6a6cc32a36f17d2a9528e8ad6e481ace );
|
|
}
|
|
cache_frame_6a6cc32a36f17d2a9528e8ad6e481ace = NULL;
|
|
|
|
assertFrameObject( frame_6a6cc32a36f17d2a9528e8ad6e481ace );
|
|
|
|
// 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$chat$$$function_13_send_audio );
|
|
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$chat$$$function_13_send_audio );
|
|
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$chat$$$function_14_send_document( 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_2de8336132cd6670a9fee230b8ae4556;
|
|
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_2de8336132cd6670a9fee230b8ae4556 = 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_2de8336132cd6670a9fee230b8ae4556, codeobj_2de8336132cd6670a9fee230b8ae4556, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_2de8336132cd6670a9fee230b8ae4556 = cache_frame_2de8336132cd6670a9fee230b8ae4556;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_2de8336132cd6670a9fee230b8ae4556 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_2de8336132cd6670a9fee230b8ae4556 ) == 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 = 274;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_send_document );
|
|
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 = 274;
|
|
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 = 274;
|
|
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 = 274;
|
|
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 = 274;
|
|
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 = 274;
|
|
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 = 274;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_2de8336132cd6670a9fee230b8ae4556 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_2de8336132cd6670a9fee230b8ae4556 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_2de8336132cd6670a9fee230b8ae4556 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_2de8336132cd6670a9fee230b8ae4556, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_2de8336132cd6670a9fee230b8ae4556->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_2de8336132cd6670a9fee230b8ae4556, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_2de8336132cd6670a9fee230b8ae4556,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_2de8336132cd6670a9fee230b8ae4556 == cache_frame_2de8336132cd6670a9fee230b8ae4556 )
|
|
{
|
|
Py_DECREF( frame_2de8336132cd6670a9fee230b8ae4556 );
|
|
}
|
|
cache_frame_2de8336132cd6670a9fee230b8ae4556 = NULL;
|
|
|
|
assertFrameObject( frame_2de8336132cd6670a9fee230b8ae4556 );
|
|
|
|
// 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$chat$$$function_14_send_document );
|
|
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$chat$$$function_14_send_document );
|
|
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$chat$$$function_15_send_animation( 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_d8bb24eebd991e9e9128ed18060bdf7e;
|
|
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_d8bb24eebd991e9e9128ed18060bdf7e = 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_d8bb24eebd991e9e9128ed18060bdf7e, codeobj_d8bb24eebd991e9e9128ed18060bdf7e, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_d8bb24eebd991e9e9128ed18060bdf7e = cache_frame_d8bb24eebd991e9e9128ed18060bdf7e;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_d8bb24eebd991e9e9128ed18060bdf7e );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_d8bb24eebd991e9e9128ed18060bdf7e ) == 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 = 287;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_send_animation );
|
|
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 = 287;
|
|
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 = 287;
|
|
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 = 287;
|
|
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 = 287;
|
|
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 = 287;
|
|
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 = 287;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_d8bb24eebd991e9e9128ed18060bdf7e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_d8bb24eebd991e9e9128ed18060bdf7e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_d8bb24eebd991e9e9128ed18060bdf7e );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_d8bb24eebd991e9e9128ed18060bdf7e, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_d8bb24eebd991e9e9128ed18060bdf7e->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_d8bb24eebd991e9e9128ed18060bdf7e, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_d8bb24eebd991e9e9128ed18060bdf7e,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_d8bb24eebd991e9e9128ed18060bdf7e == cache_frame_d8bb24eebd991e9e9128ed18060bdf7e )
|
|
{
|
|
Py_DECREF( frame_d8bb24eebd991e9e9128ed18060bdf7e );
|
|
}
|
|
cache_frame_d8bb24eebd991e9e9128ed18060bdf7e = NULL;
|
|
|
|
assertFrameObject( frame_d8bb24eebd991e9e9128ed18060bdf7e );
|
|
|
|
// 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$chat$$$function_15_send_animation );
|
|
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$chat$$$function_15_send_animation );
|
|
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$chat$$$function_16_send_sticker( 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_a1adb471e3bba6674f46494ab6fc59af;
|
|
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_a1adb471e3bba6674f46494ab6fc59af = 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_a1adb471e3bba6674f46494ab6fc59af, codeobj_a1adb471e3bba6674f46494ab6fc59af, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_a1adb471e3bba6674f46494ab6fc59af = cache_frame_a1adb471e3bba6674f46494ab6fc59af;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_a1adb471e3bba6674f46494ab6fc59af );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_a1adb471e3bba6674f46494ab6fc59af ) == 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 = 300;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_send_sticker );
|
|
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 = 300;
|
|
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 = 300;
|
|
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 = 300;
|
|
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 = 300;
|
|
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 = 300;
|
|
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 = 300;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_a1adb471e3bba6674f46494ab6fc59af );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_a1adb471e3bba6674f46494ab6fc59af );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_a1adb471e3bba6674f46494ab6fc59af );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_a1adb471e3bba6674f46494ab6fc59af, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_a1adb471e3bba6674f46494ab6fc59af->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_a1adb471e3bba6674f46494ab6fc59af, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_a1adb471e3bba6674f46494ab6fc59af,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_a1adb471e3bba6674f46494ab6fc59af == cache_frame_a1adb471e3bba6674f46494ab6fc59af )
|
|
{
|
|
Py_DECREF( frame_a1adb471e3bba6674f46494ab6fc59af );
|
|
}
|
|
cache_frame_a1adb471e3bba6674f46494ab6fc59af = NULL;
|
|
|
|
assertFrameObject( frame_a1adb471e3bba6674f46494ab6fc59af );
|
|
|
|
// 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$chat$$$function_16_send_sticker );
|
|
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$chat$$$function_16_send_sticker );
|
|
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$chat$$$function_17_send_video( 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_e2f25f2c7442810160350bbdf3ad64ff;
|
|
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_e2f25f2c7442810160350bbdf3ad64ff = 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_e2f25f2c7442810160350bbdf3ad64ff, codeobj_e2f25f2c7442810160350bbdf3ad64ff, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_e2f25f2c7442810160350bbdf3ad64ff = cache_frame_e2f25f2c7442810160350bbdf3ad64ff;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_e2f25f2c7442810160350bbdf3ad64ff );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_e2f25f2c7442810160350bbdf3ad64ff ) == 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 = 313;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_send_video );
|
|
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 = 313;
|
|
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 = 313;
|
|
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 = 313;
|
|
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 = 313;
|
|
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 = 313;
|
|
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 = 313;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_e2f25f2c7442810160350bbdf3ad64ff );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_e2f25f2c7442810160350bbdf3ad64ff );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_e2f25f2c7442810160350bbdf3ad64ff );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_e2f25f2c7442810160350bbdf3ad64ff, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_e2f25f2c7442810160350bbdf3ad64ff->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_e2f25f2c7442810160350bbdf3ad64ff, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_e2f25f2c7442810160350bbdf3ad64ff,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_e2f25f2c7442810160350bbdf3ad64ff == cache_frame_e2f25f2c7442810160350bbdf3ad64ff )
|
|
{
|
|
Py_DECREF( frame_e2f25f2c7442810160350bbdf3ad64ff );
|
|
}
|
|
cache_frame_e2f25f2c7442810160350bbdf3ad64ff = NULL;
|
|
|
|
assertFrameObject( frame_e2f25f2c7442810160350bbdf3ad64ff );
|
|
|
|
// 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$chat$$$function_17_send_video );
|
|
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$chat$$$function_17_send_video );
|
|
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$chat$$$function_18_send_video_note( 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_0cb96c8ad40e34872dc37dbbf55c14a8;
|
|
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_0cb96c8ad40e34872dc37dbbf55c14a8 = 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_0cb96c8ad40e34872dc37dbbf55c14a8, codeobj_0cb96c8ad40e34872dc37dbbf55c14a8, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_0cb96c8ad40e34872dc37dbbf55c14a8 = cache_frame_0cb96c8ad40e34872dc37dbbf55c14a8;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_0cb96c8ad40e34872dc37dbbf55c14a8 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_0cb96c8ad40e34872dc37dbbf55c14a8 ) == 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 = 326;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_send_video_note );
|
|
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 = 326;
|
|
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 = 326;
|
|
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 = 326;
|
|
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 = 326;
|
|
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 = 326;
|
|
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 = 326;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_0cb96c8ad40e34872dc37dbbf55c14a8 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_0cb96c8ad40e34872dc37dbbf55c14a8 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_0cb96c8ad40e34872dc37dbbf55c14a8 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_0cb96c8ad40e34872dc37dbbf55c14a8, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_0cb96c8ad40e34872dc37dbbf55c14a8->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_0cb96c8ad40e34872dc37dbbf55c14a8, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_0cb96c8ad40e34872dc37dbbf55c14a8,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_0cb96c8ad40e34872dc37dbbf55c14a8 == cache_frame_0cb96c8ad40e34872dc37dbbf55c14a8 )
|
|
{
|
|
Py_DECREF( frame_0cb96c8ad40e34872dc37dbbf55c14a8 );
|
|
}
|
|
cache_frame_0cb96c8ad40e34872dc37dbbf55c14a8 = NULL;
|
|
|
|
assertFrameObject( frame_0cb96c8ad40e34872dc37dbbf55c14a8 );
|
|
|
|
// 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$chat$$$function_18_send_video_note );
|
|
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$chat$$$function_18_send_video_note );
|
|
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$chat$$$function_19_send_voice( 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_afe273eb23fc966d211fcd584cdf561f;
|
|
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_afe273eb23fc966d211fcd584cdf561f = 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_afe273eb23fc966d211fcd584cdf561f, codeobj_afe273eb23fc966d211fcd584cdf561f, module_telegram$chat, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_afe273eb23fc966d211fcd584cdf561f = cache_frame_afe273eb23fc966d211fcd584cdf561f;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_afe273eb23fc966d211fcd584cdf561f );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_afe273eb23fc966d211fcd584cdf561f ) == 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 = 339;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_send_voice );
|
|
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 = 339;
|
|
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 = 339;
|
|
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 = 339;
|
|
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 = 339;
|
|
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 = 339;
|
|
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 = 339;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_afe273eb23fc966d211fcd584cdf561f );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_afe273eb23fc966d211fcd584cdf561f );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_afe273eb23fc966d211fcd584cdf561f );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_afe273eb23fc966d211fcd584cdf561f, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_afe273eb23fc966d211fcd584cdf561f->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_afe273eb23fc966d211fcd584cdf561f, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_afe273eb23fc966d211fcd584cdf561f,
|
|
type_description_1,
|
|
par_self,
|
|
par_args,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_afe273eb23fc966d211fcd584cdf561f == cache_frame_afe273eb23fc966d211fcd584cdf561f )
|
|
{
|
|
Py_DECREF( frame_afe273eb23fc966d211fcd584cdf561f );
|
|
}
|
|
cache_frame_afe273eb23fc966d211fcd584cdf561f = NULL;
|
|
|
|
assertFrameObject( frame_afe273eb23fc966d211fcd584cdf561f );
|
|
|
|
// 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$chat$$$function_19_send_voice );
|
|
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$chat$$$function_19_send_voice );
|
|
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$chat$$$function_10_unban_member( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_10_unban_member,
|
|
const_str_plain_unban_member,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_23c2e38b8afc5e09c7da334ae85bbef4,
|
|
#endif
|
|
codeobj_da8e6c8f19855211b2710fb40ade9087,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_10c52016f0e08be24fea5b4d21f0ff8b,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_11_send_message( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_11_send_message,
|
|
const_str_plain_send_message,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_c089ab9b1392ea15851324ea9981590e,
|
|
#endif
|
|
codeobj_71752936f2058b7d913d84aee3ac84e1,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_b2238ee4e6592e8ebcf01566205a81de,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_12_send_photo( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_12_send_photo,
|
|
const_str_plain_send_photo,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_aeeb046691b4367dd2617e821e14fba2,
|
|
#endif
|
|
codeobj_717655623bcb69b8838b93b2f3461104,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_a6a67056ca08661fdbfd1e6b6b745642,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_13_send_audio( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_13_send_audio,
|
|
const_str_plain_send_audio,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_fdba530396f7824844e2621f0ac03306,
|
|
#endif
|
|
codeobj_6a6cc32a36f17d2a9528e8ad6e481ace,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_60cc8b1a3cc58dc7cada0f275a37a938,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_14_send_document( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_14_send_document,
|
|
const_str_plain_send_document,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_33ec649549517d791e1f88eef1c2244c,
|
|
#endif
|
|
codeobj_2de8336132cd6670a9fee230b8ae4556,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_466db0f6ac98afd52c1fcf9760226596,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_15_send_animation( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_15_send_animation,
|
|
const_str_plain_send_animation,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_7ff1135b99cfa4e93537b24f27e1e7b7,
|
|
#endif
|
|
codeobj_d8bb24eebd991e9e9128ed18060bdf7e,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_488d49d66cbfd5e327a2d32b0b78d562,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_16_send_sticker( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_16_send_sticker,
|
|
const_str_plain_send_sticker,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_edb8de46bd13ad3150e01f988aad2692,
|
|
#endif
|
|
codeobj_a1adb471e3bba6674f46494ab6fc59af,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_0c16fab5abaf4742bfbccc6f20b63e0b,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_17_send_video( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_17_send_video,
|
|
const_str_plain_send_video,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_858d9d7db0a752c770e1de744ea47acc,
|
|
#endif
|
|
codeobj_e2f25f2c7442810160350bbdf3ad64ff,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_c593cf85d1a03e95d4819ec0591d89b3,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_18_send_video_note( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_18_send_video_note,
|
|
const_str_plain_send_video_note,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_861aaef525cd342369b77630e9486231,
|
|
#endif
|
|
codeobj_0cb96c8ad40e34872dc37dbbf55c14a8,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_b046afac1d967ef0d6d28a7c8ce4b711,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_19_send_voice( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_19_send_voice,
|
|
const_str_plain_send_voice,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_d4f5aa2f9fa14bbbf7aee16a43d47147,
|
|
#endif
|
|
codeobj_afe273eb23fc966d211fcd584cdf561f,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_633519313e6b3e41e4425b0b0603640f,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_1___init__( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_1___init__,
|
|
const_str_plain___init__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_2449d7e1458499030d7b04c24e33504f,
|
|
#endif
|
|
codeobj_541119cab8dcfeba396a6408cb270378,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_2_link( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_2_link,
|
|
const_str_plain_link,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_067e2d7ed21b9bba4049e659b4bb3010,
|
|
#endif
|
|
codeobj_78957a70c06fce49f2c159cf22ea8d48,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_ee3fac579a437d384068e18564d6476e,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_3_de_json( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_3_de_json,
|
|
const_str_plain_de_json,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_d57f6cc574b49d35a4f5a188635478b8,
|
|
#endif
|
|
codeobj_afad08362cc95028c59510d32a89a4cd,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_4_send_action( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_4_send_action,
|
|
const_str_plain_send_action,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_a60d42d90aaa37d819e103219103280b,
|
|
#endif
|
|
codeobj_fc5535a4fbb5cb3c511d997d1d81d065,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_003e10b0c15569e5d50883ac1abf1a0e,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_5_leave( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_5_leave,
|
|
const_str_plain_leave,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_1fb4321ce84aa4fd453b892079405ced,
|
|
#endif
|
|
codeobj_3189ed08265957e857f76b12c90fd7a5,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_b12ee3c8df1dcae5bd221902591994a9,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_6_get_administrators( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_6_get_administrators,
|
|
const_str_plain_get_administrators,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_0a78dbe1b37f0c2f2652fbdd36b8b68a,
|
|
#endif
|
|
codeobj_883c1dc8f3e307c0b4295fb6af71048a,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_218fa260fc2ac9c9e639a88d91527947,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_7_get_members_count( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_7_get_members_count,
|
|
const_str_plain_get_members_count,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_a32dd12d8ea6ad79cac651ee60c29c23,
|
|
#endif
|
|
codeobj_6db20ce050382115913db7d1263b3ef6,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_997a121a7cc310d6ffda3ab4610afa69,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_8_get_member( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_8_get_member,
|
|
const_str_plain_get_member,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_01c74fffed87c42320df02df5e904cbe,
|
|
#endif
|
|
codeobj_03b016c350f9bc620b7bc01b9432d33b,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_066e39faab08b0bfce2a261f2c7bd4dd,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$chat$$$function_9_kick_member( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$chat$$$function_9_kick_member,
|
|
const_str_plain_kick_member,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_d7f43b690b5ec6f52fdced361d395b63,
|
|
#endif
|
|
codeobj_acf5b06defa7c748f2e2a5ba785073ec,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$chat,
|
|
const_str_digest_8567c8218e535c4f06c81d8236ad6b05,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
static struct PyModuleDef mdef_telegram$chat =
|
|
{
|
|
PyModuleDef_HEAD_INIT,
|
|
"telegram.chat", /* 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$chat )
|
|
{
|
|
#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$chat );
|
|
}
|
|
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.chat: 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.chat: Calling createModuleConstants().");
|
|
#endif
|
|
createModuleConstants();
|
|
|
|
/* The code objects used by this module are created now. */
|
|
#ifdef _NUITKA_TRACE
|
|
puts("telegram.chat: Calling createModuleCodeObjects().");
|
|
#endif
|
|
createModuleCodeObjects();
|
|
|
|
// puts( "in inittelegram$chat" );
|
|
|
|
// 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$chat = Py_InitModule4(
|
|
"telegram.chat", // 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$chat = PyModule_Create( &mdef_telegram$chat );
|
|
#endif
|
|
|
|
moduledict_telegram$chat = MODULE_DICT( module_telegram$chat );
|
|
|
|
// Update "__package__" value to what it ought to be.
|
|
{
|
|
#if 0
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_telegram$chat, (Nuitka_StringObject *)const_str_plain___name__ );
|
|
|
|
UPDATE_STRING_DICT1(
|
|
moduledict_telegram$chat,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
module_name
|
|
);
|
|
|
|
#else
|
|
|
|
#if PYTHON_VERSION < 300
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_telegram$chat, (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$chat,
|
|
(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$chat, (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$chat,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
PyUnicode_Substring( module_name, 0, dot_index )
|
|
);
|
|
}
|
|
#endif
|
|
#endif
|
|
}
|
|
|
|
CHECK_OBJECT( module_telegram$chat );
|
|
|
|
// 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_063eb5c45e29b442882d3cb2ca82f852, module_telegram$chat );
|
|
|
|
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$chat, (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$chat, (Nuitka_StringObject *)const_str_plain___builtins__, value );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
UPDATE_STRING_DICT0( moduledict_telegram$chat, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
|
|
#endif
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
#if 0
|
|
UPDATE_STRING_DICT0( moduledict_telegram$chat, (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$chat, (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$chat, (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_7a4ba1650334873e2a4c9b34ba1614e4;
|
|
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$chat_25 = NULL;
|
|
PyObject *tmp_dictset_value;
|
|
struct Nuitka_FrameObject *frame_1b34d7971d685fc1a37c930c648347a8_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_1b34d7971d685fc1a37c930c648347a8_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_07c16e6970922ab66ea422b3ed25fbcf;
|
|
UPDATE_STRING_DICT0( moduledict_telegram$chat, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
tmp_assign_source_2 = const_str_digest_d58b4ed5607e9bdfbc916d15c9459047;
|
|
UPDATE_STRING_DICT0( moduledict_telegram$chat, (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$chat, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
|
|
}
|
|
// Frame without reuse.
|
|
frame_7a4ba1650334873e2a4c9b34ba1614e4 = MAKE_MODULE_FRAME( codeobj_7a4ba1650334873e2a4c9b34ba1614e4, module_telegram$chat );
|
|
|
|
// Push the new frame as the currently active one, and we should be exclusively
|
|
// owning it.
|
|
pushFrameStack( frame_7a4ba1650334873e2a4c9b34ba1614e4 );
|
|
assert( Py_REFCNT( frame_7a4ba1650334873e2a4c9b34ba1614e4 ) == 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$chat;
|
|
tmp_locals_name_1 = Py_None;
|
|
tmp_fromlist_name_1 = const_tuple_str_plain_TelegramObject_str_plain_ChatPhoto_tuple;
|
|
tmp_level_name_1 = const_int_0;
|
|
frame_7a4ba1650334873e2a4c9b34ba1614e4->m_frame.f_lineno = 22;
|
|
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 = 22;
|
|
|
|
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 = 22;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_telegram$chat, (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_ChatPhoto );
|
|
if ( tmp_assign_source_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 22;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_telegram$chat, (Nuitka_StringObject *)const_str_plain_ChatPhoto, tmp_assign_source_6 );
|
|
}
|
|
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_7;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_telegram$chat, (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 = 25;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_tuple_element_1 = tmp_mvar_value_1;
|
|
tmp_assign_source_7 = PyTuple_New( 1 );
|
|
Py_INCREF( tmp_tuple_element_1 );
|
|
PyTuple_SET_ITEM( tmp_assign_source_7, 0, tmp_tuple_element_1 );
|
|
assert( tmp_class_creation_1__bases_orig == NULL );
|
|
tmp_class_creation_1__bases_orig = tmp_assign_source_7;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_8;
|
|
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_8 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
|
|
}
|
|
if ( tmp_assign_source_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_class_creation_1__bases == NULL );
|
|
tmp_class_creation_1__bases = tmp_assign_source_8;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_9;
|
|
tmp_assign_source_9 = PyDict_New();
|
|
assert( tmp_class_creation_1__class_decl_dict == NULL );
|
|
tmp_class_creation_1__class_decl_dict = tmp_assign_source_9;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_10;
|
|
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 = 25;
|
|
|
|
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 = 25;
|
|
|
|
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 = 25;
|
|
|
|
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 = 25;
|
|
|
|
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 = 25;
|
|
|
|
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_10 = SELECT_METACLASS( tmp_metaclass_name_1, tmp_bases_name_1 );
|
|
Py_DECREF( tmp_metaclass_name_1 );
|
|
if ( tmp_assign_source_10 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_class_creation_1__metaclass == NULL );
|
|
tmp_class_creation_1__metaclass = tmp_assign_source_10;
|
|
|
|
}
|
|
{
|
|
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 = 25;
|
|
|
|
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 = 25;
|
|
|
|
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_11;
|
|
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 = 25;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_tuple_element_2 = const_str_plain_Chat;
|
|
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_7a4ba1650334873e2a4c9b34ba1614e4->m_frame.f_lineno = 25;
|
|
tmp_assign_source_11 = 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_11 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_11;
|
|
|
|
}
|
|
{
|
|
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 = 25;
|
|
|
|
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 = 25;
|
|
|
|
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 = 25;
|
|
|
|
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 = 25;
|
|
|
|
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 = 25;
|
|
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_12;
|
|
tmp_assign_source_12 = PyDict_New();
|
|
assert( tmp_class_creation_1__prepared == NULL );
|
|
tmp_class_creation_1__prepared = tmp_assign_source_12;
|
|
|
|
}
|
|
branch_end_2:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_13;
|
|
{
|
|
PyObject *tmp_set_locals_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_set_locals_1 = tmp_class_creation_1__prepared;
|
|
locals_telegram$chat_25 = tmp_set_locals_1;
|
|
Py_INCREF( tmp_set_locals_1 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_063eb5c45e29b442882d3cb2ca82f852;
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, 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 = 25;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_digest_26b6331bf5b51593db423f01da20b64e;
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, 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 = 25;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_Chat;
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, 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 = 25;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_1b34d7971d685fc1a37c930c648347a8_2, codeobj_1b34d7971d685fc1a37c930c648347a8, module_telegram$chat, sizeof(void *) );
|
|
frame_1b34d7971d685fc1a37c930c648347a8_2 = cache_frame_1b34d7971d685fc1a37c930c648347a8_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_1b34d7971d685fc1a37c930c648347a8_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_1b34d7971d685fc1a37c930c648347a8_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
tmp_dictset_value = const_str_plain_private;
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_PRIVATE, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 75;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_group;
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_GROUP, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 77;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_supergroup;
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_SUPERGROUP, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 79;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_channel;
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_CHANNEL, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 81;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_defaults_1;
|
|
tmp_defaults_1 = const_tuple_none_none_none_none_none_none_none_none_none_none_none_none_tuple;
|
|
Py_INCREF( tmp_defaults_1 );
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_1___init__( tmp_defaults_1 );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, 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 = 84;
|
|
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_called_name_3;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_res = MAPPING_HAS_ITEM( locals_telegram$chat_25, const_str_plain_property );
|
|
|
|
if ( tmp_res == -1 )
|
|
{
|
|
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_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$chat_25, const_str_plain_property );
|
|
|
|
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", "property" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 119;
|
|
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 = 119;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_args_element_name_1 = MAKE_FUNCTION_telegram$chat$$$function_2_link( );
|
|
|
|
|
|
|
|
frame_1b34d7971d685fc1a37c930c648347a8_2->m_frame.f_lineno = 119;
|
|
{
|
|
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 = 119;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
goto condexpr_end_3;
|
|
condexpr_false_3:;
|
|
tmp_called_name_3 = (PyObject *)&PyProperty_Type;
|
|
tmp_args_element_name_2 = MAKE_FUNCTION_telegram$chat$$$function_2_link( );
|
|
|
|
|
|
|
|
frame_1b34d7971d685fc1a37c930c648347a8_2->m_frame.f_lineno = 119;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_args_element_name_2 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 119;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
condexpr_end_3:;
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_link, 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;
|
|
}
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_7;
|
|
PyObject *tmp_called_name_4;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_classmethod_arg_1;
|
|
tmp_res = MAPPING_HAS_ITEM( locals_telegram$chat_25, const_str_plain_classmethod );
|
|
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 127;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_condition_result_7 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_7 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_4;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_4;
|
|
}
|
|
condexpr_true_4:;
|
|
tmp_called_name_4 = PyObject_GetItem( locals_telegram$chat_25, const_str_plain_classmethod );
|
|
|
|
if ( tmp_called_name_4 == 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 = 127;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
if ( tmp_called_name_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 127;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_args_element_name_3 = MAKE_FUNCTION_telegram$chat$$$function_3_de_json( );
|
|
|
|
|
|
|
|
frame_1b34d7971d685fc1a37c930c648347a8_2->m_frame.f_lineno = 127;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_4 );
|
|
Py_DECREF( tmp_args_element_name_3 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 127;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
goto condexpr_end_4;
|
|
condexpr_false_4:;
|
|
tmp_classmethod_arg_1 = MAKE_FUNCTION_telegram$chat$$$function_3_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 = 127;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
condexpr_end_4:;
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, 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 = 127;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_4_send_action( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_send_action, 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 = 138;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_5_leave( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_leave, 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 = 150;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_6_get_administrators( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_get_administrators, 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 = 161;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_7_get_members_count( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_get_members_count, 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 = 175;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_8_get_member( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_get_member, 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 = 186;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_9_kick_member( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_kick_member, 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 = 197;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_10_unban_member( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_unban_member, 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 = 213;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_11_send_message( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_send_message, 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 = 224;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_12_send_photo( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_send_photo, 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 = 237;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_13_send_audio( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_send_audio, 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 = 250;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_14_send_document( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_send_document, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 263;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_15_send_animation( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_send_animation, 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 = 276;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_16_send_sticker( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_send_sticker, 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 = 289;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_17_send_video( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_send_video, 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 = 302;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_18_send_video_note( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_send_video_note, 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 = 315;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$chat$$$function_19_send_voice( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$chat_25, const_str_plain_send_voice, 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 = 328;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_1b34d7971d685fc1a37c930c648347a8_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_1b34d7971d685fc1a37c930c648347a8_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_1b34d7971d685fc1a37c930c648347a8_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_1b34d7971d685fc1a37c930c648347a8_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_1b34d7971d685fc1a37c930c648347a8_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_1b34d7971d685fc1a37c930c648347a8_2,
|
|
type_description_2,
|
|
outline_0_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_1b34d7971d685fc1a37c930c648347a8_2 == cache_frame_1b34d7971d685fc1a37c930c648347a8_2 )
|
|
{
|
|
Py_DECREF( frame_1b34d7971d685fc1a37c930c648347a8_2 );
|
|
}
|
|
cache_frame_1b34d7971d685fc1a37c930c648347a8_2 = NULL;
|
|
|
|
assertFrameObject( frame_1b34d7971d685fc1a37c930c648347a8_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_8;
|
|
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 = 25;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
tmp_condition_result_8 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_8 == 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$chat_25, 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 = 25;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
branch_no_4:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_14;
|
|
PyObject *tmp_called_name_5;
|
|
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_5 = tmp_class_creation_1__metaclass;
|
|
tmp_tuple_element_4 = const_str_plain_Chat;
|
|
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$chat_25;
|
|
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_7a4ba1650334873e2a4c9b34ba1614e4->m_frame.f_lineno = 25;
|
|
tmp_assign_source_14 = CALL_FUNCTION( tmp_called_name_5, tmp_args_name_2, tmp_kw_name_2 );
|
|
Py_DECREF( tmp_args_name_2 );
|
|
if ( tmp_assign_source_14 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 25;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
assert( outline_0_var___class__ == NULL );
|
|
outline_0_var___class__ = tmp_assign_source_14;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( outline_0_var___class__ );
|
|
tmp_assign_source_13 = outline_0_var___class__;
|
|
Py_INCREF( tmp_assign_source_13 );
|
|
goto try_return_handler_4;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( telegram$chat );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_4:;
|
|
{
|
|
Py_DECREF( locals_telegram$chat_25 );
|
|
locals_telegram$chat_25 = 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$chat_25 );
|
|
locals_telegram$chat_25 = 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$chat );
|
|
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$chat );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_1:;
|
|
exception_lineno = 25;
|
|
goto try_except_handler_2;
|
|
outline_result_1:;
|
|
UPDATE_STRING_DICT1( moduledict_telegram$chat, (Nuitka_StringObject *)const_str_plain_Chat, tmp_assign_source_13 );
|
|
}
|
|
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_7a4ba1650334873e2a4c9b34ba1614e4 );
|
|
#endif
|
|
popFrameStack();
|
|
|
|
assertFrameObject( frame_7a4ba1650334873e2a4c9b34ba1614e4 );
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_exception_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7a4ba1650334873e2a4c9b34ba1614e4 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_7a4ba1650334873e2a4c9b34ba1614e4, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_7a4ba1650334873e2a4c9b34ba1614e4->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_7a4ba1650334873e2a4c9b34ba1614e4, 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$chat );
|
|
module_exception_exit:
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
}
|