mirror of
https://github.com/house-of-vanity/fesmoo_perdoliq.git
synced 2025-08-22 00:27:17 +00:00
6837 lines
219 KiB
C
6837 lines
219 KiB
C
![]() |
/* Generated code for Python source for module '__main__'
|
||
|
* 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___main__ 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___main__;
|
||
|
PyDictObject *moduledict___main__;
|
||
|
|
||
|
/* The module constants used, if any. */
|
||
|
extern PyObject *const_str_plain_threading;
|
||
|
extern PyObject *const_str_plain_resolve;
|
||
|
static PyObject *const_str_plain_list_test;
|
||
|
extern PyObject *const_str_plain_Perdoliq;
|
||
|
extern PyObject *const_str_plain_Bot;
|
||
|
extern PyObject *const_str_plain_main;
|
||
|
extern PyObject *const_str_plain_test;
|
||
|
extern PyObject *const_tuple_int_pos_5_tuple;
|
||
|
static PyObject *const_tuple_4b574f015456e0e4f1db008211572bcb_tuple;
|
||
|
static PyObject *const_tuple_str_digest_068fa0b62c8596d1229686acd2337e4c_tuple;
|
||
|
static PyObject *const_str_plain_DRYRUN;
|
||
|
extern PyObject *const_str_plain_i;
|
||
|
extern PyObject *const_str_plain___file__;
|
||
|
static PyObject *const_str_plain_acc;
|
||
|
extern PyObject *const_str_plain_offset;
|
||
|
extern PyObject *const_str_plain_args;
|
||
|
static PyObject *const_str_plain_TG_TOKEN;
|
||
|
static PyObject *const_str_digest_16f6623827ecf2a13d2fd7ea5abdda8a;
|
||
|
static PyObject *const_str_digest_febaf42aed2d57a4fa3e8eb85c349693;
|
||
|
extern PyObject *const_str_plain_site;
|
||
|
static PyObject *const_str_digest_8910a8ccb249bb5e997226211691c64e;
|
||
|
static PyObject *const_str_plain_tests;
|
||
|
static PyObject *const_str_digest_0059f0d4fb3d7c52933f1d7cdfee91af;
|
||
|
extern PyObject *const_str_plain_is_delayed;
|
||
|
extern PyObject *const_int_pos_6;
|
||
|
extern PyObject *const_str_plain_os;
|
||
|
extern PyObject *const_str_plain_sleep;
|
||
|
extern PyObject *const_int_pos_5;
|
||
|
static PyObject *const_str_digest_2a5e6f3ecb7c2e09fc9340837db4071a;
|
||
|
static PyObject *const_str_digest_8a2dacb4e3f80ac67310cd73b6d929b5;
|
||
|
extern PyObject *const_str_plain_basicConfig;
|
||
|
static PyObject *const_str_digest_cf1f2ded92073504fb396e0121cca1a8;
|
||
|
extern PyObject *const_str_plain_start;
|
||
|
extern PyObject *const_tuple_int_pos_1_tuple;
|
||
|
static PyObject *const_str_digest_068fa0b62c8596d1229686acd2337e4c;
|
||
|
extern PyObject *const_str_plain___doc__;
|
||
|
static PyObject *const_tuple_str_plain_NetworkError_str_plain_Unauthorized_tuple;
|
||
|
extern PyObject *const_str_plain_timeout;
|
||
|
extern PyObject *const_str_plain_get_tests;
|
||
|
extern PyObject *const_str_plain___debug__;
|
||
|
extern PyObject *const_str_plain_time;
|
||
|
extern PyObject *const_str_plain_environ;
|
||
|
extern PyObject *const_str_plain_s;
|
||
|
static PyObject *const_tuple_str_digest_0dbea6d01e30f7596bbe6f2c8c67b1f3_tuple;
|
||
|
extern PyObject *const_str_plain_j;
|
||
|
extern PyObject *const_str_plain_t;
|
||
|
static PyObject *const_str_plain_handle_update;
|
||
|
static PyObject *const_str_digest_6942b9d18400bd5805005770bbc845fa;
|
||
|
static PyObject *const_str_digest_8058a83c164a2e6804975c9efbed295f;
|
||
|
extern PyObject *const_str_plain_e;
|
||
|
extern PyObject *const_str_plain_message;
|
||
|
static PyObject *const_str_digest_76056612c1b5f6acbdf1fe39abd76baa;
|
||
|
static PyObject *const_str_plain_do_action;
|
||
|
extern PyObject *const_str_plain_telegram;
|
||
|
extern PyObject *const_tuple_empty;
|
||
|
static PyObject *const_str_plain_TOKEN;
|
||
|
static PyObject *const_str_plain_perdoliq;
|
||
|
extern PyObject *const_str_plain_dryrun;
|
||
|
extern PyObject *const_str_plain_username;
|
||
|
extern PyObject *const_str_plain_get_updates;
|
||
|
extern PyObject *const_int_pos_10;
|
||
|
static PyObject *const_tuple_str_digest_8058a83c164a2e6804975c9efbed295f_tuple;
|
||
|
extern PyObject *const_str_plain_split;
|
||
|
extern PyObject *const_str_plain_update_id;
|
||
|
static PyObject *const_str_digest_cd7f0dd6c9b458490fe731daa3faef13;
|
||
|
extern PyObject *const_str_plain_False;
|
||
|
static PyObject *const_str_digest_df8aadce2dd0078d0d257119f4778d1a;
|
||
|
static PyObject *const_str_digest_3ee78085284ca4ccddce6c7ecdcd9286;
|
||
|
extern PyObject *const_int_0;
|
||
|
extern PyObject *const_str_plain_msg;
|
||
|
extern PyObject *const_str_plain_bot;
|
||
|
extern PyObject *const_str_plain_text;
|
||
|
static PyObject *const_tuple_str_digest_8a2dacb4e3f80ac67310cd73b6d929b5_tuple;
|
||
|
static PyObject *const_str_digest_1b915c780c42c339697a2abe578bd2c0;
|
||
|
extern PyObject *const_str_digest_4b2d1e16f8952841a2d46b07a4b1320e;
|
||
|
static PyObject *const_tuple_b4ac77b7cfb74035d148717fc8538de3_tuple;
|
||
|
static PyObject *const_tuple_str_plain_bot_tuple;
|
||
|
extern PyObject *const_int_pos_4;
|
||
|
extern PyObject *const_str_plain___main__;
|
||
|
static PyObject *const_str_plain_Thread;
|
||
|
static PyObject *const_str_plain_app;
|
||
|
static PyObject *const_str_digest_045af19e132211e803f04b83cd78893c;
|
||
|
extern PyObject *const_str_plain___cached__;
|
||
|
static PyObject *const_str_plain_exit;
|
||
|
extern PyObject *const_str_plain_reply_markdown;
|
||
|
extern PyObject *const_str_plain_password;
|
||
|
extern PyObject *const_str_plain_sys;
|
||
|
static PyObject *const_tuple_str_digest_df8aadce2dd0078d0d257119f4778d1a_tuple;
|
||
|
extern PyObject *const_str_plain_subj;
|
||
|
extern PyObject *const_str_plain_reply_text;
|
||
|
static PyObject *const_tuple_324574a619c0d1420ad505fa57c2a0d1_tuple;
|
||
|
extern PyObject *const_str_plain_update;
|
||
|
extern PyObject *const_int_pos_1;
|
||
|
static PyObject *const_str_digest_0dbea6d01e30f7596bbe6f2c8c67b1f3;
|
||
|
static PyObject *const_tuple_str_plain_sleep_tuple;
|
||
|
extern PyObject *const_str_plain_target;
|
||
|
extern PyObject *const_str_plain_auth;
|
||
|
extern PyObject *const_str_plain_print;
|
||
|
extern PyObject *const_int_pos_3;
|
||
|
extern PyObject *const_str_plain_types;
|
||
|
extern PyObject *const_str_plain_level;
|
||
|
static PyObject *const_tuple_str_digest_3ee78085284ca4ccddce6c7ecdcd9286_tuple;
|
||
|
static PyObject *const_tuple_str_digest_76056612c1b5f6acbdf1fe39abd76baa_tuple;
|
||
|
static PyObject *const_str_digest_b28dca1438895a0402b08cfca5ebe497;
|
||
|
static PyObject *const_str_digest_8de2abbd6c753874a130328c5dec4ed2;
|
||
|
static PyObject *const_str_angle_module;
|
||
|
extern PyObject *const_str_plain_NetworkError;
|
||
|
extern PyObject *const_int_pos_7;
|
||
|
extern PyObject *const_str_plain_DEBUG;
|
||
|
static PyObject *const_tuple_str_digest_8910a8ccb249bb5e997226211691c64e_tuple;
|
||
|
extern PyObject *const_int_pos_2;
|
||
|
static PyObject *const_str_digest_8019ff954f84fe7c467cf3ba9a486bb7;
|
||
|
extern PyObject *const_str_plain_logging;
|
||
|
extern PyObject *const_str_plain___annotations__;
|
||
|
static PyObject *const_tuple_str_plain_bot_str_plain_update_str_plain_t_tuple;
|
||
|
extern PyObject *const_str_plain_Unauthorized;
|
||
|
static PyObject *const_tuple_str_plain_Perdoliq_tuple;
|
||
|
static PyObject *module_filename_obj;
|
||
|
|
||
|
static bool constants_created = false;
|
||
|
|
||
|
static void createModuleConstants( void )
|
||
|
{
|
||
|
const_str_plain_list_test = UNSTREAM_STRING( &constant_bin[ 0 ], 9, 1 );
|
||
|
const_tuple_4b574f015456e0e4f1db008211572bcb_tuple = PyTuple_New( 8 );
|
||
|
PyTuple_SET_ITEM( const_tuple_4b574f015456e0e4f1db008211572bcb_tuple, 0, const_str_plain_username ); Py_INCREF( const_str_plain_username );
|
||
|
PyTuple_SET_ITEM( const_tuple_4b574f015456e0e4f1db008211572bcb_tuple, 1, const_str_plain_password ); Py_INCREF( const_str_plain_password );
|
||
|
PyTuple_SET_ITEM( const_tuple_4b574f015456e0e4f1db008211572bcb_tuple, 2, const_str_plain_subj ); Py_INCREF( const_str_plain_subj );
|
||
|
PyTuple_SET_ITEM( const_tuple_4b574f015456e0e4f1db008211572bcb_tuple, 3, const_str_plain_test ); Py_INCREF( const_str_plain_test );
|
||
|
const_str_plain_acc = UNSTREAM_STRING( &constant_bin[ 9 ], 3, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_4b574f015456e0e4f1db008211572bcb_tuple, 4, const_str_plain_acc ); Py_INCREF( const_str_plain_acc );
|
||
|
PyTuple_SET_ITEM( const_tuple_4b574f015456e0e4f1db008211572bcb_tuple, 5, const_str_plain_is_delayed ); Py_INCREF( const_str_plain_is_delayed );
|
||
|
const_str_plain_app = UNSTREAM_STRING( &constant_bin[ 12 ], 3, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_4b574f015456e0e4f1db008211572bcb_tuple, 6, const_str_plain_app ); Py_INCREF( const_str_plain_app );
|
||
|
PyTuple_SET_ITEM( const_tuple_4b574f015456e0e4f1db008211572bcb_tuple, 7, const_str_plain_e ); Py_INCREF( const_str_plain_e );
|
||
|
const_tuple_str_digest_068fa0b62c8596d1229686acd2337e4c_tuple = PyTuple_New( 1 );
|
||
|
const_str_digest_068fa0b62c8596d1229686acd2337e4c = UNSTREAM_STRING( &constant_bin[ 15 ], 28, 0 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_digest_068fa0b62c8596d1229686acd2337e4c_tuple, 0, const_str_digest_068fa0b62c8596d1229686acd2337e4c ); Py_INCREF( const_str_digest_068fa0b62c8596d1229686acd2337e4c );
|
||
|
const_str_plain_DRYRUN = UNSTREAM_STRING( &constant_bin[ 43 ], 6, 1 );
|
||
|
const_str_plain_TG_TOKEN = UNSTREAM_STRING( &constant_bin[ 49 ], 8, 1 );
|
||
|
const_str_digest_16f6623827ecf2a13d2fd7ea5abdda8a = UNSTREAM_STRING( &constant_bin[ 57 ], 41, 0 );
|
||
|
const_str_digest_febaf42aed2d57a4fa3e8eb85c349693 = UNSTREAM_STRING( &constant_bin[ 98 ], 5, 0 );
|
||
|
const_str_digest_8910a8ccb249bb5e997226211691c64e = UNSTREAM_STRING( &constant_bin[ 103 ], 36, 0 );
|
||
|
const_str_plain_tests = UNSTREAM_STRING( &constant_bin[ 139 ], 5, 1 );
|
||
|
const_str_digest_0059f0d4fb3d7c52933f1d7cdfee91af = UNSTREAM_STRING( &constant_bin[ 144 ], 11, 0 );
|
||
|
const_str_digest_2a5e6f3ecb7c2e09fc9340837db4071a = UNSTREAM_STRING( &constant_bin[ 155 ], 269, 0 );
|
||
|
const_str_digest_8a2dacb4e3f80ac67310cd73b6d929b5 = UNSTREAM_STRING( &constant_bin[ 424 ], 99, 0 );
|
||
|
const_str_digest_cf1f2ded92073504fb396e0121cca1a8 = UNSTREAM_STRING( &constant_bin[ 523 ], 31, 0 );
|
||
|
const_tuple_str_plain_NetworkError_str_plain_Unauthorized_tuple = PyTuple_New( 2 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_plain_NetworkError_str_plain_Unauthorized_tuple, 0, const_str_plain_NetworkError ); Py_INCREF( const_str_plain_NetworkError );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_plain_NetworkError_str_plain_Unauthorized_tuple, 1, const_str_plain_Unauthorized ); Py_INCREF( const_str_plain_Unauthorized );
|
||
|
const_tuple_str_digest_0dbea6d01e30f7596bbe6f2c8c67b1f3_tuple = PyTuple_New( 1 );
|
||
|
const_str_digest_0dbea6d01e30f7596bbe6f2c8c67b1f3 = UNSTREAM_STRING( &constant_bin[ 554 ], 65, 0 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_digest_0dbea6d01e30f7596bbe6f2c8c67b1f3_tuple, 0, const_str_digest_0dbea6d01e30f7596bbe6f2c8c67b1f3 ); Py_INCREF( const_str_digest_0dbea6d01e30f7596bbe6f2c8c67b1f3 );
|
||
|
const_str_plain_handle_update = UNSTREAM_STRING( &constant_bin[ 619 ], 13, 1 );
|
||
|
const_str_digest_6942b9d18400bd5805005770bbc845fa = UNSTREAM_STRING( &constant_bin[ 632 ], 32, 0 );
|
||
|
const_str_digest_8058a83c164a2e6804975c9efbed295f = UNSTREAM_STRING( &constant_bin[ 664 ], 48, 0 );
|
||
|
const_str_digest_76056612c1b5f6acbdf1fe39abd76baa = UNSTREAM_STRING( &constant_bin[ 712 ], 219, 0 );
|
||
|
const_str_plain_do_action = UNSTREAM_STRING( &constant_bin[ 931 ], 9, 1 );
|
||
|
const_str_plain_TOKEN = UNSTREAM_STRING( &constant_bin[ 52 ], 5, 1 );
|
||
|
const_str_plain_perdoliq = UNSTREAM_STRING( &constant_bin[ 79 ], 8, 1 );
|
||
|
const_tuple_str_digest_8058a83c164a2e6804975c9efbed295f_tuple = PyTuple_New( 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_digest_8058a83c164a2e6804975c9efbed295f_tuple, 0, const_str_digest_8058a83c164a2e6804975c9efbed295f ); Py_INCREF( const_str_digest_8058a83c164a2e6804975c9efbed295f );
|
||
|
const_str_digest_cd7f0dd6c9b458490fe731daa3faef13 = UNSTREAM_STRING( &constant_bin[ 940 ], 79, 0 );
|
||
|
const_str_digest_df8aadce2dd0078d0d257119f4778d1a = UNSTREAM_STRING( &constant_bin[ 1019 ], 17, 0 );
|
||
|
const_str_digest_3ee78085284ca4ccddce6c7ecdcd9286 = UNSTREAM_STRING( &constant_bin[ 1036 ], 40, 0 );
|
||
|
const_tuple_str_digest_8a2dacb4e3f80ac67310cd73b6d929b5_tuple = PyTuple_New( 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_digest_8a2dacb4e3f80ac67310cd73b6d929b5_tuple, 0, const_str_digest_8a2dacb4e3f80ac67310cd73b6d929b5 ); Py_INCREF( const_str_digest_8a2dacb4e3f80ac67310cd73b6d929b5 );
|
||
|
const_str_digest_1b915c780c42c339697a2abe578bd2c0 = UNSTREAM_STRING( &constant_bin[ 1076 ], 9, 0 );
|
||
|
const_tuple_b4ac77b7cfb74035d148717fc8538de3_tuple = PyTuple_New( 8 );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4ac77b7cfb74035d148717fc8538de3_tuple, 0, const_str_plain_update ); Py_INCREF( const_str_plain_update );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4ac77b7cfb74035d148717fc8538de3_tuple, 1, const_str_plain_s ); Py_INCREF( const_str_plain_s );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4ac77b7cfb74035d148717fc8538de3_tuple, 2, const_str_plain_msg ); Py_INCREF( const_str_plain_msg );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4ac77b7cfb74035d148717fc8538de3_tuple, 3, const_str_plain_tests ); Py_INCREF( const_str_plain_tests );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4ac77b7cfb74035d148717fc8538de3_tuple, 4, const_str_plain_i ); Py_INCREF( const_str_plain_i );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4ac77b7cfb74035d148717fc8538de3_tuple, 5, const_str_plain_subj ); Py_INCREF( const_str_plain_subj );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4ac77b7cfb74035d148717fc8538de3_tuple, 6, const_str_plain_j ); Py_INCREF( const_str_plain_j );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4ac77b7cfb74035d148717fc8538de3_tuple, 7, const_str_plain_test ); Py_INCREF( const_str_plain_test );
|
||
|
const_tuple_str_plain_bot_tuple = PyTuple_New( 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_plain_bot_tuple, 0, const_str_plain_bot ); Py_INCREF( const_str_plain_bot );
|
||
|
const_str_plain_Thread = UNSTREAM_STRING( &constant_bin[ 1085 ], 6, 1 );
|
||
|
const_str_digest_045af19e132211e803f04b83cd78893c = UNSTREAM_STRING( &constant_bin[ 123 ], 8, 0 );
|
||
|
const_str_plain_exit = UNSTREAM_STRING( &constant_bin[ 1091 ], 4, 1 );
|
||
|
const_tuple_str_digest_df8aadce2dd0078d0d257119f4778d1a_tuple = PyTuple_New( 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_digest_df8aadce2dd0078d0d257119f4778d1a_tuple, 0, const_str_digest_df8aadce2dd0078d0d257119f4778d1a ); Py_INCREF( const_str_digest_df8aadce2dd0078d0d257119f4778d1a );
|
||
|
const_tuple_324574a619c0d1420ad505fa57c2a0d1_tuple = PyTuple_New( 4 );
|
||
|
PyTuple_SET_ITEM( const_tuple_324574a619c0d1420ad505fa57c2a0d1_tuple, 0, const_str_plain_username ); Py_INCREF( const_str_plain_username );
|
||
|
PyTuple_SET_ITEM( const_tuple_324574a619c0d1420ad505fa57c2a0d1_tuple, 1, const_str_plain_password ); Py_INCREF( const_str_plain_password );
|
||
|
PyTuple_SET_ITEM( const_tuple_324574a619c0d1420ad505fa57c2a0d1_tuple, 2, const_str_plain_app ); Py_INCREF( const_str_plain_app );
|
||
|
PyTuple_SET_ITEM( const_tuple_324574a619c0d1420ad505fa57c2a0d1_tuple, 3, const_str_plain_e ); Py_INCREF( const_str_plain_e );
|
||
|
const_tuple_str_plain_sleep_tuple = PyTuple_New( 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_plain_sleep_tuple, 0, const_str_plain_sleep ); Py_INCREF( const_str_plain_sleep );
|
||
|
const_tuple_str_digest_3ee78085284ca4ccddce6c7ecdcd9286_tuple = PyTuple_New( 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_digest_3ee78085284ca4ccddce6c7ecdcd9286_tuple, 0, const_str_digest_3ee78085284ca4ccddce6c7ecdcd9286 ); Py_INCREF( const_str_digest_3ee78085284ca4ccddce6c7ecdcd9286 );
|
||
|
const_tuple_str_digest_76056612c1b5f6acbdf1fe39abd76baa_tuple = PyTuple_New( 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_digest_76056612c1b5f6acbdf1fe39abd76baa_tuple, 0, const_str_digest_76056612c1b5f6acbdf1fe39abd76baa ); Py_INCREF( const_str_digest_76056612c1b5f6acbdf1fe39abd76baa );
|
||
|
const_str_digest_b28dca1438895a0402b08cfca5ebe497 = UNSTREAM_STRING( &constant_bin[ 1095 ], 12, 0 );
|
||
|
const_str_digest_8de2abbd6c753874a130328c5dec4ed2 = UNSTREAM_STRING( &constant_bin[ 1107 ], 227, 0 );
|
||
|
const_str_angle_module = UNSTREAM_STRING( &constant_bin[ 1334 ], 8, 0 );
|
||
|
const_tuple_str_digest_8910a8ccb249bb5e997226211691c64e_tuple = PyTuple_New( 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_digest_8910a8ccb249bb5e997226211691c64e_tuple, 0, const_str_digest_8910a8ccb249bb5e997226211691c64e ); Py_INCREF( const_str_digest_8910a8ccb249bb5e997226211691c64e );
|
||
|
const_str_digest_8019ff954f84fe7c467cf3ba9a486bb7 = UNSTREAM_STRING( &constant_bin[ 1342 ], 13, 0 );
|
||
|
const_tuple_str_plain_bot_str_plain_update_str_plain_t_tuple = PyTuple_New( 3 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_plain_bot_str_plain_update_str_plain_t_tuple, 0, const_str_plain_bot ); Py_INCREF( const_str_plain_bot );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_plain_bot_str_plain_update_str_plain_t_tuple, 1, const_str_plain_update ); Py_INCREF( const_str_plain_update );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_plain_bot_str_plain_update_str_plain_t_tuple, 2, const_str_plain_t ); Py_INCREF( const_str_plain_t );
|
||
|
const_tuple_str_plain_Perdoliq_tuple = PyTuple_New( 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_plain_Perdoliq_tuple, 0, const_str_plain_Perdoliq ); Py_INCREF( const_str_plain_Perdoliq );
|
||
|
|
||
|
constants_created = true;
|
||
|
}
|
||
|
|
||
|
#ifndef __NUITKA_NO_ASSERT__
|
||
|
void checkModuleConstants___main__( void )
|
||
|
{
|
||
|
// The module may not have been used at all.
|
||
|
if (constants_created == false) return;
|
||
|
|
||
|
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
// The module code objects.
|
||
|
static PyCodeObject *codeobj_cf53816e6049eaa091004dae5c1891b5;
|
||
|
static PyCodeObject *codeobj_fbe78d4318365c2234c6781e5f79a6a4;
|
||
|
static PyCodeObject *codeobj_613aed1183e44c4296643da760fca18b;
|
||
|
static PyCodeObject *codeobj_a8af8c32cc5b42d6725fba1808e9d41f;
|
||
|
static PyCodeObject *codeobj_ae04b9db7fa2e2821d8e3fc8c89ec909;
|
||
|
static PyCodeObject *codeobj_fd7f38eb024bae1af6b10aec993f2b7d;
|
||
|
/* For use in "MainProgram.c". */
|
||
|
PyCodeObject *codeobj_main = NULL;
|
||
|
|
||
|
static void createModuleCodeObjects(void)
|
||
|
{
|
||
|
module_filename_obj = const_str_digest_16f6623827ecf2a13d2fd7ea5abdda8a;
|
||
|
codeobj_cf53816e6049eaa091004dae5c1891b5 = MAKE_CODEOBJ( module_filename_obj, const_str_angle_module, 1, const_tuple_empty, 0, 0, CO_NOFREE );
|
||
|
codeobj_main = codeobj_cf53816e6049eaa091004dae5c1891b5;
|
||
|
codeobj_fbe78d4318365c2234c6781e5f79a6a4 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_do_action, 84, const_tuple_b4ac77b7cfb74035d148717fc8538de3_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
||
|
codeobj_613aed1183e44c4296643da760fca18b = MAKE_CODEOBJ( module_filename_obj, const_str_plain_handle_update, 72, const_tuple_str_plain_bot_str_plain_update_str_plain_t_tuple, 1, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
||
|
codeobj_a8af8c32cc5b42d6725fba1808e9d41f = MAKE_CODEOBJ( module_filename_obj, const_str_plain_list_test, 63, const_tuple_324574a619c0d1420ad505fa57c2a0d1_tuple, 2, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
||
|
codeobj_ae04b9db7fa2e2821d8e3fc8c89ec909 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_main, 29, const_tuple_str_plain_bot_tuple, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
||
|
codeobj_fd7f38eb024bae1af6b10aec993f2b7d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_perdoliq, 54, const_tuple_4b574f015456e0e4f1db008211572bcb_tuple, 6, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
||
|
}
|
||
|
|
||
|
// The module function declarations.
|
||
|
static PyObject *MAKE_FUNCTION___main__$$$function_1_main( );
|
||
|
|
||
|
|
||
|
static PyObject *MAKE_FUNCTION___main__$$$function_2_perdoliq( );
|
||
|
|
||
|
|
||
|
static PyObject *MAKE_FUNCTION___main__$$$function_3_list_test( );
|
||
|
|
||
|
|
||
|
static PyObject *MAKE_FUNCTION___main__$$$function_4_handle_update( );
|
||
|
|
||
|
|
||
|
static PyObject *MAKE_FUNCTION___main__$$$function_5_do_action( );
|
||
|
|
||
|
|
||
|
// The module function definitions.
|
||
|
static PyObject *impl___main__$$$function_1_main( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
||
|
{
|
||
|
// Preserve error status for checks
|
||
|
#ifndef __NUITKA_NO_ASSERT__
|
||
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
||
|
#endif
|
||
|
|
||
|
// Local variable declarations.
|
||
|
PyObject *var_bot = NULL;
|
||
|
struct Nuitka_FrameObject *frame_ae04b9db7fa2e2821d8e3fc8c89ec909;
|
||
|
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;
|
||
|
PyObject *exception_preserved_type_1;
|
||
|
PyObject *exception_preserved_value_1;
|
||
|
PyTracebackObject *exception_preserved_tb_1;
|
||
|
int tmp_res;
|
||
|
bool tmp_result;
|
||
|
PyObject *exception_keeper_type_2;
|
||
|
PyObject *exception_keeper_value_2;
|
||
|
PyTracebackObject *exception_keeper_tb_2;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
||
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
||
|
PyObject *exception_keeper_type_3;
|
||
|
PyObject *exception_keeper_value_3;
|
||
|
PyTracebackObject *exception_keeper_tb_3;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
||
|
PyObject *exception_preserved_type_2;
|
||
|
PyObject *exception_preserved_value_2;
|
||
|
PyTracebackObject *exception_preserved_tb_2;
|
||
|
PyObject *exception_keeper_type_4;
|
||
|
PyObject *exception_keeper_value_4;
|
||
|
PyTracebackObject *exception_keeper_tb_4;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
||
|
static struct Nuitka_FrameObject *cache_frame_ae04b9db7fa2e2821d8e3fc8c89ec909 = NULL;
|
||
|
PyObject *exception_keeper_type_5;
|
||
|
PyObject *exception_keeper_value_5;
|
||
|
PyTracebackObject *exception_keeper_tb_5;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
|
||
|
|
||
|
// Actual function code.
|
||
|
{
|
||
|
// Tried code:
|
||
|
MAKE_OR_REUSE_FRAME( cache_frame_ae04b9db7fa2e2821d8e3fc8c89ec909, codeobj_ae04b9db7fa2e2821d8e3fc8c89ec909, module___main__, sizeof(void *) );
|
||
|
frame_ae04b9db7fa2e2821d8e3fc8c89ec909 = cache_frame_ae04b9db7fa2e2821d8e3fc8c89ec909;
|
||
|
|
||
|
// Push the new frame as the currently active one.
|
||
|
pushFrameStack( frame_ae04b9db7fa2e2821d8e3fc8c89ec909 );
|
||
|
|
||
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
||
|
assert( Py_REFCNT( frame_ae04b9db7fa2e2821d8e3fc8c89ec909 ) == 2 ); // Frame stack
|
||
|
|
||
|
// Framed code:
|
||
|
{
|
||
|
PyObject *tmp_assign_source_1;
|
||
|
PyObject *tmp_called_name_1;
|
||
|
PyObject *tmp_source_name_1;
|
||
|
PyObject *tmp_mvar_value_1;
|
||
|
PyObject *tmp_args_element_name_1;
|
||
|
PyObject *tmp_mvar_value_2;
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_telegram );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_telegram );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_1 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "telegram" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 33;
|
||
|
type_description_1 = "o";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_1 = tmp_mvar_value_1;
|
||
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_Bot );
|
||
|
if ( tmp_called_name_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 33;
|
||
|
type_description_1 = "o";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_TOKEN );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_TOKEN );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_2 == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_called_name_1 );
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "TOKEN" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 33;
|
||
|
type_description_1 = "o";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_args_element_name_1 = tmp_mvar_value_2;
|
||
|
frame_ae04b9db7fa2e2821d8e3fc8c89ec909->m_frame.f_lineno = 33;
|
||
|
{
|
||
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
||
|
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
||
|
}
|
||
|
|
||
|
Py_DECREF( tmp_called_name_1 );
|
||
|
if ( tmp_assign_source_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 33;
|
||
|
type_description_1 = "o";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( var_bot == NULL );
|
||
|
var_bot = tmp_assign_source_1;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
PyObject *tmp_assign_source_2;
|
||
|
PyObject *tmp_source_name_2;
|
||
|
PyObject *tmp_subscribed_name_1;
|
||
|
PyObject *tmp_called_instance_1;
|
||
|
PyObject *tmp_subscript_name_1;
|
||
|
CHECK_OBJECT( var_bot );
|
||
|
tmp_called_instance_1 = var_bot;
|
||
|
frame_ae04b9db7fa2e2821d8e3fc8c89ec909->m_frame.f_lineno = 39;
|
||
|
tmp_subscribed_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_get_updates );
|
||
|
if ( tmp_subscribed_name_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 39;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_subscript_name_1 = const_int_0;
|
||
|
tmp_source_name_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
|
||
|
Py_DECREF( tmp_subscribed_name_1 );
|
||
|
if ( tmp_source_name_2 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 39;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_assign_source_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_update_id );
|
||
|
Py_DECREF( tmp_source_name_2 );
|
||
|
if ( tmp_assign_source_2 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 39;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_update_id, tmp_assign_source_2 );
|
||
|
}
|
||
|
goto try_end_1;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_2:;
|
||
|
exception_keeper_type_1 = exception_type;
|
||
|
exception_keeper_value_1 = exception_value;
|
||
|
exception_keeper_tb_1 = exception_tb;
|
||
|
exception_keeper_lineno_1 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
// Preserve existing published exception.
|
||
|
exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_type_1 );
|
||
|
exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_value_1 );
|
||
|
exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_tb_1 );
|
||
|
|
||
|
}
|
||
|
{
|
||
|
if ( exception_keeper_tb_1 == NULL )
|
||
|
{
|
||
|
exception_keeper_tb_1 = MAKE_TRACEBACK( frame_ae04b9db7fa2e2821d8e3fc8c89ec909, exception_keeper_lineno_1 );
|
||
|
}
|
||
|
else if ( exception_keeper_lineno_1 != 0 )
|
||
|
{
|
||
|
exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_ae04b9db7fa2e2821d8e3fc8c89ec909, exception_keeper_lineno_1 );
|
||
|
}
|
||
|
|
||
|
NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
|
||
|
PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 );
|
||
|
PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
nuitka_bool tmp_condition_result_1;
|
||
|
PyObject *tmp_compexpr_left_1;
|
||
|
PyObject *tmp_compexpr_right_1;
|
||
|
tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET());
|
||
|
tmp_compexpr_right_1 = PyExc_IndexError;
|
||
|
tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
||
|
if ( tmp_res == -1 )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 40;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_3;
|
||
|
}
|
||
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
||
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
||
|
{
|
||
|
goto branch_yes_1;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
goto branch_no_1;
|
||
|
}
|
||
|
branch_yes_1:;
|
||
|
{
|
||
|
PyObject *tmp_assign_source_3;
|
||
|
tmp_assign_source_3 = Py_None;
|
||
|
UPDATE_STRING_DICT0( moduledict___main__, (Nuitka_StringObject *)const_str_plain_update_id, tmp_assign_source_3 );
|
||
|
}
|
||
|
goto branch_end_1;
|
||
|
branch_no_1:;
|
||
|
{
|
||
|
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
if (unlikely( tmp_result == false ))
|
||
|
{
|
||
|
exception_lineno = 38;
|
||
|
}
|
||
|
|
||
|
if (exception_tb && exception_tb->tb_frame == &frame_ae04b9db7fa2e2821d8e3fc8c89ec909->m_frame) frame_ae04b9db7fa2e2821d8e3fc8c89ec909->m_frame.f_lineno = exception_tb->tb_lineno;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_3;
|
||
|
}
|
||
|
branch_end_1:;
|
||
|
}
|
||
|
goto try_end_2;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_3:;
|
||
|
exception_keeper_type_2 = exception_type;
|
||
|
exception_keeper_value_2 = exception_value;
|
||
|
exception_keeper_tb_2 = exception_tb;
|
||
|
exception_keeper_lineno_2 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_2;
|
||
|
exception_value = exception_keeper_value_2;
|
||
|
exception_tb = exception_keeper_tb_2;
|
||
|
exception_lineno = exception_keeper_lineno_2;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
// End of try:
|
||
|
try_end_2:;
|
||
|
}
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
||
|
}
|
||
|
goto try_end_1;
|
||
|
// exception handler codes exits in all cases
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_1_main );
|
||
|
return NULL;
|
||
|
// End of try:
|
||
|
try_end_1:;
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_name_2;
|
||
|
PyObject *tmp_source_name_3;
|
||
|
PyObject *tmp_mvar_value_3;
|
||
|
PyObject *tmp_kw_name_1;
|
||
|
PyObject *tmp_dict_key_1;
|
||
|
PyObject *tmp_dict_value_1;
|
||
|
PyObject *tmp_source_name_4;
|
||
|
PyObject *tmp_mvar_value_4;
|
||
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_logging );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_logging );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_3 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "logging" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 43;
|
||
|
type_description_1 = "o";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_3 = tmp_mvar_value_3;
|
||
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_basicConfig );
|
||
|
if ( tmp_called_name_2 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 43;
|
||
|
type_description_1 = "o";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_dict_key_1 = const_str_plain_level;
|
||
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_logging );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_logging );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_4 == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_called_name_2 );
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "logging" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 43;
|
||
|
type_description_1 = "o";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_4 = tmp_mvar_value_4;
|
||
|
tmp_dict_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_DEBUG );
|
||
|
if ( tmp_dict_value_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
Py_DECREF( tmp_called_name_2 );
|
||
|
|
||
|
exception_lineno = 43;
|
||
|
type_description_1 = "o";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_kw_name_1 = _PyDict_NewPresized( 1 );
|
||
|
tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 );
|
||
|
Py_DECREF( tmp_dict_value_1 );
|
||
|
assert( !(tmp_res != 0) );
|
||
|
frame_ae04b9db7fa2e2821d8e3fc8c89ec909->m_frame.f_lineno = 43;
|
||
|
tmp_unused = CALL_FUNCTION_WITH_KEYARGS( tmp_called_name_2, tmp_kw_name_1 );
|
||
|
Py_DECREF( tmp_called_name_2 );
|
||
|
Py_DECREF( tmp_kw_name_1 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 43;
|
||
|
type_description_1 = "o";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
loop_start_1:;
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
PyObject *tmp_called_name_3;
|
||
|
PyObject *tmp_mvar_value_5;
|
||
|
PyObject *tmp_args_element_name_2;
|
||
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_handle_update );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_5 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_handle_update );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_5 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "handle_update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 46;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
|
||
|
tmp_called_name_3 = tmp_mvar_value_5;
|
||
|
if ( var_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 = 46;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
|
||
|
tmp_args_element_name_2 = var_bot;
|
||
|
frame_ae04b9db7fa2e2821d8e3fc8c89ec909->m_frame.f_lineno = 46;
|
||
|
{
|
||
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
||
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, call_args );
|
||
|
}
|
||
|
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 46;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
goto try_end_3;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_4:;
|
||
|
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;
|
||
|
|
||
|
{
|
||
|
// Preserve existing published exception.
|
||
|
exception_preserved_type_2 = EXC_TYPE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_type_2 );
|
||
|
exception_preserved_value_2 = EXC_VALUE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_value_2 );
|
||
|
exception_preserved_tb_2 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_tb_2 );
|
||
|
|
||
|
}
|
||
|
{
|
||
|
if ( exception_keeper_tb_3 == NULL )
|
||
|
{
|
||
|
exception_keeper_tb_3 = MAKE_TRACEBACK( frame_ae04b9db7fa2e2821d8e3fc8c89ec909, exception_keeper_lineno_3 );
|
||
|
}
|
||
|
else if ( exception_keeper_lineno_3 != 0 )
|
||
|
{
|
||
|
exception_keeper_tb_3 = ADD_TRACEBACK( exception_keeper_tb_3, frame_ae04b9db7fa2e2821d8e3fc8c89ec909, exception_keeper_lineno_3 );
|
||
|
}
|
||
|
|
||
|
NORMALIZE_EXCEPTION( &exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3 );
|
||
|
PyException_SetTraceback( exception_keeper_value_3, (PyObject *)exception_keeper_tb_3 );
|
||
|
PUBLISH_EXCEPTION( &exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3 );
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
nuitka_bool tmp_condition_result_2;
|
||
|
PyObject *tmp_compexpr_left_2;
|
||
|
PyObject *tmp_compexpr_right_2;
|
||
|
PyObject *tmp_mvar_value_6;
|
||
|
tmp_compexpr_left_2 = EXC_TYPE(PyThreadState_GET());
|
||
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_NetworkError );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_6 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_6 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_NetworkError );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_6 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "NetworkError" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 47;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_5;
|
||
|
}
|
||
|
|
||
|
tmp_compexpr_right_2 = tmp_mvar_value_6;
|
||
|
tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_2, tmp_compexpr_right_2 );
|
||
|
if ( tmp_res == -1 )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 47;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_5;
|
||
|
}
|
||
|
tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
||
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
||
|
{
|
||
|
goto branch_yes_2;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
goto branch_no_2;
|
||
|
}
|
||
|
branch_yes_2:;
|
||
|
{
|
||
|
PyObject *tmp_called_name_4;
|
||
|
PyObject *tmp_mvar_value_7;
|
||
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_sleep );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_7 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_7 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sleep );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_7 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sleep" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 48;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_5;
|
||
|
}
|
||
|
|
||
|
tmp_called_name_4 = tmp_mvar_value_7;
|
||
|
frame_ae04b9db7fa2e2821d8e3fc8c89ec909->m_frame.f_lineno = 48;
|
||
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_4, &PyTuple_GET_ITEM( const_tuple_int_pos_1_tuple, 0 ) );
|
||
|
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 48;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_5;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
goto branch_end_2;
|
||
|
branch_no_2:;
|
||
|
{
|
||
|
nuitka_bool tmp_condition_result_3;
|
||
|
PyObject *tmp_compexpr_left_3;
|
||
|
PyObject *tmp_compexpr_right_3;
|
||
|
PyObject *tmp_mvar_value_8;
|
||
|
tmp_compexpr_left_3 = EXC_TYPE(PyThreadState_GET());
|
||
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_Unauthorized );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_8 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_8 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Unauthorized );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_8 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Unauthorized" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 49;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_5;
|
||
|
}
|
||
|
|
||
|
tmp_compexpr_right_3 = tmp_mvar_value_8;
|
||
|
tmp_res = EXCEPTION_MATCH_BOOL( 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 = 49;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_5;
|
||
|
}
|
||
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
||
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
||
|
{
|
||
|
goto branch_yes_3;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
goto branch_no_3;
|
||
|
}
|
||
|
branch_yes_3:;
|
||
|
{
|
||
|
PyObject *tmp_assign_source_4;
|
||
|
PyObject *tmp_left_name_1;
|
||
|
PyObject *tmp_mvar_value_9;
|
||
|
PyObject *tmp_right_name_1;
|
||
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_update_id );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_9 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_9 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_update_id );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_9 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "update_id" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 51;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_5;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_1 = tmp_mvar_value_9;
|
||
|
tmp_right_name_1 = const_int_pos_1;
|
||
|
tmp_assign_source_4 = BINARY_OPERATION( PyNumber_InPlaceAdd, tmp_left_name_1, tmp_right_name_1 );
|
||
|
if ( tmp_assign_source_4 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 51;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_5;
|
||
|
}
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_update_id, tmp_assign_source_4 );
|
||
|
}
|
||
|
goto branch_end_3;
|
||
|
branch_no_3:;
|
||
|
{
|
||
|
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
if (unlikely( tmp_result == false ))
|
||
|
{
|
||
|
exception_lineno = 45;
|
||
|
}
|
||
|
|
||
|
if (exception_tb && exception_tb->tb_frame == &frame_ae04b9db7fa2e2821d8e3fc8c89ec909->m_frame) frame_ae04b9db7fa2e2821d8e3fc8c89ec909->m_frame.f_lineno = exception_tb->tb_lineno;
|
||
|
type_description_1 = "o";
|
||
|
goto try_except_handler_5;
|
||
|
}
|
||
|
branch_end_3:;
|
||
|
}
|
||
|
branch_end_2:;
|
||
|
}
|
||
|
goto try_end_4;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_5:;
|
||
|
exception_keeper_type_4 = exception_type;
|
||
|
exception_keeper_value_4 = exception_value;
|
||
|
exception_keeper_tb_4 = exception_tb;
|
||
|
exception_keeper_lineno_4 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 );
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_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_4:;
|
||
|
}
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 );
|
||
|
}
|
||
|
goto try_end_3;
|
||
|
// exception handler codes exits in all cases
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_1_main );
|
||
|
return NULL;
|
||
|
// End of try:
|
||
|
try_end_3:;
|
||
|
}
|
||
|
if ( CONSIDER_THREADING() == false )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 44;
|
||
|
type_description_1 = "o";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
goto loop_start_1;
|
||
|
}
|
||
|
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_ae04b9db7fa2e2821d8e3fc8c89ec909 );
|
||
|
#endif
|
||
|
|
||
|
// Put the previous frame back on top.
|
||
|
popFrameStack();
|
||
|
|
||
|
goto frame_no_exception_1;
|
||
|
|
||
|
frame_exception_exit_1:;
|
||
|
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_ae04b9db7fa2e2821d8e3fc8c89ec909 );
|
||
|
#endif
|
||
|
|
||
|
if ( exception_tb == NULL )
|
||
|
{
|
||
|
exception_tb = MAKE_TRACEBACK( frame_ae04b9db7fa2e2821d8e3fc8c89ec909, exception_lineno );
|
||
|
}
|
||
|
else if ( exception_tb->tb_frame != &frame_ae04b9db7fa2e2821d8e3fc8c89ec909->m_frame )
|
||
|
{
|
||
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_ae04b9db7fa2e2821d8e3fc8c89ec909, exception_lineno );
|
||
|
}
|
||
|
|
||
|
// Attachs locals to frame if any.
|
||
|
Nuitka_Frame_AttachLocals(
|
||
|
(struct Nuitka_FrameObject *)frame_ae04b9db7fa2e2821d8e3fc8c89ec909,
|
||
|
type_description_1,
|
||
|
var_bot
|
||
|
);
|
||
|
|
||
|
|
||
|
// Release cached frame.
|
||
|
if ( frame_ae04b9db7fa2e2821d8e3fc8c89ec909 == cache_frame_ae04b9db7fa2e2821d8e3fc8c89ec909 )
|
||
|
{
|
||
|
Py_DECREF( frame_ae04b9db7fa2e2821d8e3fc8c89ec909 );
|
||
|
}
|
||
|
cache_frame_ae04b9db7fa2e2821d8e3fc8c89ec909 = NULL;
|
||
|
|
||
|
assertFrameObject( frame_ae04b9db7fa2e2821d8e3fc8c89ec909 );
|
||
|
|
||
|
// 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( __main__$$$function_1_main );
|
||
|
return NULL;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_1:;
|
||
|
exception_keeper_type_5 = exception_type;
|
||
|
exception_keeper_value_5 = exception_value;
|
||
|
exception_keeper_tb_5 = exception_tb;
|
||
|
exception_keeper_lineno_5 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
Py_XDECREF( var_bot );
|
||
|
var_bot = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_5;
|
||
|
exception_value = exception_keeper_value_5;
|
||
|
exception_tb = exception_keeper_tb_5;
|
||
|
exception_lineno = exception_keeper_lineno_5;
|
||
|
|
||
|
goto function_exception_exit;
|
||
|
}
|
||
|
// End of try:
|
||
|
}
|
||
|
|
||
|
// Return statement must have exited already.
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_1_main );
|
||
|
return NULL;
|
||
|
|
||
|
function_exception_exit:
|
||
|
assert( exception_type );
|
||
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
||
|
|
||
|
return NULL;
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
static PyObject *impl___main__$$$function_2_perdoliq( 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_username = python_pars[ 0 ];
|
||
|
PyObject *par_password = python_pars[ 1 ];
|
||
|
PyObject *par_subj = python_pars[ 2 ];
|
||
|
PyObject *par_test = python_pars[ 3 ];
|
||
|
PyObject *par_acc = python_pars[ 4 ];
|
||
|
PyObject *par_is_delayed = python_pars[ 5 ];
|
||
|
PyObject *var_app = NULL;
|
||
|
PyObject *var_e = NULL;
|
||
|
struct Nuitka_FrameObject *frame_fd7f38eb024bae1af6b10aec993f2b7d;
|
||
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
||
|
PyObject *exception_type = NULL;
|
||
|
PyObject *exception_value = NULL;
|
||
|
PyTracebackObject *exception_tb = NULL;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
||
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
||
|
int tmp_res;
|
||
|
PyObject *exception_keeper_type_1;
|
||
|
PyObject *exception_keeper_value_1;
|
||
|
PyTracebackObject *exception_keeper_tb_1;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
||
|
PyObject *exception_preserved_type_1;
|
||
|
PyObject *exception_preserved_value_1;
|
||
|
PyTracebackObject *exception_preserved_tb_1;
|
||
|
PyObject *tmp_return_value = NULL;
|
||
|
PyObject *exception_keeper_type_2;
|
||
|
PyObject *exception_keeper_value_2;
|
||
|
PyTracebackObject *exception_keeper_tb_2;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
||
|
bool tmp_result;
|
||
|
PyObject *exception_keeper_type_3;
|
||
|
PyObject *exception_keeper_value_3;
|
||
|
PyTracebackObject *exception_keeper_tb_3;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
||
|
static struct Nuitka_FrameObject *cache_frame_fd7f38eb024bae1af6b10aec993f2b7d = NULL;
|
||
|
PyObject *exception_keeper_type_4;
|
||
|
PyObject *exception_keeper_value_4;
|
||
|
PyTracebackObject *exception_keeper_tb_4;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
||
|
|
||
|
// Actual function code.
|
||
|
{
|
||
|
// Tried code:
|
||
|
MAKE_OR_REUSE_FRAME( cache_frame_fd7f38eb024bae1af6b10aec993f2b7d, codeobj_fd7f38eb024bae1af6b10aec993f2b7d, module___main__, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
||
|
frame_fd7f38eb024bae1af6b10aec993f2b7d = cache_frame_fd7f38eb024bae1af6b10aec993f2b7d;
|
||
|
|
||
|
// Push the new frame as the currently active one.
|
||
|
pushFrameStack( frame_fd7f38eb024bae1af6b10aec993f2b7d );
|
||
|
|
||
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
||
|
assert( Py_REFCNT( frame_fd7f38eb024bae1af6b10aec993f2b7d ) == 2 ); // Frame stack
|
||
|
|
||
|
// Framed code:
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
PyObject *tmp_assign_source_1;
|
||
|
PyObject *tmp_called_name_1;
|
||
|
PyObject *tmp_mvar_value_1;
|
||
|
PyObject *tmp_args_element_name_1;
|
||
|
PyObject *tmp_args_element_name_2;
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_Perdoliq );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Perdoliq );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_1 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Perdoliq" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 56;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_called_name_1 = tmp_mvar_value_1;
|
||
|
CHECK_OBJECT( par_username );
|
||
|
tmp_args_element_name_1 = par_username;
|
||
|
CHECK_OBJECT( par_password );
|
||
|
tmp_args_element_name_2 = par_password;
|
||
|
frame_fd7f38eb024bae1af6b10aec993f2b7d->m_frame.f_lineno = 56;
|
||
|
{
|
||
|
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 );
|
||
|
}
|
||
|
|
||
|
if ( tmp_assign_source_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 56;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
assert( var_app == NULL );
|
||
|
var_app = tmp_assign_source_1;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_instance_1;
|
||
|
CHECK_OBJECT( var_app );
|
||
|
tmp_called_instance_1 = var_app;
|
||
|
frame_fd7f38eb024bae1af6b10aec993f2b7d->m_frame.f_lineno = 57;
|
||
|
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_auth );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 57;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_name_2;
|
||
|
PyObject *tmp_source_name_1;
|
||
|
PyObject *tmp_args_name_1;
|
||
|
PyObject *tmp_tuple_element_1;
|
||
|
PyObject *tmp_kw_name_1;
|
||
|
PyObject *tmp_dict_key_1;
|
||
|
PyObject *tmp_dict_value_1;
|
||
|
PyObject *tmp_int_arg_1;
|
||
|
if ( var_app == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 58;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_1 = var_app;
|
||
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_resolve );
|
||
|
if ( tmp_called_name_2 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 58;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
if ( par_subj == 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", "subj" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 58;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_1 = par_subj;
|
||
|
tmp_args_name_1 = PyTuple_New( 3 );
|
||
|
Py_INCREF( tmp_tuple_element_1 );
|
||
|
PyTuple_SET_ITEM( tmp_args_name_1, 0, tmp_tuple_element_1 );
|
||
|
if ( par_test == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_called_name_2 );
|
||
|
Py_DECREF( tmp_args_name_1 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "test" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 58;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_1 = par_test;
|
||
|
Py_INCREF( tmp_tuple_element_1 );
|
||
|
PyTuple_SET_ITEM( tmp_args_name_1, 1, tmp_tuple_element_1 );
|
||
|
if ( par_acc == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_called_name_2 );
|
||
|
Py_DECREF( tmp_args_name_1 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "acc" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 58;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_1 = par_acc;
|
||
|
Py_INCREF( tmp_tuple_element_1 );
|
||
|
PyTuple_SET_ITEM( tmp_args_name_1, 2, tmp_tuple_element_1 );
|
||
|
tmp_dict_key_1 = const_str_plain_is_delayed;
|
||
|
if ( par_is_delayed == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_called_name_2 );
|
||
|
Py_DECREF( tmp_args_name_1 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "is_delayed" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 58;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_int_arg_1 = par_is_delayed;
|
||
|
tmp_dict_value_1 = PyNumber_Int( tmp_int_arg_1 );
|
||
|
if ( tmp_dict_value_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
Py_DECREF( tmp_called_name_2 );
|
||
|
Py_DECREF( tmp_args_name_1 );
|
||
|
|
||
|
exception_lineno = 58;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_kw_name_1 = _PyDict_NewPresized( 1 );
|
||
|
tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 );
|
||
|
Py_DECREF( tmp_dict_value_1 );
|
||
|
assert( !(tmp_res != 0) );
|
||
|
frame_fd7f38eb024bae1af6b10aec993f2b7d->m_frame.f_lineno = 58;
|
||
|
tmp_unused = CALL_FUNCTION( tmp_called_name_2, tmp_args_name_1, tmp_kw_name_1 );
|
||
|
Py_DECREF( tmp_called_name_2 );
|
||
|
Py_DECREF( tmp_args_name_1 );
|
||
|
Py_DECREF( tmp_kw_name_1 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 58;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
goto try_end_1;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_2:;
|
||
|
exception_keeper_type_1 = exception_type;
|
||
|
exception_keeper_value_1 = exception_value;
|
||
|
exception_keeper_tb_1 = exception_tb;
|
||
|
exception_keeper_lineno_1 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
// Preserve existing published exception.
|
||
|
exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_type_1 );
|
||
|
exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_value_1 );
|
||
|
exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_tb_1 );
|
||
|
|
||
|
}
|
||
|
{
|
||
|
if ( exception_keeper_tb_1 == NULL )
|
||
|
{
|
||
|
exception_keeper_tb_1 = MAKE_TRACEBACK( frame_fd7f38eb024bae1af6b10aec993f2b7d, exception_keeper_lineno_1 );
|
||
|
}
|
||
|
else if ( exception_keeper_lineno_1 != 0 )
|
||
|
{
|
||
|
exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_fd7f38eb024bae1af6b10aec993f2b7d, exception_keeper_lineno_1 );
|
||
|
}
|
||
|
|
||
|
NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
|
||
|
PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 );
|
||
|
PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
nuitka_bool tmp_condition_result_1;
|
||
|
PyObject *tmp_compexpr_left_1;
|
||
|
PyObject *tmp_compexpr_right_1;
|
||
|
tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET());
|
||
|
tmp_compexpr_right_1 = PyExc_Exception;
|
||
|
tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
||
|
if ( tmp_res == -1 )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 59;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_3;
|
||
|
}
|
||
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
||
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
||
|
{
|
||
|
goto branch_yes_1;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
goto branch_no_1;
|
||
|
}
|
||
|
branch_yes_1:;
|
||
|
{
|
||
|
PyObject *tmp_assign_source_2;
|
||
|
tmp_assign_source_2 = EXC_VALUE(PyThreadState_GET());
|
||
|
assert( var_e == NULL );
|
||
|
Py_INCREF( tmp_assign_source_2 );
|
||
|
var_e = tmp_assign_source_2;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
PyObject *tmp_left_name_1;
|
||
|
PyObject *tmp_right_name_1;
|
||
|
PyObject *tmp_unicode_arg_1;
|
||
|
tmp_left_name_1 = const_str_digest_0059f0d4fb3d7c52933f1d7cdfee91af;
|
||
|
CHECK_OBJECT( var_e );
|
||
|
tmp_unicode_arg_1 = var_e;
|
||
|
tmp_right_name_1 = PyObject_Unicode( tmp_unicode_arg_1 );
|
||
|
if ( tmp_right_name_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 60;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
tmp_return_value = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 );
|
||
|
Py_DECREF( tmp_right_name_1 );
|
||
|
if ( tmp_return_value == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 60;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
goto try_return_handler_4;
|
||
|
}
|
||
|
// tried codes exits in all cases
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_2_perdoliq );
|
||
|
return NULL;
|
||
|
// Return handler code:
|
||
|
try_return_handler_4:;
|
||
|
{
|
||
|
Py_XDECREF( var_e );
|
||
|
var_e = 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_XDECREF( var_e );
|
||
|
var_e = 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:
|
||
|
}
|
||
|
goto branch_end_1;
|
||
|
branch_no_1:;
|
||
|
{
|
||
|
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
if (unlikely( tmp_result == false ))
|
||
|
{
|
||
|
exception_lineno = 55;
|
||
|
}
|
||
|
|
||
|
if (exception_tb && exception_tb->tb_frame == &frame_fd7f38eb024bae1af6b10aec993f2b7d->m_frame) frame_fd7f38eb024bae1af6b10aec993f2b7d->m_frame.f_lineno = exception_tb->tb_lineno;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_3;
|
||
|
}
|
||
|
branch_end_1:;
|
||
|
}
|
||
|
// tried codes exits in all cases
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_2_perdoliq );
|
||
|
return NULL;
|
||
|
// Return handler code:
|
||
|
try_return_handler_3:;
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
||
|
}
|
||
|
{
|
||
|
goto frame_return_exit_1;
|
||
|
}
|
||
|
// Exception handler code:
|
||
|
try_except_handler_3:;
|
||
|
exception_keeper_type_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;
|
||
|
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_3;
|
||
|
exception_value = exception_keeper_value_3;
|
||
|
exception_tb = exception_keeper_tb_3;
|
||
|
exception_lineno = exception_keeper_lineno_3;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
// End of try:
|
||
|
}
|
||
|
// End of try:
|
||
|
try_end_1:;
|
||
|
}
|
||
|
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_fd7f38eb024bae1af6b10aec993f2b7d );
|
||
|
#endif
|
||
|
|
||
|
// Put the previous frame back on top.
|
||
|
popFrameStack();
|
||
|
|
||
|
goto frame_no_exception_1;
|
||
|
|
||
|
frame_return_exit_1:;
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_fd7f38eb024bae1af6b10aec993f2b7d );
|
||
|
#endif
|
||
|
|
||
|
// Put the previous frame back on top.
|
||
|
popFrameStack();
|
||
|
|
||
|
goto try_return_handler_1;
|
||
|
|
||
|
frame_exception_exit_1:;
|
||
|
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_fd7f38eb024bae1af6b10aec993f2b7d );
|
||
|
#endif
|
||
|
|
||
|
if ( exception_tb == NULL )
|
||
|
{
|
||
|
exception_tb = MAKE_TRACEBACK( frame_fd7f38eb024bae1af6b10aec993f2b7d, exception_lineno );
|
||
|
}
|
||
|
else if ( exception_tb->tb_frame != &frame_fd7f38eb024bae1af6b10aec993f2b7d->m_frame )
|
||
|
{
|
||
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_fd7f38eb024bae1af6b10aec993f2b7d, exception_lineno );
|
||
|
}
|
||
|
|
||
|
// Attachs locals to frame if any.
|
||
|
Nuitka_Frame_AttachLocals(
|
||
|
(struct Nuitka_FrameObject *)frame_fd7f38eb024bae1af6b10aec993f2b7d,
|
||
|
type_description_1,
|
||
|
par_username,
|
||
|
par_password,
|
||
|
par_subj,
|
||
|
par_test,
|
||
|
par_acc,
|
||
|
par_is_delayed,
|
||
|
var_app,
|
||
|
var_e
|
||
|
);
|
||
|
|
||
|
|
||
|
// Release cached frame.
|
||
|
if ( frame_fd7f38eb024bae1af6b10aec993f2b7d == cache_frame_fd7f38eb024bae1af6b10aec993f2b7d )
|
||
|
{
|
||
|
Py_DECREF( frame_fd7f38eb024bae1af6b10aec993f2b7d );
|
||
|
}
|
||
|
cache_frame_fd7f38eb024bae1af6b10aec993f2b7d = NULL;
|
||
|
|
||
|
assertFrameObject( frame_fd7f38eb024bae1af6b10aec993f2b7d );
|
||
|
|
||
|
// 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( __main__$$$function_2_perdoliq );
|
||
|
return NULL;
|
||
|
// Return handler code:
|
||
|
try_return_handler_1:;
|
||
|
{
|
||
|
Py_XDECREF( par_username );
|
||
|
par_username = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_password );
|
||
|
par_password = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_subj );
|
||
|
par_subj = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_test );
|
||
|
par_test = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_acc );
|
||
|
par_acc = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_is_delayed );
|
||
|
par_is_delayed = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_app );
|
||
|
var_app = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_e );
|
||
|
var_e = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
goto function_return_exit;
|
||
|
}
|
||
|
// Exception handler code:
|
||
|
try_except_handler_1:;
|
||
|
exception_keeper_type_4 = exception_type;
|
||
|
exception_keeper_value_4 = exception_value;
|
||
|
exception_keeper_tb_4 = exception_tb;
|
||
|
exception_keeper_lineno_4 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
Py_XDECREF( par_username );
|
||
|
par_username = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_password );
|
||
|
par_password = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_subj );
|
||
|
par_subj = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_test );
|
||
|
par_test = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_acc );
|
||
|
par_acc = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_is_delayed );
|
||
|
par_is_delayed = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_app );
|
||
|
var_app = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_e );
|
||
|
var_e = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_4;
|
||
|
exception_value = exception_keeper_value_4;
|
||
|
exception_tb = exception_keeper_tb_4;
|
||
|
exception_lineno = exception_keeper_lineno_4;
|
||
|
|
||
|
goto function_exception_exit;
|
||
|
}
|
||
|
// End of try:
|
||
|
}
|
||
|
|
||
|
// Return statement must have exited already.
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_2_perdoliq );
|
||
|
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___main__$$$function_3_list_test( 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_username = python_pars[ 0 ];
|
||
|
PyObject *par_password = python_pars[ 1 ];
|
||
|
PyObject *var_app = NULL;
|
||
|
PyObject *var_e = NULL;
|
||
|
struct Nuitka_FrameObject *frame_a8af8c32cc5b42d6725fba1808e9d41f;
|
||
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
||
|
PyObject *exception_type = NULL;
|
||
|
PyObject *exception_value = NULL;
|
||
|
PyTracebackObject *exception_tb = NULL;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
||
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
||
|
PyObject *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;
|
||
|
PyObject *exception_preserved_type_1;
|
||
|
PyObject *exception_preserved_value_1;
|
||
|
PyTracebackObject *exception_preserved_tb_1;
|
||
|
int tmp_res;
|
||
|
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 *exception_keeper_type_3;
|
||
|
PyObject *exception_keeper_value_3;
|
||
|
PyTracebackObject *exception_keeper_tb_3;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
||
|
static struct Nuitka_FrameObject *cache_frame_a8af8c32cc5b42d6725fba1808e9d41f = NULL;
|
||
|
PyObject *exception_keeper_type_4;
|
||
|
PyObject *exception_keeper_value_4;
|
||
|
PyTracebackObject *exception_keeper_tb_4;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
||
|
|
||
|
// Actual function code.
|
||
|
{
|
||
|
// Tried code:
|
||
|
MAKE_OR_REUSE_FRAME( cache_frame_a8af8c32cc5b42d6725fba1808e9d41f, codeobj_a8af8c32cc5b42d6725fba1808e9d41f, module___main__, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
||
|
frame_a8af8c32cc5b42d6725fba1808e9d41f = cache_frame_a8af8c32cc5b42d6725fba1808e9d41f;
|
||
|
|
||
|
// Push the new frame as the currently active one.
|
||
|
pushFrameStack( frame_a8af8c32cc5b42d6725fba1808e9d41f );
|
||
|
|
||
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
||
|
assert( Py_REFCNT( frame_a8af8c32cc5b42d6725fba1808e9d41f ) == 2 ); // Frame stack
|
||
|
|
||
|
// Framed code:
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
PyObject *tmp_assign_source_1;
|
||
|
PyObject *tmp_called_name_1;
|
||
|
PyObject *tmp_mvar_value_1;
|
||
|
PyObject *tmp_args_element_name_1;
|
||
|
PyObject *tmp_args_element_name_2;
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_Perdoliq );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_Perdoliq );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_1 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "Perdoliq" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 65;
|
||
|
type_description_1 = "oooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_called_name_1 = tmp_mvar_value_1;
|
||
|
CHECK_OBJECT( par_username );
|
||
|
tmp_args_element_name_1 = par_username;
|
||
|
CHECK_OBJECT( par_password );
|
||
|
tmp_args_element_name_2 = par_password;
|
||
|
frame_a8af8c32cc5b42d6725fba1808e9d41f->m_frame.f_lineno = 65;
|
||
|
{
|
||
|
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 );
|
||
|
}
|
||
|
|
||
|
if ( tmp_assign_source_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 65;
|
||
|
type_description_1 = "oooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
assert( var_app == NULL );
|
||
|
var_app = tmp_assign_source_1;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_instance_1;
|
||
|
CHECK_OBJECT( var_app );
|
||
|
tmp_called_instance_1 = var_app;
|
||
|
frame_a8af8c32cc5b42d6725fba1808e9d41f->m_frame.f_lineno = 66;
|
||
|
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_auth );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 66;
|
||
|
type_description_1 = "oooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_instance_2;
|
||
|
if ( var_app == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "app" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 67;
|
||
|
type_description_1 = "oooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_called_instance_2 = var_app;
|
||
|
frame_a8af8c32cc5b42d6725fba1808e9d41f->m_frame.f_lineno = 67;
|
||
|
tmp_return_value = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_get_tests );
|
||
|
if ( tmp_return_value == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 67;
|
||
|
type_description_1 = "oooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
goto frame_return_exit_1;
|
||
|
}
|
||
|
// tried codes exits in all cases
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_3_list_test );
|
||
|
return NULL;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_2:;
|
||
|
exception_keeper_type_1 = exception_type;
|
||
|
exception_keeper_value_1 = exception_value;
|
||
|
exception_keeper_tb_1 = exception_tb;
|
||
|
exception_keeper_lineno_1 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
// Preserve existing published exception.
|
||
|
exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_type_1 );
|
||
|
exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_value_1 );
|
||
|
exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_tb_1 );
|
||
|
|
||
|
}
|
||
|
{
|
||
|
if ( exception_keeper_tb_1 == NULL )
|
||
|
{
|
||
|
exception_keeper_tb_1 = MAKE_TRACEBACK( frame_a8af8c32cc5b42d6725fba1808e9d41f, exception_keeper_lineno_1 );
|
||
|
}
|
||
|
else if ( exception_keeper_lineno_1 != 0 )
|
||
|
{
|
||
|
exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_a8af8c32cc5b42d6725fba1808e9d41f, exception_keeper_lineno_1 );
|
||
|
}
|
||
|
|
||
|
NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
|
||
|
PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 );
|
||
|
PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
nuitka_bool tmp_condition_result_1;
|
||
|
PyObject *tmp_compexpr_left_1;
|
||
|
PyObject *tmp_compexpr_right_1;
|
||
|
tmp_compexpr_left_1 = EXC_TYPE(PyThreadState_GET());
|
||
|
tmp_compexpr_right_1 = PyExc_Exception;
|
||
|
tmp_res = EXCEPTION_MATCH_BOOL( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
||
|
if ( tmp_res == -1 )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 68;
|
||
|
type_description_1 = "oooo";
|
||
|
goto try_except_handler_3;
|
||
|
}
|
||
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
||
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
||
|
{
|
||
|
goto branch_yes_1;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
goto branch_no_1;
|
||
|
}
|
||
|
branch_yes_1:;
|
||
|
{
|
||
|
PyObject *tmp_assign_source_2;
|
||
|
tmp_assign_source_2 = EXC_VALUE(PyThreadState_GET());
|
||
|
assert( var_e == NULL );
|
||
|
Py_INCREF( tmp_assign_source_2 );
|
||
|
var_e = tmp_assign_source_2;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
PyObject *tmp_left_name_1;
|
||
|
PyObject *tmp_right_name_1;
|
||
|
PyObject *tmp_unicode_arg_1;
|
||
|
tmp_left_name_1 = const_str_digest_0059f0d4fb3d7c52933f1d7cdfee91af;
|
||
|
CHECK_OBJECT( var_e );
|
||
|
tmp_unicode_arg_1 = var_e;
|
||
|
tmp_right_name_1 = PyObject_Unicode( tmp_unicode_arg_1 );
|
||
|
if ( tmp_right_name_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 69;
|
||
|
type_description_1 = "oooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
tmp_return_value = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 );
|
||
|
Py_DECREF( tmp_right_name_1 );
|
||
|
if ( tmp_return_value == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 69;
|
||
|
type_description_1 = "oooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
goto try_return_handler_4;
|
||
|
}
|
||
|
// tried codes exits in all cases
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_3_list_test );
|
||
|
return NULL;
|
||
|
// Return handler code:
|
||
|
try_return_handler_4:;
|
||
|
{
|
||
|
Py_XDECREF( var_e );
|
||
|
var_e = 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_XDECREF( var_e );
|
||
|
var_e = 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:
|
||
|
}
|
||
|
goto branch_end_1;
|
||
|
branch_no_1:;
|
||
|
{
|
||
|
tmp_result = RERAISE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
if (unlikely( tmp_result == false ))
|
||
|
{
|
||
|
exception_lineno = 64;
|
||
|
}
|
||
|
|
||
|
if (exception_tb && exception_tb->tb_frame == &frame_a8af8c32cc5b42d6725fba1808e9d41f->m_frame) frame_a8af8c32cc5b42d6725fba1808e9d41f->m_frame.f_lineno = exception_tb->tb_lineno;
|
||
|
type_description_1 = "oooo";
|
||
|
goto try_except_handler_3;
|
||
|
}
|
||
|
branch_end_1:;
|
||
|
}
|
||
|
// tried codes exits in all cases
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_3_list_test );
|
||
|
return NULL;
|
||
|
// Return handler code:
|
||
|
try_return_handler_3:;
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
||
|
}
|
||
|
{
|
||
|
goto frame_return_exit_1;
|
||
|
}
|
||
|
// Exception handler code:
|
||
|
try_except_handler_3:;
|
||
|
exception_keeper_type_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;
|
||
|
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_3;
|
||
|
exception_value = exception_keeper_value_3;
|
||
|
exception_tb = exception_keeper_tb_3;
|
||
|
exception_lineno = exception_keeper_lineno_3;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
// End of try:
|
||
|
}
|
||
|
// End of try:
|
||
|
}
|
||
|
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_a8af8c32cc5b42d6725fba1808e9d41f );
|
||
|
#endif
|
||
|
|
||
|
// Put the previous frame back on top.
|
||
|
popFrameStack();
|
||
|
|
||
|
goto frame_no_exception_1;
|
||
|
|
||
|
frame_return_exit_1:;
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_a8af8c32cc5b42d6725fba1808e9d41f );
|
||
|
#endif
|
||
|
|
||
|
// Put the previous frame back on top.
|
||
|
popFrameStack();
|
||
|
|
||
|
goto try_return_handler_1;
|
||
|
|
||
|
frame_exception_exit_1:;
|
||
|
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_a8af8c32cc5b42d6725fba1808e9d41f );
|
||
|
#endif
|
||
|
|
||
|
if ( exception_tb == NULL )
|
||
|
{
|
||
|
exception_tb = MAKE_TRACEBACK( frame_a8af8c32cc5b42d6725fba1808e9d41f, exception_lineno );
|
||
|
}
|
||
|
else if ( exception_tb->tb_frame != &frame_a8af8c32cc5b42d6725fba1808e9d41f->m_frame )
|
||
|
{
|
||
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_a8af8c32cc5b42d6725fba1808e9d41f, exception_lineno );
|
||
|
}
|
||
|
|
||
|
// Attachs locals to frame if any.
|
||
|
Nuitka_Frame_AttachLocals(
|
||
|
(struct Nuitka_FrameObject *)frame_a8af8c32cc5b42d6725fba1808e9d41f,
|
||
|
type_description_1,
|
||
|
par_username,
|
||
|
par_password,
|
||
|
var_app,
|
||
|
var_e
|
||
|
);
|
||
|
|
||
|
|
||
|
// Release cached frame.
|
||
|
if ( frame_a8af8c32cc5b42d6725fba1808e9d41f == cache_frame_a8af8c32cc5b42d6725fba1808e9d41f )
|
||
|
{
|
||
|
Py_DECREF( frame_a8af8c32cc5b42d6725fba1808e9d41f );
|
||
|
}
|
||
|
cache_frame_a8af8c32cc5b42d6725fba1808e9d41f = NULL;
|
||
|
|
||
|
assertFrameObject( frame_a8af8c32cc5b42d6725fba1808e9d41f );
|
||
|
|
||
|
// 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( __main__$$$function_3_list_test );
|
||
|
return NULL;
|
||
|
// Return handler code:
|
||
|
try_return_handler_1:;
|
||
|
{
|
||
|
Py_XDECREF( par_username );
|
||
|
par_username = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_password );
|
||
|
par_password = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_app );
|
||
|
var_app = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_e );
|
||
|
var_e = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
goto function_return_exit;
|
||
|
}
|
||
|
// Exception handler code:
|
||
|
try_except_handler_1:;
|
||
|
exception_keeper_type_4 = exception_type;
|
||
|
exception_keeper_value_4 = exception_value;
|
||
|
exception_keeper_tb_4 = exception_tb;
|
||
|
exception_keeper_lineno_4 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
Py_XDECREF( par_username );
|
||
|
par_username = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_password );
|
||
|
par_password = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_app );
|
||
|
var_app = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_e );
|
||
|
var_e = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_4;
|
||
|
exception_value = exception_keeper_value_4;
|
||
|
exception_tb = exception_keeper_tb_4;
|
||
|
exception_lineno = exception_keeper_lineno_4;
|
||
|
|
||
|
goto function_exception_exit;
|
||
|
}
|
||
|
// End of try:
|
||
|
}
|
||
|
|
||
|
// Return statement must have exited already.
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_3_list_test );
|
||
|
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___main__$$$function_4_handle_update( 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_bot = python_pars[ 0 ];
|
||
|
PyObject *var_update = NULL;
|
||
|
PyObject *var_t = NULL;
|
||
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
||
|
PyObject *tmp_for_loop_1__iter_value = NULL;
|
||
|
struct Nuitka_FrameObject *frame_613aed1183e44c4296643da760fca18b;
|
||
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
||
|
PyObject *exception_type = NULL;
|
||
|
PyObject *exception_value = NULL;
|
||
|
PyTracebackObject *exception_tb = NULL;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
||
|
int tmp_res;
|
||
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
||
|
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_613aed1183e44c4296643da760fca18b = NULL;
|
||
|
PyObject *tmp_return_value = NULL;
|
||
|
PyObject *exception_keeper_type_2;
|
||
|
PyObject *exception_keeper_value_2;
|
||
|
PyTracebackObject *exception_keeper_tb_2;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
||
|
|
||
|
// Actual function code.
|
||
|
{
|
||
|
// Tried code:
|
||
|
MAKE_OR_REUSE_FRAME( cache_frame_613aed1183e44c4296643da760fca18b, codeobj_613aed1183e44c4296643da760fca18b, module___main__, sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
||
|
frame_613aed1183e44c4296643da760fca18b = cache_frame_613aed1183e44c4296643da760fca18b;
|
||
|
|
||
|
// Push the new frame as the currently active one.
|
||
|
pushFrameStack( frame_613aed1183e44c4296643da760fca18b );
|
||
|
|
||
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
||
|
assert( Py_REFCNT( frame_613aed1183e44c4296643da760fca18b ) == 2 ); // Frame stack
|
||
|
|
||
|
// Framed code:
|
||
|
{
|
||
|
PyObject *tmp_assign_source_1;
|
||
|
PyObject *tmp_iter_arg_1;
|
||
|
PyObject *tmp_called_name_1;
|
||
|
PyObject *tmp_source_name_1;
|
||
|
PyObject *tmp_kw_name_1;
|
||
|
PyObject *tmp_dict_key_1;
|
||
|
PyObject *tmp_dict_value_1;
|
||
|
PyObject *tmp_mvar_value_1;
|
||
|
PyObject *tmp_dict_key_2;
|
||
|
PyObject *tmp_dict_value_2;
|
||
|
CHECK_OBJECT( par_bot );
|
||
|
tmp_source_name_1 = par_bot;
|
||
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_get_updates );
|
||
|
if ( tmp_called_name_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 76;
|
||
|
type_description_1 = "ooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_dict_key_1 = const_str_plain_offset;
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_update_id );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_update_id );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_1 == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_called_name_1 );
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "update_id" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 76;
|
||
|
type_description_1 = "ooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_dict_value_1 = tmp_mvar_value_1;
|
||
|
tmp_kw_name_1 = _PyDict_NewPresized( 2 );
|
||
|
tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_1, tmp_dict_value_1 );
|
||
|
assert( !(tmp_res != 0) );
|
||
|
tmp_dict_key_2 = const_str_plain_timeout;
|
||
|
tmp_dict_value_2 = const_int_pos_10;
|
||
|
tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_2, tmp_dict_value_2 );
|
||
|
assert( !(tmp_res != 0) );
|
||
|
frame_613aed1183e44c4296643da760fca18b->m_frame.f_lineno = 76;
|
||
|
tmp_iter_arg_1 = CALL_FUNCTION_WITH_KEYARGS( tmp_called_name_1, tmp_kw_name_1 );
|
||
|
Py_DECREF( tmp_called_name_1 );
|
||
|
Py_DECREF( tmp_kw_name_1 );
|
||
|
if ( tmp_iter_arg_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 76;
|
||
|
type_description_1 = "ooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_assign_source_1 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
||
|
Py_DECREF( tmp_iter_arg_1 );
|
||
|
if ( tmp_assign_source_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 76;
|
||
|
type_description_1 = "ooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
||
|
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
loop_start_1:;
|
||
|
{
|
||
|
PyObject *tmp_next_source_1;
|
||
|
PyObject *tmp_assign_source_2;
|
||
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
||
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
||
|
tmp_assign_source_2 = ITERATOR_NEXT( tmp_next_source_1 );
|
||
|
if ( tmp_assign_source_2 == NULL )
|
||
|
{
|
||
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
||
|
{
|
||
|
|
||
|
goto loop_end_1;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
type_description_1 = "ooo";
|
||
|
exception_lineno = 76;
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
{
|
||
|
PyObject *old = tmp_for_loop_1__iter_value;
|
||
|
tmp_for_loop_1__iter_value = tmp_assign_source_2;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_3;
|
||
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
||
|
tmp_assign_source_3 = tmp_for_loop_1__iter_value;
|
||
|
{
|
||
|
PyObject *old = var_update;
|
||
|
var_update = tmp_assign_source_3;
|
||
|
Py_INCREF( var_update );
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_4;
|
||
|
PyObject *tmp_left_name_1;
|
||
|
PyObject *tmp_source_name_2;
|
||
|
PyObject *tmp_right_name_1;
|
||
|
CHECK_OBJECT( var_update );
|
||
|
tmp_source_name_2 = var_update;
|
||
|
tmp_left_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_update_id );
|
||
|
if ( tmp_left_name_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 77;
|
||
|
type_description_1 = "ooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_right_name_1 = const_int_pos_1;
|
||
|
tmp_assign_source_4 = BINARY_OPERATION_ADD( tmp_left_name_1, tmp_right_name_1 );
|
||
|
Py_DECREF( tmp_left_name_1 );
|
||
|
if ( tmp_assign_source_4 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 77;
|
||
|
type_description_1 = "ooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_update_id, tmp_assign_source_4 );
|
||
|
}
|
||
|
{
|
||
|
nuitka_bool tmp_condition_result_1;
|
||
|
PyObject *tmp_source_name_3;
|
||
|
PyObject *tmp_attribute_value_1;
|
||
|
int tmp_truth_name_1;
|
||
|
if ( var_update == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 79;
|
||
|
type_description_1 = "ooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_3 = var_update;
|
||
|
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_message );
|
||
|
if ( tmp_attribute_value_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 79;
|
||
|
type_description_1 = "ooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_attribute_value_1 );
|
||
|
if ( tmp_truth_name_1 == -1 )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
Py_DECREF( tmp_attribute_value_1 );
|
||
|
|
||
|
exception_lineno = 79;
|
||
|
type_description_1 = "ooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
||
|
Py_DECREF( tmp_attribute_value_1 );
|
||
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
||
|
{
|
||
|
goto branch_yes_1;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
goto branch_no_1;
|
||
|
}
|
||
|
branch_yes_1:;
|
||
|
{
|
||
|
PyObject *tmp_assign_source_5;
|
||
|
PyObject *tmp_called_name_2;
|
||
|
PyObject *tmp_source_name_4;
|
||
|
PyObject *tmp_mvar_value_2;
|
||
|
PyObject *tmp_kw_name_2;
|
||
|
PyObject *tmp_dict_key_3;
|
||
|
PyObject *tmp_dict_value_3;
|
||
|
PyObject *tmp_mvar_value_3;
|
||
|
PyObject *tmp_dict_key_4;
|
||
|
PyObject *tmp_dict_value_4;
|
||
|
PyObject *tmp_tuple_element_1;
|
||
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_threading );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_threading );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_2 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "threading" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 81;
|
||
|
type_description_1 = "ooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_4 = tmp_mvar_value_2;
|
||
|
tmp_called_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_Thread );
|
||
|
if ( tmp_called_name_2 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 81;
|
||
|
type_description_1 = "ooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_dict_key_3 = const_str_plain_target;
|
||
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_do_action );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_do_action );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_3 == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_called_name_2 );
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "do_action" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 81;
|
||
|
type_description_1 = "ooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_dict_value_3 = tmp_mvar_value_3;
|
||
|
tmp_kw_name_2 = _PyDict_NewPresized( 2 );
|
||
|
tmp_res = PyDict_SetItem( tmp_kw_name_2, tmp_dict_key_3, tmp_dict_value_3 );
|
||
|
assert( !(tmp_res != 0) );
|
||
|
tmp_dict_key_4 = const_str_plain_args;
|
||
|
if ( var_update == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_called_name_2 );
|
||
|
Py_DECREF( tmp_kw_name_2 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 81;
|
||
|
type_description_1 = "ooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_1 = var_update;
|
||
|
tmp_dict_value_4 = PyTuple_New( 1 );
|
||
|
Py_INCREF( tmp_tuple_element_1 );
|
||
|
PyTuple_SET_ITEM( tmp_dict_value_4, 0, tmp_tuple_element_1 );
|
||
|
tmp_res = PyDict_SetItem( tmp_kw_name_2, tmp_dict_key_4, tmp_dict_value_4 );
|
||
|
Py_DECREF( tmp_dict_value_4 );
|
||
|
assert( !(tmp_res != 0) );
|
||
|
frame_613aed1183e44c4296643da760fca18b->m_frame.f_lineno = 81;
|
||
|
tmp_assign_source_5 = CALL_FUNCTION_WITH_KEYARGS( tmp_called_name_2, tmp_kw_name_2 );
|
||
|
Py_DECREF( tmp_called_name_2 );
|
||
|
Py_DECREF( tmp_kw_name_2 );
|
||
|
if ( tmp_assign_source_5 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 81;
|
||
|
type_description_1 = "ooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
{
|
||
|
PyObject *old = var_t;
|
||
|
var_t = tmp_assign_source_5;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_instance_1;
|
||
|
CHECK_OBJECT( var_t );
|
||
|
tmp_called_instance_1 = var_t;
|
||
|
frame_613aed1183e44c4296643da760fca18b->m_frame.f_lineno = 82;
|
||
|
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_start );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 82;
|
||
|
type_description_1 = "ooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
branch_no_1:;
|
||
|
}
|
||
|
if ( CONSIDER_THREADING() == false )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 76;
|
||
|
type_description_1 = "ooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
goto loop_start_1;
|
||
|
loop_end_1:;
|
||
|
}
|
||
|
goto try_end_1;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_2:;
|
||
|
exception_keeper_type_1 = exception_type;
|
||
|
exception_keeper_value_1 = exception_value;
|
||
|
exception_keeper_tb_1 = exception_tb;
|
||
|
exception_keeper_lineno_1 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
||
|
tmp_for_loop_1__iter_value = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
||
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
||
|
tmp_for_loop_1__for_iterator = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_1;
|
||
|
exception_value = exception_keeper_value_1;
|
||
|
exception_tb = exception_keeper_tb_1;
|
||
|
exception_lineno = exception_keeper_lineno_1;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
// End of try:
|
||
|
try_end_1:;
|
||
|
}
|
||
|
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_613aed1183e44c4296643da760fca18b );
|
||
|
#endif
|
||
|
|
||
|
// Put the previous frame back on top.
|
||
|
popFrameStack();
|
||
|
|
||
|
goto frame_no_exception_1;
|
||
|
|
||
|
frame_exception_exit_1:;
|
||
|
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_613aed1183e44c4296643da760fca18b );
|
||
|
#endif
|
||
|
|
||
|
if ( exception_tb == NULL )
|
||
|
{
|
||
|
exception_tb = MAKE_TRACEBACK( frame_613aed1183e44c4296643da760fca18b, exception_lineno );
|
||
|
}
|
||
|
else if ( exception_tb->tb_frame != &frame_613aed1183e44c4296643da760fca18b->m_frame )
|
||
|
{
|
||
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_613aed1183e44c4296643da760fca18b, exception_lineno );
|
||
|
}
|
||
|
|
||
|
// Attachs locals to frame if any.
|
||
|
Nuitka_Frame_AttachLocals(
|
||
|
(struct Nuitka_FrameObject *)frame_613aed1183e44c4296643da760fca18b,
|
||
|
type_description_1,
|
||
|
par_bot,
|
||
|
var_update,
|
||
|
var_t
|
||
|
);
|
||
|
|
||
|
|
||
|
// Release cached frame.
|
||
|
if ( frame_613aed1183e44c4296643da760fca18b == cache_frame_613aed1183e44c4296643da760fca18b )
|
||
|
{
|
||
|
Py_DECREF( frame_613aed1183e44c4296643da760fca18b );
|
||
|
}
|
||
|
cache_frame_613aed1183e44c4296643da760fca18b = NULL;
|
||
|
|
||
|
assertFrameObject( frame_613aed1183e44c4296643da760fca18b );
|
||
|
|
||
|
// Put the previous frame back on top.
|
||
|
popFrameStack();
|
||
|
|
||
|
// Return the error.
|
||
|
goto try_except_handler_1;
|
||
|
|
||
|
frame_no_exception_1:;
|
||
|
{
|
||
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
||
|
tmp_for_loop_1__iter_value = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
||
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
||
|
tmp_for_loop_1__for_iterator = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
tmp_return_value = Py_None;
|
||
|
Py_INCREF( tmp_return_value );
|
||
|
goto try_return_handler_1;
|
||
|
}
|
||
|
// tried codes exits in all cases
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_4_handle_update );
|
||
|
return NULL;
|
||
|
// Return handler code:
|
||
|
try_return_handler_1:;
|
||
|
{
|
||
|
Py_XDECREF( par_bot );
|
||
|
par_bot = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_update );
|
||
|
var_update = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_t );
|
||
|
var_t = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
goto function_return_exit;
|
||
|
}
|
||
|
// Exception handler code:
|
||
|
try_except_handler_1:;
|
||
|
exception_keeper_type_2 = exception_type;
|
||
|
exception_keeper_value_2 = exception_value;
|
||
|
exception_keeper_tb_2 = exception_tb;
|
||
|
exception_keeper_lineno_2 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
Py_XDECREF( par_bot );
|
||
|
par_bot = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_update );
|
||
|
var_update = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_t );
|
||
|
var_t = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_2;
|
||
|
exception_value = exception_keeper_value_2;
|
||
|
exception_tb = exception_keeper_tb_2;
|
||
|
exception_lineno = exception_keeper_lineno_2;
|
||
|
|
||
|
goto function_exception_exit;
|
||
|
}
|
||
|
// End of try:
|
||
|
}
|
||
|
|
||
|
// Return statement must have exited already.
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_4_handle_update );
|
||
|
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___main__$$$function_5_do_action( struct Nuitka_FunctionObject const *self, PyObject **python_pars )
|
||
|
{
|
||
|
// Preserve error status for checks
|
||
|
#ifndef __NUITKA_NO_ASSERT__
|
||
|
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
|
||
|
#endif
|
||
|
|
||
|
// Local variable declarations.
|
||
|
PyObject *par_update = python_pars[ 0 ];
|
||
|
PyObject *var_s = NULL;
|
||
|
PyObject *var_msg = NULL;
|
||
|
PyObject *var_tests = NULL;
|
||
|
PyObject *var_i = NULL;
|
||
|
PyObject *var_subj = NULL;
|
||
|
PyObject *var_j = NULL;
|
||
|
PyObject *var_test = NULL;
|
||
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
||
|
PyObject *tmp_for_loop_1__iter_value = NULL;
|
||
|
PyObject *tmp_for_loop_2__for_iterator = NULL;
|
||
|
PyObject *tmp_for_loop_2__iter_value = NULL;
|
||
|
struct Nuitka_FrameObject *frame_fbe78d4318365c2234c6781e5f79a6a4;
|
||
|
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;
|
||
|
PyObject *exception_preserved_type_1;
|
||
|
PyObject *exception_preserved_value_1;
|
||
|
PyTracebackObject *exception_preserved_tb_1;
|
||
|
PyObject *tmp_return_value = NULL;
|
||
|
int tmp_res;
|
||
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
||
|
PyObject *exception_keeper_type_2;
|
||
|
PyObject *exception_keeper_value_2;
|
||
|
PyTracebackObject *exception_keeper_tb_2;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
||
|
PyObject *exception_preserved_type_2;
|
||
|
PyObject *exception_preserved_value_2;
|
||
|
PyTracebackObject *exception_preserved_tb_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;
|
||
|
bool tmp_result;
|
||
|
PyObject *exception_keeper_type_4;
|
||
|
PyObject *exception_keeper_value_4;
|
||
|
PyTracebackObject *exception_keeper_tb_4;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
||
|
PyObject *exception_keeper_type_5;
|
||
|
PyObject *exception_keeper_value_5;
|
||
|
PyTracebackObject *exception_keeper_tb_5;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
|
||
|
static struct Nuitka_FrameObject *cache_frame_fbe78d4318365c2234c6781e5f79a6a4 = NULL;
|
||
|
PyObject *exception_keeper_type_6;
|
||
|
PyObject *exception_keeper_value_6;
|
||
|
PyTracebackObject *exception_keeper_tb_6;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
|
||
|
|
||
|
// Actual function code.
|
||
|
{
|
||
|
// Tried code:
|
||
|
MAKE_OR_REUSE_FRAME( cache_frame_fbe78d4318365c2234c6781e5f79a6a4, codeobj_fbe78d4318365c2234c6781e5f79a6a4, module___main__, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4 = cache_frame_fbe78d4318365c2234c6781e5f79a6a4;
|
||
|
|
||
|
// Push the new frame as the currently active one.
|
||
|
pushFrameStack( frame_fbe78d4318365c2234c6781e5f79a6a4 );
|
||
|
|
||
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
||
|
assert( Py_REFCNT( frame_fbe78d4318365c2234c6781e5f79a6a4 ) == 2 ); // Frame stack
|
||
|
|
||
|
// Framed code:
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
PyObject *tmp_assign_source_1;
|
||
|
PyObject *tmp_called_instance_1;
|
||
|
PyObject *tmp_source_name_1;
|
||
|
PyObject *tmp_source_name_2;
|
||
|
CHECK_OBJECT( par_update );
|
||
|
tmp_source_name_2 = par_update;
|
||
|
tmp_source_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_message );
|
||
|
if ( tmp_source_name_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 86;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_called_instance_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_text );
|
||
|
Py_DECREF( tmp_source_name_1 );
|
||
|
if ( tmp_called_instance_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 86;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 86;
|
||
|
tmp_assign_source_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_split );
|
||
|
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 = 86;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
assert( var_s == NULL );
|
||
|
var_s = tmp_assign_source_1;
|
||
|
|
||
|
}
|
||
|
goto try_end_1;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_2:;
|
||
|
exception_keeper_type_1 = exception_type;
|
||
|
exception_keeper_value_1 = exception_value;
|
||
|
exception_keeper_tb_1 = exception_tb;
|
||
|
exception_keeper_lineno_1 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
// Preserve existing published exception.
|
||
|
exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_type_1 );
|
||
|
exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_value_1 );
|
||
|
exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_tb_1 );
|
||
|
|
||
|
}
|
||
|
{
|
||
|
if ( exception_keeper_tb_1 == NULL )
|
||
|
{
|
||
|
exception_keeper_tb_1 = MAKE_TRACEBACK( frame_fbe78d4318365c2234c6781e5f79a6a4, exception_keeper_lineno_1 );
|
||
|
}
|
||
|
else if ( exception_keeper_lineno_1 != 0 )
|
||
|
{
|
||
|
exception_keeper_tb_1 = ADD_TRACEBACK( exception_keeper_tb_1, frame_fbe78d4318365c2234c6781e5f79a6a4, exception_keeper_lineno_1 );
|
||
|
}
|
||
|
|
||
|
NORMALIZE_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
|
||
|
PyException_SetTraceback( exception_keeper_value_1, (PyObject *)exception_keeper_tb_1 );
|
||
|
PUBLISH_EXCEPTION( &exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1 );
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
tmp_return_value = const_int_pos_1;
|
||
|
Py_INCREF( tmp_return_value );
|
||
|
goto try_return_handler_3;
|
||
|
}
|
||
|
// tried codes exits in all cases
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_5_do_action );
|
||
|
return NULL;
|
||
|
// Return handler code:
|
||
|
try_return_handler_3:;
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
||
|
}
|
||
|
{
|
||
|
goto frame_return_exit_1;
|
||
|
}
|
||
|
// End of try:
|
||
|
}
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
||
|
}
|
||
|
goto try_end_1;
|
||
|
// exception handler codes exits in all cases
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_5_do_action );
|
||
|
return NULL;
|
||
|
// End of try:
|
||
|
try_end_1:;
|
||
|
}
|
||
|
{
|
||
|
nuitka_bool tmp_condition_result_1;
|
||
|
PyObject *tmp_compexpr_left_1;
|
||
|
PyObject *tmp_compexpr_right_1;
|
||
|
PyObject *tmp_subscribed_name_1;
|
||
|
PyObject *tmp_subscript_name_1;
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 89;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_subscribed_name_1 = var_s;
|
||
|
tmp_subscript_name_1 = const_int_0;
|
||
|
tmp_compexpr_left_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_1, tmp_subscript_name_1, 0 );
|
||
|
if ( tmp_compexpr_left_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 89;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_compexpr_right_1 = const_str_digest_045af19e132211e803f04b83cd78893c;
|
||
|
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
||
|
Py_DECREF( tmp_compexpr_left_1 );
|
||
|
if ( tmp_res == -1 )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 89;
|
||
|
type_description_1 = "oooooooo";
|
||
|
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:;
|
||
|
{
|
||
|
nuitka_bool tmp_condition_result_2;
|
||
|
PyObject *tmp_compexpr_left_2;
|
||
|
PyObject *tmp_compexpr_right_2;
|
||
|
PyObject *tmp_len_arg_1;
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 90;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_len_arg_1 = var_s;
|
||
|
tmp_compexpr_left_2 = BUILTIN_LEN( tmp_len_arg_1 );
|
||
|
if ( tmp_compexpr_left_2 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 90;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_compexpr_right_2 = const_int_pos_7;
|
||
|
tmp_res = RICH_COMPARE_BOOL_NE( tmp_compexpr_left_2, tmp_compexpr_right_2 );
|
||
|
Py_DECREF( tmp_compexpr_left_2 );
|
||
|
if ( tmp_res == -1 )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 90;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_condition_result_2 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
||
|
if ( tmp_condition_result_2 == NUITKA_BOOL_TRUE )
|
||
|
{
|
||
|
goto branch_yes_2;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
goto branch_no_2;
|
||
|
}
|
||
|
branch_yes_2:;
|
||
|
{
|
||
|
PyObject *tmp_called_instance_2;
|
||
|
PyObject *tmp_source_name_3;
|
||
|
if ( par_update == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 91;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_3 = par_update;
|
||
|
tmp_called_instance_2 = LOOKUP_ATTRIBUTE( tmp_source_name_3, const_str_plain_message );
|
||
|
if ( tmp_called_instance_2 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 91;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 91;
|
||
|
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_2, const_str_plain_reply_markdown, &PyTuple_GET_ITEM( const_tuple_str_digest_068fa0b62c8596d1229686acd2337e4c_tuple, 0 ) );
|
||
|
|
||
|
Py_DECREF( tmp_called_instance_2 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 91;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_instance_3;
|
||
|
PyObject *tmp_source_name_4;
|
||
|
if ( par_update == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 92;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_4 = par_update;
|
||
|
tmp_called_instance_3 = LOOKUP_ATTRIBUTE( tmp_source_name_4, const_str_plain_message );
|
||
|
if ( tmp_called_instance_3 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 92;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 92;
|
||
|
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_3, const_str_plain_reply_markdown, &PyTuple_GET_ITEM( const_tuple_str_digest_8a2dacb4e3f80ac67310cd73b6d929b5_tuple, 0 ) );
|
||
|
|
||
|
Py_DECREF( tmp_called_instance_3 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 92;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
tmp_return_value = Py_False;
|
||
|
Py_INCREF( tmp_return_value );
|
||
|
goto frame_return_exit_1;
|
||
|
}
|
||
|
branch_no_2:;
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_2;
|
||
|
PyObject *tmp_left_name_1;
|
||
|
PyObject *tmp_right_name_1;
|
||
|
PyObject *tmp_tuple_element_1;
|
||
|
PyObject *tmp_subscribed_name_2;
|
||
|
PyObject *tmp_subscript_name_2;
|
||
|
PyObject *tmp_subscribed_name_3;
|
||
|
PyObject *tmp_subscript_name_3;
|
||
|
PyObject *tmp_subscribed_name_4;
|
||
|
PyObject *tmp_subscript_name_4;
|
||
|
tmp_left_name_1 = const_str_digest_2a5e6f3ecb7c2e09fc9340837db4071a;
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 103;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_subscribed_name_2 = var_s;
|
||
|
tmp_subscript_name_2 = const_int_pos_3;
|
||
|
tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_2, tmp_subscript_name_2, 3 );
|
||
|
if ( tmp_tuple_element_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 103;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_right_name_1 = PyTuple_New( 3 );
|
||
|
PyTuple_SET_ITEM( tmp_right_name_1, 0, tmp_tuple_element_1 );
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_right_name_1 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 103;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_subscribed_name_3 = var_s;
|
||
|
tmp_subscript_name_3 = const_int_pos_4;
|
||
|
tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_3, tmp_subscript_name_3, 4 );
|
||
|
if ( tmp_tuple_element_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
Py_DECREF( tmp_right_name_1 );
|
||
|
|
||
|
exception_lineno = 103;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
PyTuple_SET_ITEM( tmp_right_name_1, 1, tmp_tuple_element_1 );
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_right_name_1 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 103;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_subscribed_name_4 = var_s;
|
||
|
tmp_subscript_name_4 = const_int_pos_5;
|
||
|
tmp_tuple_element_1 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_4, tmp_subscript_name_4, 5 );
|
||
|
if ( tmp_tuple_element_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
Py_DECREF( tmp_right_name_1 );
|
||
|
|
||
|
exception_lineno = 103;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
PyTuple_SET_ITEM( tmp_right_name_1, 2, tmp_tuple_element_1 );
|
||
|
tmp_assign_source_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_1, tmp_right_name_1 );
|
||
|
Py_DECREF( tmp_right_name_1 );
|
||
|
if ( tmp_assign_source_2 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 97;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( var_msg == NULL );
|
||
|
var_msg = tmp_assign_source_2;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_name_1;
|
||
|
PyObject *tmp_source_name_5;
|
||
|
PyObject *tmp_source_name_6;
|
||
|
PyObject *tmp_args_element_name_1;
|
||
|
if ( par_update == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 104;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_6 = par_update;
|
||
|
tmp_source_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_6, const_str_plain_message );
|
||
|
if ( tmp_source_name_5 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 104;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_called_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_5, const_str_plain_reply_text );
|
||
|
Py_DECREF( tmp_source_name_5 );
|
||
|
if ( tmp_called_name_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 104;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
if ( var_msg == 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", "msg" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 104;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_args_element_name_1 = var_msg;
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 104;
|
||
|
{
|
||
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
||
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
||
|
}
|
||
|
|
||
|
Py_DECREF( tmp_called_name_1 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 104;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_instance_4;
|
||
|
PyObject *tmp_source_name_7;
|
||
|
if ( par_update == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 105;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_7 = par_update;
|
||
|
tmp_called_instance_4 = LOOKUP_ATTRIBUTE( tmp_source_name_7, const_str_plain_message );
|
||
|
if ( tmp_called_instance_4 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 105;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 105;
|
||
|
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_4, const_str_plain_reply_text, &PyTuple_GET_ITEM( const_tuple_str_digest_76056612c1b5f6acbdf1fe39abd76baa_tuple, 0 ) );
|
||
|
|
||
|
Py_DECREF( tmp_called_instance_4 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 105;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_name_2;
|
||
|
PyObject *tmp_mvar_value_1;
|
||
|
PyObject *tmp_args_element_name_2;
|
||
|
PyObject *tmp_subscribed_name_5;
|
||
|
PyObject *tmp_subscript_name_5;
|
||
|
PyObject *tmp_args_element_name_3;
|
||
|
PyObject *tmp_subscribed_name_6;
|
||
|
PyObject *tmp_subscript_name_6;
|
||
|
PyObject *tmp_args_element_name_4;
|
||
|
PyObject *tmp_subscribed_name_7;
|
||
|
PyObject *tmp_subscript_name_7;
|
||
|
PyObject *tmp_args_element_name_5;
|
||
|
PyObject *tmp_subscribed_name_8;
|
||
|
PyObject *tmp_subscript_name_8;
|
||
|
PyObject *tmp_args_element_name_6;
|
||
|
PyObject *tmp_subscribed_name_9;
|
||
|
PyObject *tmp_subscript_name_9;
|
||
|
PyObject *tmp_args_element_name_7;
|
||
|
PyObject *tmp_subscribed_name_10;
|
||
|
PyObject *tmp_subscript_name_10;
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_perdoliq );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_perdoliq );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_1 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "perdoliq" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 109;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_called_name_2 = tmp_mvar_value_1;
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 109;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_subscribed_name_5 = var_s;
|
||
|
tmp_subscript_name_5 = const_int_pos_1;
|
||
|
tmp_args_element_name_2 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_5, tmp_subscript_name_5, 1 );
|
||
|
if ( tmp_args_element_name_2 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 109;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_args_element_name_2 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 109;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_subscribed_name_6 = var_s;
|
||
|
tmp_subscript_name_6 = const_int_pos_2;
|
||
|
tmp_args_element_name_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_6, tmp_subscript_name_6, 2 );
|
||
|
if ( tmp_args_element_name_3 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
Py_DECREF( tmp_args_element_name_2 );
|
||
|
|
||
|
exception_lineno = 109;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_args_element_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", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 109;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_subscribed_name_7 = var_s;
|
||
|
tmp_subscript_name_7 = const_int_pos_3;
|
||
|
tmp_args_element_name_4 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_7, tmp_subscript_name_7, 3 );
|
||
|
if ( tmp_args_element_name_4 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
Py_DECREF( tmp_args_element_name_2 );
|
||
|
Py_DECREF( tmp_args_element_name_3 );
|
||
|
|
||
|
exception_lineno = 109;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_args_element_name_2 );
|
||
|
Py_DECREF( tmp_args_element_name_3 );
|
||
|
Py_DECREF( tmp_args_element_name_4 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 109;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_subscribed_name_8 = var_s;
|
||
|
tmp_subscript_name_8 = const_int_pos_4;
|
||
|
tmp_args_element_name_5 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_8, tmp_subscript_name_8, 4 );
|
||
|
if ( tmp_args_element_name_5 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
Py_DECREF( tmp_args_element_name_2 );
|
||
|
Py_DECREF( tmp_args_element_name_3 );
|
||
|
Py_DECREF( tmp_args_element_name_4 );
|
||
|
|
||
|
exception_lineno = 109;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_args_element_name_2 );
|
||
|
Py_DECREF( tmp_args_element_name_3 );
|
||
|
Py_DECREF( tmp_args_element_name_4 );
|
||
|
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", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 109;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_subscribed_name_9 = var_s;
|
||
|
tmp_subscript_name_9 = const_int_pos_5;
|
||
|
tmp_args_element_name_6 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_9, tmp_subscript_name_9, 5 );
|
||
|
if ( tmp_args_element_name_6 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
Py_DECREF( tmp_args_element_name_2 );
|
||
|
Py_DECREF( tmp_args_element_name_3 );
|
||
|
Py_DECREF( tmp_args_element_name_4 );
|
||
|
Py_DECREF( tmp_args_element_name_5 );
|
||
|
|
||
|
exception_lineno = 109;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_args_element_name_2 );
|
||
|
Py_DECREF( tmp_args_element_name_3 );
|
||
|
Py_DECREF( tmp_args_element_name_4 );
|
||
|
Py_DECREF( tmp_args_element_name_5 );
|
||
|
Py_DECREF( tmp_args_element_name_6 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 109;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_subscribed_name_10 = var_s;
|
||
|
tmp_subscript_name_10 = const_int_pos_6;
|
||
|
tmp_args_element_name_7 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_10, tmp_subscript_name_10, 6 );
|
||
|
if ( tmp_args_element_name_7 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
Py_DECREF( tmp_args_element_name_2 );
|
||
|
Py_DECREF( tmp_args_element_name_3 );
|
||
|
Py_DECREF( tmp_args_element_name_4 );
|
||
|
Py_DECREF( tmp_args_element_name_5 );
|
||
|
Py_DECREF( tmp_args_element_name_6 );
|
||
|
|
||
|
exception_lineno = 109;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 109;
|
||
|
{
|
||
|
PyObject *call_args[] = { tmp_args_element_name_2, tmp_args_element_name_3, tmp_args_element_name_4, tmp_args_element_name_5, tmp_args_element_name_6, tmp_args_element_name_7 };
|
||
|
tmp_unused = CALL_FUNCTION_WITH_ARGS6( tmp_called_name_2, call_args );
|
||
|
}
|
||
|
|
||
|
Py_DECREF( tmp_args_element_name_2 );
|
||
|
Py_DECREF( tmp_args_element_name_3 );
|
||
|
Py_DECREF( tmp_args_element_name_4 );
|
||
|
Py_DECREF( tmp_args_element_name_5 );
|
||
|
Py_DECREF( tmp_args_element_name_6 );
|
||
|
Py_DECREF( tmp_args_element_name_7 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 109;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_instance_5;
|
||
|
PyObject *tmp_source_name_8;
|
||
|
if ( par_update == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 110;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_8 = par_update;
|
||
|
tmp_called_instance_5 = LOOKUP_ATTRIBUTE( tmp_source_name_8, const_str_plain_message );
|
||
|
if ( tmp_called_instance_5 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 110;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 110;
|
||
|
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_5, const_str_plain_reply_text, &PyTuple_GET_ITEM( const_tuple_str_digest_0dbea6d01e30f7596bbe6f2c8c67b1f3_tuple, 0 ) );
|
||
|
|
||
|
Py_DECREF( tmp_called_instance_5 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 110;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
goto branch_end_1;
|
||
|
branch_no_1:;
|
||
|
{
|
||
|
nuitka_bool tmp_condition_result_3;
|
||
|
PyObject *tmp_compexpr_left_3;
|
||
|
PyObject *tmp_compexpr_right_3;
|
||
|
PyObject *tmp_subscribed_name_11;
|
||
|
PyObject *tmp_subscript_name_11;
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 112;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_subscribed_name_11 = var_s;
|
||
|
tmp_subscript_name_11 = const_int_0;
|
||
|
tmp_compexpr_left_3 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_11, tmp_subscript_name_11, 0 );
|
||
|
if ( tmp_compexpr_left_3 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 112;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_compexpr_right_3 = const_str_digest_febaf42aed2d57a4fa3e8eb85c349693;
|
||
|
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_3, tmp_compexpr_right_3 );
|
||
|
Py_DECREF( tmp_compexpr_left_3 );
|
||
|
if ( tmp_res == -1 )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 112;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_condition_result_3 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
||
|
if ( tmp_condition_result_3 == NUITKA_BOOL_TRUE )
|
||
|
{
|
||
|
goto branch_yes_3;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
goto branch_no_3;
|
||
|
}
|
||
|
branch_yes_3:;
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
nuitka_bool tmp_condition_result_4;
|
||
|
PyObject *tmp_compexpr_left_4;
|
||
|
PyObject *tmp_compexpr_right_4;
|
||
|
PyObject *tmp_len_arg_2;
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 114;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
|
||
|
tmp_len_arg_2 = var_s;
|
||
|
tmp_compexpr_left_4 = BUILTIN_LEN( tmp_len_arg_2 );
|
||
|
if ( tmp_compexpr_left_4 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 114;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
tmp_compexpr_right_4 = const_int_pos_3;
|
||
|
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_4, tmp_compexpr_right_4 );
|
||
|
Py_DECREF( tmp_compexpr_left_4 );
|
||
|
if ( tmp_res == -1 )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 114;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
tmp_condition_result_4 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
||
|
if ( tmp_condition_result_4 == NUITKA_BOOL_TRUE )
|
||
|
{
|
||
|
goto branch_yes_4;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
goto branch_no_4;
|
||
|
}
|
||
|
branch_yes_4:;
|
||
|
{
|
||
|
PyObject *tmp_called_instance_6;
|
||
|
PyObject *tmp_source_name_9;
|
||
|
if ( par_update == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 115;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_9 = par_update;
|
||
|
tmp_called_instance_6 = LOOKUP_ATTRIBUTE( tmp_source_name_9, const_str_plain_message );
|
||
|
if ( tmp_called_instance_6 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 115;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 115;
|
||
|
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_6, const_str_plain_reply_text, &PyTuple_GET_ITEM( const_tuple_str_digest_df8aadce2dd0078d0d257119f4778d1a_tuple, 0 ) );
|
||
|
|
||
|
Py_DECREF( tmp_called_instance_6 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 115;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_name_3;
|
||
|
PyObject *tmp_mvar_value_2;
|
||
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_sleep );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sleep );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_2 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sleep" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 116;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
|
||
|
tmp_called_name_3 = tmp_mvar_value_2;
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 116;
|
||
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, &PyTuple_GET_ITEM( const_tuple_int_pos_5_tuple, 0 ) );
|
||
|
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 116;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_3;
|
||
|
PyObject *tmp_called_name_4;
|
||
|
PyObject *tmp_mvar_value_3;
|
||
|
PyObject *tmp_args_element_name_8;
|
||
|
PyObject *tmp_subscribed_name_12;
|
||
|
PyObject *tmp_subscript_name_12;
|
||
|
PyObject *tmp_args_element_name_9;
|
||
|
PyObject *tmp_subscribed_name_13;
|
||
|
PyObject *tmp_subscript_name_13;
|
||
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_list_test );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_list_test );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_3 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "list_test" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 117;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
|
||
|
tmp_called_name_4 = tmp_mvar_value_3;
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 117;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
|
||
|
tmp_subscribed_name_12 = var_s;
|
||
|
tmp_subscript_name_12 = const_int_pos_1;
|
||
|
tmp_args_element_name_8 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_12, tmp_subscript_name_12, 1 );
|
||
|
if ( tmp_args_element_name_8 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 117;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
if ( var_s == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_args_element_name_8 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "s" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 117;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
|
||
|
tmp_subscribed_name_13 = var_s;
|
||
|
tmp_subscript_name_13 = const_int_pos_2;
|
||
|
tmp_args_element_name_9 = LOOKUP_SUBSCRIPT_CONST( tmp_subscribed_name_13, tmp_subscript_name_13, 2 );
|
||
|
if ( tmp_args_element_name_9 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
Py_DECREF( tmp_args_element_name_8 );
|
||
|
|
||
|
exception_lineno = 117;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 117;
|
||
|
{
|
||
|
PyObject *call_args[] = { tmp_args_element_name_8, tmp_args_element_name_9 };
|
||
|
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS2( tmp_called_name_4, call_args );
|
||
|
}
|
||
|
|
||
|
Py_DECREF( tmp_args_element_name_8 );
|
||
|
Py_DECREF( tmp_args_element_name_9 );
|
||
|
if ( tmp_assign_source_3 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 117;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
assert( var_tests == NULL );
|
||
|
var_tests = tmp_assign_source_3;
|
||
|
|
||
|
}
|
||
|
goto branch_end_4;
|
||
|
branch_no_4:;
|
||
|
{
|
||
|
PyObject *tmp_called_instance_7;
|
||
|
PyObject *tmp_source_name_10;
|
||
|
if ( par_update == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 120;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_10 = par_update;
|
||
|
tmp_called_instance_7 = LOOKUP_ATTRIBUTE( tmp_source_name_10, const_str_plain_message );
|
||
|
if ( tmp_called_instance_7 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 120;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 120;
|
||
|
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_7, const_str_plain_reply_markdown, &PyTuple_GET_ITEM( const_tuple_str_digest_3ee78085284ca4ccddce6c7ecdcd9286_tuple, 0 ) );
|
||
|
|
||
|
Py_DECREF( tmp_called_instance_7 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 120;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
tmp_return_value = Py_False;
|
||
|
Py_INCREF( tmp_return_value );
|
||
|
goto frame_return_exit_1;
|
||
|
}
|
||
|
branch_end_4:;
|
||
|
}
|
||
|
goto try_end_2;
|
||
|
// 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;
|
||
|
|
||
|
{
|
||
|
// Preserve existing published exception.
|
||
|
exception_preserved_type_2 = EXC_TYPE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_type_2 );
|
||
|
exception_preserved_value_2 = EXC_VALUE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_value_2 );
|
||
|
exception_preserved_tb_2 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_tb_2 );
|
||
|
|
||
|
}
|
||
|
{
|
||
|
if ( exception_keeper_tb_2 == NULL )
|
||
|
{
|
||
|
exception_keeper_tb_2 = MAKE_TRACEBACK( frame_fbe78d4318365c2234c6781e5f79a6a4, exception_keeper_lineno_2 );
|
||
|
}
|
||
|
else if ( exception_keeper_lineno_2 != 0 )
|
||
|
{
|
||
|
exception_keeper_tb_2 = ADD_TRACEBACK( exception_keeper_tb_2, frame_fbe78d4318365c2234c6781e5f79a6a4, exception_keeper_lineno_2 );
|
||
|
}
|
||
|
|
||
|
NORMALIZE_EXCEPTION( &exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2 );
|
||
|
PyException_SetTraceback( exception_keeper_value_2, (PyObject *)exception_keeper_tb_2 );
|
||
|
PUBLISH_EXCEPTION( &exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2 );
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
PyObject *tmp_called_instance_8;
|
||
|
PyObject *tmp_source_name_11;
|
||
|
if ( par_update == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 124;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_5;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_11 = par_update;
|
||
|
tmp_called_instance_8 = LOOKUP_ATTRIBUTE( tmp_source_name_11, const_str_plain_message );
|
||
|
if ( tmp_called_instance_8 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 124;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_5;
|
||
|
}
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 124;
|
||
|
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_8, const_str_plain_reply_markdown, &PyTuple_GET_ITEM( const_tuple_str_digest_3ee78085284ca4ccddce6c7ecdcd9286_tuple, 0 ) );
|
||
|
|
||
|
Py_DECREF( tmp_called_instance_8 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 124;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_5;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
tmp_return_value = Py_False;
|
||
|
Py_INCREF( tmp_return_value );
|
||
|
goto try_return_handler_5;
|
||
|
}
|
||
|
// tried codes exits in all cases
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_5_do_action );
|
||
|
return NULL;
|
||
|
// Return handler code:
|
||
|
try_return_handler_5:;
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 );
|
||
|
}
|
||
|
{
|
||
|
goto frame_return_exit_1;
|
||
|
}
|
||
|
// Exception handler code:
|
||
|
try_except_handler_5:;
|
||
|
exception_keeper_type_3 = exception_type;
|
||
|
exception_keeper_value_3 = exception_value;
|
||
|
exception_keeper_tb_3 = exception_tb;
|
||
|
exception_keeper_lineno_3 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 );
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_3;
|
||
|
exception_value = exception_keeper_value_3;
|
||
|
exception_tb = exception_keeper_tb_3;
|
||
|
exception_lineno = exception_keeper_lineno_3;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
// End of try:
|
||
|
}
|
||
|
// End of try:
|
||
|
try_end_2:;
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_4;
|
||
|
tmp_assign_source_4 = const_str_digest_6942b9d18400bd5805005770bbc845fa;
|
||
|
assert( var_msg == NULL );
|
||
|
Py_INCREF( tmp_assign_source_4 );
|
||
|
var_msg = tmp_assign_source_4;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_5;
|
||
|
tmp_assign_source_5 = const_int_0;
|
||
|
assert( var_i == NULL );
|
||
|
Py_INCREF( tmp_assign_source_5 );
|
||
|
var_i = tmp_assign_source_5;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_6;
|
||
|
PyObject *tmp_iter_arg_1;
|
||
|
if ( var_tests == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tests" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 130;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_iter_arg_1 = var_tests;
|
||
|
tmp_assign_source_6 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
||
|
if ( tmp_assign_source_6 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 130;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
||
|
tmp_for_loop_1__for_iterator = tmp_assign_source_6;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
loop_start_1:;
|
||
|
{
|
||
|
PyObject *tmp_next_source_1;
|
||
|
PyObject *tmp_assign_source_7;
|
||
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
||
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
||
|
tmp_assign_source_7 = ITERATOR_NEXT( tmp_next_source_1 );
|
||
|
if ( tmp_assign_source_7 == NULL )
|
||
|
{
|
||
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
||
|
{
|
||
|
|
||
|
goto loop_end_1;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
type_description_1 = "oooooooo";
|
||
|
exception_lineno = 130;
|
||
|
goto try_except_handler_6;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
{
|
||
|
PyObject *old = tmp_for_loop_1__iter_value;
|
||
|
tmp_for_loop_1__iter_value = tmp_assign_source_7;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_8;
|
||
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
||
|
tmp_assign_source_8 = tmp_for_loop_1__iter_value;
|
||
|
{
|
||
|
PyObject *old = var_subj;
|
||
|
var_subj = tmp_assign_source_8;
|
||
|
Py_INCREF( var_subj );
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_9;
|
||
|
PyObject *tmp_left_name_2;
|
||
|
PyObject *tmp_right_name_2;
|
||
|
PyObject *tmp_left_name_3;
|
||
|
PyObject *tmp_right_name_3;
|
||
|
PyObject *tmp_tuple_element_2;
|
||
|
if ( var_msg == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "msg" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 131;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_6;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_2 = var_msg;
|
||
|
tmp_left_name_3 = const_str_digest_1b915c780c42c339697a2abe578bd2c0;
|
||
|
if ( var_i == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "i" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 131;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_6;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_2 = var_i;
|
||
|
tmp_right_name_3 = PyTuple_New( 2 );
|
||
|
Py_INCREF( tmp_tuple_element_2 );
|
||
|
PyTuple_SET_ITEM( tmp_right_name_3, 0, tmp_tuple_element_2 );
|
||
|
CHECK_OBJECT( var_subj );
|
||
|
tmp_tuple_element_2 = var_subj;
|
||
|
Py_INCREF( tmp_tuple_element_2 );
|
||
|
PyTuple_SET_ITEM( tmp_right_name_3, 1, tmp_tuple_element_2 );
|
||
|
tmp_right_name_2 = BINARY_OPERATION_REMAINDER( tmp_left_name_3, tmp_right_name_3 );
|
||
|
Py_DECREF( tmp_right_name_3 );
|
||
|
if ( tmp_right_name_2 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 131;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_6;
|
||
|
}
|
||
|
tmp_assign_source_9 = BINARY_OPERATION_ADD( tmp_left_name_2, tmp_right_name_2 );
|
||
|
Py_DECREF( tmp_right_name_2 );
|
||
|
if ( tmp_assign_source_9 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 131;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_6;
|
||
|
}
|
||
|
{
|
||
|
PyObject *old = var_msg;
|
||
|
var_msg = tmp_assign_source_9;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_10;
|
||
|
PyObject *tmp_left_name_4;
|
||
|
PyObject *tmp_right_name_4;
|
||
|
if ( var_i == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "i" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 132;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_6;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_4 = var_i;
|
||
|
tmp_right_name_4 = const_int_pos_1;
|
||
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_4, tmp_right_name_4 );
|
||
|
tmp_assign_source_10 = tmp_left_name_4;
|
||
|
if ( tmp_result == false )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 132;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_6;
|
||
|
}
|
||
|
var_i = tmp_assign_source_10;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_11;
|
||
|
tmp_assign_source_11 = const_int_0;
|
||
|
{
|
||
|
PyObject *old = var_j;
|
||
|
var_j = tmp_assign_source_11;
|
||
|
Py_INCREF( var_j );
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_12;
|
||
|
PyObject *tmp_iter_arg_2;
|
||
|
PyObject *tmp_subscribed_name_14;
|
||
|
PyObject *tmp_subscript_name_14;
|
||
|
if ( var_tests == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "tests" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 134;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_6;
|
||
|
}
|
||
|
|
||
|
tmp_subscribed_name_14 = var_tests;
|
||
|
if ( var_subj == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "subj" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 134;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_6;
|
||
|
}
|
||
|
|
||
|
tmp_subscript_name_14 = var_subj;
|
||
|
tmp_iter_arg_2 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_14, tmp_subscript_name_14 );
|
||
|
if ( tmp_iter_arg_2 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 134;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_6;
|
||
|
}
|
||
|
tmp_assign_source_12 = MAKE_ITERATOR( tmp_iter_arg_2 );
|
||
|
Py_DECREF( tmp_iter_arg_2 );
|
||
|
if ( tmp_assign_source_12 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 134;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_6;
|
||
|
}
|
||
|
{
|
||
|
PyObject *old = tmp_for_loop_2__for_iterator;
|
||
|
tmp_for_loop_2__for_iterator = tmp_assign_source_12;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
loop_start_2:;
|
||
|
{
|
||
|
PyObject *tmp_next_source_2;
|
||
|
PyObject *tmp_assign_source_13;
|
||
|
CHECK_OBJECT( tmp_for_loop_2__for_iterator );
|
||
|
tmp_next_source_2 = tmp_for_loop_2__for_iterator;
|
||
|
tmp_assign_source_13 = ITERATOR_NEXT( tmp_next_source_2 );
|
||
|
if ( tmp_assign_source_13 == NULL )
|
||
|
{
|
||
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
||
|
{
|
||
|
|
||
|
goto loop_end_2;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
type_description_1 = "oooooooo";
|
||
|
exception_lineno = 134;
|
||
|
goto try_except_handler_7;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
{
|
||
|
PyObject *old = tmp_for_loop_2__iter_value;
|
||
|
tmp_for_loop_2__iter_value = tmp_assign_source_13;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_14;
|
||
|
CHECK_OBJECT( tmp_for_loop_2__iter_value );
|
||
|
tmp_assign_source_14 = tmp_for_loop_2__iter_value;
|
||
|
{
|
||
|
PyObject *old = var_test;
|
||
|
var_test = tmp_assign_source_14;
|
||
|
Py_INCREF( var_test );
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_15;
|
||
|
PyObject *tmp_left_name_5;
|
||
|
PyObject *tmp_right_name_5;
|
||
|
PyObject *tmp_left_name_6;
|
||
|
PyObject *tmp_right_name_6;
|
||
|
PyObject *tmp_tuple_element_3;
|
||
|
if ( var_msg == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "msg" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 135;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_7;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_5 = var_msg;
|
||
|
tmp_left_name_6 = const_str_digest_8019ff954f84fe7c467cf3ba9a486bb7;
|
||
|
if ( var_j == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "j" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 135;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_7;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_3 = var_j;
|
||
|
tmp_right_name_6 = PyTuple_New( 2 );
|
||
|
Py_INCREF( tmp_tuple_element_3 );
|
||
|
PyTuple_SET_ITEM( tmp_right_name_6, 0, tmp_tuple_element_3 );
|
||
|
CHECK_OBJECT( var_test );
|
||
|
tmp_tuple_element_3 = var_test;
|
||
|
Py_INCREF( tmp_tuple_element_3 );
|
||
|
PyTuple_SET_ITEM( tmp_right_name_6, 1, tmp_tuple_element_3 );
|
||
|
tmp_right_name_5 = BINARY_OPERATION_REMAINDER( tmp_left_name_6, tmp_right_name_6 );
|
||
|
Py_DECREF( tmp_right_name_6 );
|
||
|
if ( tmp_right_name_5 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 135;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_7;
|
||
|
}
|
||
|
tmp_assign_source_15 = BINARY_OPERATION_ADD( tmp_left_name_5, tmp_right_name_5 );
|
||
|
Py_DECREF( tmp_right_name_5 );
|
||
|
if ( tmp_assign_source_15 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 135;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_7;
|
||
|
}
|
||
|
{
|
||
|
PyObject *old = var_msg;
|
||
|
var_msg = tmp_assign_source_15;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_16;
|
||
|
PyObject *tmp_left_name_7;
|
||
|
PyObject *tmp_right_name_7;
|
||
|
if ( var_j == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "j" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 136;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_7;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_7 = var_j;
|
||
|
tmp_right_name_7 = const_int_pos_1;
|
||
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_7, tmp_right_name_7 );
|
||
|
tmp_assign_source_16 = tmp_left_name_7;
|
||
|
if ( tmp_result == false )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 136;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_7;
|
||
|
}
|
||
|
var_j = tmp_assign_source_16;
|
||
|
|
||
|
}
|
||
|
if ( CONSIDER_THREADING() == false )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 134;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_7;
|
||
|
}
|
||
|
goto loop_start_2;
|
||
|
loop_end_2:;
|
||
|
}
|
||
|
goto try_end_3;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_7:;
|
||
|
exception_keeper_type_4 = exception_type;
|
||
|
exception_keeper_value_4 = exception_value;
|
||
|
exception_keeper_tb_4 = exception_tb;
|
||
|
exception_keeper_lineno_4 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
Py_XDECREF( tmp_for_loop_2__iter_value );
|
||
|
tmp_for_loop_2__iter_value = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator );
|
||
|
Py_DECREF( tmp_for_loop_2__for_iterator );
|
||
|
tmp_for_loop_2__for_iterator = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_4;
|
||
|
exception_value = exception_keeper_value_4;
|
||
|
exception_tb = exception_keeper_tb_4;
|
||
|
exception_lineno = exception_keeper_lineno_4;
|
||
|
|
||
|
goto try_except_handler_6;
|
||
|
}
|
||
|
// End of try:
|
||
|
try_end_3:;
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( tmp_for_loop_2__iter_value );
|
||
|
tmp_for_loop_2__iter_value = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_2__for_iterator );
|
||
|
Py_DECREF( tmp_for_loop_2__for_iterator );
|
||
|
tmp_for_loop_2__for_iterator = NULL;
|
||
|
|
||
|
}
|
||
|
if ( CONSIDER_THREADING() == false )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 130;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto try_except_handler_6;
|
||
|
}
|
||
|
goto loop_start_1;
|
||
|
loop_end_1:;
|
||
|
}
|
||
|
goto try_end_4;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_6:;
|
||
|
exception_keeper_type_5 = exception_type;
|
||
|
exception_keeper_value_5 = exception_value;
|
||
|
exception_keeper_tb_5 = exception_tb;
|
||
|
exception_keeper_lineno_5 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
||
|
tmp_for_loop_1__iter_value = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
||
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
||
|
tmp_for_loop_1__for_iterator = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_5;
|
||
|
exception_value = exception_keeper_value_5;
|
||
|
exception_tb = exception_keeper_tb_5;
|
||
|
exception_lineno = exception_keeper_lineno_5;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
// End of try:
|
||
|
try_end_4:;
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( tmp_for_loop_1__iter_value );
|
||
|
tmp_for_loop_1__iter_value = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_1__for_iterator );
|
||
|
Py_DECREF( tmp_for_loop_1__for_iterator );
|
||
|
tmp_for_loop_1__for_iterator = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_name_5;
|
||
|
PyObject *tmp_source_name_12;
|
||
|
PyObject *tmp_source_name_13;
|
||
|
PyObject *tmp_args_element_name_10;
|
||
|
PyObject *tmp_left_name_8;
|
||
|
PyObject *tmp_right_name_8;
|
||
|
if ( par_update == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 137;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_13 = par_update;
|
||
|
tmp_source_name_12 = LOOKUP_ATTRIBUTE( tmp_source_name_13, const_str_plain_message );
|
||
|
if ( tmp_source_name_12 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 137;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_12, const_str_plain_reply_markdown );
|
||
|
Py_DECREF( tmp_source_name_12 );
|
||
|
if ( tmp_called_name_5 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 137;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
if ( var_msg == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_called_name_5 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "msg" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 137;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_8 = var_msg;
|
||
|
tmp_right_name_8 = const_str_digest_cd7f0dd6c9b458490fe731daa3faef13;
|
||
|
tmp_args_element_name_10 = BINARY_OPERATION_ADD( tmp_left_name_8, tmp_right_name_8 );
|
||
|
if ( tmp_args_element_name_10 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
Py_DECREF( tmp_called_name_5 );
|
||
|
|
||
|
exception_lineno = 137;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 137;
|
||
|
{
|
||
|
PyObject *call_args[] = { tmp_args_element_name_10 };
|
||
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
|
||
|
}
|
||
|
|
||
|
Py_DECREF( tmp_called_name_5 );
|
||
|
Py_DECREF( tmp_args_element_name_10 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 137;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
goto branch_end_3;
|
||
|
branch_no_3:;
|
||
|
{
|
||
|
PyObject *tmp_called_instance_9;
|
||
|
PyObject *tmp_source_name_14;
|
||
|
if ( par_update == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 140;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_14 = par_update;
|
||
|
tmp_called_instance_9 = LOOKUP_ATTRIBUTE( tmp_source_name_14, const_str_plain_message );
|
||
|
if ( tmp_called_instance_9 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 140;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 140;
|
||
|
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_9, const_str_plain_reply_markdown, &PyTuple_GET_ITEM( const_tuple_str_digest_8910a8ccb249bb5e997226211691c64e_tuple, 0 ) );
|
||
|
|
||
|
Py_DECREF( tmp_called_instance_9 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 140;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_instance_10;
|
||
|
PyObject *tmp_source_name_15;
|
||
|
if ( par_update == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 141;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_15 = par_update;
|
||
|
tmp_called_instance_10 = LOOKUP_ATTRIBUTE( tmp_source_name_15, const_str_plain_message );
|
||
|
if ( tmp_called_instance_10 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 141;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 141;
|
||
|
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_10, const_str_plain_reply_markdown, &PyTuple_GET_ITEM( const_tuple_str_digest_8a2dacb4e3f80ac67310cd73b6d929b5_tuple, 0 ) );
|
||
|
|
||
|
Py_DECREF( tmp_called_instance_10 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 141;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_instance_11;
|
||
|
PyObject *tmp_source_name_16;
|
||
|
if ( par_update == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "update" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 144;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_16 = par_update;
|
||
|
tmp_called_instance_11 = LOOKUP_ATTRIBUTE( tmp_source_name_16, const_str_plain_message );
|
||
|
if ( tmp_called_instance_11 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 144;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame.f_lineno = 144;
|
||
|
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_11, const_str_plain_reply_markdown, &PyTuple_GET_ITEM( const_tuple_str_digest_3ee78085284ca4ccddce6c7ecdcd9286_tuple, 0 ) );
|
||
|
|
||
|
Py_DECREF( tmp_called_instance_11 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 144;
|
||
|
type_description_1 = "oooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
branch_end_3:;
|
||
|
}
|
||
|
branch_end_1:;
|
||
|
}
|
||
|
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_fbe78d4318365c2234c6781e5f79a6a4 );
|
||
|
#endif
|
||
|
|
||
|
// Put the previous frame back on top.
|
||
|
popFrameStack();
|
||
|
|
||
|
goto frame_no_exception_1;
|
||
|
|
||
|
frame_return_exit_1:;
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_fbe78d4318365c2234c6781e5f79a6a4 );
|
||
|
#endif
|
||
|
|
||
|
// Put the previous frame back on top.
|
||
|
popFrameStack();
|
||
|
|
||
|
goto try_return_handler_1;
|
||
|
|
||
|
frame_exception_exit_1:;
|
||
|
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_fbe78d4318365c2234c6781e5f79a6a4 );
|
||
|
#endif
|
||
|
|
||
|
if ( exception_tb == NULL )
|
||
|
{
|
||
|
exception_tb = MAKE_TRACEBACK( frame_fbe78d4318365c2234c6781e5f79a6a4, exception_lineno );
|
||
|
}
|
||
|
else if ( exception_tb->tb_frame != &frame_fbe78d4318365c2234c6781e5f79a6a4->m_frame )
|
||
|
{
|
||
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_fbe78d4318365c2234c6781e5f79a6a4, exception_lineno );
|
||
|
}
|
||
|
|
||
|
// Attachs locals to frame if any.
|
||
|
Nuitka_Frame_AttachLocals(
|
||
|
(struct Nuitka_FrameObject *)frame_fbe78d4318365c2234c6781e5f79a6a4,
|
||
|
type_description_1,
|
||
|
par_update,
|
||
|
var_s,
|
||
|
var_msg,
|
||
|
var_tests,
|
||
|
var_i,
|
||
|
var_subj,
|
||
|
var_j,
|
||
|
var_test
|
||
|
);
|
||
|
|
||
|
|
||
|
// Release cached frame.
|
||
|
if ( frame_fbe78d4318365c2234c6781e5f79a6a4 == cache_frame_fbe78d4318365c2234c6781e5f79a6a4 )
|
||
|
{
|
||
|
Py_DECREF( frame_fbe78d4318365c2234c6781e5f79a6a4 );
|
||
|
}
|
||
|
cache_frame_fbe78d4318365c2234c6781e5f79a6a4 = NULL;
|
||
|
|
||
|
assertFrameObject( frame_fbe78d4318365c2234c6781e5f79a6a4 );
|
||
|
|
||
|
// 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( __main__$$$function_5_do_action );
|
||
|
return NULL;
|
||
|
// Return handler code:
|
||
|
try_return_handler_1:;
|
||
|
{
|
||
|
Py_XDECREF( par_update );
|
||
|
par_update = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_s );
|
||
|
var_s = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_msg );
|
||
|
var_msg = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_tests );
|
||
|
var_tests = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_i );
|
||
|
var_i = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_subj );
|
||
|
var_subj = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_j );
|
||
|
var_j = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_test );
|
||
|
var_test = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
goto function_return_exit;
|
||
|
}
|
||
|
// Exception handler code:
|
||
|
try_except_handler_1:;
|
||
|
exception_keeper_type_6 = exception_type;
|
||
|
exception_keeper_value_6 = exception_value;
|
||
|
exception_keeper_tb_6 = exception_tb;
|
||
|
exception_keeper_lineno_6 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
Py_XDECREF( par_update );
|
||
|
par_update = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_s );
|
||
|
var_s = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_msg );
|
||
|
var_msg = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_tests );
|
||
|
var_tests = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_i );
|
||
|
var_i = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_subj );
|
||
|
var_subj = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_j );
|
||
|
var_j = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_test );
|
||
|
var_test = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_6;
|
||
|
exception_value = exception_keeper_value_6;
|
||
|
exception_tb = exception_keeper_tb_6;
|
||
|
exception_lineno = exception_keeper_lineno_6;
|
||
|
|
||
|
goto function_exception_exit;
|
||
|
}
|
||
|
// End of try:
|
||
|
}
|
||
|
|
||
|
// Return statement must have exited already.
|
||
|
NUITKA_CANNOT_GET_HERE( __main__$$$function_5_do_action );
|
||
|
return NULL;
|
||
|
|
||
|
function_exception_exit:
|
||
|
assert( exception_type );
|
||
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
||
|
|
||
|
return NULL;
|
||
|
function_return_exit:
|
||
|
|
||
|
CHECK_OBJECT( tmp_return_value );
|
||
|
assert( had_error || !ERROR_OCCURRED() );
|
||
|
return tmp_return_value;
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
static PyObject *MAKE_FUNCTION___main__$$$function_1_main( )
|
||
|
{
|
||
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
||
|
impl___main__$$$function_1_main,
|
||
|
const_str_plain_main,
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
NULL,
|
||
|
#endif
|
||
|
codeobj_ae04b9db7fa2e2821d8e3fc8c89ec909,
|
||
|
NULL,
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
NULL,
|
||
|
NULL,
|
||
|
#endif
|
||
|
module___main__,
|
||
|
const_str_digest_b28dca1438895a0402b08cfca5ebe497,
|
||
|
0
|
||
|
);
|
||
|
|
||
|
return (PyObject *)result;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
static PyObject *MAKE_FUNCTION___main__$$$function_2_perdoliq( )
|
||
|
{
|
||
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
||
|
impl___main__$$$function_2_perdoliq,
|
||
|
const_str_plain_perdoliq,
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
NULL,
|
||
|
#endif
|
||
|
codeobj_fd7f38eb024bae1af6b10aec993f2b7d,
|
||
|
NULL,
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
NULL,
|
||
|
NULL,
|
||
|
#endif
|
||
|
module___main__,
|
||
|
NULL,
|
||
|
0
|
||
|
);
|
||
|
|
||
|
return (PyObject *)result;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
static PyObject *MAKE_FUNCTION___main__$$$function_3_list_test( )
|
||
|
{
|
||
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
||
|
impl___main__$$$function_3_list_test,
|
||
|
const_str_plain_list_test,
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
NULL,
|
||
|
#endif
|
||
|
codeobj_a8af8c32cc5b42d6725fba1808e9d41f,
|
||
|
NULL,
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
NULL,
|
||
|
NULL,
|
||
|
#endif
|
||
|
module___main__,
|
||
|
NULL,
|
||
|
0
|
||
|
);
|
||
|
|
||
|
return (PyObject *)result;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
static PyObject *MAKE_FUNCTION___main__$$$function_4_handle_update( )
|
||
|
{
|
||
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
||
|
impl___main__$$$function_4_handle_update,
|
||
|
const_str_plain_handle_update,
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
NULL,
|
||
|
#endif
|
||
|
codeobj_613aed1183e44c4296643da760fca18b,
|
||
|
NULL,
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
NULL,
|
||
|
NULL,
|
||
|
#endif
|
||
|
module___main__,
|
||
|
const_str_digest_cf1f2ded92073504fb396e0121cca1a8,
|
||
|
0
|
||
|
);
|
||
|
|
||
|
return (PyObject *)result;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
static PyObject *MAKE_FUNCTION___main__$$$function_5_do_action( )
|
||
|
{
|
||
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
||
|
impl___main__$$$function_5_do_action,
|
||
|
const_str_plain_do_action,
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
NULL,
|
||
|
#endif
|
||
|
codeobj_fbe78d4318365c2234c6781e5f79a6a4,
|
||
|
NULL,
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
NULL,
|
||
|
NULL,
|
||
|
#endif
|
||
|
module___main__,
|
||
|
NULL,
|
||
|
0
|
||
|
);
|
||
|
|
||
|
return (PyObject *)result;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
static struct PyModuleDef mdef___main__ =
|
||
|
{
|
||
|
PyModuleDef_HEAD_INIT,
|
||
|
"__main__", /* 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( __main__ )
|
||
|
{
|
||
|
#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___main__ );
|
||
|
}
|
||
|
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("__main__: 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("__main__: Calling createModuleConstants().");
|
||
|
#endif
|
||
|
createModuleConstants();
|
||
|
|
||
|
/* The code objects used by this module are created now. */
|
||
|
#ifdef _NUITKA_TRACE
|
||
|
puts("__main__: Calling createModuleCodeObjects().");
|
||
|
#endif
|
||
|
createModuleCodeObjects();
|
||
|
|
||
|
// puts( "in init__main__" );
|
||
|
|
||
|
// 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___main__ = Py_InitModule4(
|
||
|
"__main__", // 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___main__ = PyModule_Create( &mdef___main__ );
|
||
|
#endif
|
||
|
|
||
|
moduledict___main__ = MODULE_DICT( module___main__ );
|
||
|
|
||
|
// Update "__package__" value to what it ought to be.
|
||
|
{
|
||
|
#if 0
|
||
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain___name__ );
|
||
|
|
||
|
UPDATE_STRING_DICT1(
|
||
|
moduledict___main__,
|
||
|
(Nuitka_StringObject *)const_str_plain___package__,
|
||
|
module_name
|
||
|
);
|
||
|
|
||
|
#else
|
||
|
|
||
|
#if PYTHON_VERSION < 300
|
||
|
PyObject *module_name = GET_STRING_DICT_VALUE( moduledict___main__, (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___main__,
|
||
|
(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___main__, (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___main__,
|
||
|
(Nuitka_StringObject *)const_str_plain___package__,
|
||
|
PyUnicode_Substring( module_name, 0, dot_index )
|
||
|
);
|
||
|
}
|
||
|
#endif
|
||
|
#endif
|
||
|
}
|
||
|
|
||
|
CHECK_OBJECT( module___main__ );
|
||
|
|
||
|
// 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_plain___main__, module___main__ );
|
||
|
|
||
|
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___main__, (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) || !1
|
||
|
value = PyModule_GetDict( value );
|
||
|
#endif
|
||
|
|
||
|
UPDATE_STRING_DICT0( moduledict___main__, (Nuitka_StringObject *)const_str_plain___builtins__, value );
|
||
|
}
|
||
|
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
UPDATE_STRING_DICT0( moduledict___main__, (Nuitka_StringObject *)const_str_plain___loader__, metapath_based_loader );
|
||
|
#endif
|
||
|
|
||
|
#if PYTHON_VERSION >= 340
|
||
|
#if 1
|
||
|
UPDATE_STRING_DICT0( moduledict___main__, (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___main__, (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___main__, (Nuitka_StringObject *)const_str_plain___spec__, spec_value );
|
||
|
|
||
|
Py_DECREF( module_spec_class );
|
||
|
}
|
||
|
#endif
|
||
|
#endif
|
||
|
|
||
|
|
||
|
// Temp variables if any
|
||
|
PyObject *tmp_import_from_1__module = NULL;
|
||
|
struct Nuitka_FrameObject *frame_cf53816e6049eaa091004dae5c1891b5;
|
||
|
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
|
||
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
||
|
PyObject *exception_type = NULL;
|
||
|
PyObject *exception_value = NULL;
|
||
|
PyTracebackObject *exception_tb = NULL;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
|
||
|
PyObject *exception_keeper_type_1;
|
||
|
PyObject *exception_keeper_value_1;
|
||
|
PyTracebackObject *exception_keeper_tb_1;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
||
|
PyObject *exception_keeper_type_2;
|
||
|
PyObject *exception_keeper_value_2;
|
||
|
PyTracebackObject *exception_keeper_tb_2;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
||
|
PyObject *exception_preserved_type_1;
|
||
|
PyObject *exception_preserved_value_1;
|
||
|
PyTracebackObject *exception_preserved_tb_1;
|
||
|
PyObject *exception_keeper_type_3;
|
||
|
PyObject *exception_keeper_value_3;
|
||
|
PyTracebackObject *exception_keeper_tb_3;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
||
|
PyObject *exception_keeper_type_4;
|
||
|
PyObject *exception_keeper_value_4;
|
||
|
PyTracebackObject *exception_keeper_tb_4;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
|
||
|
PyObject *exception_preserved_type_2;
|
||
|
PyObject *exception_preserved_value_2;
|
||
|
PyTracebackObject *exception_preserved_tb_2;
|
||
|
PyObject *exception_keeper_type_5;
|
||
|
PyObject *exception_keeper_value_5;
|
||
|
PyTracebackObject *exception_keeper_tb_5;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
|
||
|
PyObject *exception_keeper_type_6;
|
||
|
PyObject *exception_keeper_value_6;
|
||
|
PyTracebackObject *exception_keeper_tb_6;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
|
||
|
|
||
|
// Module code.
|
||
|
// Frame without reuse.
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5 = MAKE_MODULE_FRAME( codeobj_cf53816e6049eaa091004dae5c1891b5, module___main__ );
|
||
|
|
||
|
// Push the new frame as the currently active one, and we should be exclusively
|
||
|
// owning it.
|
||
|
pushFrameStack( frame_cf53816e6049eaa091004dae5c1891b5 );
|
||
|
assert( Py_REFCNT( frame_cf53816e6049eaa091004dae5c1891b5 ) == 2 );
|
||
|
|
||
|
// Framed code:
|
||
|
{
|
||
|
PyObject *tmp_name_name_1;
|
||
|
PyObject *tmp_level_name_1;
|
||
|
tmp_name_name_1 = const_str_plain_os;
|
||
|
tmp_level_name_1 = const_int_0;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 1;
|
||
|
tmp_unused = IMPORT_MODULE_KW( tmp_name_name_1, NULL, NULL, NULL, tmp_level_name_1 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 1;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_name_name_2;
|
||
|
PyObject *tmp_level_name_2;
|
||
|
tmp_name_name_2 = const_str_plain_sys;
|
||
|
tmp_level_name_2 = const_int_0;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 1;
|
||
|
tmp_unused = IMPORT_MODULE_KW( tmp_name_name_2, NULL, NULL, NULL, tmp_level_name_2 );
|
||
|
assert( !(tmp_unused == NULL) );
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_name_name_3;
|
||
|
PyObject *tmp_level_name_3;
|
||
|
tmp_name_name_3 = const_str_plain_types;
|
||
|
tmp_level_name_3 = const_int_0;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 1;
|
||
|
tmp_unused = IMPORT_MODULE_KW( tmp_name_name_3, NULL, NULL, NULL, tmp_level_name_3 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 1;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_name_name_4;
|
||
|
PyObject *tmp_level_name_4;
|
||
|
tmp_name_name_4 = const_str_plain_site;
|
||
|
tmp_level_name_4 = const_int_0;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 1;
|
||
|
tmp_unused = IMPORT_MODULE_KW( tmp_name_name_4, NULL, NULL, NULL, tmp_level_name_4 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 1;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_1;
|
||
|
tmp_assign_source_1 = const_str_digest_8de2abbd6c753874a130328c5dec4ed2;
|
||
|
UPDATE_STRING_DICT0( moduledict___main__, (Nuitka_StringObject *)const_str_plain___doc__, tmp_assign_source_1 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_2;
|
||
|
tmp_assign_source_2 = const_str_digest_16f6623827ecf2a13d2fd7ea5abdda8a;
|
||
|
UPDATE_STRING_DICT0( moduledict___main__, (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___main__, (Nuitka_StringObject *)const_str_plain___cached__, tmp_assign_source_3 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_4;
|
||
|
tmp_assign_source_4 = PyDict_New();
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain___annotations__, tmp_assign_source_4 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_5;
|
||
|
PyObject *tmp_name_name_5;
|
||
|
PyObject *tmp_globals_name_1;
|
||
|
PyObject *tmp_locals_name_1;
|
||
|
PyObject *tmp_fromlist_name_1;
|
||
|
PyObject *tmp_level_name_5;
|
||
|
tmp_name_name_5 = const_str_plain_os;
|
||
|
tmp_globals_name_1 = (PyObject *)moduledict___main__;
|
||
|
tmp_locals_name_1 = Py_None;
|
||
|
tmp_fromlist_name_1 = Py_None;
|
||
|
tmp_level_name_5 = const_int_0;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 8;
|
||
|
tmp_assign_source_5 = IMPORT_MODULE5( tmp_name_name_5, tmp_globals_name_1, tmp_locals_name_1, tmp_fromlist_name_1, tmp_level_name_5 );
|
||
|
if ( tmp_assign_source_5 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 8;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_os, tmp_assign_source_5 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_6;
|
||
|
PyObject *tmp_name_name_6;
|
||
|
PyObject *tmp_globals_name_2;
|
||
|
PyObject *tmp_locals_name_2;
|
||
|
PyObject *tmp_fromlist_name_2;
|
||
|
PyObject *tmp_level_name_6;
|
||
|
tmp_name_name_6 = const_str_plain_sys;
|
||
|
tmp_globals_name_2 = (PyObject *)moduledict___main__;
|
||
|
tmp_locals_name_2 = Py_None;
|
||
|
tmp_fromlist_name_2 = Py_None;
|
||
|
tmp_level_name_6 = const_int_0;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 9;
|
||
|
tmp_assign_source_6 = IMPORT_MODULE5( tmp_name_name_6, tmp_globals_name_2, tmp_locals_name_2, tmp_fromlist_name_2, tmp_level_name_6 );
|
||
|
assert( !(tmp_assign_source_6 == NULL) );
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_sys, tmp_assign_source_6 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_7;
|
||
|
PyObject *tmp_name_name_7;
|
||
|
PyObject *tmp_globals_name_3;
|
||
|
PyObject *tmp_locals_name_3;
|
||
|
PyObject *tmp_fromlist_name_3;
|
||
|
PyObject *tmp_level_name_7;
|
||
|
tmp_name_name_7 = const_str_plain_logging;
|
||
|
tmp_globals_name_3 = (PyObject *)moduledict___main__;
|
||
|
tmp_locals_name_3 = Py_None;
|
||
|
tmp_fromlist_name_3 = Py_None;
|
||
|
tmp_level_name_7 = const_int_0;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 10;
|
||
|
tmp_assign_source_7 = IMPORT_MODULE5( tmp_name_name_7, tmp_globals_name_3, tmp_locals_name_3, tmp_fromlist_name_3, tmp_level_name_7 );
|
||
|
if ( tmp_assign_source_7 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 10;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_logging, tmp_assign_source_7 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_8;
|
||
|
PyObject *tmp_name_name_8;
|
||
|
PyObject *tmp_globals_name_4;
|
||
|
PyObject *tmp_locals_name_4;
|
||
|
PyObject *tmp_fromlist_name_4;
|
||
|
PyObject *tmp_level_name_8;
|
||
|
tmp_name_name_8 = const_str_plain_threading;
|
||
|
tmp_globals_name_4 = (PyObject *)moduledict___main__;
|
||
|
tmp_locals_name_4 = Py_None;
|
||
|
tmp_fromlist_name_4 = Py_None;
|
||
|
tmp_level_name_8 = const_int_0;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 11;
|
||
|
tmp_assign_source_8 = IMPORT_MODULE5( tmp_name_name_8, tmp_globals_name_4, tmp_locals_name_4, tmp_fromlist_name_4, tmp_level_name_8 );
|
||
|
if ( tmp_assign_source_8 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 11;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_threading, tmp_assign_source_8 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_9;
|
||
|
PyObject *tmp_name_name_9;
|
||
|
PyObject *tmp_globals_name_5;
|
||
|
PyObject *tmp_locals_name_5;
|
||
|
PyObject *tmp_fromlist_name_5;
|
||
|
PyObject *tmp_level_name_9;
|
||
|
tmp_name_name_9 = const_str_plain_telegram;
|
||
|
tmp_globals_name_5 = (PyObject *)moduledict___main__;
|
||
|
tmp_locals_name_5 = Py_None;
|
||
|
tmp_fromlist_name_5 = Py_None;
|
||
|
tmp_level_name_9 = const_int_0;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 12;
|
||
|
tmp_assign_source_9 = IMPORT_MODULE5( tmp_name_name_9, tmp_globals_name_5, tmp_locals_name_5, tmp_fromlist_name_5, tmp_level_name_9 );
|
||
|
if ( tmp_assign_source_9 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 12;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_telegram, tmp_assign_source_9 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_10;
|
||
|
PyObject *tmp_name_name_10;
|
||
|
PyObject *tmp_globals_name_6;
|
||
|
PyObject *tmp_locals_name_6;
|
||
|
PyObject *tmp_fromlist_name_6;
|
||
|
PyObject *tmp_level_name_10;
|
||
|
tmp_name_name_10 = const_str_digest_4b2d1e16f8952841a2d46b07a4b1320e;
|
||
|
tmp_globals_name_6 = (PyObject *)moduledict___main__;
|
||
|
tmp_locals_name_6 = Py_None;
|
||
|
tmp_fromlist_name_6 = const_tuple_str_plain_NetworkError_str_plain_Unauthorized_tuple;
|
||
|
tmp_level_name_10 = const_int_0;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 13;
|
||
|
tmp_assign_source_10 = IMPORT_MODULE5( tmp_name_name_10, tmp_globals_name_6, tmp_locals_name_6, tmp_fromlist_name_6, tmp_level_name_10 );
|
||
|
if ( tmp_assign_source_10 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 13;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( tmp_import_from_1__module == NULL );
|
||
|
tmp_import_from_1__module = tmp_assign_source_10;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
PyObject *tmp_assign_source_11;
|
||
|
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_11 = IMPORT_NAME( tmp_import_name_from_1, const_str_plain_NetworkError );
|
||
|
if ( tmp_assign_source_11 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 13;
|
||
|
|
||
|
goto try_except_handler_1;
|
||
|
}
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_NetworkError, tmp_assign_source_11 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_12;
|
||
|
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_12 = IMPORT_NAME( tmp_import_name_from_2, const_str_plain_Unauthorized );
|
||
|
if ( tmp_assign_source_12 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 13;
|
||
|
|
||
|
goto try_except_handler_1;
|
||
|
}
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_Unauthorized, tmp_assign_source_12 );
|
||
|
}
|
||
|
goto try_end_1;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_1:;
|
||
|
exception_keeper_type_1 = exception_type;
|
||
|
exception_keeper_value_1 = exception_value;
|
||
|
exception_keeper_tb_1 = exception_tb;
|
||
|
exception_keeper_lineno_1 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
|
||
|
Py_DECREF( tmp_import_from_1__module );
|
||
|
tmp_import_from_1__module = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_1;
|
||
|
exception_value = exception_keeper_value_1;
|
||
|
exception_tb = exception_keeper_tb_1;
|
||
|
exception_lineno = exception_keeper_lineno_1;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
// End of try:
|
||
|
try_end_1:;
|
||
|
}
|
||
|
{
|
||
|
CHECK_OBJECT( (PyObject *)tmp_import_from_1__module );
|
||
|
Py_DECREF( tmp_import_from_1__module );
|
||
|
tmp_import_from_1__module = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_13;
|
||
|
PyObject *tmp_import_name_from_3;
|
||
|
PyObject *tmp_name_name_11;
|
||
|
PyObject *tmp_globals_name_7;
|
||
|
PyObject *tmp_locals_name_7;
|
||
|
PyObject *tmp_fromlist_name_7;
|
||
|
PyObject *tmp_level_name_11;
|
||
|
tmp_name_name_11 = const_str_plain_time;
|
||
|
tmp_globals_name_7 = (PyObject *)moduledict___main__;
|
||
|
tmp_locals_name_7 = Py_None;
|
||
|
tmp_fromlist_name_7 = const_tuple_str_plain_sleep_tuple;
|
||
|
tmp_level_name_11 = const_int_0;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 14;
|
||
|
tmp_import_name_from_3 = IMPORT_MODULE5( tmp_name_name_11, tmp_globals_name_7, tmp_locals_name_7, tmp_fromlist_name_7, tmp_level_name_11 );
|
||
|
assert( !(tmp_import_name_from_3 == NULL) );
|
||
|
tmp_assign_source_13 = IMPORT_NAME( tmp_import_name_from_3, const_str_plain_sleep );
|
||
|
Py_DECREF( tmp_import_name_from_3 );
|
||
|
assert( !(tmp_assign_source_13 == NULL) );
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_sleep, tmp_assign_source_13 );
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
PyObject *tmp_assign_source_14;
|
||
|
PyObject *tmp_subscribed_name_1;
|
||
|
PyObject *tmp_source_name_1;
|
||
|
PyObject *tmp_mvar_value_1;
|
||
|
PyObject *tmp_subscript_name_1;
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_os );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_1 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 16;
|
||
|
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_1 = tmp_mvar_value_1;
|
||
|
tmp_subscribed_name_1 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_environ );
|
||
|
if ( tmp_subscribed_name_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 16;
|
||
|
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_subscript_name_1 = const_str_plain_TG_TOKEN;
|
||
|
tmp_assign_source_14 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_1, tmp_subscript_name_1 );
|
||
|
Py_DECREF( tmp_subscribed_name_1 );
|
||
|
if ( tmp_assign_source_14 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 16;
|
||
|
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_TOKEN, tmp_assign_source_14 );
|
||
|
}
|
||
|
goto try_end_2;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_2:;
|
||
|
exception_keeper_type_2 = exception_type;
|
||
|
exception_keeper_value_2 = exception_value;
|
||
|
exception_keeper_tb_2 = exception_tb;
|
||
|
exception_keeper_lineno_2 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
// Preserve existing published exception.
|
||
|
exception_preserved_type_1 = EXC_TYPE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_type_1 );
|
||
|
exception_preserved_value_1 = EXC_VALUE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_value_1 );
|
||
|
exception_preserved_tb_1 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_tb_1 );
|
||
|
|
||
|
}
|
||
|
{
|
||
|
if ( exception_keeper_tb_2 == NULL )
|
||
|
{
|
||
|
exception_keeper_tb_2 = MAKE_TRACEBACK( frame_cf53816e6049eaa091004dae5c1891b5, exception_keeper_lineno_2 );
|
||
|
}
|
||
|
else if ( exception_keeper_lineno_2 != 0 )
|
||
|
{
|
||
|
exception_keeper_tb_2 = ADD_TRACEBACK( exception_keeper_tb_2, frame_cf53816e6049eaa091004dae5c1891b5, exception_keeper_lineno_2 );
|
||
|
}
|
||
|
|
||
|
NORMALIZE_EXCEPTION( &exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2 );
|
||
|
PyException_SetTraceback( exception_keeper_value_2, (PyObject *)exception_keeper_tb_2 );
|
||
|
PUBLISH_EXCEPTION( &exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2 );
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
PyObject *tmp_called_name_1;
|
||
|
tmp_called_name_1 = LOOKUP_BUILTIN( const_str_plain_print );
|
||
|
assert( tmp_called_name_1 != NULL );
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 18;
|
||
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, &PyTuple_GET_ITEM( const_tuple_str_digest_8058a83c164a2e6804975c9efbed295f_tuple, 0 ) );
|
||
|
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 18;
|
||
|
|
||
|
goto try_except_handler_3;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_instance_1;
|
||
|
PyObject *tmp_mvar_value_2;
|
||
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_sys );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sys );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_2 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sys" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 19;
|
||
|
|
||
|
goto try_except_handler_3;
|
||
|
}
|
||
|
|
||
|
tmp_called_instance_1 = tmp_mvar_value_2;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 19;
|
||
|
tmp_unused = CALL_METHOD_WITH_ARGS1( tmp_called_instance_1, const_str_plain_exit, &PyTuple_GET_ITEM( const_tuple_int_pos_1_tuple, 0 ) );
|
||
|
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 19;
|
||
|
|
||
|
goto try_except_handler_3;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
goto try_end_3;
|
||
|
// 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;
|
||
|
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_3;
|
||
|
exception_value = exception_keeper_value_3;
|
||
|
exception_tb = exception_keeper_tb_3;
|
||
|
exception_lineno = exception_keeper_lineno_3;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
// End of try:
|
||
|
try_end_3:;
|
||
|
}
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_1, exception_preserved_value_1, exception_preserved_tb_1 );
|
||
|
}
|
||
|
goto try_end_2;
|
||
|
// exception handler codes exits in all cases
|
||
|
NUITKA_CANNOT_GET_HERE( __main__ );
|
||
|
return MOD_RETURN_VALUE( NULL );
|
||
|
// End of try:
|
||
|
try_end_2:;
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
nuitka_bool tmp_condition_result_1;
|
||
|
PyObject *tmp_subscribed_name_2;
|
||
|
PyObject *tmp_source_name_2;
|
||
|
PyObject *tmp_mvar_value_3;
|
||
|
PyObject *tmp_subscript_name_2;
|
||
|
PyObject *tmp_subscript_result_1;
|
||
|
int tmp_truth_name_1;
|
||
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_os );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_os );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_3 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "os" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 21;
|
||
|
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_2 = tmp_mvar_value_3;
|
||
|
tmp_subscribed_name_2 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_environ );
|
||
|
if ( tmp_subscribed_name_2 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 21;
|
||
|
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
tmp_subscript_name_2 = const_str_plain_DRYRUN;
|
||
|
tmp_subscript_result_1 = LOOKUP_SUBSCRIPT( tmp_subscribed_name_2, tmp_subscript_name_2 );
|
||
|
Py_DECREF( tmp_subscribed_name_2 );
|
||
|
if ( tmp_subscript_result_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 21;
|
||
|
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
tmp_truth_name_1 = CHECK_IF_TRUE( tmp_subscript_result_1 );
|
||
|
if ( tmp_truth_name_1 == -1 )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
Py_DECREF( tmp_subscript_result_1 );
|
||
|
|
||
|
exception_lineno = 21;
|
||
|
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
tmp_condition_result_1 = tmp_truth_name_1 == 1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
||
|
Py_DECREF( tmp_subscript_result_1 );
|
||
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
||
|
{
|
||
|
goto branch_yes_1;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
goto branch_no_1;
|
||
|
}
|
||
|
branch_yes_1:;
|
||
|
{
|
||
|
PyObject *tmp_assign_source_15;
|
||
|
PyObject *tmp_import_name_from_4;
|
||
|
PyObject *tmp_name_name_12;
|
||
|
PyObject *tmp_globals_name_8;
|
||
|
PyObject *tmp_locals_name_8;
|
||
|
PyObject *tmp_fromlist_name_8;
|
||
|
PyObject *tmp_level_name_12;
|
||
|
tmp_name_name_12 = const_str_plain_dryrun;
|
||
|
tmp_globals_name_8 = (PyObject *)moduledict___main__;
|
||
|
tmp_locals_name_8 = Py_None;
|
||
|
tmp_fromlist_name_8 = const_tuple_str_plain_Perdoliq_tuple;
|
||
|
tmp_level_name_12 = const_int_0;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 22;
|
||
|
tmp_import_name_from_4 = IMPORT_MODULE5( tmp_name_name_12, tmp_globals_name_8, tmp_locals_name_8, tmp_fromlist_name_8, tmp_level_name_12 );
|
||
|
if ( tmp_import_name_from_4 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 22;
|
||
|
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
tmp_assign_source_15 = IMPORT_NAME( tmp_import_name_from_4, const_str_plain_Perdoliq );
|
||
|
Py_DECREF( tmp_import_name_from_4 );
|
||
|
if ( tmp_assign_source_15 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 22;
|
||
|
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_Perdoliq, tmp_assign_source_15 );
|
||
|
}
|
||
|
branch_no_1:;
|
||
|
}
|
||
|
goto try_end_4;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_4:;
|
||
|
exception_keeper_type_4 = exception_type;
|
||
|
exception_keeper_value_4 = exception_value;
|
||
|
exception_keeper_tb_4 = exception_tb;
|
||
|
exception_keeper_lineno_4 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
// Preserve existing published exception.
|
||
|
exception_preserved_type_2 = EXC_TYPE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_type_2 );
|
||
|
exception_preserved_value_2 = EXC_VALUE(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_value_2 );
|
||
|
exception_preserved_tb_2 = (PyTracebackObject *)EXC_TRACEBACK(PyThreadState_GET());
|
||
|
Py_XINCREF( exception_preserved_tb_2 );
|
||
|
|
||
|
}
|
||
|
{
|
||
|
if ( exception_keeper_tb_4 == NULL )
|
||
|
{
|
||
|
exception_keeper_tb_4 = MAKE_TRACEBACK( frame_cf53816e6049eaa091004dae5c1891b5, exception_keeper_lineno_4 );
|
||
|
}
|
||
|
else if ( exception_keeper_lineno_4 != 0 )
|
||
|
{
|
||
|
exception_keeper_tb_4 = ADD_TRACEBACK( exception_keeper_tb_4, frame_cf53816e6049eaa091004dae5c1891b5, exception_keeper_lineno_4 );
|
||
|
}
|
||
|
|
||
|
NORMALIZE_EXCEPTION( &exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4 );
|
||
|
PyException_SetTraceback( exception_keeper_value_4, (PyObject *)exception_keeper_tb_4 );
|
||
|
PUBLISH_EXCEPTION( &exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4 );
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
PyObject *tmp_assign_source_16;
|
||
|
PyObject *tmp_import_name_from_5;
|
||
|
PyObject *tmp_name_name_13;
|
||
|
PyObject *tmp_globals_name_9;
|
||
|
PyObject *tmp_locals_name_9;
|
||
|
PyObject *tmp_fromlist_name_9;
|
||
|
PyObject *tmp_level_name_13;
|
||
|
tmp_name_name_13 = const_str_plain_main;
|
||
|
tmp_globals_name_9 = (PyObject *)moduledict___main__;
|
||
|
tmp_locals_name_9 = Py_None;
|
||
|
tmp_fromlist_name_9 = const_tuple_str_plain_Perdoliq_tuple;
|
||
|
tmp_level_name_13 = const_int_0;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 24;
|
||
|
tmp_import_name_from_5 = IMPORT_MODULE5( tmp_name_name_13, tmp_globals_name_9, tmp_locals_name_9, tmp_fromlist_name_9, tmp_level_name_13 );
|
||
|
if ( tmp_import_name_from_5 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 24;
|
||
|
|
||
|
goto try_except_handler_5;
|
||
|
}
|
||
|
tmp_assign_source_16 = IMPORT_NAME( tmp_import_name_from_5, const_str_plain_Perdoliq );
|
||
|
Py_DECREF( tmp_import_name_from_5 );
|
||
|
if ( tmp_assign_source_16 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 24;
|
||
|
|
||
|
goto try_except_handler_5;
|
||
|
}
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_Perdoliq, tmp_assign_source_16 );
|
||
|
}
|
||
|
goto try_end_5;
|
||
|
// Exception handler code:
|
||
|
try_except_handler_5:;
|
||
|
exception_keeper_type_5 = exception_type;
|
||
|
exception_keeper_value_5 = exception_value;
|
||
|
exception_keeper_tb_5 = exception_tb;
|
||
|
exception_keeper_lineno_5 = exception_lineno;
|
||
|
exception_type = NULL;
|
||
|
exception_value = NULL;
|
||
|
exception_tb = NULL;
|
||
|
exception_lineno = 0;
|
||
|
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 );
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_5;
|
||
|
exception_value = exception_keeper_value_5;
|
||
|
exception_tb = exception_keeper_tb_5;
|
||
|
exception_lineno = exception_keeper_lineno_5;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
// End of try:
|
||
|
try_end_5:;
|
||
|
}
|
||
|
{
|
||
|
// Restore previous exception.
|
||
|
SET_CURRENT_EXCEPTION( exception_preserved_type_2, exception_preserved_value_2, exception_preserved_tb_2 );
|
||
|
}
|
||
|
goto try_end_4;
|
||
|
// exception handler codes exits in all cases
|
||
|
NUITKA_CANNOT_GET_HERE( __main__ );
|
||
|
return MOD_RETURN_VALUE( NULL );
|
||
|
// End of try:
|
||
|
try_end_4:;
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_17;
|
||
|
tmp_assign_source_17 = Py_None;
|
||
|
UPDATE_STRING_DICT0( moduledict___main__, (Nuitka_StringObject *)const_str_plain_update_id, tmp_assign_source_17 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_18;
|
||
|
tmp_assign_source_18 = MAKE_FUNCTION___main__$$$function_1_main( );
|
||
|
|
||
|
|
||
|
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_main, tmp_assign_source_18 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_19;
|
||
|
tmp_assign_source_19 = MAKE_FUNCTION___main__$$$function_2_perdoliq( );
|
||
|
|
||
|
|
||
|
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_perdoliq, tmp_assign_source_19 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_20;
|
||
|
tmp_assign_source_20 = MAKE_FUNCTION___main__$$$function_3_list_test( );
|
||
|
|
||
|
|
||
|
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_list_test, tmp_assign_source_20 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_21;
|
||
|
tmp_assign_source_21 = MAKE_FUNCTION___main__$$$function_4_handle_update( );
|
||
|
|
||
|
|
||
|
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_handle_update, tmp_assign_source_21 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_22;
|
||
|
tmp_assign_source_22 = MAKE_FUNCTION___main__$$$function_5_do_action( );
|
||
|
|
||
|
|
||
|
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_do_action, tmp_assign_source_22 );
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
PyObject *tmp_called_name_2;
|
||
|
PyObject *tmp_mvar_value_4;
|
||
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_main );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_main );
|
||
|
}
|
||
|
|
||
|
CHECK_OBJECT( tmp_mvar_value_4 );
|
||
|
tmp_called_name_2 = tmp_mvar_value_4;
|
||
|
frame_cf53816e6049eaa091004dae5c1891b5->m_frame.f_lineno = 150;
|
||
|
tmp_unused = CALL_FUNCTION_NO_ARGS( tmp_called_name_2 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 150;
|
||
|
|
||
|
goto try_except_handler_6;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
goto try_end_6;
|
||
|
// 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;
|
||
|
|
||
|
Py_DECREF( exception_keeper_type_6 );
|
||
|
Py_XDECREF( exception_keeper_value_6 );
|
||
|
Py_XDECREF( exception_keeper_tb_6 );
|
||
|
goto try_end_6;
|
||
|
// exception handler codes exits in all cases
|
||
|
NUITKA_CANNOT_GET_HERE( __main__ );
|
||
|
return MOD_RETURN_VALUE( NULL );
|
||
|
// End of try:
|
||
|
try_end_6:;
|
||
|
}
|
||
|
|
||
|
// Restore frame exception if necessary.
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_cf53816e6049eaa091004dae5c1891b5 );
|
||
|
#endif
|
||
|
popFrameStack();
|
||
|
|
||
|
assertFrameObject( frame_cf53816e6049eaa091004dae5c1891b5 );
|
||
|
|
||
|
goto frame_no_exception_1;
|
||
|
|
||
|
frame_exception_exit_1:;
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_cf53816e6049eaa091004dae5c1891b5 );
|
||
|
#endif
|
||
|
|
||
|
if ( exception_tb == NULL )
|
||
|
{
|
||
|
exception_tb = MAKE_TRACEBACK( frame_cf53816e6049eaa091004dae5c1891b5, exception_lineno );
|
||
|
}
|
||
|
else if ( exception_tb->tb_frame != &frame_cf53816e6049eaa091004dae5c1891b5->m_frame )
|
||
|
{
|
||
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_cf53816e6049eaa091004dae5c1891b5, exception_lineno );
|
||
|
}
|
||
|
|
||
|
// Put the previous frame back on top.
|
||
|
popFrameStack();
|
||
|
|
||
|
// Return the error.
|
||
|
goto module_exception_exit;
|
||
|
|
||
|
frame_no_exception_1:;
|
||
|
|
||
|
return MOD_RETURN_VALUE( module___main__ );
|
||
|
module_exception_exit:
|
||
|
RESTORE_ERROR_OCCURRED( exception_type, exception_value, exception_tb );
|
||
|
return MOD_RETURN_VALUE( NULL );
|
||
|
}
|