mirror of
https://github.com/house-of-vanity/fesmoo_perdoliq.git
synced 2025-08-21 16:17:15 +00:00
8725 lines
269 KiB
C
8725 lines
269 KiB
C
/* Generated code for Python source for module 'telegram.files.sticker'
|
|
* 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$files$sticker 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$files$sticker;
|
|
PyDictObject *moduledict_telegram$files$sticker;
|
|
|
|
/* The module constants used, if any. */
|
|
static PyObject *const_str_plain_x_shift;
|
|
extern PyObject *const_str_plain_metaclass;
|
|
extern PyObject *const_str_plain_get_file;
|
|
extern PyObject *const_str_plain___name__;
|
|
static PyObject *const_str_digest_ec4654603371c7844f1e1de5e7549762;
|
|
static PyObject *const_tuple_str_plain_data_str_plain_bot_str_plain___class___tuple;
|
|
extern PyObject *const_tuple_str_plain___class___tuple;
|
|
extern PyObject *const_str_angle_metaclass;
|
|
static PyObject *const_str_plain_EYES;
|
|
static PyObject *const_str_plain_emoji;
|
|
extern PyObject *const_str_plain___file__;
|
|
static PyObject *const_str_plain_scale;
|
|
static PyObject *const_str_digest_e7ff87f8d59d3d6e7a4927ff191ae981;
|
|
static PyObject *const_str_plain_eyes;
|
|
extern PyObject *const_tuple_str_plain_s_tuple;
|
|
extern PyObject *const_str_plain_MaskPosition;
|
|
extern PyObject *const_str_plain_de_json;
|
|
static PyObject *const_str_plain_MOUTH;
|
|
extern PyObject *const_str_plain_None;
|
|
extern PyObject *const_str_plain_staticmethod;
|
|
static PyObject *const_str_digest_ca2fb5e77367b7277d09ab9ef24ee58b;
|
|
extern PyObject *const_str_plain_classmethod;
|
|
extern PyObject *const_str_plain_cls;
|
|
extern PyObject *const_str_digest_975383e548b57227c07531bd54e51c1c;
|
|
extern PyObject *const_str_plain_Sticker;
|
|
extern PyObject *const_tuple_str_plain_PhotoSize_str_plain_TelegramObject_tuple;
|
|
static PyObject *const_str_plain_y_shift;
|
|
static PyObject *const_tuple_str_plain_stickers_tuple;
|
|
extern PyObject *const_str_plain_TelegramObject;
|
|
extern PyObject *const_str_plain___doc__;
|
|
static PyObject *const_str_plain_set_name;
|
|
extern PyObject *const_str_plain_timeout;
|
|
static PyObject *const_tuple_24d72aac0643ec192435eeaa9081969b_tuple;
|
|
extern PyObject *const_str_plain___orig_bases__;
|
|
extern PyObject *const_str_plain_data;
|
|
extern PyObject *const_str_plain_PhotoSize;
|
|
extern PyObject *const_str_plain_s;
|
|
static PyObject *const_str_plain_FOREHEAD;
|
|
extern PyObject *const_str_plain___qualname__;
|
|
extern PyObject *const_str_plain_file_size;
|
|
extern PyObject *const_tuple_str_plain_thumb_tuple;
|
|
extern PyObject *const_str_plain_point;
|
|
static PyObject *const_str_digest_77b1c5047da4cc4997dddcd54a7f6dee;
|
|
extern PyObject *const_str_plain_height;
|
|
static PyObject *const_str_digest_592c9a642933525ed41c059cd445fac5;
|
|
static PyObject *const_tuple_str_plain_d_str_plain_cls_str_plain_bot_tuple;
|
|
static PyObject *const_tuple_7d7c2c365e0ca935051be3ceadc18707_tuple;
|
|
extern PyObject *const_tuple_empty;
|
|
extern PyObject *const_str_plain_telegram;
|
|
extern PyObject *const_str_plain_title;
|
|
extern PyObject *const_tuple_20e0b3bec4ab147948eec94e87ff90d7_tuple;
|
|
extern PyObject *const_str_plain_name;
|
|
static PyObject *const_str_plain_forehead;
|
|
extern PyObject *const_str_plain___getitem__;
|
|
extern PyObject *const_tuple_none_none_none_none_none_none_tuple;
|
|
extern PyObject *const_str_plain__id_attrs;
|
|
static PyObject *const_str_digest_2f18be6489dd5567ec666aeea04a94dc;
|
|
static PyObject *const_str_plain_mouth;
|
|
static PyObject *const_str_digest_e7991c497e4efa65b827792147e0783b;
|
|
static PyObject *const_str_digest_8a9dc767618942dc786a9b6bb99362ef;
|
|
extern PyObject *const_str_plain_mask_position;
|
|
extern PyObject *const_int_0;
|
|
extern PyObject *const_str_plain_thumb;
|
|
extern PyObject *const_str_plain_bot;
|
|
static PyObject *const_str_digest_ee6320be766b8b53dd1922e40ef31a61;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_data_str_plain___class___tuple;
|
|
extern PyObject *const_str_plain_de_list;
|
|
extern PyObject *const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
extern PyObject *const_str_angle_listcomp;
|
|
extern PyObject *const_tuple_str_plain_self_str_plain_timeout_str_plain_kwargs_tuple;
|
|
extern PyObject *const_str_plain_contains_masks;
|
|
extern PyObject *const_str_plain_type;
|
|
extern PyObject *const_str_plain_d;
|
|
extern PyObject *const_str_plain___cached__;
|
|
static PyObject *const_str_plain_chin;
|
|
extern PyObject *const_str_plain___class__;
|
|
extern PyObject *const_tuple_none_tuple;
|
|
static PyObject *const_str_digest_065fd76594652a2377ee11d6fad964d1;
|
|
extern PyObject *const_str_plain___module__;
|
|
extern PyObject *const_str_plain_StickerSet;
|
|
static PyObject *const_str_digest_6f8bea217eabe863a4443f778ee1ce66;
|
|
static PyObject *const_str_digest_813c79a4d61b6bd6c38e78088eb15a09;
|
|
static PyObject *const_str_plain_CHIN;
|
|
static PyObject *const_tuple_7751edc80a70f650137ca91489acd9eb_tuple;
|
|
static PyObject *const_str_digest_c2384d5a9dc59eba645c73478117c5c7;
|
|
extern PyObject *const_str_plain_width;
|
|
static PyObject *const_str_plain_stickers;
|
|
extern PyObject *const_str_plain___prepare__;
|
|
extern PyObject *const_str_plain___init__;
|
|
extern PyObject *const_str_plain_self;
|
|
static PyObject *const_str_digest_8750d1dbf1a41db22ff4b968f031f878;
|
|
extern PyObject *const_str_plain_to_dict;
|
|
extern PyObject *const_str_plain_kwargs;
|
|
extern PyObject *const_str_plain_get;
|
|
static PyObject *const_str_digest_4b0731d8c4b8f7dea78c9a4c39612592;
|
|
extern PyObject *const_tuple_str_plain_cls_str_plain_data_str_plain_bot_tuple;
|
|
static PyObject *const_tuple_str_plain_mask_position_tuple;
|
|
extern PyObject *const_str_plain_file_id;
|
|
static PyObject *const_str_digest_ea22bb284ff8a64d36b430a1a40a1d44;
|
|
static PyObject *module_filename_obj;
|
|
|
|
static bool constants_created = false;
|
|
|
|
static void createModuleConstants( void )
|
|
{
|
|
const_str_plain_x_shift = UNSTREAM_STRING( &constant_bin[ 1279137 ], 7, 1 );
|
|
const_str_digest_ec4654603371c7844f1e1de5e7549762 = UNSTREAM_STRING( &constant_bin[ 1279144 ], 19, 0 );
|
|
const_tuple_str_plain_data_str_plain_bot_str_plain___class___tuple = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_data_str_plain_bot_str_plain___class___tuple, 0, const_str_plain_data ); Py_INCREF( const_str_plain_data );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_data_str_plain_bot_str_plain___class___tuple, 1, const_str_plain_bot ); Py_INCREF( const_str_plain_bot );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_data_str_plain_bot_str_plain___class___tuple, 2, const_str_plain___class__ ); Py_INCREF( const_str_plain___class__ );
|
|
const_str_plain_EYES = UNSTREAM_STRING( &constant_bin[ 1279163 ], 4, 1 );
|
|
const_str_plain_emoji = UNSTREAM_STRING( &constant_bin[ 1136405 ], 5, 1 );
|
|
const_str_plain_scale = UNSTREAM_STRING( &constant_bin[ 733278 ], 5, 1 );
|
|
const_str_digest_e7ff87f8d59d3d6e7a4927ff191ae981 = UNSTREAM_STRING( &constant_bin[ 1279167 ], 54, 0 );
|
|
const_str_plain_eyes = UNSTREAM_STRING( &constant_bin[ 1279221 ], 4, 1 );
|
|
const_str_plain_MOUTH = UNSTREAM_STRING( &constant_bin[ 1279225 ], 5, 1 );
|
|
const_str_digest_ca2fb5e77367b7277d09ab9ef24ee58b = UNSTREAM_STRING( &constant_bin[ 1279230 ], 16, 0 );
|
|
const_str_plain_y_shift = UNSTREAM_STRING( &constant_bin[ 1279246 ], 7, 1 );
|
|
const_tuple_str_plain_stickers_tuple = PyTuple_New( 1 );
|
|
const_str_plain_stickers = UNSTREAM_STRING( &constant_bin[ 1135520 ], 8, 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_stickers_tuple, 0, const_str_plain_stickers ); Py_INCREF( const_str_plain_stickers );
|
|
const_str_plain_set_name = UNSTREAM_STRING( &constant_bin[ 166932 ], 8, 1 );
|
|
const_tuple_24d72aac0643ec192435eeaa9081969b_tuple = PyTuple_New( 7 );
|
|
PyTuple_SET_ITEM( const_tuple_24d72aac0643ec192435eeaa9081969b_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_24d72aac0643ec192435eeaa9081969b_tuple, 1, const_str_plain_name ); Py_INCREF( const_str_plain_name );
|
|
PyTuple_SET_ITEM( const_tuple_24d72aac0643ec192435eeaa9081969b_tuple, 2, const_str_plain_title ); Py_INCREF( const_str_plain_title );
|
|
PyTuple_SET_ITEM( const_tuple_24d72aac0643ec192435eeaa9081969b_tuple, 3, const_str_plain_contains_masks ); Py_INCREF( const_str_plain_contains_masks );
|
|
PyTuple_SET_ITEM( const_tuple_24d72aac0643ec192435eeaa9081969b_tuple, 4, const_str_plain_stickers ); Py_INCREF( const_str_plain_stickers );
|
|
PyTuple_SET_ITEM( const_tuple_24d72aac0643ec192435eeaa9081969b_tuple, 5, const_str_plain_bot ); Py_INCREF( const_str_plain_bot );
|
|
PyTuple_SET_ITEM( const_tuple_24d72aac0643ec192435eeaa9081969b_tuple, 6, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs );
|
|
const_str_plain_FOREHEAD = UNSTREAM_STRING( &constant_bin[ 1279253 ], 8, 1 );
|
|
const_str_digest_77b1c5047da4cc4997dddcd54a7f6dee = UNSTREAM_STRING( &constant_bin[ 1279261 ], 31, 0 );
|
|
const_str_digest_592c9a642933525ed41c059cd445fac5 = UNSTREAM_STRING( &constant_bin[ 1279292 ], 18, 0 );
|
|
const_tuple_str_plain_d_str_plain_cls_str_plain_bot_tuple = PyTuple_New( 3 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_d_str_plain_cls_str_plain_bot_tuple, 0, const_str_plain_d ); Py_INCREF( const_str_plain_d );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_d_str_plain_cls_str_plain_bot_tuple, 1, const_str_plain_cls ); Py_INCREF( const_str_plain_cls );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_d_str_plain_cls_str_plain_bot_tuple, 2, const_str_plain_bot ); Py_INCREF( const_str_plain_bot );
|
|
const_tuple_7d7c2c365e0ca935051be3ceadc18707_tuple = PyTuple_New( 11 );
|
|
PyTuple_SET_ITEM( const_tuple_7d7c2c365e0ca935051be3ceadc18707_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_7d7c2c365e0ca935051be3ceadc18707_tuple, 1, const_str_plain_file_id ); Py_INCREF( const_str_plain_file_id );
|
|
PyTuple_SET_ITEM( const_tuple_7d7c2c365e0ca935051be3ceadc18707_tuple, 2, const_str_plain_width ); Py_INCREF( const_str_plain_width );
|
|
PyTuple_SET_ITEM( const_tuple_7d7c2c365e0ca935051be3ceadc18707_tuple, 3, const_str_plain_height ); Py_INCREF( const_str_plain_height );
|
|
PyTuple_SET_ITEM( const_tuple_7d7c2c365e0ca935051be3ceadc18707_tuple, 4, const_str_plain_thumb ); Py_INCREF( const_str_plain_thumb );
|
|
PyTuple_SET_ITEM( const_tuple_7d7c2c365e0ca935051be3ceadc18707_tuple, 5, const_str_plain_emoji ); Py_INCREF( const_str_plain_emoji );
|
|
PyTuple_SET_ITEM( const_tuple_7d7c2c365e0ca935051be3ceadc18707_tuple, 6, const_str_plain_file_size ); Py_INCREF( const_str_plain_file_size );
|
|
PyTuple_SET_ITEM( const_tuple_7d7c2c365e0ca935051be3ceadc18707_tuple, 7, const_str_plain_set_name ); Py_INCREF( const_str_plain_set_name );
|
|
PyTuple_SET_ITEM( const_tuple_7d7c2c365e0ca935051be3ceadc18707_tuple, 8, const_str_plain_mask_position ); Py_INCREF( const_str_plain_mask_position );
|
|
PyTuple_SET_ITEM( const_tuple_7d7c2c365e0ca935051be3ceadc18707_tuple, 9, const_str_plain_bot ); Py_INCREF( const_str_plain_bot );
|
|
PyTuple_SET_ITEM( const_tuple_7d7c2c365e0ca935051be3ceadc18707_tuple, 10, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs );
|
|
const_str_plain_forehead = UNSTREAM_STRING( &constant_bin[ 1279310 ], 8, 1 );
|
|
const_str_digest_2f18be6489dd5567ec666aeea04a94dc = UNSTREAM_STRING( &constant_bin[ 1279318 ], 569, 0 );
|
|
const_str_plain_mouth = UNSTREAM_STRING( &constant_bin[ 1279887 ], 5, 1 );
|
|
const_str_digest_e7991c497e4efa65b827792147e0783b = UNSTREAM_STRING( &constant_bin[ 1279892 ], 15, 0 );
|
|
const_str_digest_8a9dc767618942dc786a9b6bb99362ef = UNSTREAM_STRING( &constant_bin[ 1279907 ], 21, 0 );
|
|
const_str_digest_ee6320be766b8b53dd1922e40ef31a61 = UNSTREAM_STRING( &constant_bin[ 1279928 ], 16, 0 );
|
|
const_str_plain_chin = UNSTREAM_STRING( &constant_bin[ 1022 ], 4, 1 );
|
|
const_str_digest_065fd76594652a2377ee11d6fad964d1 = UNSTREAM_STRING( &constant_bin[ 1279944 ], 18, 0 );
|
|
const_str_digest_6f8bea217eabe863a4443f778ee1ce66 = UNSTREAM_STRING( &constant_bin[ 1279962 ], 1565, 0 );
|
|
const_str_digest_813c79a4d61b6bd6c38e78088eb15a09 = UNSTREAM_STRING( &constant_bin[ 1281527 ], 20, 0 );
|
|
const_str_plain_CHIN = UNSTREAM_STRING( &constant_bin[ 171608 ], 4, 1 );
|
|
const_tuple_7751edc80a70f650137ca91489acd9eb_tuple = PyTuple_New( 6 );
|
|
PyTuple_SET_ITEM( const_tuple_7751edc80a70f650137ca91489acd9eb_tuple, 0, const_str_plain_self ); Py_INCREF( const_str_plain_self );
|
|
PyTuple_SET_ITEM( const_tuple_7751edc80a70f650137ca91489acd9eb_tuple, 1, const_str_plain_point ); Py_INCREF( const_str_plain_point );
|
|
PyTuple_SET_ITEM( const_tuple_7751edc80a70f650137ca91489acd9eb_tuple, 2, const_str_plain_x_shift ); Py_INCREF( const_str_plain_x_shift );
|
|
PyTuple_SET_ITEM( const_tuple_7751edc80a70f650137ca91489acd9eb_tuple, 3, const_str_plain_y_shift ); Py_INCREF( const_str_plain_y_shift );
|
|
PyTuple_SET_ITEM( const_tuple_7751edc80a70f650137ca91489acd9eb_tuple, 4, const_str_plain_scale ); Py_INCREF( const_str_plain_scale );
|
|
PyTuple_SET_ITEM( const_tuple_7751edc80a70f650137ca91489acd9eb_tuple, 5, const_str_plain_kwargs ); Py_INCREF( const_str_plain_kwargs );
|
|
const_str_digest_c2384d5a9dc59eba645c73478117c5c7 = UNSTREAM_STRING( &constant_bin[ 1281547 ], 58, 0 );
|
|
const_str_digest_8750d1dbf1a41db22ff4b968f031f878 = UNSTREAM_STRING( &constant_bin[ 1281605 ], 15, 0 );
|
|
const_str_digest_4b0731d8c4b8f7dea78c9a4c39612592 = UNSTREAM_STRING( &constant_bin[ 1279269 ], 22, 0 );
|
|
const_tuple_str_plain_mask_position_tuple = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( const_tuple_str_plain_mask_position_tuple, 0, const_str_plain_mask_position ); Py_INCREF( const_str_plain_mask_position );
|
|
const_str_digest_ea22bb284ff8a64d36b430a1a40a1d44 = UNSTREAM_STRING( &constant_bin[ 1281620 ], 1380, 0 );
|
|
|
|
constants_created = true;
|
|
}
|
|
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
void checkModuleConstants_telegram$files$sticker( void )
|
|
{
|
|
// The module may not have been used at all.
|
|
if (constants_created == false) return;
|
|
|
|
|
|
}
|
|
#endif
|
|
|
|
// The module code objects.
|
|
static PyCodeObject *codeobj_f3dfb6f0731919a58215344f2a2add2e;
|
|
static PyCodeObject *codeobj_1c8613d11e051fced3046b65667247ab;
|
|
static PyCodeObject *codeobj_69a5b11d11748a4766d6d4811d4a1780;
|
|
static PyCodeObject *codeobj_7da757a5a8b8df20c6c52a91d68ddf0b;
|
|
static PyCodeObject *codeobj_621d7e6d313f6a110af5dbc0291d58b8;
|
|
static PyCodeObject *codeobj_c765e593a4e26cedc83bf1c75cfd72dd;
|
|
static PyCodeObject *codeobj_759414105dffe5bb81e991b1de919cfe;
|
|
static PyCodeObject *codeobj_75b8d9d075672c6a86cabe46f5d9c3f5;
|
|
static PyCodeObject *codeobj_725cb57722ecbfb3c78558498a174b0d;
|
|
static PyCodeObject *codeobj_1a880b49577f6ffd4ea3a714c92c967e;
|
|
static PyCodeObject *codeobj_29f95e0395c6a873dd88b03c146545cf;
|
|
static PyCodeObject *codeobj_98263277a3e1579aa198cbad78a5a0d2;
|
|
static PyCodeObject *codeobj_c96cb24eaf4ac5f164ab258345935e51;
|
|
static PyCodeObject *codeobj_8939081d30472e0ebd6c7028f4a7d0db;
|
|
static PyCodeObject *codeobj_ece9d19876ac9a290d63b4a83660952a;
|
|
|
|
static void createModuleCodeObjects(void)
|
|
{
|
|
module_filename_obj = const_str_digest_c2384d5a9dc59eba645c73478117c5c7;
|
|
codeobj_f3dfb6f0731919a58215344f2a2add2e = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 99, const_tuple_str_plain_d_str_plain_cls_str_plain_bot_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_1c8613d11e051fced3046b65667247ab = MAKE_CODEOBJ( module_filename_obj, const_str_angle_listcomp, 159, const_tuple_str_plain_s_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_69a5b11d11748a4766d6d4811d4a1780 = MAKE_CODEOBJ( module_filename_obj, const_str_digest_77b1c5047da4cc4997dddcd54a7f6dee, 1, const_tuple_empty, 0, 0, CO_NOFREE );
|
|
codeobj_7da757a5a8b8df20c6c52a91d68ddf0b = MAKE_CODEOBJ( module_filename_obj, const_str_plain_MaskPosition, 164, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE );
|
|
codeobj_621d7e6d313f6a110af5dbc0291d58b8 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_Sticker, 24, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE );
|
|
codeobj_c765e593a4e26cedc83bf1c75cfd72dd = MAKE_CODEOBJ( module_filename_obj, const_str_plain_StickerSet, 120, const_tuple_str_plain___class___tuple, 0, 0, CO_NOFREE );
|
|
codeobj_759414105dffe5bb81e991b1de919cfe = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 57, const_tuple_7d7c2c365e0ca935051be3ceadc18707_tuple, 10, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE );
|
|
codeobj_75b8d9d075672c6a86cabe46f5d9c3f5 = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 137, const_tuple_24d72aac0643ec192435eeaa9081969b_tuple, 6, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE );
|
|
codeobj_725cb57722ecbfb3c78558498a174b0d = MAKE_CODEOBJ( module_filename_obj, const_str_plain___init__, 199, const_tuple_7751edc80a70f650137ca91489acd9eb_tuple, 5, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE );
|
|
codeobj_1a880b49577f6ffd4ea3a714c92c967e = MAKE_CODEOBJ( module_filename_obj, const_str_plain_de_json, 82, const_tuple_20e0b3bec4ab147948eec94e87ff90d7_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS );
|
|
codeobj_29f95e0395c6a873dd88b03c146545cf = MAKE_CODEOBJ( module_filename_obj, const_str_plain_de_json, 145, const_tuple_str_plain_data_str_plain_bot_str_plain___class___tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS );
|
|
codeobj_98263277a3e1579aa198cbad78a5a0d2 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_de_json, 205, const_tuple_str_plain_cls_str_plain_data_str_plain_bot_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_c96cb24eaf4ac5f164ab258345935e51 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_de_list, 94, const_tuple_str_plain_cls_str_plain_data_str_plain_bot_tuple, 3, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
|
codeobj_8939081d30472e0ebd6c7028f4a7d0db = MAKE_CODEOBJ( module_filename_obj, const_str_plain_get_file, 101, const_tuple_str_plain_self_str_plain_timeout_str_plain_kwargs_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE );
|
|
codeobj_ece9d19876ac9a290d63b4a83660952a = MAKE_CODEOBJ( module_filename_obj, const_str_plain_to_dict, 156, const_tuple_str_plain_self_str_plain_data_str_plain___class___tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS );
|
|
}
|
|
|
|
// The module function declarations.
|
|
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_1__mro_entries_conversion( PyObject **python_pars );
|
|
|
|
|
|
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_10_complex_call_helper_keywords_star_dict( PyObject **python_pars );
|
|
|
|
|
|
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_8_complex_call_helper_pos_keywords_star_dict( PyObject **python_pars );
|
|
|
|
|
|
NUITKA_CROSS_MODULE PyObject *impl___internal__$$$function_7_complex_call_helper_star_dict( PyObject **python_pars );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_1___init__( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_2_de_json( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_3_de_list( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_4_get_file( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_5___init__( PyObject *defaults );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_6_de_json( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_7_to_dict( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_8___init__( );
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_9_de_json( );
|
|
|
|
|
|
// The module function definitions.
|
|
static PyObject *impl_telegram$files$sticker$$$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_file_id = python_pars[ 1 ];
|
|
PyObject *par_width = python_pars[ 2 ];
|
|
PyObject *par_height = python_pars[ 3 ];
|
|
PyObject *par_thumb = python_pars[ 4 ];
|
|
PyObject *par_emoji = python_pars[ 5 ];
|
|
PyObject *par_file_size = python_pars[ 6 ];
|
|
PyObject *par_set_name = python_pars[ 7 ];
|
|
PyObject *par_mask_position = python_pars[ 8 ];
|
|
PyObject *par_bot = python_pars[ 9 ];
|
|
PyObject *par_kwargs = python_pars[ 10 ];
|
|
struct Nuitka_FrameObject *frame_759414105dffe5bb81e991b1de919cfe;
|
|
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_759414105dffe5bb81e991b1de919cfe = 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_759414105dffe5bb81e991b1de919cfe, codeobj_759414105dffe5bb81e991b1de919cfe, module_telegram$files$sticker, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_759414105dffe5bb81e991b1de919cfe = cache_frame_759414105dffe5bb81e991b1de919cfe;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_759414105dffe5bb81e991b1de919cfe );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_759414105dffe5bb81e991b1de919cfe ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assattr_name_1;
|
|
PyObject *tmp_unicode_arg_1;
|
|
PyObject *tmp_assattr_target_1;
|
|
CHECK_OBJECT( par_file_id );
|
|
tmp_unicode_arg_1 = par_file_id;
|
|
tmp_assattr_name_1 = PyObject_Unicode( tmp_unicode_arg_1 );
|
|
if ( tmp_assattr_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 69;
|
|
type_description_1 = "ooooooooooo";
|
|
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 = 69;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_1 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_file_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 = 69;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_2;
|
|
PyObject *tmp_int_arg_1;
|
|
PyObject *tmp_assattr_target_2;
|
|
if ( par_width == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "width" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 70;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_int_arg_1 = par_width;
|
|
tmp_assattr_name_2 = PyNumber_Int( tmp_int_arg_1 );
|
|
if ( tmp_assattr_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 70;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_assattr_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 70;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_2 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_width, tmp_assattr_name_2 );
|
|
Py_DECREF( tmp_assattr_name_2 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 70;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_3;
|
|
PyObject *tmp_int_arg_2;
|
|
PyObject *tmp_assattr_target_3;
|
|
if ( par_height == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "height" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 71;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_int_arg_2 = par_height;
|
|
tmp_assattr_name_3 = PyNumber_Int( tmp_int_arg_2 );
|
|
if ( tmp_assattr_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 71;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_assattr_name_3 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 71;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_3 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_height, tmp_assattr_name_3 );
|
|
Py_DECREF( tmp_assattr_name_3 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 71;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_4;
|
|
PyObject *tmp_assattr_target_4;
|
|
if ( par_thumb == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "thumb" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 73;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_4 = par_thumb;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 73;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_4 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_thumb, tmp_assattr_name_4 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 73;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_5;
|
|
PyObject *tmp_assattr_target_5;
|
|
if ( par_emoji == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "emoji" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 74;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_5 = par_emoji;
|
|
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 = 74;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_5 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain_emoji, tmp_assattr_name_5 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 74;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_6;
|
|
PyObject *tmp_assattr_target_6;
|
|
if ( par_file_size == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "file_size" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 75;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_6 = par_file_size;
|
|
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 = 75;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_6 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_6, const_str_plain_file_size, tmp_assattr_name_6 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 75;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_7;
|
|
PyObject *tmp_assattr_target_7;
|
|
if ( par_set_name == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "set_name" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 76;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_7 = par_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 = 76;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_7 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_7, const_str_plain_set_name, tmp_assattr_name_7 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 76;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_8;
|
|
PyObject *tmp_assattr_target_8;
|
|
if ( par_mask_position == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "mask_position" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 77;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_8 = par_mask_position;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 77;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_8 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_8, const_str_plain_mask_position, tmp_assattr_name_8 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 77;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_9;
|
|
PyObject *tmp_assattr_target_9;
|
|
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 = 78;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_9 = 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 = 78;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_9 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_9, const_str_plain_bot, tmp_assattr_name_9 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 78;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_10;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_assattr_target_10;
|
|
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 = 80;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = par_self;
|
|
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_file_id );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assattr_name_10 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_assattr_name_10, 0, tmp_tuple_element_1 );
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_assattr_name_10 );
|
|
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 = 80;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_10 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_10, const_str_plain__id_attrs, tmp_assattr_name_10 );
|
|
Py_DECREF( tmp_assattr_name_10 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 80;
|
|
type_description_1 = "ooooooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_759414105dffe5bb81e991b1de919cfe );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_759414105dffe5bb81e991b1de919cfe );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_759414105dffe5bb81e991b1de919cfe, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_759414105dffe5bb81e991b1de919cfe->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_759414105dffe5bb81e991b1de919cfe, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_759414105dffe5bb81e991b1de919cfe,
|
|
type_description_1,
|
|
par_self,
|
|
par_file_id,
|
|
par_width,
|
|
par_height,
|
|
par_thumb,
|
|
par_emoji,
|
|
par_file_size,
|
|
par_set_name,
|
|
par_mask_position,
|
|
par_bot,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_759414105dffe5bb81e991b1de919cfe == cache_frame_759414105dffe5bb81e991b1de919cfe )
|
|
{
|
|
Py_DECREF( frame_759414105dffe5bb81e991b1de919cfe );
|
|
}
|
|
cache_frame_759414105dffe5bb81e991b1de919cfe = NULL;
|
|
|
|
assertFrameObject( frame_759414105dffe5bb81e991b1de919cfe );
|
|
|
|
// 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$files$sticker$$$function_1___init__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_file_id );
|
|
par_file_id = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_width );
|
|
par_width = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_height );
|
|
par_height = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_thumb );
|
|
par_thumb = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_emoji );
|
|
par_emoji = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_file_size );
|
|
par_file_size = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_set_name );
|
|
par_set_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_mask_position );
|
|
par_mask_position = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_bot );
|
|
par_bot = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kwargs );
|
|
par_kwargs = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_file_id );
|
|
par_file_id = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_width );
|
|
par_width = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_height );
|
|
par_height = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_thumb );
|
|
par_thumb = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_emoji );
|
|
par_emoji = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_file_size );
|
|
par_file_size = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_set_name );
|
|
par_set_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_mask_position );
|
|
par_mask_position = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_bot );
|
|
par_bot = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kwargs );
|
|
par_kwargs = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$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$files$sticker$$$function_2_de_json( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_cls = python_pars[ 0 ];
|
|
PyObject *par_data = python_pars[ 1 ];
|
|
PyObject *par_bot = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_1a880b49577f6ffd4ea3a714c92c967e;
|
|
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_1a880b49577f6ffd4ea3a714c92c967e = 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_1a880b49577f6ffd4ea3a714c92c967e, codeobj_1a880b49577f6ffd4ea3a714c92c967e, module_telegram$files$sticker, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_1a880b49577f6ffd4ea3a714c92c967e = cache_frame_1a880b49577f6ffd4ea3a714c92c967e;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_1a880b49577f6ffd4ea3a714c92c967e );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_1a880b49577f6ffd4ea3a714c92c967e ) == 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 = 84;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_type_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_object_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_Sticker );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Sticker );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Sticker" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 87;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_type_name_1 = tmp_mvar_value_1;
|
|
if ( par_cls == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 87;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_object_name_1 = par_cls;
|
|
tmp_source_name_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 );
|
|
if ( tmp_source_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 87;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_de_json );
|
|
Py_DECREF( tmp_source_name_1 );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 87;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_data == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 87;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_data;
|
|
if ( par_bot == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bot" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 87;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_bot;
|
|
frame_1a880b49577f6ffd4ea3a714c92c967e->m_frame.f_lineno = 87;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 87;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = par_data;
|
|
par_data = tmp_assign_source_1;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_args_element_name_4;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_PhotoSize );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_PhotoSize );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "PhotoSize" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = tmp_mvar_value_2;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_de_json );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_data == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_data;
|
|
frame_1a880b49577f6ffd4ea3a714c92c967e->m_frame.f_lineno = 89;
|
|
tmp_args_element_name_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_plain_thumb_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 = 89;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_bot == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_2 );
|
|
Py_DECREF( tmp_args_element_name_3 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bot" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_4 = par_bot;
|
|
frame_1a880b49577f6ffd4ea3a714c92c967e->m_frame.f_lineno = 89;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 };
|
|
tmp_ass_subvalue_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
Py_DECREF( tmp_args_element_name_3 );
|
|
if ( tmp_ass_subvalue_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_data == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 89;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = par_data;
|
|
tmp_ass_subscript_1 = const_str_plain_thumb;
|
|
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 = 89;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_2;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_source_name_3;
|
|
PyObject *tmp_mvar_value_3;
|
|
PyObject *tmp_args_element_name_5;
|
|
PyObject *tmp_called_instance_2;
|
|
PyObject *tmp_args_element_name_6;
|
|
PyObject *tmp_ass_subscribed_2;
|
|
PyObject *tmp_ass_subscript_2;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_MaskPosition );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_MaskPosition );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "MaskPosition" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 90;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_3 = tmp_mvar_value_3;
|
|
tmp_called_name_3 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_de_json );
|
|
if ( tmp_called_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 90;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_data == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_3 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 90;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_2 = par_data;
|
|
frame_1a880b49577f6ffd4ea3a714c92c967e->m_frame.f_lineno = 90;
|
|
tmp_args_element_name_5 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_plain_mask_position_tuple, 0 ) );
|
|
|
|
if ( tmp_args_element_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_called_name_3 );
|
|
|
|
exception_lineno = 90;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_bot == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_3 );
|
|
Py_DECREF( tmp_args_element_name_5 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bot" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 90;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_6 = par_bot;
|
|
frame_1a880b49577f6ffd4ea3a714c92c967e->m_frame.f_lineno = 90;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_5, tmp_args_element_name_6 };
|
|
tmp_ass_subvalue_2 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_3 );
|
|
Py_DECREF( tmp_args_element_name_5 );
|
|
if ( tmp_ass_subvalue_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 90;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_data == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_2 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 90;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_2 = par_data;
|
|
tmp_ass_subscript_2 = const_str_plain_mask_position;
|
|
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 = 90;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_dircall_arg1_1;
|
|
PyObject *tmp_dircall_arg2_1;
|
|
PyObject *tmp_dict_key_1;
|
|
PyObject *tmp_dict_value_1;
|
|
PyObject *tmp_dircall_arg3_1;
|
|
if ( par_cls == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 92;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dircall_arg1_1 = par_cls;
|
|
tmp_dict_key_1 = const_str_plain_bot;
|
|
if ( par_bot == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bot" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 92;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dict_value_1 = par_bot;
|
|
tmp_dircall_arg2_1 = _PyDict_NewPresized( 1 );
|
|
tmp_res = PyDict_SetItem( tmp_dircall_arg2_1, tmp_dict_key_1, tmp_dict_value_1 );
|
|
assert( !(tmp_res != 0) );
|
|
if ( par_data == NULL )
|
|
{
|
|
Py_DECREF( tmp_dircall_arg2_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 92;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dircall_arg3_1 = par_data;
|
|
Py_INCREF( tmp_dircall_arg1_1 );
|
|
Py_INCREF( tmp_dircall_arg3_1 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
|
|
tmp_return_value = impl___internal__$$$function_10_complex_call_helper_keywords_star_dict( dir_call_args );
|
|
}
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 92;
|
|
type_description_1 = "oooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_1a880b49577f6ffd4ea3a714c92c967e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_1a880b49577f6ffd4ea3a714c92c967e );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_1a880b49577f6ffd4ea3a714c92c967e );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_1a880b49577f6ffd4ea3a714c92c967e, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_1a880b49577f6ffd4ea3a714c92c967e->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_1a880b49577f6ffd4ea3a714c92c967e, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_1a880b49577f6ffd4ea3a714c92c967e,
|
|
type_description_1,
|
|
par_cls,
|
|
par_data,
|
|
par_bot,
|
|
NULL
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_1a880b49577f6ffd4ea3a714c92c967e == cache_frame_1a880b49577f6ffd4ea3a714c92c967e )
|
|
{
|
|
Py_DECREF( frame_1a880b49577f6ffd4ea3a714c92c967e );
|
|
}
|
|
cache_frame_1a880b49577f6ffd4ea3a714c92c967e = NULL;
|
|
|
|
assertFrameObject( frame_1a880b49577f6ffd4ea3a714c92c967e );
|
|
|
|
// 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$files$sticker$$$function_2_de_json );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_cls );
|
|
par_cls = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_data );
|
|
par_data = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_bot );
|
|
par_bot = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_cls );
|
|
par_cls = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_data );
|
|
par_data = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_bot );
|
|
par_bot = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$function_2_de_json );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_telegram$files$sticker$$$function_3_de_list( 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 *outline_0_var_d = NULL;
|
|
PyObject *tmp_listcomp_1__$0 = NULL;
|
|
PyObject *tmp_listcomp_1__contraction = NULL;
|
|
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
|
|
struct Nuitka_FrameObject *frame_c96cb24eaf4ac5f164ab258345935e51;
|
|
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;
|
|
struct Nuitka_FrameObject *frame_f3dfb6f0731919a58215344f2a2add2e_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
static struct Nuitka_FrameObject *cache_frame_f3dfb6f0731919a58215344f2a2add2e_2 = NULL;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
static struct Nuitka_FrameObject *cache_frame_c96cb24eaf4ac5f164ab258345935e51 = NULL;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_c96cb24eaf4ac5f164ab258345935e51, codeobj_c96cb24eaf4ac5f164ab258345935e51, module_telegram$files$sticker, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_c96cb24eaf4ac5f164ab258345935e51 = cache_frame_c96cb24eaf4ac5f164ab258345935e51;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_c96cb24eaf4ac5f164ab258345935e51 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_c96cb24eaf4ac5f164ab258345935e51 ) == 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 = 96;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
tmp_return_value = PyList_New( 0 );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_iter_arg_1;
|
|
if ( par_data == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "data" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 99;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_iter_arg_1 = par_data;
|
|
tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 99;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_listcomp_1__$0 == NULL );
|
|
tmp_listcomp_1__$0 = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
tmp_assign_source_2 = PyList_New( 0 );
|
|
assert( tmp_listcomp_1__contraction == NULL );
|
|
tmp_listcomp_1__contraction = tmp_assign_source_2;
|
|
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_f3dfb6f0731919a58215344f2a2add2e_2, codeobj_f3dfb6f0731919a58215344f2a2add2e, module_telegram$files$sticker, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_f3dfb6f0731919a58215344f2a2add2e_2 = cache_frame_f3dfb6f0731919a58215344f2a2add2e_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_f3dfb6f0731919a58215344f2a2add2e_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_f3dfb6f0731919a58215344f2a2add2e_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_3;
|
|
CHECK_OBJECT( tmp_listcomp_1__$0 );
|
|
tmp_next_source_1 = tmp_listcomp_1__$0;
|
|
tmp_assign_source_3 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_3 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_2 = "ooo";
|
|
exception_lineno = 99;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_listcomp_1__iter_value_0;
|
|
tmp_listcomp_1__iter_value_0 = tmp_assign_source_3;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_4;
|
|
CHECK_OBJECT( tmp_listcomp_1__iter_value_0 );
|
|
tmp_assign_source_4 = tmp_listcomp_1__iter_value_0;
|
|
{
|
|
PyObject *old = outline_0_var_d;
|
|
outline_0_var_d = tmp_assign_source_4;
|
|
Py_INCREF( outline_0_var_d );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_append_list_1;
|
|
PyObject *tmp_append_value_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
CHECK_OBJECT( tmp_listcomp_1__contraction );
|
|
tmp_append_list_1 = tmp_listcomp_1__contraction;
|
|
if ( par_cls == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "cls" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 99;
|
|
type_description_2 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_source_name_1 = par_cls;
|
|
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 = 99;
|
|
type_description_2 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
if ( outline_0_var_d == 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", "d" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 99;
|
|
type_description_2 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_args_element_name_1 = outline_0_var_d;
|
|
if ( par_bot == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "free variable '%s' referenced before assignment in enclosing scope", "bot" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 99;
|
|
type_description_2 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_bot;
|
|
frame_f3dfb6f0731919a58215344f2a2add2e_2->m_frame.f_lineno = 99;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_append_value_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_append_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 99;
|
|
type_description_2 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( PyList_Check( tmp_append_list_1 ) );
|
|
tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 );
|
|
Py_DECREF( tmp_append_value_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 99;
|
|
type_description_2 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 99;
|
|
type_description_2 = "ooo";
|
|
goto try_except_handler_3;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( tmp_listcomp_1__contraction );
|
|
tmp_return_value = tmp_listcomp_1__contraction;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_3;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$function_3_de_list );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_3:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 );
|
|
Py_DECREF( tmp_listcomp_1__$0 );
|
|
tmp_listcomp_1__$0 = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction );
|
|
Py_DECREF( tmp_listcomp_1__contraction );
|
|
tmp_listcomp_1__contraction = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp_1__iter_value_0 );
|
|
tmp_listcomp_1__iter_value_0 = NULL;
|
|
|
|
}
|
|
{
|
|
goto frame_return_exit_2;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 );
|
|
Py_DECREF( tmp_listcomp_1__$0 );
|
|
tmp_listcomp_1__$0 = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction );
|
|
Py_DECREF( tmp_listcomp_1__contraction );
|
|
tmp_listcomp_1__contraction = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp_1__iter_value_0 );
|
|
tmp_listcomp_1__iter_value_0 = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_2;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_f3dfb6f0731919a58215344f2a2add2e_2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_2:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_f3dfb6f0731919a58215344f2a2add2e_2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_2;
|
|
|
|
frame_exception_exit_2:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_f3dfb6f0731919a58215344f2a2add2e_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_f3dfb6f0731919a58215344f2a2add2e_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_f3dfb6f0731919a58215344f2a2add2e_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_f3dfb6f0731919a58215344f2a2add2e_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_f3dfb6f0731919a58215344f2a2add2e_2,
|
|
type_description_2,
|
|
outline_0_var_d,
|
|
par_cls,
|
|
par_bot
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_f3dfb6f0731919a58215344f2a2add2e_2 == cache_frame_f3dfb6f0731919a58215344f2a2add2e_2 )
|
|
{
|
|
Py_DECREF( frame_f3dfb6f0731919a58215344f2a2add2e_2 );
|
|
}
|
|
cache_frame_f3dfb6f0731919a58215344f2a2add2e_2 = NULL;
|
|
|
|
assertFrameObject( frame_f3dfb6f0731919a58215344f2a2add2e_2 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto nested_frame_exit_1;
|
|
|
|
frame_no_exception_1:;
|
|
goto skip_nested_handling_1;
|
|
nested_frame_exit_1:;
|
|
type_description_1 = "ooo";
|
|
goto try_except_handler_2;
|
|
skip_nested_handling_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$function_3_de_list );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_2:;
|
|
{
|
|
Py_XDECREF( outline_0_var_d );
|
|
outline_0_var_d = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_1;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( outline_0_var_d );
|
|
outline_0_var_d = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto outline_exception_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$function_3_de_list );
|
|
return NULL;
|
|
outline_exception_1:;
|
|
exception_lineno = 99;
|
|
goto frame_exception_exit_1;
|
|
outline_result_1:;
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c96cb24eaf4ac5f164ab258345935e51 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c96cb24eaf4ac5f164ab258345935e51 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c96cb24eaf4ac5f164ab258345935e51 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_c96cb24eaf4ac5f164ab258345935e51, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_c96cb24eaf4ac5f164ab258345935e51->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_c96cb24eaf4ac5f164ab258345935e51, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_c96cb24eaf4ac5f164ab258345935e51,
|
|
type_description_1,
|
|
par_cls,
|
|
par_data,
|
|
par_bot
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_c96cb24eaf4ac5f164ab258345935e51 == cache_frame_c96cb24eaf4ac5f164ab258345935e51 )
|
|
{
|
|
Py_DECREF( frame_c96cb24eaf4ac5f164ab258345935e51 );
|
|
}
|
|
cache_frame_c96cb24eaf4ac5f164ab258345935e51 = NULL;
|
|
|
|
assertFrameObject( frame_c96cb24eaf4ac5f164ab258345935e51 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_2:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$function_3_de_list );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_cls );
|
|
par_cls = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_data );
|
|
par_data = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_bot );
|
|
par_bot = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_3 = exception_type;
|
|
exception_keeper_value_3 = exception_value;
|
|
exception_keeper_tb_3 = exception_tb;
|
|
exception_keeper_lineno_3 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_cls );
|
|
par_cls = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_data );
|
|
par_data = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_bot );
|
|
par_bot = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$function_3_de_list );
|
|
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$files$sticker$$$function_4_get_file( 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_timeout = python_pars[ 1 ];
|
|
PyObject *par_kwargs = python_pars[ 2 ];
|
|
struct Nuitka_FrameObject *frame_8939081d30472e0ebd6c7028f4a7d0db;
|
|
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;
|
|
int tmp_res;
|
|
static struct Nuitka_FrameObject *cache_frame_8939081d30472e0ebd6c7028f4a7d0db = 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_8939081d30472e0ebd6c7028f4a7d0db, codeobj_8939081d30472e0ebd6c7028f4a7d0db, module_telegram$files$sticker, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_8939081d30472e0ebd6c7028f4a7d0db = cache_frame_8939081d30472e0ebd6c7028f4a7d0db;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_8939081d30472e0ebd6c7028f4a7d0db );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_8939081d30472e0ebd6c7028f4a7d0db ) == 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_dict_key_1;
|
|
PyObject *tmp_dict_value_1;
|
|
PyObject *tmp_dircall_arg4_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_source_name_2 = par_self;
|
|
tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_bot );
|
|
if ( tmp_source_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get_file );
|
|
Py_DECREF( tmp_source_name_1 );
|
|
if ( tmp_dircall_arg1_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_dircall_arg1_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_3 = par_self;
|
|
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_file_id );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_dircall_arg1_1 );
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_dircall_arg2_1 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_dircall_arg2_1, 0, tmp_tuple_element_1 );
|
|
tmp_dict_key_1 = const_str_plain_timeout;
|
|
if ( par_timeout == 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", "timeout" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dict_value_1 = par_timeout;
|
|
tmp_dircall_arg3_1 = _PyDict_NewPresized( 1 );
|
|
tmp_res = PyDict_SetItem( tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1 );
|
|
assert( !(tmp_res != 0) );
|
|
if ( par_kwargs == NULL )
|
|
{
|
|
Py_DECREF( tmp_dircall_arg1_1 );
|
|
Py_DECREF( tmp_dircall_arg2_1 );
|
|
Py_DECREF( tmp_dircall_arg3_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "kwargs" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 117;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dircall_arg4_1 = par_kwargs;
|
|
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_8_complex_call_helper_pos_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 = 117;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8939081d30472e0ebd6c7028f4a7d0db );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8939081d30472e0ebd6c7028f4a7d0db );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_8939081d30472e0ebd6c7028f4a7d0db );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_8939081d30472e0ebd6c7028f4a7d0db, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_8939081d30472e0ebd6c7028f4a7d0db->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_8939081d30472e0ebd6c7028f4a7d0db, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_8939081d30472e0ebd6c7028f4a7d0db,
|
|
type_description_1,
|
|
par_self,
|
|
par_timeout,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_8939081d30472e0ebd6c7028f4a7d0db == cache_frame_8939081d30472e0ebd6c7028f4a7d0db )
|
|
{
|
|
Py_DECREF( frame_8939081d30472e0ebd6c7028f4a7d0db );
|
|
}
|
|
cache_frame_8939081d30472e0ebd6c7028f4a7d0db = NULL;
|
|
|
|
assertFrameObject( frame_8939081d30472e0ebd6c7028f4a7d0db );
|
|
|
|
// 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$files$sticker$$$function_4_get_file );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_timeout );
|
|
par_timeout = 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_timeout );
|
|
par_timeout = 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$files$sticker$$$function_4_get_file );
|
|
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$files$sticker$$$function_5___init__( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
PyObject *par_name = python_pars[ 1 ];
|
|
PyObject *par_title = python_pars[ 2 ];
|
|
PyObject *par_contains_masks = python_pars[ 3 ];
|
|
PyObject *par_stickers = python_pars[ 4 ];
|
|
PyObject *par_bot = python_pars[ 5 ];
|
|
PyObject *par_kwargs = python_pars[ 6 ];
|
|
struct Nuitka_FrameObject *frame_75b8d9d075672c6a86cabe46f5d9c3f5;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
bool tmp_result;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
static struct Nuitka_FrameObject *cache_frame_75b8d9d075672c6a86cabe46f5d9c3f5 = 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_75b8d9d075672c6a86cabe46f5d9c3f5, codeobj_75b8d9d075672c6a86cabe46f5d9c3f5, module_telegram$files$sticker, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_75b8d9d075672c6a86cabe46f5d9c3f5 = cache_frame_75b8d9d075672c6a86cabe46f5d9c3f5;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_75b8d9d075672c6a86cabe46f5d9c3f5 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_75b8d9d075672c6a86cabe46f5d9c3f5 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assattr_name_1;
|
|
PyObject *tmp_assattr_target_1;
|
|
CHECK_OBJECT( par_name );
|
|
tmp_assattr_name_1 = par_name;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_assattr_target_1 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_name, tmp_assattr_name_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 138;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_2;
|
|
PyObject *tmp_assattr_target_2;
|
|
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 = 139;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_2 = 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 = 139;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_2 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_title, tmp_assattr_name_2 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 139;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_3;
|
|
PyObject *tmp_assattr_target_3;
|
|
if ( par_contains_masks == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "contains_masks" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 140;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_3 = par_contains_masks;
|
|
if ( par_self == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 140;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_3 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_contains_masks, tmp_assattr_name_3 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 140;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_4;
|
|
PyObject *tmp_assattr_target_4;
|
|
if ( par_stickers == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "stickers" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 141;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_4 = par_stickers;
|
|
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 = 141;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_4 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_stickers, tmp_assattr_name_4 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 141;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_5;
|
|
PyObject *tmp_tuple_element_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_assattr_target_5;
|
|
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 = 143;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_1 = par_self;
|
|
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_name );
|
|
if ( tmp_tuple_element_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 143;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_assattr_name_5 = PyTuple_New( 1 );
|
|
PyTuple_SET_ITEM( tmp_assattr_name_5, 0, tmp_tuple_element_1 );
|
|
if ( par_self == NULL )
|
|
{
|
|
Py_DECREF( tmp_assattr_name_5 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "self" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 143;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_5 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_5, const_str_plain__id_attrs, tmp_assattr_name_5 );
|
|
Py_DECREF( tmp_assattr_name_5 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 143;
|
|
type_description_1 = "ooooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_75b8d9d075672c6a86cabe46f5d9c3f5 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_75b8d9d075672c6a86cabe46f5d9c3f5 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_75b8d9d075672c6a86cabe46f5d9c3f5, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_75b8d9d075672c6a86cabe46f5d9c3f5->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_75b8d9d075672c6a86cabe46f5d9c3f5, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_75b8d9d075672c6a86cabe46f5d9c3f5,
|
|
type_description_1,
|
|
par_self,
|
|
par_name,
|
|
par_title,
|
|
par_contains_masks,
|
|
par_stickers,
|
|
par_bot,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_75b8d9d075672c6a86cabe46f5d9c3f5 == cache_frame_75b8d9d075672c6a86cabe46f5d9c3f5 )
|
|
{
|
|
Py_DECREF( frame_75b8d9d075672c6a86cabe46f5d9c3f5 );
|
|
}
|
|
cache_frame_75b8d9d075672c6a86cabe46f5d9c3f5 = NULL;
|
|
|
|
assertFrameObject( frame_75b8d9d075672c6a86cabe46f5d9c3f5 );
|
|
|
|
// 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$files$sticker$$$function_5___init__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_title );
|
|
par_title = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_contains_masks );
|
|
par_contains_masks = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_stickers );
|
|
par_stickers = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_bot );
|
|
par_bot = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kwargs );
|
|
par_kwargs = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_name );
|
|
par_name = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_title );
|
|
par_title = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_contains_masks );
|
|
par_contains_masks = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_stickers );
|
|
par_stickers = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_bot );
|
|
par_bot = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_kwargs );
|
|
par_kwargs = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$function_5___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$files$sticker$$$function_6_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_data = python_pars[ 0 ];
|
|
PyObject *par_bot = python_pars[ 1 ];
|
|
struct Nuitka_FrameObject *frame_29f95e0395c6a873dd88b03c146545cf;
|
|
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_29f95e0395c6a873dd88b03c146545cf = 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_29f95e0395c6a873dd88b03c146545cf, codeobj_29f95e0395c6a873dd88b03c146545cf, module_telegram$files$sticker, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_29f95e0395c6a873dd88b03c146545cf = cache_frame_29f95e0395c6a873dd88b03c146545cf;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_29f95e0395c6a873dd88b03c146545cf );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_29f95e0395c6a873dd88b03c146545cf ) == 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 = 147;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_called_name_1;
|
|
PyObject *tmp_source_name_1;
|
|
PyObject *tmp_type_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_object_name_1;
|
|
PyObject *tmp_mvar_value_2;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_args_element_name_2;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_StickerSet );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_StickerSet );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "StickerSet" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 150;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_type_name_1 = tmp_mvar_value_1;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_StickerSet );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_StickerSet );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "StickerSet" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 150;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_object_name_1 = tmp_mvar_value_2;
|
|
tmp_source_name_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 );
|
|
if ( tmp_source_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 150;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_de_json );
|
|
Py_DECREF( tmp_source_name_1 );
|
|
if ( tmp_called_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 150;
|
|
type_description_1 = "ooN";
|
|
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 = 150;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_1 = par_data;
|
|
if ( par_bot == NULL )
|
|
{
|
|
Py_DECREF( tmp_called_name_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "bot" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 150;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_2 = par_bot;
|
|
frame_29f95e0395c6a873dd88b03c146545cf->m_frame.f_lineno = 150;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_1, tmp_args_element_name_2 };
|
|
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_1, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 150;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
{
|
|
PyObject *old = par_data;
|
|
par_data = tmp_assign_source_1;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_source_name_2;
|
|
PyObject *tmp_mvar_value_3;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_args_element_name_4;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_Sticker );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Sticker );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Sticker" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 152;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_source_name_2 = tmp_mvar_value_3;
|
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_de_list );
|
|
if ( tmp_called_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 152;
|
|
type_description_1 = "ooN";
|
|
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 = 152;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_called_instance_1 = par_data;
|
|
frame_29f95e0395c6a873dd88b03c146545cf->m_frame.f_lineno = 152;
|
|
tmp_args_element_name_3 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_plain_stickers_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 = 152;
|
|
type_description_1 = "ooN";
|
|
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 = 152;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_args_element_name_4 = par_bot;
|
|
frame_29f95e0395c6a873dd88b03c146545cf->m_frame.f_lineno = 152;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3, tmp_args_element_name_4 };
|
|
tmp_ass_subvalue_1 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_2, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_2 );
|
|
Py_DECREF( tmp_args_element_name_3 );
|
|
if ( tmp_ass_subvalue_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 152;
|
|
type_description_1 = "ooN";
|
|
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 = 152;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = par_data;
|
|
tmp_ass_subscript_1 = const_str_plain_stickers;
|
|
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 = 152;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_dircall_arg1_1;
|
|
PyObject *tmp_mvar_value_4;
|
|
PyObject *tmp_dircall_arg2_1;
|
|
PyObject *tmp_dict_key_1;
|
|
PyObject *tmp_dict_value_1;
|
|
PyObject *tmp_dircall_arg3_1;
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_StickerSet );
|
|
|
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
|
{
|
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_StickerSet );
|
|
}
|
|
|
|
if ( tmp_mvar_value_4 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "StickerSet" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 154;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dircall_arg1_1 = tmp_mvar_value_4;
|
|
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 = 154;
|
|
type_description_1 = "ooN";
|
|
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 = 154;
|
|
type_description_1 = "ooN";
|
|
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 = 154;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_29f95e0395c6a873dd88b03c146545cf );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_29f95e0395c6a873dd88b03c146545cf );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_29f95e0395c6a873dd88b03c146545cf );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_29f95e0395c6a873dd88b03c146545cf, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_29f95e0395c6a873dd88b03c146545cf->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_29f95e0395c6a873dd88b03c146545cf, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_29f95e0395c6a873dd88b03c146545cf,
|
|
type_description_1,
|
|
par_data,
|
|
par_bot,
|
|
NULL
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_29f95e0395c6a873dd88b03c146545cf == cache_frame_29f95e0395c6a873dd88b03c146545cf )
|
|
{
|
|
Py_DECREF( frame_29f95e0395c6a873dd88b03c146545cf );
|
|
}
|
|
cache_frame_29f95e0395c6a873dd88b03c146545cf = NULL;
|
|
|
|
assertFrameObject( frame_29f95e0395c6a873dd88b03c146545cf );
|
|
|
|
// 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$files$sticker$$$function_6_de_json );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_data );
|
|
par_data = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_bot );
|
|
par_bot = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_data );
|
|
par_data = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_bot );
|
|
par_bot = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$function_6_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$files$sticker$$$function_7_to_dict( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
|
{
|
|
// Preserve error status for checks
|
|
#ifndef __NUITKA_NO_ASSERT__
|
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
|
#endif
|
|
|
|
// Local variable declarations.
|
|
PyObject *par_self = python_pars[ 0 ];
|
|
PyObject *var_data = NULL;
|
|
PyObject *outline_0_var_s = NULL;
|
|
PyObject *tmp_listcomp_1__$0 = NULL;
|
|
PyObject *tmp_listcomp_1__contraction = NULL;
|
|
PyObject *tmp_listcomp_1__iter_value_0 = NULL;
|
|
struct Nuitka_FrameObject *frame_ece9d19876ac9a290d63b4a83660952a;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
struct Nuitka_FrameObject *frame_1c8613d11e051fced3046b65667247ab_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
int tmp_res;
|
|
PyObject *exception_keeper_type_1;
|
|
PyObject *exception_keeper_value_1;
|
|
PyTracebackObject *exception_keeper_tb_1;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
|
static struct Nuitka_FrameObject *cache_frame_1c8613d11e051fced3046b65667247ab_2 = NULL;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
bool tmp_result;
|
|
PyObject *tmp_return_value = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_ece9d19876ac9a290d63b4a83660952a = NULL;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
|
|
// Actual function code.
|
|
{
|
|
// Tried code:
|
|
MAKE_OR_REUSE_FRAME( cache_frame_ece9d19876ac9a290d63b4a83660952a, codeobj_ece9d19876ac9a290d63b4a83660952a, module_telegram$files$sticker, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_ece9d19876ac9a290d63b4a83660952a = cache_frame_ece9d19876ac9a290d63b4a83660952a;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_ece9d19876ac9a290d63b4a83660952a );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_ece9d19876ac9a290d63b4a83660952a ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
PyObject *tmp_called_instance_1;
|
|
PyObject *tmp_type_name_1;
|
|
PyObject *tmp_mvar_value_1;
|
|
PyObject *tmp_object_name_1;
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_StickerSet );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_StickerSet );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "StickerSet" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 157;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_type_name_1 = tmp_mvar_value_1;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_object_name_1 = par_self;
|
|
tmp_called_instance_1 = BUILTIN_SUPER( tmp_type_name_1, tmp_object_name_1 );
|
|
if ( tmp_called_instance_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 157;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
frame_ece9d19876ac9a290d63b4a83660952a->m_frame.f_lineno = 157;
|
|
tmp_assign_source_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_to_dict );
|
|
Py_DECREF( tmp_called_instance_1 );
|
|
if ( tmp_assign_source_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 157;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( var_data == NULL );
|
|
var_data = tmp_assign_source_1;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_ass_subvalue_1;
|
|
PyObject *tmp_ass_subscribed_1;
|
|
PyObject *tmp_ass_subscript_1;
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
PyObject *tmp_iter_arg_1;
|
|
PyObject *tmp_called_instance_2;
|
|
CHECK_OBJECT( var_data );
|
|
tmp_called_instance_2 = var_data;
|
|
frame_ece9d19876ac9a290d63b4a83660952a->m_frame.f_lineno = 159;
|
|
tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_get, &PyTuple_GET_ITEM( const_tuple_str_plain_stickers_tuple, 0 ) );
|
|
|
|
if ( tmp_iter_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 159;
|
|
type_description_1 = "ooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_assign_source_2 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
|
Py_DECREF( tmp_iter_arg_1 );
|
|
if ( tmp_assign_source_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 159;
|
|
type_description_1 = "ooN";
|
|
goto try_except_handler_2;
|
|
}
|
|
assert( tmp_listcomp_1__$0 == NULL );
|
|
tmp_listcomp_1__$0 = tmp_assign_source_2;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_3;
|
|
tmp_assign_source_3 = PyList_New( 0 );
|
|
assert( tmp_listcomp_1__contraction == NULL );
|
|
tmp_listcomp_1__contraction = tmp_assign_source_3;
|
|
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_1c8613d11e051fced3046b65667247ab_2, codeobj_1c8613d11e051fced3046b65667247ab, module_telegram$files$sticker, sizeof(void *) );
|
|
frame_1c8613d11e051fced3046b65667247ab_2 = cache_frame_1c8613d11e051fced3046b65667247ab_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_1c8613d11e051fced3046b65667247ab_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_1c8613d11e051fced3046b65667247ab_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
loop_start_1:;
|
|
{
|
|
PyObject *tmp_next_source_1;
|
|
PyObject *tmp_assign_source_4;
|
|
CHECK_OBJECT( tmp_listcomp_1__$0 );
|
|
tmp_next_source_1 = tmp_listcomp_1__$0;
|
|
tmp_assign_source_4 = ITERATOR_NEXT( tmp_next_source_1 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
|
{
|
|
|
|
goto loop_end_1;
|
|
}
|
|
else
|
|
{
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
type_description_2 = "o";
|
|
exception_lineno = 159;
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
|
|
{
|
|
PyObject *old = tmp_listcomp_1__iter_value_0;
|
|
tmp_listcomp_1__iter_value_0 = tmp_assign_source_4;
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
CHECK_OBJECT( tmp_listcomp_1__iter_value_0 );
|
|
tmp_assign_source_5 = tmp_listcomp_1__iter_value_0;
|
|
{
|
|
PyObject *old = outline_0_var_s;
|
|
outline_0_var_s = tmp_assign_source_5;
|
|
Py_INCREF( outline_0_var_s );
|
|
Py_XDECREF( old );
|
|
}
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_append_list_1;
|
|
PyObject *tmp_append_value_1;
|
|
PyObject *tmp_called_instance_3;
|
|
CHECK_OBJECT( tmp_listcomp_1__contraction );
|
|
tmp_append_list_1 = tmp_listcomp_1__contraction;
|
|
CHECK_OBJECT( outline_0_var_s );
|
|
tmp_called_instance_3 = outline_0_var_s;
|
|
frame_1c8613d11e051fced3046b65667247ab_2->m_frame.f_lineno = 159;
|
|
tmp_append_value_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_to_dict );
|
|
if ( tmp_append_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 159;
|
|
type_description_2 = "o";
|
|
goto try_except_handler_3;
|
|
}
|
|
assert( PyList_Check( tmp_append_list_1 ) );
|
|
tmp_res = PyList_Append( tmp_append_list_1, tmp_append_value_1 );
|
|
Py_DECREF( tmp_append_value_1 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 159;
|
|
type_description_2 = "o";
|
|
goto try_except_handler_3;
|
|
}
|
|
}
|
|
if ( CONSIDER_THREADING() == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 159;
|
|
type_description_2 = "o";
|
|
goto try_except_handler_3;
|
|
}
|
|
goto loop_start_1;
|
|
loop_end_1:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( tmp_listcomp_1__contraction );
|
|
tmp_ass_subvalue_1 = tmp_listcomp_1__contraction;
|
|
Py_INCREF( tmp_ass_subvalue_1 );
|
|
goto try_return_handler_3;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$function_7_to_dict );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_3:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 );
|
|
Py_DECREF( tmp_listcomp_1__$0 );
|
|
tmp_listcomp_1__$0 = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction );
|
|
Py_DECREF( tmp_listcomp_1__contraction );
|
|
tmp_listcomp_1__contraction = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp_1__iter_value_0 );
|
|
tmp_listcomp_1__iter_value_0 = NULL;
|
|
|
|
}
|
|
{
|
|
goto frame_return_exit_2;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_3:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__$0 );
|
|
Py_DECREF( tmp_listcomp_1__$0 );
|
|
tmp_listcomp_1__$0 = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_listcomp_1__contraction );
|
|
Py_DECREF( tmp_listcomp_1__contraction );
|
|
tmp_listcomp_1__contraction = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_listcomp_1__iter_value_0 );
|
|
tmp_listcomp_1__iter_value_0 = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto frame_exception_exit_2;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_1c8613d11e051fced3046b65667247ab_2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_2:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_1c8613d11e051fced3046b65667247ab_2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_2;
|
|
|
|
frame_exception_exit_2:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_1c8613d11e051fced3046b65667247ab_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_1c8613d11e051fced3046b65667247ab_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_1c8613d11e051fced3046b65667247ab_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_1c8613d11e051fced3046b65667247ab_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_1c8613d11e051fced3046b65667247ab_2,
|
|
type_description_2,
|
|
outline_0_var_s
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_1c8613d11e051fced3046b65667247ab_2 == cache_frame_1c8613d11e051fced3046b65667247ab_2 )
|
|
{
|
|
Py_DECREF( frame_1c8613d11e051fced3046b65667247ab_2 );
|
|
}
|
|
cache_frame_1c8613d11e051fced3046b65667247ab_2 = NULL;
|
|
|
|
assertFrameObject( frame_1c8613d11e051fced3046b65667247ab_2 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto nested_frame_exit_1;
|
|
|
|
frame_no_exception_1:;
|
|
goto skip_nested_handling_1;
|
|
nested_frame_exit_1:;
|
|
type_description_1 = "ooN";
|
|
goto try_except_handler_2;
|
|
skip_nested_handling_1:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$function_7_to_dict );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_2:;
|
|
{
|
|
Py_XDECREF( outline_0_var_s );
|
|
outline_0_var_s = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_1;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_2:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( outline_0_var_s );
|
|
outline_0_var_s = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto outline_exception_1;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$function_7_to_dict );
|
|
return NULL;
|
|
outline_exception_1:;
|
|
exception_lineno = 159;
|
|
goto frame_exception_exit_1;
|
|
outline_result_1:;
|
|
if ( var_data == NULL )
|
|
{
|
|
Py_DECREF( tmp_ass_subvalue_1 );
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 159;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_ass_subscribed_1 = var_data;
|
|
tmp_ass_subscript_1 = const_str_plain_stickers;
|
|
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 = 159;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
if ( var_data == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 161;
|
|
type_description_1 = "ooN";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_return_value = var_data;
|
|
Py_INCREF( tmp_return_value );
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ece9d19876ac9a290d63b4a83660952a );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ece9d19876ac9a290d63b4a83660952a );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_ece9d19876ac9a290d63b4a83660952a );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_ece9d19876ac9a290d63b4a83660952a, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_ece9d19876ac9a290d63b4a83660952a->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_ece9d19876ac9a290d63b4a83660952a, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_ece9d19876ac9a290d63b4a83660952a,
|
|
type_description_1,
|
|
par_self,
|
|
var_data,
|
|
NULL
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_ece9d19876ac9a290d63b4a83660952a == cache_frame_ece9d19876ac9a290d63b4a83660952a )
|
|
{
|
|
Py_DECREF( frame_ece9d19876ac9a290d63b4a83660952a );
|
|
}
|
|
cache_frame_ece9d19876ac9a290d63b4a83660952a = NULL;
|
|
|
|
assertFrameObject( frame_ece9d19876ac9a290d63b4a83660952a );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto try_except_handler_1;
|
|
|
|
frame_no_exception_2:;
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$function_7_to_dict );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_data );
|
|
var_data = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_3 = exception_type;
|
|
exception_keeper_value_3 = exception_value;
|
|
exception_keeper_tb_3 = exception_tb;
|
|
exception_keeper_lineno_3 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( var_data );
|
|
var_data = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_3;
|
|
exception_value = exception_keeper_value_3;
|
|
exception_tb = exception_keeper_tb_3;
|
|
exception_lineno = exception_keeper_lineno_3;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$function_7_to_dict );
|
|
return NULL;
|
|
|
|
function_exception_exit:
|
|
assert( exception_type );
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
|
|
return NULL;
|
|
function_return_exit:
|
|
|
|
CHECK_OBJECT( tmp_return_value );
|
|
assert( had_error || !ERROR_OCCURRED() );
|
|
return tmp_return_value;
|
|
|
|
}
|
|
|
|
|
|
static PyObject *impl_telegram$files$sticker$$$function_8___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_point = python_pars[ 1 ];
|
|
PyObject *par_x_shift = python_pars[ 2 ];
|
|
PyObject *par_y_shift = python_pars[ 3 ];
|
|
PyObject *par_scale = python_pars[ 4 ];
|
|
PyObject *par_kwargs = python_pars[ 5 ];
|
|
struct Nuitka_FrameObject *frame_725cb57722ecbfb3c78558498a174b0d;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
|
bool tmp_result;
|
|
PyObject *exception_type = NULL;
|
|
PyObject *exception_value = NULL;
|
|
PyTracebackObject *exception_tb = NULL;
|
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
|
static struct Nuitka_FrameObject *cache_frame_725cb57722ecbfb3c78558498a174b0d = 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_725cb57722ecbfb3c78558498a174b0d, codeobj_725cb57722ecbfb3c78558498a174b0d, module_telegram$files$sticker, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_725cb57722ecbfb3c78558498a174b0d = cache_frame_725cb57722ecbfb3c78558498a174b0d;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_725cb57722ecbfb3c78558498a174b0d );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_725cb57722ecbfb3c78558498a174b0d ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_assattr_name_1;
|
|
PyObject *tmp_assattr_target_1;
|
|
CHECK_OBJECT( par_point );
|
|
tmp_assattr_name_1 = par_point;
|
|
CHECK_OBJECT( par_self );
|
|
tmp_assattr_target_1 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_1, const_str_plain_point, tmp_assattr_name_1 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 200;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_2;
|
|
PyObject *tmp_assattr_target_2;
|
|
if ( par_x_shift == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "x_shift" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 201;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_2 = par_x_shift;
|
|
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 = 201;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_2 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_2, const_str_plain_x_shift, tmp_assattr_name_2 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 201;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_3;
|
|
PyObject *tmp_assattr_target_3;
|
|
if ( par_y_shift == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "y_shift" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 202;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_3 = par_y_shift;
|
|
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 = 202;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_3 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_3, const_str_plain_y_shift, tmp_assattr_name_3 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 202;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_assattr_name_4;
|
|
PyObject *tmp_assattr_target_4;
|
|
if ( par_scale == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "scale" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 203;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_name_4 = par_scale;
|
|
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 = 203;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_assattr_target_4 = par_self;
|
|
tmp_result = SET_ATTRIBUTE( tmp_assattr_target_4, const_str_plain_scale, tmp_assattr_name_4 );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 203;
|
|
type_description_1 = "oooooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_725cb57722ecbfb3c78558498a174b0d );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_725cb57722ecbfb3c78558498a174b0d );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_725cb57722ecbfb3c78558498a174b0d, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_725cb57722ecbfb3c78558498a174b0d->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_725cb57722ecbfb3c78558498a174b0d, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_725cb57722ecbfb3c78558498a174b0d,
|
|
type_description_1,
|
|
par_self,
|
|
par_point,
|
|
par_x_shift,
|
|
par_y_shift,
|
|
par_scale,
|
|
par_kwargs
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_725cb57722ecbfb3c78558498a174b0d == cache_frame_725cb57722ecbfb3c78558498a174b0d )
|
|
{
|
|
Py_DECREF( frame_725cb57722ecbfb3c78558498a174b0d );
|
|
}
|
|
cache_frame_725cb57722ecbfb3c78558498a174b0d = NULL;
|
|
|
|
assertFrameObject( frame_725cb57722ecbfb3c78558498a174b0d );
|
|
|
|
// 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$files$sticker$$$function_8___init__ );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_self );
|
|
par_self = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_point );
|
|
par_point = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_x_shift );
|
|
par_x_shift = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_y_shift );
|
|
par_y_shift = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_scale );
|
|
par_scale = 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_point );
|
|
par_point = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_x_shift );
|
|
par_x_shift = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_y_shift );
|
|
par_y_shift = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_scale );
|
|
par_scale = 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$files$sticker$$$function_8___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$files$sticker$$$function_9_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 *tmp_return_value = NULL;
|
|
struct Nuitka_FrameObject *frame_98263277a3e1579aa198cbad78a5a0d2;
|
|
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;
|
|
static struct Nuitka_FrameObject *cache_frame_98263277a3e1579aa198cbad78a5a0d2 = 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:
|
|
{
|
|
nuitka_bool tmp_condition_result_1;
|
|
PyObject *tmp_compexpr_left_1;
|
|
PyObject *tmp_compexpr_right_1;
|
|
CHECK_OBJECT( par_data );
|
|
tmp_compexpr_left_1 = par_data;
|
|
tmp_compexpr_right_1 = Py_None;
|
|
tmp_condition_result_1 = ( tmp_compexpr_left_1 == tmp_compexpr_right_1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
tmp_return_value = Py_None;
|
|
Py_INCREF( tmp_return_value );
|
|
goto try_return_handler_1;
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_98263277a3e1579aa198cbad78a5a0d2, codeobj_98263277a3e1579aa198cbad78a5a0d2, module_telegram$files$sticker, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
|
frame_98263277a3e1579aa198cbad78a5a0d2 = cache_frame_98263277a3e1579aa198cbad78a5a0d2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_98263277a3e1579aa198cbad78a5a0d2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_98263277a3e1579aa198cbad78a5a0d2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_dircall_arg1_1;
|
|
PyObject *tmp_dircall_arg2_1;
|
|
if ( par_cls == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "cls" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 210;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dircall_arg1_1 = par_cls;
|
|
if ( par_data == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_UnboundLocalError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "data" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 210;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
|
|
tmp_dircall_arg2_1 = par_data;
|
|
Py_INCREF( tmp_dircall_arg1_1 );
|
|
Py_INCREF( tmp_dircall_arg2_1 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1};
|
|
tmp_return_value = impl___internal__$$$function_7_complex_call_helper_star_dict( dir_call_args );
|
|
}
|
|
if ( tmp_return_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 210;
|
|
type_description_1 = "ooo";
|
|
goto frame_exception_exit_1;
|
|
}
|
|
goto frame_return_exit_1;
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_98263277a3e1579aa198cbad78a5a0d2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_1;
|
|
|
|
frame_return_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_98263277a3e1579aa198cbad78a5a0d2 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto try_return_handler_1;
|
|
|
|
frame_exception_exit_1:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_98263277a3e1579aa198cbad78a5a0d2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_98263277a3e1579aa198cbad78a5a0d2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_98263277a3e1579aa198cbad78a5a0d2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_98263277a3e1579aa198cbad78a5a0d2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_98263277a3e1579aa198cbad78a5a0d2,
|
|
type_description_1,
|
|
par_cls,
|
|
par_data,
|
|
par_bot
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_98263277a3e1579aa198cbad78a5a0d2 == cache_frame_98263277a3e1579aa198cbad78a5a0d2 )
|
|
{
|
|
Py_DECREF( frame_98263277a3e1579aa198cbad78a5a0d2 );
|
|
}
|
|
cache_frame_98263277a3e1579aa198cbad78a5a0d2 = NULL;
|
|
|
|
assertFrameObject( frame_98263277a3e1579aa198cbad78a5a0d2 );
|
|
|
|
// 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$files$sticker$$$function_9_de_json );
|
|
return NULL;
|
|
// Return handler code:
|
|
try_return_handler_1:;
|
|
{
|
|
Py_XDECREF( par_cls );
|
|
par_cls = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_data );
|
|
par_data = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_bot );
|
|
par_bot = NULL;
|
|
|
|
}
|
|
{
|
|
goto function_return_exit;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_1:;
|
|
exception_keeper_type_1 = exception_type;
|
|
exception_keeper_value_1 = exception_value;
|
|
exception_keeper_tb_1 = exception_tb;
|
|
exception_keeper_lineno_1 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( par_cls );
|
|
par_cls = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_data );
|
|
par_data = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( par_bot );
|
|
par_bot = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_1;
|
|
exception_value = exception_keeper_value_1;
|
|
exception_tb = exception_keeper_tb_1;
|
|
exception_lineno = exception_keeper_lineno_1;
|
|
|
|
goto function_exception_exit;
|
|
}
|
|
// End of try:
|
|
}
|
|
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker$$$function_9_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 *MAKE_FUNCTION_telegram$files$sticker$$$function_1___init__( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$files$sticker$$$function_1___init__,
|
|
const_str_plain___init__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_ee6320be766b8b53dd1922e40ef31a61,
|
|
#endif
|
|
codeobj_759414105dffe5bb81e991b1de919cfe,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$files$sticker,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_2_de_json( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$files$sticker$$$function_2_de_json,
|
|
const_str_plain_de_json,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_8750d1dbf1a41db22ff4b968f031f878,
|
|
#endif
|
|
codeobj_1a880b49577f6ffd4ea3a714c92c967e,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$files$sticker,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_3_de_list( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$files$sticker$$$function_3_de_list,
|
|
const_str_plain_de_list,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_e7991c497e4efa65b827792147e0783b,
|
|
#endif
|
|
codeobj_c96cb24eaf4ac5f164ab258345935e51,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$files$sticker,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_4_get_file( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$files$sticker$$$function_4_get_file,
|
|
const_str_plain_get_file,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_ca2fb5e77367b7277d09ab9ef24ee58b,
|
|
#endif
|
|
codeobj_8939081d30472e0ebd6c7028f4a7d0db,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$files$sticker,
|
|
const_str_digest_975383e548b57227c07531bd54e51c1c,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_5___init__( PyObject *defaults )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$files$sticker$$$function_5___init__,
|
|
const_str_plain___init__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_ec4654603371c7844f1e1de5e7549762,
|
|
#endif
|
|
codeobj_75b8d9d075672c6a86cabe46f5d9c3f5,
|
|
defaults,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$files$sticker,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_6_de_json( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$files$sticker$$$function_6_de_json,
|
|
const_str_plain_de_json,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_592c9a642933525ed41c059cd445fac5,
|
|
#endif
|
|
codeobj_29f95e0395c6a873dd88b03c146545cf,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$files$sticker,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_7_to_dict( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$files$sticker$$$function_7_to_dict,
|
|
const_str_plain_to_dict,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_065fd76594652a2377ee11d6fad964d1,
|
|
#endif
|
|
codeobj_ece9d19876ac9a290d63b4a83660952a,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$files$sticker,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_8___init__( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$files$sticker$$$function_8___init__,
|
|
const_str_plain___init__,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_8a9dc767618942dc786a9b6bb99362ef,
|
|
#endif
|
|
codeobj_725cb57722ecbfb3c78558498a174b0d,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$files$sticker,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION_telegram$files$sticker$$$function_9_de_json( )
|
|
{
|
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
|
impl_telegram$files$sticker$$$function_9_de_json,
|
|
const_str_plain_de_json,
|
|
#if PYTHON_VERSION >= 300
|
|
const_str_digest_813c79a4d61b6bd6c38e78088eb15a09,
|
|
#endif
|
|
codeobj_98263277a3e1579aa198cbad78a5a0d2,
|
|
NULL,
|
|
#if PYTHON_VERSION >= 300
|
|
NULL,
|
|
NULL,
|
|
#endif
|
|
module_telegram$files$sticker,
|
|
NULL,
|
|
0
|
|
);
|
|
|
|
return (PyObject *)result;
|
|
}
|
|
|
|
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
static struct PyModuleDef mdef_telegram$files$sticker =
|
|
{
|
|
PyModuleDef_HEAD_INIT,
|
|
"telegram.files.sticker", /* 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$files$sticker )
|
|
{
|
|
#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$files$sticker );
|
|
}
|
|
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.files.sticker: 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.files.sticker: Calling createModuleConstants().");
|
|
#endif
|
|
createModuleConstants();
|
|
|
|
/* The code objects used by this module are created now. */
|
|
#ifdef _NUITKA_TRACE
|
|
puts("telegram.files.sticker: Calling createModuleCodeObjects().");
|
|
#endif
|
|
createModuleCodeObjects();
|
|
|
|
// puts( "in inittelegram$files$sticker" );
|
|
|
|
// 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$files$sticker = Py_InitModule4(
|
|
"telegram.files.sticker", // 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$files$sticker = PyModule_Create( &mdef_telegram$files$sticker );
|
|
#endif
|
|
|
|
moduledict_telegram$files$sticker = MODULE_DICT( module_telegram$files$sticker );
|
|
|
|
// Update "__package__" value to what it ought to be.
|
|
{
|
|
#if 0
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain___name__ );
|
|
|
|
UPDATE_STRING_DICT1(
|
|
moduledict_telegram$files$sticker,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
module_name
|
|
);
|
|
|
|
#else
|
|
|
|
#if PYTHON_VERSION < 300
|
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict_telegram$files$sticker, (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$files$sticker,
|
|
(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$files$sticker, (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$files$sticker,
|
|
(Nuitka_StringObject *)const_str_plain___package__,
|
|
PyUnicode_Substring( module_name, 0, dot_index )
|
|
);
|
|
}
|
|
#endif
|
|
#endif
|
|
}
|
|
|
|
CHECK_OBJECT( module_telegram$files$sticker );
|
|
|
|
// 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_4b0731d8c4b8f7dea78c9a4c39612592, module_telegram$files$sticker );
|
|
|
|
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$files$sticker, (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$files$sticker, (Nuitka_StringObject *)const_str_plain___builtins__, value );
|
|
}
|
|
|
|
#if PYTHON_VERSION >= 300
|
|
UPDATE_STRING_DICT0( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
|
|
#endif
|
|
|
|
#if PYTHON_VERSION >= 340
|
|
#if 0
|
|
UPDATE_STRING_DICT0( moduledict_telegram$files$sticker, (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$files$sticker, (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$files$sticker, (Nuitka_StringObject *)const_str_plain___spec__, spec_value );
|
|
|
|
Py_DECREF( module_spec_class );
|
|
}
|
|
#endif
|
|
#endif
|
|
|
|
|
|
// Temp variables if any
|
|
PyObject *outline_0_var___class__ = NULL;
|
|
PyObject *outline_1_var___class__ = NULL;
|
|
PyObject *outline_2_var___class__ = NULL;
|
|
PyObject *tmp_class_creation_1__bases = NULL;
|
|
PyObject *tmp_class_creation_1__bases_orig = NULL;
|
|
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
|
|
PyObject *tmp_class_creation_1__metaclass = NULL;
|
|
PyObject *tmp_class_creation_1__prepared = NULL;
|
|
PyObject *tmp_class_creation_2__bases = NULL;
|
|
PyObject *tmp_class_creation_2__bases_orig = NULL;
|
|
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
|
|
PyObject *tmp_class_creation_2__metaclass = NULL;
|
|
PyObject *tmp_class_creation_2__prepared = NULL;
|
|
PyObject *tmp_class_creation_3__bases = NULL;
|
|
PyObject *tmp_class_creation_3__bases_orig = NULL;
|
|
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
|
|
PyObject *tmp_class_creation_3__metaclass = NULL;
|
|
PyObject *tmp_class_creation_3__prepared = NULL;
|
|
PyObject *tmp_import_from_1__module = NULL;
|
|
struct Nuitka_FrameObject *frame_69a5b11d11748a4766d6d4811d4a1780;
|
|
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$files$sticker_24 = NULL;
|
|
PyObject *tmp_dictset_value;
|
|
struct Nuitka_FrameObject *frame_621d7e6d313f6a110af5dbc0291d58b8_2;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_621d7e6d313f6a110af5dbc0291d58b8_2 = NULL;
|
|
PyObject *exception_keeper_type_2;
|
|
PyObject *exception_keeper_value_2;
|
|
PyTracebackObject *exception_keeper_tb_2;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
|
PyObject *exception_keeper_type_3;
|
|
PyObject *exception_keeper_value_3;
|
|
PyTracebackObject *exception_keeper_tb_3;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
|
PyObject *exception_keeper_type_4;
|
|
PyObject *exception_keeper_value_4;
|
|
PyTracebackObject *exception_keeper_tb_4;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
|
PyObject *locals_telegram$files$sticker_120 = NULL;
|
|
struct Nuitka_FrameObject *frame_c765e593a4e26cedc83bf1c75cfd72dd_3;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_c765e593a4e26cedc83bf1c75cfd72dd_3 = NULL;
|
|
PyObject *exception_keeper_type_5;
|
|
PyObject *exception_keeper_value_5;
|
|
PyTracebackObject *exception_keeper_tb_5;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
|
|
PyObject *exception_keeper_type_6;
|
|
PyObject *exception_keeper_value_6;
|
|
PyTracebackObject *exception_keeper_tb_6;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
|
|
PyObject *exception_keeper_type_7;
|
|
PyObject *exception_keeper_value_7;
|
|
PyTracebackObject *exception_keeper_tb_7;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
|
|
PyObject *locals_telegram$files$sticker_164 = NULL;
|
|
struct Nuitka_FrameObject *frame_7da757a5a8b8df20c6c52a91d68ddf0b_4;
|
|
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
|
|
static struct Nuitka_FrameObject *cache_frame_7da757a5a8b8df20c6c52a91d68ddf0b_4 = NULL;
|
|
PyObject *exception_keeper_type_8;
|
|
PyObject *exception_keeper_value_8;
|
|
PyTracebackObject *exception_keeper_tb_8;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
|
|
PyObject *exception_keeper_type_9;
|
|
PyObject *exception_keeper_value_9;
|
|
PyTracebackObject *exception_keeper_tb_9;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
|
|
PyObject *exception_keeper_type_10;
|
|
PyObject *exception_keeper_value_10;
|
|
PyTracebackObject *exception_keeper_tb_10;
|
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
|
|
|
|
// Module code.
|
|
{
|
|
PyObject *tmp_assign_source_1;
|
|
tmp_assign_source_1 = const_str_digest_e7ff87f8d59d3d6e7a4927ff191ae981;
|
|
UPDATE_STRING_DICT0( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_2;
|
|
tmp_assign_source_2 = const_str_digest_c2384d5a9dc59eba645c73478117c5c7;
|
|
UPDATE_STRING_DICT0( moduledict_telegram$files$sticker, (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$files$sticker, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
|
|
}
|
|
// Frame without reuse.
|
|
frame_69a5b11d11748a4766d6d4811d4a1780 = MAKE_MODULE_FRAME( codeobj_69a5b11d11748a4766d6d4811d4a1780, module_telegram$files$sticker );
|
|
|
|
// Push the new frame as the currently active one, and we should be exclusively
|
|
// owning it.
|
|
pushFrameStack( frame_69a5b11d11748a4766d6d4811d4a1780 );
|
|
assert( Py_REFCNT( frame_69a5b11d11748a4766d6d4811d4a1780 ) == 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$files$sticker;
|
|
tmp_locals_name_1 = Py_None;
|
|
tmp_fromlist_name_1 = const_tuple_str_plain_PhotoSize_str_plain_TelegramObject_tuple;
|
|
tmp_level_name_1 = const_int_0;
|
|
frame_69a5b11d11748a4766d6d4811d4a1780->m_frame.f_lineno = 21;
|
|
tmp_assign_source_4 = IMPORT_MODULE5( tmp_name_name_1, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_1 );
|
|
if ( tmp_assign_source_4 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 21;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
assert( tmp_import_from_1__module == NULL );
|
|
tmp_import_from_1__module = tmp_assign_source_4;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_5;
|
|
PyObject *tmp_import_name_from_1;
|
|
CHECK_OBJECT( tmp_import_from_1__module );
|
|
tmp_import_name_from_1 = tmp_import_from_1__module;
|
|
tmp_assign_source_5 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_PhotoSize );
|
|
if ( tmp_assign_source_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 21;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_PhotoSize, 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_TelegramObject );
|
|
if ( tmp_assign_source_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 21;
|
|
|
|
goto try_except_handler_1;
|
|
}
|
|
UPDATE_STRING_DICT1( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_TelegramObject, 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$files$sticker, (Nuitka_StringObject *)const_str_plain_TelegramObject );
|
|
|
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
|
{
|
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_TelegramObject );
|
|
}
|
|
|
|
if ( tmp_mvar_value_1 == NULL )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "TelegramObject" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 24;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
|
|
tmp_tuple_element_1 = tmp_mvar_value_1;
|
|
tmp_assign_source_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 = 24;
|
|
|
|
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 = 24;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_1;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_1;
|
|
}
|
|
condexpr_true_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dict_name_2 = tmp_class_creation_1__class_decl_dict;
|
|
tmp_key_name_2 = const_str_plain_metaclass;
|
|
tmp_metaclass_name_1 = DICT_GET_ITEM( tmp_dict_name_2, tmp_key_name_2 );
|
|
if ( tmp_metaclass_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 24;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
goto condexpr_end_1;
|
|
condexpr_false_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_class_creation_1__bases );
|
|
if ( tmp_truth_name_1 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 24;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_2 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_2;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_2;
|
|
}
|
|
condexpr_true_2:;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_subscribed_name_1 = tmp_class_creation_1__bases;
|
|
tmp_subscript_name_1 = const_int_0;
|
|
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
|
|
if ( tmp_type_arg_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 24;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_metaclass_name_1 = BUILTIN_TYPE1( tmp_type_arg_1 );
|
|
Py_DECREF( tmp_type_arg_1 );
|
|
if ( tmp_metaclass_name_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 24;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
goto condexpr_end_2;
|
|
condexpr_false_2:;
|
|
tmp_metaclass_name_1 = (PyObject *)&PyType_Type;
|
|
Py_INCREF( tmp_metaclass_name_1 );
|
|
condexpr_end_2:;
|
|
condexpr_end_1:;
|
|
CHECK_OBJECT( tmp_class_creation_1__bases );
|
|
tmp_bases_name_1 = tmp_class_creation_1__bases;
|
|
tmp_assign_source_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 = 24;
|
|
|
|
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 = 24;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_1;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_1;
|
|
}
|
|
branch_yes_1:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
|
|
tmp_dictdel_key = const_str_plain_metaclass;
|
|
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 24;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
}
|
|
branch_no_1:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_4;
|
|
PyObject *tmp_source_name_1;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_source_name_1 = tmp_class_creation_1__metaclass;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_1, const_str_plain___prepare__ );
|
|
tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_2;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_2;
|
|
}
|
|
branch_yes_2:;
|
|
{
|
|
PyObject *tmp_assign_source_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 = 24;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_tuple_element_2 = const_str_plain_Sticker;
|
|
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_69a5b11d11748a4766d6d4811d4a1780->m_frame.f_lineno = 24;
|
|
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 = 24;
|
|
|
|
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 = 24;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_condition_result_5 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_5 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_3;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_3;
|
|
}
|
|
branch_yes_3:;
|
|
{
|
|
PyObject *tmp_raise_type_1;
|
|
PyObject *tmp_raise_value_1;
|
|
PyObject *tmp_left_name_1;
|
|
PyObject *tmp_right_name_1;
|
|
PyObject *tmp_tuple_element_3;
|
|
PyObject *tmp_getattr_target_1;
|
|
PyObject *tmp_getattr_attr_1;
|
|
PyObject *tmp_getattr_default_1;
|
|
PyObject *tmp_source_name_4;
|
|
PyObject *tmp_type_arg_2;
|
|
tmp_raise_type_1 = PyExc_TypeError;
|
|
tmp_left_name_1 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
CHECK_OBJECT( tmp_class_creation_1__metaclass );
|
|
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
|
|
tmp_getattr_attr_1 = const_str_plain___name__;
|
|
tmp_getattr_default_1 = const_str_angle_metaclass;
|
|
tmp_tuple_element_3 = BUILTIN_GETATTR( tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1 );
|
|
if ( tmp_tuple_element_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 24;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
tmp_right_name_1 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_3 );
|
|
CHECK_OBJECT( tmp_class_creation_1__prepared );
|
|
tmp_type_arg_2 = tmp_class_creation_1__prepared;
|
|
tmp_source_name_4 = BUILTIN_TYPE1( tmp_type_arg_2 );
|
|
assert( !(tmp_source_name_4 == NULL) );
|
|
tmp_tuple_element_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_4 );
|
|
if ( tmp_tuple_element_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
|
|
exception_lineno = 24;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_3 );
|
|
tmp_raise_value_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
|
|
Py_DECREF( tmp_right_name_1 );
|
|
if ( tmp_raise_value_1 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 24;
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
exception_type = tmp_raise_type_1;
|
|
Py_INCREF( tmp_raise_type_1 );
|
|
exception_value = tmp_raise_value_1;
|
|
exception_lineno = 24;
|
|
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
|
|
|
|
goto try_except_handler_2;
|
|
}
|
|
branch_no_3:;
|
|
}
|
|
goto branch_end_2;
|
|
branch_no_2:;
|
|
{
|
|
PyObject *tmp_assign_source_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$files$sticker_24 = tmp_set_locals_1;
|
|
Py_INCREF( tmp_set_locals_1 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_4b0731d8c4b8f7dea78c9a4c39612592;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_24, const_str_plain___module__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 24;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_digest_6f8bea217eabe863a4443f778ee1ce66;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_24, const_str_plain___doc__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 24;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_Sticker;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_24, const_str_plain___qualname__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 24;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_621d7e6d313f6a110af5dbc0291d58b8_2, codeobj_621d7e6d313f6a110af5dbc0291d58b8, module_telegram$files$sticker, sizeof(void *) );
|
|
frame_621d7e6d313f6a110af5dbc0291d58b8_2 = cache_frame_621d7e6d313f6a110af5dbc0291d58b8_2;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_621d7e6d313f6a110af5dbc0291d58b8_2 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_621d7e6d313f6a110af5dbc0291d58b8_2 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_defaults_1;
|
|
tmp_defaults_1 = const_tuple_none_none_none_none_none_none_tuple;
|
|
Py_INCREF( tmp_defaults_1 );
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$files$sticker$$$function_1___init__( tmp_defaults_1 );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_24, const_str_plain___init__, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 57;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_6;
|
|
PyObject *tmp_called_name_2;
|
|
PyObject *tmp_args_element_name_1;
|
|
PyObject *tmp_classmethod_arg_1;
|
|
tmp_res = MAPPING_HAS_ITEM( locals_telegram$files$sticker_24, const_str_plain_classmethod );
|
|
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 82;
|
|
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$files$sticker_24, const_str_plain_classmethod );
|
|
|
|
if ( tmp_called_name_2 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "classmethod" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 82;
|
|
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 = 82;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_args_element_name_1 = MAKE_FUNCTION_telegram$files$sticker$$$function_2_de_json( );
|
|
|
|
|
|
|
|
frame_621d7e6d313f6a110af5dbc0291d58b8_2->m_frame.f_lineno = 82;
|
|
{
|
|
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 = 82;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
goto condexpr_end_3;
|
|
condexpr_false_3:;
|
|
tmp_classmethod_arg_1 = MAKE_FUNCTION_telegram$files$sticker$$$function_2_de_json( );
|
|
|
|
|
|
|
|
tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_1 );
|
|
Py_DECREF( tmp_classmethod_arg_1 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 82;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
condexpr_end_3:;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_24, const_str_plain_de_json, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 82;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_7;
|
|
PyObject *tmp_called_name_3;
|
|
PyObject *tmp_args_element_name_2;
|
|
PyObject *tmp_classmethod_arg_2;
|
|
tmp_res = MAPPING_HAS_ITEM( locals_telegram$files$sticker_24, const_str_plain_classmethod );
|
|
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 94;
|
|
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_3 = PyObject_GetItem( locals_telegram$files$sticker_24, const_str_plain_classmethod );
|
|
|
|
if ( tmp_called_name_3 == 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 = 94;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
|
|
if ( tmp_called_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 94;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
tmp_args_element_name_2 = MAKE_FUNCTION_telegram$files$sticker$$$function_3_de_list( );
|
|
|
|
|
|
|
|
frame_621d7e6d313f6a110af5dbc0291d58b8_2->m_frame.f_lineno = 94;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
|
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_3 );
|
|
Py_DECREF( tmp_args_element_name_2 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 94;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
goto condexpr_end_4;
|
|
condexpr_false_4:;
|
|
tmp_classmethod_arg_2 = MAKE_FUNCTION_telegram$files$sticker$$$function_3_de_list( );
|
|
|
|
|
|
|
|
tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_2 );
|
|
Py_DECREF( tmp_classmethod_arg_2 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 94;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
condexpr_end_4:;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_24, const_str_plain_de_list, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 94;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
{
|
|
PyObject *tmp_defaults_2;
|
|
tmp_defaults_2 = const_tuple_none_tuple;
|
|
Py_INCREF( tmp_defaults_2 );
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$files$sticker$$$function_4_get_file( tmp_defaults_2 );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_24, const_str_plain_get_file, 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 = 101;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_2;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_621d7e6d313f6a110af5dbc0291d58b8_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_621d7e6d313f6a110af5dbc0291d58b8_2 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_621d7e6d313f6a110af5dbc0291d58b8_2, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_621d7e6d313f6a110af5dbc0291d58b8_2->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_621d7e6d313f6a110af5dbc0291d58b8_2, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_621d7e6d313f6a110af5dbc0291d58b8_2,
|
|
type_description_2,
|
|
outline_0_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_621d7e6d313f6a110af5dbc0291d58b8_2 == cache_frame_621d7e6d313f6a110af5dbc0291d58b8_2 )
|
|
{
|
|
Py_DECREF( frame_621d7e6d313f6a110af5dbc0291d58b8_2 );
|
|
}
|
|
cache_frame_621d7e6d313f6a110af5dbc0291d58b8_2 = NULL;
|
|
|
|
assertFrameObject( frame_621d7e6d313f6a110af5dbc0291d58b8_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 = 24;
|
|
|
|
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$files$sticker_24, const_str_plain___orig_bases__, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 24;
|
|
|
|
goto try_except_handler_4;
|
|
}
|
|
}
|
|
branch_no_4:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_14;
|
|
PyObject *tmp_called_name_4;
|
|
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_4 = tmp_class_creation_1__metaclass;
|
|
tmp_tuple_element_4 = const_str_plain_Sticker;
|
|
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$files$sticker_24;
|
|
Py_INCREF( tmp_tuple_element_4 );
|
|
PyTuple_SET_ITEM( tmp_args_name_2, 2, tmp_tuple_element_4 );
|
|
CHECK_OBJECT( tmp_class_creation_1__class_decl_dict );
|
|
tmp_kw_name_2 = tmp_class_creation_1__class_decl_dict;
|
|
frame_69a5b11d11748a4766d6d4811d4a1780->m_frame.f_lineno = 24;
|
|
tmp_assign_source_14 = CALL_FUNCTION( tmp_called_name_4, 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 = 24;
|
|
|
|
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$files$sticker );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_4:;
|
|
{
|
|
Py_DECREF( locals_telegram$files$sticker_24 );
|
|
locals_telegram$files$sticker_24 = NULL;
|
|
}
|
|
{
|
|
goto try_return_handler_3;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_4:;
|
|
exception_keeper_type_2 = exception_type;
|
|
exception_keeper_value_2 = exception_value;
|
|
exception_keeper_tb_2 = exception_tb;
|
|
exception_keeper_lineno_2 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_DECREF( locals_telegram$files$sticker_24 );
|
|
locals_telegram$files$sticker_24 = NULL;
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_2;
|
|
exception_value = exception_keeper_value_2;
|
|
exception_tb = exception_keeper_tb_2;
|
|
exception_lineno = exception_keeper_lineno_2;
|
|
|
|
goto try_except_handler_3;
|
|
}
|
|
// End of try:
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker );
|
|
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$files$sticker );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_1:;
|
|
exception_lineno = 24;
|
|
goto try_except_handler_2;
|
|
outline_result_1:;
|
|
UPDATE_STRING_DICT1( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_Sticker, 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:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__bases );
|
|
Py_DECREF( tmp_class_creation_1__bases );
|
|
tmp_class_creation_1__bases = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__class_decl_dict );
|
|
Py_DECREF( tmp_class_creation_1__class_decl_dict );
|
|
tmp_class_creation_1__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__metaclass );
|
|
Py_DECREF( tmp_class_creation_1__metaclass );
|
|
tmp_class_creation_1__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_1__prepared );
|
|
Py_DECREF( tmp_class_creation_1__prepared );
|
|
tmp_class_creation_1__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_15;
|
|
PyObject *tmp_tuple_element_5;
|
|
PyObject *tmp_mvar_value_2;
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_TelegramObject );
|
|
|
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
|
{
|
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_TelegramObject );
|
|
}
|
|
|
|
if ( tmp_mvar_value_2 == 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 = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
|
|
tmp_tuple_element_5 = tmp_mvar_value_2;
|
|
tmp_assign_source_15 = PyTuple_New( 1 );
|
|
Py_INCREF( tmp_tuple_element_5 );
|
|
PyTuple_SET_ITEM( tmp_assign_source_15, 0, tmp_tuple_element_5 );
|
|
assert( tmp_class_creation_2__bases_orig == NULL );
|
|
tmp_class_creation_2__bases_orig = tmp_assign_source_15;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_16;
|
|
PyObject *tmp_dircall_arg1_2;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases_orig );
|
|
tmp_dircall_arg1_2 = tmp_class_creation_2__bases_orig;
|
|
Py_INCREF( tmp_dircall_arg1_2 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
|
|
tmp_assign_source_16 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
|
|
}
|
|
if ( tmp_assign_source_16 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
assert( tmp_class_creation_2__bases == NULL );
|
|
tmp_class_creation_2__bases = tmp_assign_source_16;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_17;
|
|
tmp_assign_source_17 = PyDict_New();
|
|
assert( tmp_class_creation_2__class_decl_dict == NULL );
|
|
tmp_class_creation_2__class_decl_dict = tmp_assign_source_17;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_18;
|
|
PyObject *tmp_metaclass_name_2;
|
|
nuitka_bool tmp_condition_result_9;
|
|
PyObject *tmp_key_name_4;
|
|
PyObject *tmp_dict_name_4;
|
|
PyObject *tmp_dict_name_5;
|
|
PyObject *tmp_key_name_5;
|
|
nuitka_bool tmp_condition_result_10;
|
|
int tmp_truth_name_2;
|
|
PyObject *tmp_type_arg_3;
|
|
PyObject *tmp_subscribed_name_2;
|
|
PyObject *tmp_subscript_name_2;
|
|
PyObject *tmp_bases_name_2;
|
|
tmp_key_name_4 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_dict_name_4 = tmp_class_creation_2__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_4, tmp_key_name_4 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_condition_result_9 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_9 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_5;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_5;
|
|
}
|
|
condexpr_true_5:;
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_dict_name_5 = tmp_class_creation_2__class_decl_dict;
|
|
tmp_key_name_5 = const_str_plain_metaclass;
|
|
tmp_metaclass_name_2 = DICT_GET_ITEM( tmp_dict_name_5, tmp_key_name_5 );
|
|
if ( tmp_metaclass_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
goto condexpr_end_5;
|
|
condexpr_false_5:;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_truth_name_2 = CHECK_IF_TRUE( tmp_class_creation_2__bases );
|
|
if ( tmp_truth_name_2 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_condition_result_10 = tmp_truth_name_2 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_10 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_6;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_6;
|
|
}
|
|
condexpr_true_6:;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_subscribed_name_2 = tmp_class_creation_2__bases;
|
|
tmp_subscript_name_2 = const_int_0;
|
|
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 0 );
|
|
if ( tmp_type_arg_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_metaclass_name_2 = BUILTIN_TYPE1( tmp_type_arg_3 );
|
|
Py_DECREF( tmp_type_arg_3 );
|
|
if ( tmp_metaclass_name_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
goto condexpr_end_6;
|
|
condexpr_false_6:;
|
|
tmp_metaclass_name_2 = (PyObject *)&PyType_Type;
|
|
Py_INCREF( tmp_metaclass_name_2 );
|
|
condexpr_end_6:;
|
|
condexpr_end_5:;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_bases_name_2 = tmp_class_creation_2__bases;
|
|
tmp_assign_source_18 = SELECT_METACLASS( tmp_metaclass_name_2, tmp_bases_name_2 );
|
|
Py_DECREF( tmp_metaclass_name_2 );
|
|
if ( tmp_assign_source_18 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
assert( tmp_class_creation_2__metaclass == NULL );
|
|
tmp_class_creation_2__metaclass = tmp_assign_source_18;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_11;
|
|
PyObject *tmp_key_name_6;
|
|
PyObject *tmp_dict_name_6;
|
|
tmp_key_name_6 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_dict_name_6 = tmp_class_creation_2__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_6, tmp_key_name_6 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_condition_result_11 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_11 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_5;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_5;
|
|
}
|
|
branch_yes_5:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
|
|
tmp_dictdel_key = const_str_plain_metaclass;
|
|
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
}
|
|
branch_no_5:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_12;
|
|
PyObject *tmp_source_name_5;
|
|
CHECK_OBJECT( tmp_class_creation_2__metaclass );
|
|
tmp_source_name_5 = tmp_class_creation_2__metaclass;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_5, const_str_plain___prepare__ );
|
|
tmp_condition_result_12 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_12 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_6;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_6;
|
|
}
|
|
branch_yes_6:;
|
|
{
|
|
PyObject *tmp_assign_source_19;
|
|
PyObject *tmp_called_name_5;
|
|
PyObject *tmp_source_name_6;
|
|
PyObject *tmp_args_name_3;
|
|
PyObject *tmp_tuple_element_6;
|
|
PyObject *tmp_kw_name_3;
|
|
CHECK_OBJECT( tmp_class_creation_2__metaclass );
|
|
tmp_source_name_6 = tmp_class_creation_2__metaclass;
|
|
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain___prepare__ );
|
|
if ( tmp_called_name_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_tuple_element_6 = const_str_plain_StickerSet;
|
|
tmp_args_name_3 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_6 );
|
|
PyTuple_SET_ITEM( tmp_args_name_3, 0, tmp_tuple_element_6 );
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_tuple_element_6 = tmp_class_creation_2__bases;
|
|
Py_INCREF( tmp_tuple_element_6 );
|
|
PyTuple_SET_ITEM( tmp_args_name_3, 1, tmp_tuple_element_6 );
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_kw_name_3 = tmp_class_creation_2__class_decl_dict;
|
|
frame_69a5b11d11748a4766d6d4811d4a1780->m_frame.f_lineno = 120;
|
|
tmp_assign_source_19 = CALL_FUNCTION( tmp_called_name_5, tmp_args_name_3, tmp_kw_name_3 );
|
|
Py_DECREF( tmp_called_name_5 );
|
|
Py_DECREF( tmp_args_name_3 );
|
|
if ( tmp_assign_source_19 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
assert( tmp_class_creation_2__prepared == NULL );
|
|
tmp_class_creation_2__prepared = tmp_assign_source_19;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_13;
|
|
PyObject *tmp_operand_name_2;
|
|
PyObject *tmp_source_name_7;
|
|
CHECK_OBJECT( tmp_class_creation_2__prepared );
|
|
tmp_source_name_7 = tmp_class_creation_2__prepared;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_7, const_str_plain___getitem__ );
|
|
tmp_operand_name_2 = ( tmp_res != 0 ) ? Py_True : Py_False;
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_condition_result_13 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_13 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_7;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_7;
|
|
}
|
|
branch_yes_7:;
|
|
{
|
|
PyObject *tmp_raise_type_2;
|
|
PyObject *tmp_raise_value_2;
|
|
PyObject *tmp_left_name_2;
|
|
PyObject *tmp_right_name_2;
|
|
PyObject *tmp_tuple_element_7;
|
|
PyObject *tmp_getattr_target_2;
|
|
PyObject *tmp_getattr_attr_2;
|
|
PyObject *tmp_getattr_default_2;
|
|
PyObject *tmp_source_name_8;
|
|
PyObject *tmp_type_arg_4;
|
|
tmp_raise_type_2 = PyExc_TypeError;
|
|
tmp_left_name_2 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
CHECK_OBJECT( tmp_class_creation_2__metaclass );
|
|
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
|
|
tmp_getattr_attr_2 = const_str_plain___name__;
|
|
tmp_getattr_default_2 = const_str_angle_metaclass;
|
|
tmp_tuple_element_7 = BUILTIN_GETATTR( tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2 );
|
|
if ( tmp_tuple_element_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
tmp_right_name_2 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_2, 0, tmp_tuple_element_7 );
|
|
CHECK_OBJECT( tmp_class_creation_2__prepared );
|
|
tmp_type_arg_4 = tmp_class_creation_2__prepared;
|
|
tmp_source_name_8 = BUILTIN_TYPE1( tmp_type_arg_4 );
|
|
assert( !(tmp_source_name_8 == NULL) );
|
|
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_8 );
|
|
if ( tmp_tuple_element_7 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_2 );
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_2, 1, tmp_tuple_element_7 );
|
|
tmp_raise_value_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_2, tmp_right_name_2 );
|
|
Py_DECREF( tmp_right_name_2 );
|
|
if ( tmp_raise_value_2 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
exception_type = tmp_raise_type_2;
|
|
Py_INCREF( tmp_raise_type_2 );
|
|
exception_value = tmp_raise_value_2;
|
|
exception_lineno = 120;
|
|
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
|
|
|
|
goto try_except_handler_5;
|
|
}
|
|
branch_no_7:;
|
|
}
|
|
goto branch_end_6;
|
|
branch_no_6:;
|
|
{
|
|
PyObject *tmp_assign_source_20;
|
|
tmp_assign_source_20 = PyDict_New();
|
|
assert( tmp_class_creation_2__prepared == NULL );
|
|
tmp_class_creation_2__prepared = tmp_assign_source_20;
|
|
|
|
}
|
|
branch_end_6:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_21;
|
|
{
|
|
PyObject *tmp_set_locals_2;
|
|
CHECK_OBJECT( tmp_class_creation_2__prepared );
|
|
tmp_set_locals_2 = tmp_class_creation_2__prepared;
|
|
locals_telegram$files$sticker_120 = tmp_set_locals_2;
|
|
Py_INCREF( tmp_set_locals_2 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_4b0731d8c4b8f7dea78c9a4c39612592;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_120, 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 = 120;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_digest_2f18be6489dd5567ec666aeea04a94dc;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_120, 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 = 120;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_StickerSet;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_120, 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 = 120;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_c765e593a4e26cedc83bf1c75cfd72dd_3, codeobj_c765e593a4e26cedc83bf1c75cfd72dd, module_telegram$files$sticker, sizeof(void *) );
|
|
frame_c765e593a4e26cedc83bf1c75cfd72dd_3 = cache_frame_c765e593a4e26cedc83bf1c75cfd72dd_3;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_c765e593a4e26cedc83bf1c75cfd72dd_3 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_c765e593a4e26cedc83bf1c75cfd72dd_3 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
PyObject *tmp_defaults_3;
|
|
tmp_defaults_3 = const_tuple_none_tuple;
|
|
Py_INCREF( tmp_defaults_3 );
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$files$sticker$$$function_5___init__( tmp_defaults_3 );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_120, 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 = 137;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_14;
|
|
PyObject *tmp_called_name_6;
|
|
PyObject *tmp_args_element_name_3;
|
|
PyObject *tmp_staticmethod_arg_1;
|
|
tmp_res = MAPPING_HAS_ITEM( locals_telegram$files$sticker_120, const_str_plain_staticmethod );
|
|
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 145;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
tmp_condition_result_14 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_14 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_7;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_7;
|
|
}
|
|
condexpr_true_7:;
|
|
tmp_called_name_6 = PyObject_GetItem( locals_telegram$files$sticker_120, const_str_plain_staticmethod );
|
|
|
|
if ( tmp_called_name_6 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED() )
|
|
{
|
|
|
|
exception_type = PyExc_NameError;
|
|
Py_INCREF( exception_type );
|
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "staticmethod" );
|
|
exception_tb = NULL;
|
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
|
CHAIN_EXCEPTION( exception_value );
|
|
|
|
exception_lineno = 145;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
|
|
if ( tmp_called_name_6 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 145;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
tmp_args_element_name_3 = MAKE_FUNCTION_telegram$files$sticker$$$function_6_de_json( );
|
|
|
|
|
|
|
|
frame_c765e593a4e26cedc83bf1c75cfd72dd_3->m_frame.f_lineno = 145;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
|
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_6 );
|
|
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 = 145;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
goto condexpr_end_7;
|
|
condexpr_false_7:;
|
|
tmp_staticmethod_arg_1 = MAKE_FUNCTION_telegram$files$sticker$$$function_6_de_json( );
|
|
|
|
|
|
|
|
tmp_dictset_value = BUILTIN_STATICMETHOD( tmp_staticmethod_arg_1 );
|
|
Py_DECREF( tmp_staticmethod_arg_1 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 145;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
condexpr_end_7:;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_120, 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 = 145;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$files$sticker$$$function_7_to_dict( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_120, const_str_plain_to_dict, tmp_dictset_value );
|
|
Py_DECREF( tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 156;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_3;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c765e593a4e26cedc83bf1c75cfd72dd_3 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_2;
|
|
|
|
frame_exception_exit_3:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_c765e593a4e26cedc83bf1c75cfd72dd_3 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_c765e593a4e26cedc83bf1c75cfd72dd_3, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_c765e593a4e26cedc83bf1c75cfd72dd_3->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_c765e593a4e26cedc83bf1c75cfd72dd_3, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_c765e593a4e26cedc83bf1c75cfd72dd_3,
|
|
type_description_2,
|
|
outline_1_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_c765e593a4e26cedc83bf1c75cfd72dd_3 == cache_frame_c765e593a4e26cedc83bf1c75cfd72dd_3 )
|
|
{
|
|
Py_DECREF( frame_c765e593a4e26cedc83bf1c75cfd72dd_3 );
|
|
}
|
|
cache_frame_c765e593a4e26cedc83bf1c75cfd72dd_3 = NULL;
|
|
|
|
assertFrameObject( frame_c765e593a4e26cedc83bf1c75cfd72dd_3 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto nested_frame_exit_2;
|
|
|
|
frame_no_exception_2:;
|
|
goto skip_nested_handling_2;
|
|
nested_frame_exit_2:;
|
|
|
|
goto try_except_handler_7;
|
|
skip_nested_handling_2:;
|
|
{
|
|
nuitka_bool tmp_condition_result_15;
|
|
PyObject *tmp_compexpr_left_2;
|
|
PyObject *tmp_compexpr_right_2;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_compexpr_left_2 = tmp_class_creation_2__bases;
|
|
CHECK_OBJECT( tmp_class_creation_2__bases_orig );
|
|
tmp_compexpr_right_2 = tmp_class_creation_2__bases_orig;
|
|
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
tmp_condition_result_15 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_15 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_8;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_8;
|
|
}
|
|
branch_yes_8:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_2__bases_orig );
|
|
tmp_dictset_value = tmp_class_creation_2__bases_orig;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_120, 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 = 120;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
}
|
|
branch_no_8:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_22;
|
|
PyObject *tmp_called_name_7;
|
|
PyObject *tmp_args_name_4;
|
|
PyObject *tmp_tuple_element_8;
|
|
PyObject *tmp_kw_name_4;
|
|
CHECK_OBJECT( tmp_class_creation_2__metaclass );
|
|
tmp_called_name_7 = tmp_class_creation_2__metaclass;
|
|
tmp_tuple_element_8 = const_str_plain_StickerSet;
|
|
tmp_args_name_4 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_8 );
|
|
PyTuple_SET_ITEM( tmp_args_name_4, 0, tmp_tuple_element_8 );
|
|
CHECK_OBJECT( tmp_class_creation_2__bases );
|
|
tmp_tuple_element_8 = tmp_class_creation_2__bases;
|
|
Py_INCREF( tmp_tuple_element_8 );
|
|
PyTuple_SET_ITEM( tmp_args_name_4, 1, tmp_tuple_element_8 );
|
|
tmp_tuple_element_8 = locals_telegram$files$sticker_120;
|
|
Py_INCREF( tmp_tuple_element_8 );
|
|
PyTuple_SET_ITEM( tmp_args_name_4, 2, tmp_tuple_element_8 );
|
|
CHECK_OBJECT( tmp_class_creation_2__class_decl_dict );
|
|
tmp_kw_name_4 = tmp_class_creation_2__class_decl_dict;
|
|
frame_69a5b11d11748a4766d6d4811d4a1780->m_frame.f_lineno = 120;
|
|
tmp_assign_source_22 = CALL_FUNCTION( tmp_called_name_7, tmp_args_name_4, tmp_kw_name_4 );
|
|
Py_DECREF( tmp_args_name_4 );
|
|
if ( tmp_assign_source_22 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 120;
|
|
|
|
goto try_except_handler_7;
|
|
}
|
|
assert( outline_1_var___class__ == NULL );
|
|
outline_1_var___class__ = tmp_assign_source_22;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( outline_1_var___class__ );
|
|
tmp_assign_source_21 = outline_1_var___class__;
|
|
Py_INCREF( tmp_assign_source_21 );
|
|
goto try_return_handler_7;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_7:;
|
|
{
|
|
Py_DECREF( locals_telegram$files$sticker_120 );
|
|
locals_telegram$files$sticker_120 = NULL;
|
|
}
|
|
{
|
|
goto try_return_handler_6;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_7:;
|
|
exception_keeper_type_5 = exception_type;
|
|
exception_keeper_value_5 = exception_value;
|
|
exception_keeper_tb_5 = exception_tb;
|
|
exception_keeper_lineno_5 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_DECREF( locals_telegram$files$sticker_120 );
|
|
locals_telegram$files$sticker_120 = NULL;
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_5;
|
|
exception_value = exception_keeper_value_5;
|
|
exception_tb = exception_keeper_tb_5;
|
|
exception_lineno = exception_keeper_lineno_5;
|
|
|
|
goto try_except_handler_6;
|
|
}
|
|
// End of try:
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_6:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)outline_1_var___class__ );
|
|
Py_DECREF( outline_1_var___class__ );
|
|
outline_1_var___class__ = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_2;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_6:;
|
|
exception_keeper_type_6 = exception_type;
|
|
exception_keeper_value_6 = exception_value;
|
|
exception_keeper_tb_6 = exception_tb;
|
|
exception_keeper_lineno_6 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_6;
|
|
exception_value = exception_keeper_value_6;
|
|
exception_tb = exception_keeper_tb_6;
|
|
exception_lineno = exception_keeper_lineno_6;
|
|
|
|
goto outline_exception_2;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_2:;
|
|
exception_lineno = 120;
|
|
goto try_except_handler_5;
|
|
outline_result_2:;
|
|
UPDATE_STRING_DICT1( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_StickerSet, tmp_assign_source_21 );
|
|
}
|
|
goto try_end_3;
|
|
// Exception handler code:
|
|
try_except_handler_5:;
|
|
exception_keeper_type_7 = exception_type;
|
|
exception_keeper_value_7 = exception_value;
|
|
exception_keeper_tb_7 = exception_tb;
|
|
exception_keeper_lineno_7 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_class_creation_2__bases );
|
|
tmp_class_creation_2__bases = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_2__class_decl_dict );
|
|
tmp_class_creation_2__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_2__metaclass );
|
|
tmp_class_creation_2__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_2__prepared );
|
|
tmp_class_creation_2__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_7;
|
|
exception_value = exception_keeper_value_7;
|
|
exception_tb = exception_keeper_tb_7;
|
|
exception_lineno = exception_keeper_lineno_7;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_3:;
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__bases );
|
|
Py_DECREF( tmp_class_creation_2__bases );
|
|
tmp_class_creation_2__bases = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__class_decl_dict );
|
|
Py_DECREF( tmp_class_creation_2__class_decl_dict );
|
|
tmp_class_creation_2__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__metaclass );
|
|
Py_DECREF( tmp_class_creation_2__metaclass );
|
|
tmp_class_creation_2__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_2__prepared );
|
|
Py_DECREF( tmp_class_creation_2__prepared );
|
|
tmp_class_creation_2__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
PyObject *tmp_assign_source_23;
|
|
PyObject *tmp_tuple_element_9;
|
|
PyObject *tmp_mvar_value_3;
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_TelegramObject );
|
|
|
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
|
{
|
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_TelegramObject );
|
|
}
|
|
|
|
if ( tmp_mvar_value_3 == 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 = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
|
|
tmp_tuple_element_9 = tmp_mvar_value_3;
|
|
tmp_assign_source_23 = PyTuple_New( 1 );
|
|
Py_INCREF( tmp_tuple_element_9 );
|
|
PyTuple_SET_ITEM( tmp_assign_source_23, 0, tmp_tuple_element_9 );
|
|
assert( tmp_class_creation_3__bases_orig == NULL );
|
|
tmp_class_creation_3__bases_orig = tmp_assign_source_23;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_24;
|
|
PyObject *tmp_dircall_arg1_3;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases_orig );
|
|
tmp_dircall_arg1_3 = tmp_class_creation_3__bases_orig;
|
|
Py_INCREF( tmp_dircall_arg1_3 );
|
|
|
|
{
|
|
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
|
|
tmp_assign_source_24 = impl___internal__$$$function_1__mro_entries_conversion( dir_call_args );
|
|
}
|
|
if ( tmp_assign_source_24 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
assert( tmp_class_creation_3__bases == NULL );
|
|
tmp_class_creation_3__bases = tmp_assign_source_24;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_25;
|
|
tmp_assign_source_25 = PyDict_New();
|
|
assert( tmp_class_creation_3__class_decl_dict == NULL );
|
|
tmp_class_creation_3__class_decl_dict = tmp_assign_source_25;
|
|
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_26;
|
|
PyObject *tmp_metaclass_name_3;
|
|
nuitka_bool tmp_condition_result_16;
|
|
PyObject *tmp_key_name_7;
|
|
PyObject *tmp_dict_name_7;
|
|
PyObject *tmp_dict_name_8;
|
|
PyObject *tmp_key_name_8;
|
|
nuitka_bool tmp_condition_result_17;
|
|
int tmp_truth_name_3;
|
|
PyObject *tmp_type_arg_5;
|
|
PyObject *tmp_subscribed_name_3;
|
|
PyObject *tmp_subscript_name_3;
|
|
PyObject *tmp_bases_name_3;
|
|
tmp_key_name_7 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_dict_name_7 = tmp_class_creation_3__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_7, tmp_key_name_7 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_condition_result_16 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_16 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_8;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_8;
|
|
}
|
|
condexpr_true_8:;
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_dict_name_8 = tmp_class_creation_3__class_decl_dict;
|
|
tmp_key_name_8 = const_str_plain_metaclass;
|
|
tmp_metaclass_name_3 = DICT_GET_ITEM( tmp_dict_name_8, tmp_key_name_8 );
|
|
if ( tmp_metaclass_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
goto condexpr_end_8;
|
|
condexpr_false_8:;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_truth_name_3 = CHECK_IF_TRUE( tmp_class_creation_3__bases );
|
|
if ( tmp_truth_name_3 == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_condition_result_17 = tmp_truth_name_3 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_17 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_9;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_9;
|
|
}
|
|
condexpr_true_9:;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_subscribed_name_3 = tmp_class_creation_3__bases;
|
|
tmp_subscript_name_3 = const_int_0;
|
|
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 0 );
|
|
if ( tmp_type_arg_5 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_metaclass_name_3 = BUILTIN_TYPE1( tmp_type_arg_5 );
|
|
Py_DECREF( tmp_type_arg_5 );
|
|
if ( tmp_metaclass_name_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
goto condexpr_end_9;
|
|
condexpr_false_9:;
|
|
tmp_metaclass_name_3 = (PyObject *)&PyType_Type;
|
|
Py_INCREF( tmp_metaclass_name_3 );
|
|
condexpr_end_9:;
|
|
condexpr_end_8:;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_bases_name_3 = tmp_class_creation_3__bases;
|
|
tmp_assign_source_26 = SELECT_METACLASS( tmp_metaclass_name_3, tmp_bases_name_3 );
|
|
Py_DECREF( tmp_metaclass_name_3 );
|
|
if ( tmp_assign_source_26 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
assert( tmp_class_creation_3__metaclass == NULL );
|
|
tmp_class_creation_3__metaclass = tmp_assign_source_26;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_18;
|
|
PyObject *tmp_key_name_9;
|
|
PyObject *tmp_dict_name_9;
|
|
tmp_key_name_9 = const_str_plain_metaclass;
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_dict_name_9 = tmp_class_creation_3__class_decl_dict;
|
|
tmp_res = PyDict_Contains( tmp_dict_name_9, tmp_key_name_9 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_condition_result_18 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_18 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_9;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_9;
|
|
}
|
|
branch_yes_9:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
|
|
tmp_dictdel_key = const_str_plain_metaclass;
|
|
tmp_result = DICT_REMOVE_ITEM( tmp_dictdel_dict, tmp_dictdel_key );
|
|
if ( tmp_result == false )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
}
|
|
branch_no_9:;
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_19;
|
|
PyObject *tmp_source_name_9;
|
|
CHECK_OBJECT( tmp_class_creation_3__metaclass );
|
|
tmp_source_name_9 = tmp_class_creation_3__metaclass;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_9, const_str_plain___prepare__ );
|
|
tmp_condition_result_19 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_19 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_10;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_10;
|
|
}
|
|
branch_yes_10:;
|
|
{
|
|
PyObject *tmp_assign_source_27;
|
|
PyObject *tmp_called_name_8;
|
|
PyObject *tmp_source_name_10;
|
|
PyObject *tmp_args_name_5;
|
|
PyObject *tmp_tuple_element_10;
|
|
PyObject *tmp_kw_name_5;
|
|
CHECK_OBJECT( tmp_class_creation_3__metaclass );
|
|
tmp_source_name_10 = tmp_class_creation_3__metaclass;
|
|
tmp_called_name_8 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain___prepare__ );
|
|
if ( tmp_called_name_8 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_tuple_element_10 = const_str_plain_MaskPosition;
|
|
tmp_args_name_5 = PyTuple_New( 2 );
|
|
Py_INCREF( tmp_tuple_element_10 );
|
|
PyTuple_SET_ITEM( tmp_args_name_5, 0, tmp_tuple_element_10 );
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_tuple_element_10 = tmp_class_creation_3__bases;
|
|
Py_INCREF( tmp_tuple_element_10 );
|
|
PyTuple_SET_ITEM( tmp_args_name_5, 1, tmp_tuple_element_10 );
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_kw_name_5 = tmp_class_creation_3__class_decl_dict;
|
|
frame_69a5b11d11748a4766d6d4811d4a1780->m_frame.f_lineno = 164;
|
|
tmp_assign_source_27 = CALL_FUNCTION( tmp_called_name_8, tmp_args_name_5, tmp_kw_name_5 );
|
|
Py_DECREF( tmp_called_name_8 );
|
|
Py_DECREF( tmp_args_name_5 );
|
|
if ( tmp_assign_source_27 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
assert( tmp_class_creation_3__prepared == NULL );
|
|
tmp_class_creation_3__prepared = tmp_assign_source_27;
|
|
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_20;
|
|
PyObject *tmp_operand_name_3;
|
|
PyObject *tmp_source_name_11;
|
|
CHECK_OBJECT( tmp_class_creation_3__prepared );
|
|
tmp_source_name_11 = tmp_class_creation_3__prepared;
|
|
tmp_res = PyObject_HasAttr( tmp_source_name_11, const_str_plain___getitem__ );
|
|
tmp_operand_name_3 = ( tmp_res != 0 ) ? Py_True : Py_False;
|
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_condition_result_20 = ( tmp_res == 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_20 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_11;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_11;
|
|
}
|
|
branch_yes_11:;
|
|
{
|
|
PyObject *tmp_raise_type_3;
|
|
PyObject *tmp_raise_value_3;
|
|
PyObject *tmp_left_name_3;
|
|
PyObject *tmp_right_name_3;
|
|
PyObject *tmp_tuple_element_11;
|
|
PyObject *tmp_getattr_target_3;
|
|
PyObject *tmp_getattr_attr_3;
|
|
PyObject *tmp_getattr_default_3;
|
|
PyObject *tmp_source_name_12;
|
|
PyObject *tmp_type_arg_6;
|
|
tmp_raise_type_3 = PyExc_TypeError;
|
|
tmp_left_name_3 = const_str_digest_75fd71b1edada749c2ef7ac810062295;
|
|
CHECK_OBJECT( tmp_class_creation_3__metaclass );
|
|
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
|
|
tmp_getattr_attr_3 = const_str_plain___name__;
|
|
tmp_getattr_default_3 = const_str_angle_metaclass;
|
|
tmp_tuple_element_11 = BUILTIN_GETATTR( tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3 );
|
|
if ( tmp_tuple_element_11 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
tmp_right_name_3 = PyTuple_New( 2 );
|
|
PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_11 );
|
|
CHECK_OBJECT( tmp_class_creation_3__prepared );
|
|
tmp_type_arg_6 = tmp_class_creation_3__prepared;
|
|
tmp_source_name_12 = BUILTIN_TYPE1( tmp_type_arg_6 );
|
|
assert( !(tmp_source_name_12 == NULL) );
|
|
tmp_tuple_element_11 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain___name__ );
|
|
Py_DECREF( tmp_source_name_12 );
|
|
if ( tmp_tuple_element_11 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
Py_DECREF( tmp_right_name_3 );
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_11 );
|
|
tmp_raise_value_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 );
|
|
Py_DECREF( tmp_right_name_3 );
|
|
if ( tmp_raise_value_3 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
exception_type = tmp_raise_type_3;
|
|
Py_INCREF( tmp_raise_type_3 );
|
|
exception_value = tmp_raise_value_3;
|
|
exception_lineno = 164;
|
|
RAISE_EXCEPTION_IMPLICIT( &exception_type, &exception_value, &exception_tb );
|
|
|
|
goto try_except_handler_8;
|
|
}
|
|
branch_no_11:;
|
|
}
|
|
goto branch_end_10;
|
|
branch_no_10:;
|
|
{
|
|
PyObject *tmp_assign_source_28;
|
|
tmp_assign_source_28 = PyDict_New();
|
|
assert( tmp_class_creation_3__prepared == NULL );
|
|
tmp_class_creation_3__prepared = tmp_assign_source_28;
|
|
|
|
}
|
|
branch_end_10:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_29;
|
|
{
|
|
PyObject *tmp_set_locals_3;
|
|
CHECK_OBJECT( tmp_class_creation_3__prepared );
|
|
tmp_set_locals_3 = tmp_class_creation_3__prepared;
|
|
locals_telegram$files$sticker_164 = tmp_set_locals_3;
|
|
Py_INCREF( tmp_set_locals_3 );
|
|
}
|
|
{
|
|
// Tried code:
|
|
{
|
|
// Tried code:
|
|
{
|
|
tmp_dictset_value = const_str_digest_4b0731d8c4b8f7dea78c9a4c39612592;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_164, 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 = 164;
|
|
|
|
goto try_except_handler_10;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_digest_ea22bb284ff8a64d36b430a1a40a1d44;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_164, 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 = 164;
|
|
|
|
goto try_except_handler_10;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_MaskPosition;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_164, 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 = 164;
|
|
|
|
goto try_except_handler_10;
|
|
}
|
|
}
|
|
MAKE_OR_REUSE_FRAME( cache_frame_7da757a5a8b8df20c6c52a91d68ddf0b_4, codeobj_7da757a5a8b8df20c6c52a91d68ddf0b, module_telegram$files$sticker, sizeof(void *) );
|
|
frame_7da757a5a8b8df20c6c52a91d68ddf0b_4 = cache_frame_7da757a5a8b8df20c6c52a91d68ddf0b_4;
|
|
|
|
// Push the new frame as the currently active one.
|
|
pushFrameStack( frame_7da757a5a8b8df20c6c52a91d68ddf0b_4 );
|
|
|
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
|
assert( Py_REFCNT( frame_7da757a5a8b8df20c6c52a91d68ddf0b_4 ) == 2 ); // Frame stack
|
|
|
|
// Framed code:
|
|
{
|
|
tmp_dictset_value = const_str_plain_forehead;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_164, const_str_plain_FOREHEAD, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 190;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_eyes;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_164, const_str_plain_EYES, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 192;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_mouth;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_164, const_str_plain_MOUTH, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 194;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = const_str_plain_chin;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_164, const_str_plain_CHIN, tmp_dictset_value );
|
|
if ( tmp_res != 0 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 196;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
{
|
|
tmp_dictset_value = MAKE_FUNCTION_telegram$files$sticker$$$function_8___init__( );
|
|
|
|
|
|
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_164, 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 = 199;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
{
|
|
nuitka_bool tmp_condition_result_21;
|
|
PyObject *tmp_called_name_9;
|
|
PyObject *tmp_args_element_name_4;
|
|
PyObject *tmp_classmethod_arg_3;
|
|
tmp_res = MAPPING_HAS_ITEM( locals_telegram$files$sticker_164, const_str_plain_classmethod );
|
|
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 205;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
tmp_condition_result_21 = ( tmp_res == 1 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_21 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto condexpr_true_10;
|
|
}
|
|
else
|
|
{
|
|
goto condexpr_false_10;
|
|
}
|
|
condexpr_true_10:;
|
|
tmp_called_name_9 = PyObject_GetItem( locals_telegram$files$sticker_164, const_str_plain_classmethod );
|
|
|
|
if ( tmp_called_name_9 == 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 = 205;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
|
|
if ( tmp_called_name_9 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 205;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
tmp_args_element_name_4 = MAKE_FUNCTION_telegram$files$sticker$$$function_9_de_json( );
|
|
|
|
|
|
|
|
frame_7da757a5a8b8df20c6c52a91d68ddf0b_4->m_frame.f_lineno = 205;
|
|
{
|
|
PyObject *call_args[] = { tmp_args_element_name_4 };
|
|
tmp_dictset_value = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_9, call_args );
|
|
}
|
|
|
|
Py_DECREF( tmp_called_name_9 );
|
|
Py_DECREF( tmp_args_element_name_4 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 205;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
goto condexpr_end_10;
|
|
condexpr_false_10:;
|
|
tmp_classmethod_arg_3 = MAKE_FUNCTION_telegram$files$sticker$$$function_9_de_json( );
|
|
|
|
|
|
|
|
tmp_dictset_value = BUILTIN_CLASSMETHOD( tmp_classmethod_arg_3 );
|
|
Py_DECREF( tmp_classmethod_arg_3 );
|
|
if ( tmp_dictset_value == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 205;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
condexpr_end_10:;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_164, 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 = 205;
|
|
type_description_2 = "o";
|
|
goto frame_exception_exit_4;
|
|
}
|
|
}
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7da757a5a8b8df20c6c52a91d68ddf0b_4 );
|
|
#endif
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
goto frame_no_exception_3;
|
|
|
|
frame_exception_exit_4:;
|
|
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_7da757a5a8b8df20c6c52a91d68ddf0b_4 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_7da757a5a8b8df20c6c52a91d68ddf0b_4, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_7da757a5a8b8df20c6c52a91d68ddf0b_4->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_7da757a5a8b8df20c6c52a91d68ddf0b_4, exception_lineno );
|
|
}
|
|
|
|
// Attachs locals to frame if any.
|
|
Nuitka_Frame_AttachLocals(
|
|
(struct Nuitka_FrameObject *)frame_7da757a5a8b8df20c6c52a91d68ddf0b_4,
|
|
type_description_2,
|
|
outline_2_var___class__
|
|
);
|
|
|
|
|
|
// Release cached frame.
|
|
if ( frame_7da757a5a8b8df20c6c52a91d68ddf0b_4 == cache_frame_7da757a5a8b8df20c6c52a91d68ddf0b_4 )
|
|
{
|
|
Py_DECREF( frame_7da757a5a8b8df20c6c52a91d68ddf0b_4 );
|
|
}
|
|
cache_frame_7da757a5a8b8df20c6c52a91d68ddf0b_4 = NULL;
|
|
|
|
assertFrameObject( frame_7da757a5a8b8df20c6c52a91d68ddf0b_4 );
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto nested_frame_exit_3;
|
|
|
|
frame_no_exception_3:;
|
|
goto skip_nested_handling_3;
|
|
nested_frame_exit_3:;
|
|
|
|
goto try_except_handler_10;
|
|
skip_nested_handling_3:;
|
|
{
|
|
nuitka_bool tmp_condition_result_22;
|
|
PyObject *tmp_compexpr_left_3;
|
|
PyObject *tmp_compexpr_right_3;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_compexpr_left_3 = tmp_class_creation_3__bases;
|
|
CHECK_OBJECT( tmp_class_creation_3__bases_orig );
|
|
tmp_compexpr_right_3 = tmp_class_creation_3__bases_orig;
|
|
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_3, tmp_compexpr_right_3 );
|
|
if ( tmp_res == -1 )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_10;
|
|
}
|
|
tmp_condition_result_22 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
|
if ( tmp_condition_result_22 == NUITKA_BOOL_TRUE )
|
|
{
|
|
goto branch_yes_12;
|
|
}
|
|
else
|
|
{
|
|
goto branch_no_12;
|
|
}
|
|
branch_yes_12:;
|
|
{
|
|
CHECK_OBJECT( tmp_class_creation_3__bases_orig );
|
|
tmp_dictset_value = tmp_class_creation_3__bases_orig;
|
|
tmp_res = PyObject_SetItem( locals_telegram$files$sticker_164, 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 = 164;
|
|
|
|
goto try_except_handler_10;
|
|
}
|
|
}
|
|
branch_no_12:;
|
|
}
|
|
{
|
|
PyObject *tmp_assign_source_30;
|
|
PyObject *tmp_called_name_10;
|
|
PyObject *tmp_args_name_6;
|
|
PyObject *tmp_tuple_element_12;
|
|
PyObject *tmp_kw_name_6;
|
|
CHECK_OBJECT( tmp_class_creation_3__metaclass );
|
|
tmp_called_name_10 = tmp_class_creation_3__metaclass;
|
|
tmp_tuple_element_12 = const_str_plain_MaskPosition;
|
|
tmp_args_name_6 = PyTuple_New( 3 );
|
|
Py_INCREF( tmp_tuple_element_12 );
|
|
PyTuple_SET_ITEM( tmp_args_name_6, 0, tmp_tuple_element_12 );
|
|
CHECK_OBJECT( tmp_class_creation_3__bases );
|
|
tmp_tuple_element_12 = tmp_class_creation_3__bases;
|
|
Py_INCREF( tmp_tuple_element_12 );
|
|
PyTuple_SET_ITEM( tmp_args_name_6, 1, tmp_tuple_element_12 );
|
|
tmp_tuple_element_12 = locals_telegram$files$sticker_164;
|
|
Py_INCREF( tmp_tuple_element_12 );
|
|
PyTuple_SET_ITEM( tmp_args_name_6, 2, tmp_tuple_element_12 );
|
|
CHECK_OBJECT( tmp_class_creation_3__class_decl_dict );
|
|
tmp_kw_name_6 = tmp_class_creation_3__class_decl_dict;
|
|
frame_69a5b11d11748a4766d6d4811d4a1780->m_frame.f_lineno = 164;
|
|
tmp_assign_source_30 = CALL_FUNCTION( tmp_called_name_10, tmp_args_name_6, tmp_kw_name_6 );
|
|
Py_DECREF( tmp_args_name_6 );
|
|
if ( tmp_assign_source_30 == NULL )
|
|
{
|
|
assert( ERROR_OCCURRED() );
|
|
|
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
|
|
|
|
|
exception_lineno = 164;
|
|
|
|
goto try_except_handler_10;
|
|
}
|
|
assert( outline_2_var___class__ == NULL );
|
|
outline_2_var___class__ = tmp_assign_source_30;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( outline_2_var___class__ );
|
|
tmp_assign_source_29 = outline_2_var___class__;
|
|
Py_INCREF( tmp_assign_source_29 );
|
|
goto try_return_handler_10;
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_10:;
|
|
{
|
|
Py_DECREF( locals_telegram$files$sticker_164 );
|
|
locals_telegram$files$sticker_164 = NULL;
|
|
}
|
|
{
|
|
goto try_return_handler_9;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_10:;
|
|
exception_keeper_type_8 = exception_type;
|
|
exception_keeper_value_8 = exception_value;
|
|
exception_keeper_tb_8 = exception_tb;
|
|
exception_keeper_lineno_8 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_DECREF( locals_telegram$files$sticker_164 );
|
|
locals_telegram$files$sticker_164 = NULL;
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_8;
|
|
exception_value = exception_keeper_value_8;
|
|
exception_tb = exception_keeper_tb_8;
|
|
exception_lineno = exception_keeper_lineno_8;
|
|
|
|
goto try_except_handler_9;
|
|
}
|
|
// End of try:
|
|
}
|
|
// tried codes exits in all cases
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
// Return handler code:
|
|
try_return_handler_9:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)outline_2_var___class__ );
|
|
Py_DECREF( outline_2_var___class__ );
|
|
outline_2_var___class__ = NULL;
|
|
|
|
}
|
|
{
|
|
goto outline_result_3;
|
|
}
|
|
// Exception handler code:
|
|
try_except_handler_9:;
|
|
exception_keeper_type_9 = exception_type;
|
|
exception_keeper_value_9 = exception_value;
|
|
exception_keeper_tb_9 = exception_tb;
|
|
exception_keeper_lineno_9 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_9;
|
|
exception_value = exception_keeper_value_9;
|
|
exception_tb = exception_keeper_tb_9;
|
|
exception_lineno = exception_keeper_lineno_9;
|
|
|
|
goto outline_exception_3;
|
|
}
|
|
// End of try:
|
|
}
|
|
// Return statement must have exited already.
|
|
NUITKA_CANNOT_GET_HERE( telegram$files$sticker );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
outline_exception_3:;
|
|
exception_lineno = 164;
|
|
goto try_except_handler_8;
|
|
outline_result_3:;
|
|
UPDATE_STRING_DICT1( moduledict_telegram$files$sticker, (Nuitka_StringObject *)const_str_plain_MaskPosition, tmp_assign_source_29 );
|
|
}
|
|
goto try_end_4;
|
|
// Exception handler code:
|
|
try_except_handler_8:;
|
|
exception_keeper_type_10 = exception_type;
|
|
exception_keeper_value_10 = exception_value;
|
|
exception_keeper_tb_10 = exception_tb;
|
|
exception_keeper_lineno_10 = exception_lineno;
|
|
exception_type = NULL;
|
|
exception_value = NULL;
|
|
exception_tb = NULL;
|
|
exception_lineno = 0;
|
|
|
|
{
|
|
Py_XDECREF( tmp_class_creation_3__bases );
|
|
tmp_class_creation_3__bases = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_3__class_decl_dict );
|
|
tmp_class_creation_3__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_3__metaclass );
|
|
tmp_class_creation_3__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
Py_XDECREF( tmp_class_creation_3__prepared );
|
|
tmp_class_creation_3__prepared = NULL;
|
|
|
|
}
|
|
{
|
|
// Re-raise.
|
|
exception_type = exception_keeper_type_10;
|
|
exception_value = exception_keeper_value_10;
|
|
exception_tb = exception_keeper_tb_10;
|
|
exception_lineno = exception_keeper_lineno_10;
|
|
|
|
goto frame_exception_exit_1;
|
|
}
|
|
// End of try:
|
|
try_end_4:;
|
|
}
|
|
|
|
// Restore frame exception if necessary.
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_69a5b11d11748a4766d6d4811d4a1780 );
|
|
#endif
|
|
popFrameStack();
|
|
|
|
assertFrameObject( frame_69a5b11d11748a4766d6d4811d4a1780 );
|
|
|
|
goto frame_no_exception_4;
|
|
|
|
frame_exception_exit_1:;
|
|
#if 0
|
|
RESTORE_FRAME_EXCEPTION( frame_69a5b11d11748a4766d6d4811d4a1780 );
|
|
#endif
|
|
|
|
if ( exception_tb == NULL )
|
|
{
|
|
exception_tb = MAKE_TRACEBACK( frame_69a5b11d11748a4766d6d4811d4a1780, exception_lineno );
|
|
}
|
|
else if ( exception_tb->tb_frame != &frame_69a5b11d11748a4766d6d4811d4a1780->m_frame )
|
|
{
|
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_69a5b11d11748a4766d6d4811d4a1780, exception_lineno );
|
|
}
|
|
|
|
// Put the previous frame back on top.
|
|
popFrameStack();
|
|
|
|
// Return the error.
|
|
goto module_exception_exit;
|
|
|
|
frame_no_exception_4:;
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__bases );
|
|
Py_DECREF( tmp_class_creation_3__bases );
|
|
tmp_class_creation_3__bases = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__class_decl_dict );
|
|
Py_DECREF( tmp_class_creation_3__class_decl_dict );
|
|
tmp_class_creation_3__class_decl_dict = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__metaclass );
|
|
Py_DECREF( tmp_class_creation_3__metaclass );
|
|
tmp_class_creation_3__metaclass = NULL;
|
|
|
|
}
|
|
{
|
|
CHECK_OBJECT( (PyObject *)tmp_class_creation_3__prepared );
|
|
Py_DECREF( tmp_class_creation_3__prepared );
|
|
tmp_class_creation_3__prepared = NULL;
|
|
|
|
}
|
|
|
|
return MOD_RETURN_VALUE( module_telegram$files$sticker );
|
|
module_exception_exit:
|
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
|
return MOD_RETURN_VALUE( NULL );
|
|
}
|