mirror of
https://github.com/house-of-vanity/sum_counter.git
synced 2025-08-21 15:57:19 +00:00
3610 lines
112 KiB
C
3610 lines
112 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. */
|
||
|
static PyObject *const_str_digest_c4544a1c1f9096e80e3c5213c5231263;
|
||
|
static PyObject *const_str_plain_time;
|
||
|
static PyObject *const_str_plain_result;
|
||
|
static PyObject *const_str_plain_sys;
|
||
|
static PyObject *const_str_digest_a4701bf234878a3d929cec8dd5750f82;
|
||
|
static PyObject *const_str_digest_9965a000bbc42137fc77019aa9dd4219;
|
||
|
static PyObject *const_str_plain_dict;
|
||
|
static PyObject *const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple;
|
||
|
static PyObject *const_str_plain_jobs;
|
||
|
extern PyObject *const_int_pos_1;
|
||
|
static PyObject *const_str_plain_values;
|
||
|
static PyObject *const_str_plain_i;
|
||
|
static PyObject *const_str_plain_t;
|
||
|
static PyObject *const_str_digest_005274c456023550e9cd3a13998f3e0d;
|
||
|
extern PyObject *const_str_plain___file__;
|
||
|
static PyObject *const_str_plain_manager;
|
||
|
static PyObject *const_str_plain_sum_;
|
||
|
static PyObject *const_str_plain_ss;
|
||
|
static PyObject *const_str_plain_shift;
|
||
|
static PyObject *const_str_plain_Process;
|
||
|
static PyObject *const_str_plain_args;
|
||
|
extern PyObject *const_int_0;
|
||
|
static PyObject *const_str_plain_process_time;
|
||
|
static PyObject *const_str_plain_cpu_count;
|
||
|
static PyObject *const_tuple_str_digest_9965a000bbc42137fc77019aa9dd4219_tuple;
|
||
|
static PyObject *const_str_plain_target;
|
||
|
static PyObject *const_str_plain_p;
|
||
|
static PyObject *const_str_plain_value;
|
||
|
extern PyObject *const_str_plain_print;
|
||
|
extern PyObject *const_str_plain_types;
|
||
|
static PyObject *const_str_plain_sumumatoru_kun;
|
||
|
extern PyObject *const_str_plain_site;
|
||
|
static PyObject *const_tuple_10fba51fab267147b577a6daf02af88a_tuple;
|
||
|
static PyObject *const_str_plain_thread_count;
|
||
|
static PyObject *const_str_plain_proc;
|
||
|
static PyObject *const_str_plain_ee;
|
||
|
static PyObject *const_str_plain_t_end;
|
||
|
static PyObject *const_str_digest_f9e22c0cb40e9a395394897f7c027fe1;
|
||
|
static PyObject *const_str_plain_Manager;
|
||
|
static PyObject *const_str_plain_elapsed_time;
|
||
|
static PyObject *const_tuple_str_digest_dc3c9dc5a8236d3ff3a41ab0addb7990_tuple;
|
||
|
static PyObject *const_str_plain_os;
|
||
|
static PyObject *const_str_angle_module;
|
||
|
extern PyObject *const_str_plain_end;
|
||
|
static PyObject *const_int_pos_100000000;
|
||
|
extern PyObject *const_tuple_empty;
|
||
|
static PyObject *const_str_plain_summ;
|
||
|
static PyObject *const_int_pos_2;
|
||
|
static PyObject *const_str_plain_append;
|
||
|
static PyObject *const_str_plain_return_dict;
|
||
|
static PyObject *const_str_plain_multiprocessing;
|
||
|
static PyObject *const_str_plain_join;
|
||
|
extern PyObject *const_str_plain___main__;
|
||
|
static PyObject *const_str_plain_t_start;
|
||
|
static PyObject *const_str_plain___annotations__;
|
||
|
static PyObject *const_str_plain_digit;
|
||
|
static PyObject *const_str_plain_start;
|
||
|
static PyObject *const_str_digest_dc3c9dc5a8236d3ff3a41ab0addb7990;
|
||
|
static PyObject *const_str_plain_number;
|
||
|
extern PyObject *const_str_plain___doc__;
|
||
|
extern PyObject *const_str_plain___cached__;
|
||
|
static PyObject *module_filename_obj;
|
||
|
|
||
|
static bool constants_created = false;
|
||
|
|
||
|
static void createModuleConstants( void )
|
||
|
{
|
||
|
const_str_digest_c4544a1c1f9096e80e3c5213c5231263 = UNSTREAM_STRING( &constant_bin[ 0 ], 20, 0 );
|
||
|
const_str_plain_time = UNSTREAM_STRING( &constant_bin[ 20 ], 4, 1 );
|
||
|
const_str_plain_result = UNSTREAM_STRING( &constant_bin[ 8 ], 6, 1 );
|
||
|
const_str_plain_sys = UNSTREAM_STRING( &constant_bin[ 24 ], 3, 1 );
|
||
|
const_str_digest_a4701bf234878a3d929cec8dd5750f82 = UNSTREAM_STRING( &constant_bin[ 27 ], 33, 0 );
|
||
|
const_str_digest_9965a000bbc42137fc77019aa9dd4219 = UNSTREAM_STRING( &constant_bin[ 60 ], 52, 0 );
|
||
|
const_str_plain_dict = UNSTREAM_STRING( &constant_bin[ 112 ], 4, 1 );
|
||
|
const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple = PyTuple_New( 15 );
|
||
|
const_str_plain_start = UNSTREAM_STRING( &constant_bin[ 116 ], 5, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 0, const_str_plain_start ); Py_INCREF( const_str_plain_start );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 1, const_str_plain_end ); Py_INCREF( const_str_plain_end );
|
||
|
const_str_plain_thread_count = UNSTREAM_STRING( &constant_bin[ 121 ], 12, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 2, const_str_plain_thread_count ); Py_INCREF( const_str_plain_thread_count );
|
||
|
const_str_plain_shift = UNSTREAM_STRING( &constant_bin[ 133 ], 5, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 3, const_str_plain_shift ); Py_INCREF( const_str_plain_shift );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 4, const_str_plain_result ); Py_INCREF( const_str_plain_result );
|
||
|
const_str_plain_t = UNSTREAM_STRING( &constant_bin[ 13 ], 1, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 5, const_str_plain_t ); Py_INCREF( const_str_plain_t );
|
||
|
const_str_plain_manager = UNSTREAM_STRING( &constant_bin[ 138 ], 7, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 6, const_str_plain_manager ); Py_INCREF( const_str_plain_manager );
|
||
|
const_str_plain_return_dict = UNSTREAM_STRING( &constant_bin[ 145 ], 11, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 7, const_str_plain_return_dict ); Py_INCREF( const_str_plain_return_dict );
|
||
|
const_str_plain_jobs = UNSTREAM_STRING( &constant_bin[ 156 ], 4, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 8, const_str_plain_jobs ); Py_INCREF( const_str_plain_jobs );
|
||
|
const_str_plain_i = UNSTREAM_STRING( &constant_bin[ 3 ], 1, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 9, const_str_plain_i ); Py_INCREF( const_str_plain_i );
|
||
|
const_str_plain_t_start = UNSTREAM_STRING( &constant_bin[ 160 ], 7, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 10, const_str_plain_t_start ); Py_INCREF( const_str_plain_t_start );
|
||
|
const_str_plain_t_end = UNSTREAM_STRING( &constant_bin[ 167 ], 5, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 11, const_str_plain_t_end ); Py_INCREF( const_str_plain_t_end );
|
||
|
const_str_plain_p = UNSTREAM_STRING( &constant_bin[ 38 ], 1, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 12, const_str_plain_p ); Py_INCREF( const_str_plain_p );
|
||
|
const_str_plain_proc = UNSTREAM_STRING( &constant_bin[ 60 ], 4, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 13, const_str_plain_proc ); Py_INCREF( const_str_plain_proc );
|
||
|
const_str_plain_value = UNSTREAM_STRING( &constant_bin[ 172 ], 5, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 14, const_str_plain_value ); Py_INCREF( const_str_plain_value );
|
||
|
const_str_plain_values = UNSTREAM_STRING( &constant_bin[ 177 ], 6, 1 );
|
||
|
const_str_digest_005274c456023550e9cd3a13998f3e0d = UNSTREAM_STRING( &constant_bin[ 183 ], 39, 0 );
|
||
|
const_str_plain_sum_ = UNSTREAM_STRING( &constant_bin[ 42 ], 4, 1 );
|
||
|
const_str_plain_ss = UNSTREAM_STRING( &constant_bin[ 222 ], 2, 1 );
|
||
|
const_str_plain_Process = UNSTREAM_STRING( &constant_bin[ 224 ], 7, 1 );
|
||
|
const_str_plain_args = UNSTREAM_STRING( &constant_bin[ 231 ], 4, 1 );
|
||
|
const_str_plain_process_time = UNSTREAM_STRING( &constant_bin[ 235 ], 12, 1 );
|
||
|
const_str_plain_cpu_count = UNSTREAM_STRING( &constant_bin[ 247 ], 9, 1 );
|
||
|
const_tuple_str_digest_9965a000bbc42137fc77019aa9dd4219_tuple = PyTuple_New( 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_digest_9965a000bbc42137fc77019aa9dd4219_tuple, 0, const_str_digest_9965a000bbc42137fc77019aa9dd4219 ); Py_INCREF( const_str_digest_9965a000bbc42137fc77019aa9dd4219 );
|
||
|
const_str_plain_target = UNSTREAM_STRING( &constant_bin[ 256 ], 6, 1 );
|
||
|
const_str_plain_sumumatoru_kun = UNSTREAM_STRING( &constant_bin[ 262 ], 14, 1 );
|
||
|
const_tuple_10fba51fab267147b577a6daf02af88a_tuple = PyTuple_New( 10 );
|
||
|
PyTuple_SET_ITEM( const_tuple_10fba51fab267147b577a6daf02af88a_tuple, 0, const_str_plain_start ); Py_INCREF( const_str_plain_start );
|
||
|
PyTuple_SET_ITEM( const_tuple_10fba51fab267147b577a6daf02af88a_tuple, 1, const_str_plain_end ); Py_INCREF( const_str_plain_end );
|
||
|
const_str_plain_number = UNSTREAM_STRING( &constant_bin[ 276 ], 6, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_10fba51fab267147b577a6daf02af88a_tuple, 2, const_str_plain_number ); Py_INCREF( const_str_plain_number );
|
||
|
PyTuple_SET_ITEM( const_tuple_10fba51fab267147b577a6daf02af88a_tuple, 3, const_str_plain_return_dict ); Py_INCREF( const_str_plain_return_dict );
|
||
|
PyTuple_SET_ITEM( const_tuple_10fba51fab267147b577a6daf02af88a_tuple, 4, const_str_plain_t ); Py_INCREF( const_str_plain_t );
|
||
|
PyTuple_SET_ITEM( const_tuple_10fba51fab267147b577a6daf02af88a_tuple, 5, const_str_plain_sum_ ); Py_INCREF( const_str_plain_sum_ );
|
||
|
PyTuple_SET_ITEM( const_tuple_10fba51fab267147b577a6daf02af88a_tuple, 6, const_str_plain_ss ); Py_INCREF( const_str_plain_ss );
|
||
|
const_str_plain_ee = UNSTREAM_STRING( &constant_bin[ 282 ], 2, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_10fba51fab267147b577a6daf02af88a_tuple, 7, const_str_plain_ee ); Py_INCREF( const_str_plain_ee );
|
||
|
const_str_plain_digit = UNSTREAM_STRING( &constant_bin[ 284 ], 5, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_10fba51fab267147b577a6daf02af88a_tuple, 8, const_str_plain_digit ); Py_INCREF( const_str_plain_digit );
|
||
|
const_str_plain_elapsed_time = UNSTREAM_STRING( &constant_bin[ 289 ], 12, 1 );
|
||
|
PyTuple_SET_ITEM( const_tuple_10fba51fab267147b577a6daf02af88a_tuple, 9, const_str_plain_elapsed_time ); Py_INCREF( const_str_plain_elapsed_time );
|
||
|
const_str_digest_f9e22c0cb40e9a395394897f7c027fe1 = UNSTREAM_STRING( &constant_bin[ 301 ], 29, 0 );
|
||
|
const_str_plain_Manager = UNSTREAM_STRING( &constant_bin[ 330 ], 7, 1 );
|
||
|
const_tuple_str_digest_dc3c9dc5a8236d3ff3a41ab0addb7990_tuple = PyTuple_New( 1 );
|
||
|
const_str_digest_dc3c9dc5a8236d3ff3a41ab0addb7990 = UNSTREAM_STRING( &constant_bin[ 337 ], 80, 0 );
|
||
|
PyTuple_SET_ITEM( const_tuple_str_digest_dc3c9dc5a8236d3ff3a41ab0addb7990_tuple, 0, const_str_digest_dc3c9dc5a8236d3ff3a41ab0addb7990 ); Py_INCREF( const_str_digest_dc3c9dc5a8236d3ff3a41ab0addb7990 );
|
||
|
const_str_plain_os = UNSTREAM_STRING( &constant_bin[ 39 ], 2, 1 );
|
||
|
const_str_angle_module = UNSTREAM_STRING( &constant_bin[ 417 ], 8, 0 );
|
||
|
const_int_pos_100000000 = PyLong_FromUnsignedLong( 100000000ul );
|
||
|
const_str_plain_summ = UNSTREAM_STRING( &constant_bin[ 83 ], 4, 1 );
|
||
|
const_int_pos_2 = PyLong_FromUnsignedLong( 2ul );
|
||
|
const_str_plain_append = UNSTREAM_STRING( &constant_bin[ 425 ], 6, 1 );
|
||
|
const_str_plain_multiprocessing = UNSTREAM_STRING( &constant_bin[ 431 ], 15, 1 );
|
||
|
const_str_plain_join = UNSTREAM_STRING( &constant_bin[ 446 ], 4, 1 );
|
||
|
const_str_plain___annotations__ = UNSTREAM_STRING( &constant_bin[ 450 ], 15, 1 );
|
||
|
|
||
|
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_f6b78e3801460a4354a1eb60e6a728df;
|
||
|
static PyCodeObject *codeobj_0a44e874f0b9c08b1aaaa90e7687e552;
|
||
|
static PyCodeObject *codeobj_a14561711ed1f97d604f522af7d3ab7d;
|
||
|
/* For use in "MainProgram.c". */
|
||
|
PyCodeObject *codeobj_main = NULL;
|
||
|
|
||
|
static void createModuleCodeObjects(void)
|
||
|
{
|
||
|
module_filename_obj = const_str_digest_a4701bf234878a3d929cec8dd5750f82;
|
||
|
codeobj_f6b78e3801460a4354a1eb60e6a728df = MAKE_CODEOBJ( module_filename_obj, const_str_angle_module, 1, const_tuple_empty, 0, 0, CO_NOFREE );
|
||
|
codeobj_main = codeobj_f6b78e3801460a4354a1eb60e6a728df;
|
||
|
codeobj_0a44e874f0b9c08b1aaaa90e7687e552 = MAKE_CODEOBJ( module_filename_obj, const_str_plain_summ, 24, const_tuple_b4af447e777a4cfc28bebf24b93eee11_tuple, 0, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
||
|
codeobj_a14561711ed1f97d604f522af7d3ab7d = MAKE_CODEOBJ( module_filename_obj, const_str_plain_sumumatoru_kun, 10, const_tuple_10fba51fab267147b577a6daf02af88a_tuple, 4, 0, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE );
|
||
|
}
|
||
|
|
||
|
// The module function declarations.
|
||
|
static PyObject *MAKE_FUNCTION___main__$$$function_1_sumumatoru_kun( );
|
||
|
|
||
|
|
||
|
static PyObject *MAKE_FUNCTION___main__$$$function_2_summ( );
|
||
|
|
||
|
|
||
|
// The module function definitions.
|
||
|
static PyObject *impl___main__$$$function_1_sumumatoru_kun( 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_start = python_pars[ 0 ];
|
||
|
PyObject *par_end = python_pars[ 1 ];
|
||
|
PyObject *par_number = python_pars[ 2 ];
|
||
|
PyObject *par_return_dict = python_pars[ 3 ];
|
||
|
PyObject *var_t = NULL;
|
||
|
PyObject *var_sum_ = NULL;
|
||
|
PyObject *var_ss = NULL;
|
||
|
PyObject *var_ee = NULL;
|
||
|
PyObject *var_digit = NULL;
|
||
|
PyObject *var_elapsed_time = NULL;
|
||
|
PyObject *tmp_for_loop_1__for_iterator = NULL;
|
||
|
PyObject *tmp_for_loop_1__iter_value = NULL;
|
||
|
struct Nuitka_FrameObject *frame_a14561711ed1f97d604f522af7d3ab7d;
|
||
|
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;
|
||
|
bool tmp_result;
|
||
|
PyObject *exception_keeper_type_1;
|
||
|
PyObject *exception_keeper_value_1;
|
||
|
PyTracebackObject *exception_keeper_tb_1;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
|
||
|
NUITKA_MAY_BE_UNUSED PyObject *tmp_unused;
|
||
|
PyObject *tmp_return_value = NULL;
|
||
|
static struct Nuitka_FrameObject *cache_frame_a14561711ed1f97d604f522af7d3ab7d = 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_a14561711ed1f97d604f522af7d3ab7d, codeobj_a14561711ed1f97d604f522af7d3ab7d, module___main__, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
||
|
frame_a14561711ed1f97d604f522af7d3ab7d = cache_frame_a14561711ed1f97d604f522af7d3ab7d;
|
||
|
|
||
|
// Push the new frame as the currently active one.
|
||
|
pushFrameStack( frame_a14561711ed1f97d604f522af7d3ab7d );
|
||
|
|
||
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
||
|
assert( Py_REFCNT( frame_a14561711ed1f97d604f522af7d3ab7d ) == 2 ); // Frame stack
|
||
|
|
||
|
// Framed code:
|
||
|
{
|
||
|
PyObject *tmp_assign_source_1;
|
||
|
PyObject *tmp_called_instance_1;
|
||
|
PyObject *tmp_mvar_value_1;
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_time );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_time );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_1 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "time" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 11;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_called_instance_1 = tmp_mvar_value_1;
|
||
|
frame_a14561711ed1f97d604f522af7d3ab7d->m_frame.f_lineno = 11;
|
||
|
tmp_assign_source_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_process_time );
|
||
|
if ( tmp_assign_source_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 11;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( var_t == NULL );
|
||
|
var_t = tmp_assign_source_1;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_2;
|
||
|
tmp_assign_source_2 = const_int_0;
|
||
|
assert( var_sum_ == NULL );
|
||
|
Py_INCREF( tmp_assign_source_2 );
|
||
|
var_sum_ = tmp_assign_source_2;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_3;
|
||
|
if ( par_start == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "start" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 13;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_assign_source_3 = par_start;
|
||
|
assert( var_ss == NULL );
|
||
|
Py_INCREF( tmp_assign_source_3 );
|
||
|
var_ss = tmp_assign_source_3;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_4;
|
||
|
if ( par_end == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "end" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 14;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_assign_source_4 = par_end;
|
||
|
assert( var_ee == NULL );
|
||
|
Py_INCREF( tmp_assign_source_4 );
|
||
|
var_ee = tmp_assign_source_4;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
loop_start_1:;
|
||
|
{
|
||
|
nuitka_bool tmp_condition_result_1;
|
||
|
PyObject *tmp_operand_name_1;
|
||
|
PyObject *tmp_compexpr_left_1;
|
||
|
PyObject *tmp_compexpr_right_1;
|
||
|
if ( par_start == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "start" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 15;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_compexpr_left_1 = par_start;
|
||
|
if ( par_end == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "end" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 15;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_compexpr_right_1 = par_end;
|
||
|
tmp_operand_name_1 = RICH_COMPARE_LE( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
||
|
if ( tmp_operand_name_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 15;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_res = CHECK_IF_TRUE( tmp_operand_name_1 );
|
||
|
Py_DECREF( tmp_operand_name_1 );
|
||
|
if ( tmp_res == -1 )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 15;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
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:;
|
||
|
{
|
||
|
goto loop_end_1;
|
||
|
}
|
||
|
branch_no_1:;
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_5;
|
||
|
PyObject *tmp_iter_arg_1;
|
||
|
PyObject *tmp_unicode_arg_1;
|
||
|
if ( par_start == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "start" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 16;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_unicode_arg_1 = par_start;
|
||
|
tmp_iter_arg_1 = PyObject_Unicode( tmp_unicode_arg_1 );
|
||
|
if ( tmp_iter_arg_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 16;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_assign_source_5 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
||
|
Py_DECREF( tmp_iter_arg_1 );
|
||
|
if ( tmp_assign_source_5 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 16;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
{
|
||
|
PyObject *old = tmp_for_loop_1__for_iterator;
|
||
|
tmp_for_loop_1__for_iterator = tmp_assign_source_5;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
loop_start_2:;
|
||
|
{
|
||
|
PyObject *tmp_next_source_1;
|
||
|
PyObject *tmp_assign_source_6;
|
||
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
||
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
||
|
tmp_assign_source_6 = ITERATOR_NEXT( tmp_next_source_1 );
|
||
|
if ( tmp_assign_source_6 == 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 = "oooooooooo";
|
||
|
exception_lineno = 16;
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
{
|
||
|
PyObject *old = tmp_for_loop_1__iter_value;
|
||
|
tmp_for_loop_1__iter_value = tmp_assign_source_6;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_7;
|
||
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
||
|
tmp_assign_source_7 = tmp_for_loop_1__iter_value;
|
||
|
{
|
||
|
PyObject *old = var_digit;
|
||
|
var_digit = tmp_assign_source_7;
|
||
|
Py_INCREF( var_digit );
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_8;
|
||
|
PyObject *tmp_left_name_1;
|
||
|
PyObject *tmp_right_name_1;
|
||
|
PyObject *tmp_int_arg_1;
|
||
|
if ( var_sum_ == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sum_" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 17;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_1 = var_sum_;
|
||
|
CHECK_OBJECT( var_digit );
|
||
|
tmp_int_arg_1 = var_digit;
|
||
|
tmp_right_name_1 = PyNumber_Int( tmp_int_arg_1 );
|
||
|
if ( tmp_right_name_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 17;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_1, tmp_right_name_1 );
|
||
|
tmp_assign_source_8 = tmp_left_name_1;
|
||
|
Py_DECREF( tmp_right_name_1 );
|
||
|
if ( tmp_result == false )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 17;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
var_sum_ = tmp_assign_source_8;
|
||
|
|
||
|
}
|
||
|
if ( CONSIDER_THREADING() == false )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 16;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
goto loop_start_2;
|
||
|
loop_end_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;
|
||
|
|
||
|
{
|
||
|
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:;
|
||
|
}
|
||
|
{
|
||
|
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_assign_source_9;
|
||
|
PyObject *tmp_left_name_2;
|
||
|
PyObject *tmp_right_name_2;
|
||
|
if ( par_start == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "start" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 18;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_2 = par_start;
|
||
|
tmp_right_name_2 = const_int_pos_1;
|
||
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE( &tmp_left_name_2, tmp_right_name_2 );
|
||
|
tmp_assign_source_9 = tmp_left_name_2;
|
||
|
if ( tmp_result == false )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 18;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
par_start = tmp_assign_source_9;
|
||
|
|
||
|
}
|
||
|
if ( CONSIDER_THREADING() == false )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 15;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
goto loop_start_1;
|
||
|
loop_end_1:;
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_ass_subvalue_1;
|
||
|
PyObject *tmp_ass_subscribed_1;
|
||
|
PyObject *tmp_ass_subscript_1;
|
||
|
if ( var_sum_ == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sum_" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 19;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_ass_subvalue_1 = var_sum_;
|
||
|
if ( par_return_dict == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "return_dict" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 19;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_ass_subscribed_1 = par_return_dict;
|
||
|
if ( par_number == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "number" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 19;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_ass_subscript_1 = par_number;
|
||
|
tmp_result = SET_SUBSCRIPT( tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1 );
|
||
|
if ( tmp_result == false )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 19;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_10;
|
||
|
PyObject *tmp_left_name_3;
|
||
|
PyObject *tmp_called_instance_2;
|
||
|
PyObject *tmp_mvar_value_2;
|
||
|
PyObject *tmp_right_name_3;
|
||
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_time );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_time );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_2 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "time" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 20;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_called_instance_2 = tmp_mvar_value_2;
|
||
|
frame_a14561711ed1f97d604f522af7d3ab7d->m_frame.f_lineno = 20;
|
||
|
tmp_left_name_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_process_time );
|
||
|
if ( tmp_left_name_3 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 20;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
if ( var_t == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_left_name_3 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "t" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 20;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_right_name_3 = var_t;
|
||
|
tmp_assign_source_10 = BINARY_OPERATION_SUB( tmp_left_name_3, tmp_right_name_3 );
|
||
|
Py_DECREF( tmp_left_name_3 );
|
||
|
if ( tmp_assign_source_10 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 20;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( var_elapsed_time == NULL );
|
||
|
var_elapsed_time = tmp_assign_source_10;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_name_1;
|
||
|
PyObject *tmp_args_element_name_1;
|
||
|
PyObject *tmp_left_name_4;
|
||
|
PyObject *tmp_right_name_4;
|
||
|
PyObject *tmp_tuple_element_1;
|
||
|
tmp_called_name_1 = LOOKUP_BUILTIN( const_str_plain_print );
|
||
|
assert( tmp_called_name_1 != NULL );
|
||
|
tmp_left_name_4 = const_str_digest_f9e22c0cb40e9a395394897f7c027fe1;
|
||
|
if ( par_number == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "number" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 21;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_1 = par_number;
|
||
|
tmp_right_name_4 = PyTuple_New( 5 );
|
||
|
Py_INCREF( tmp_tuple_element_1 );
|
||
|
PyTuple_SET_ITEM( tmp_right_name_4, 0, tmp_tuple_element_1 );
|
||
|
if ( var_ss == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_right_name_4 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ss" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 21;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_1 = var_ss;
|
||
|
Py_INCREF( tmp_tuple_element_1 );
|
||
|
PyTuple_SET_ITEM( tmp_right_name_4, 1, tmp_tuple_element_1 );
|
||
|
if ( var_ee == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_right_name_4 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "ee" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 21;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_1 = var_ee;
|
||
|
Py_INCREF( tmp_tuple_element_1 );
|
||
|
PyTuple_SET_ITEM( tmp_right_name_4, 2, tmp_tuple_element_1 );
|
||
|
if ( var_sum_ == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_right_name_4 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sum_" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 21;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_1 = var_sum_;
|
||
|
Py_INCREF( tmp_tuple_element_1 );
|
||
|
PyTuple_SET_ITEM( tmp_right_name_4, 3, tmp_tuple_element_1 );
|
||
|
CHECK_OBJECT( var_elapsed_time );
|
||
|
tmp_tuple_element_1 = var_elapsed_time;
|
||
|
Py_INCREF( tmp_tuple_element_1 );
|
||
|
PyTuple_SET_ITEM( tmp_right_name_4, 4, tmp_tuple_element_1 );
|
||
|
tmp_args_element_name_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_4, tmp_right_name_4 );
|
||
|
Py_DECREF( tmp_right_name_4 );
|
||
|
if ( tmp_args_element_name_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 21;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
frame_a14561711ed1f97d604f522af7d3ab7d->m_frame.f_lineno = 21;
|
||
|
{
|
||
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
||
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
||
|
}
|
||
|
|
||
|
Py_DECREF( tmp_args_element_name_1 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 21;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
if ( var_sum_ == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "sum_" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 22;
|
||
|
type_description_1 = "oooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_return_value = var_sum_;
|
||
|
Py_INCREF( tmp_return_value );
|
||
|
goto frame_return_exit_1;
|
||
|
}
|
||
|
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_a14561711ed1f97d604f522af7d3ab7d );
|
||
|
#endif
|
||
|
|
||
|
// Put the previous frame back on top.
|
||
|
popFrameStack();
|
||
|
|
||
|
goto frame_no_exception_1;
|
||
|
|
||
|
frame_return_exit_1:;
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_a14561711ed1f97d604f522af7d3ab7d );
|
||
|
#endif
|
||
|
|
||
|
// Put the previous frame back on top.
|
||
|
popFrameStack();
|
||
|
|
||
|
goto try_return_handler_1;
|
||
|
|
||
|
frame_exception_exit_1:;
|
||
|
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_a14561711ed1f97d604f522af7d3ab7d );
|
||
|
#endif
|
||
|
|
||
|
if ( exception_tb == NULL )
|
||
|
{
|
||
|
exception_tb = MAKE_TRACEBACK( frame_a14561711ed1f97d604f522af7d3ab7d, exception_lineno );
|
||
|
}
|
||
|
else if ( exception_tb->tb_frame != &frame_a14561711ed1f97d604f522af7d3ab7d->m_frame )
|
||
|
{
|
||
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_a14561711ed1f97d604f522af7d3ab7d, exception_lineno );
|
||
|
}
|
||
|
|
||
|
// Attachs locals to frame if any.
|
||
|
Nuitka_Frame_AttachLocals(
|
||
|
(struct Nuitka_FrameObject *)frame_a14561711ed1f97d604f522af7d3ab7d,
|
||
|
type_description_1,
|
||
|
par_start,
|
||
|
par_end,
|
||
|
par_number,
|
||
|
par_return_dict,
|
||
|
var_t,
|
||
|
var_sum_,
|
||
|
var_ss,
|
||
|
var_ee,
|
||
|
var_digit,
|
||
|
var_elapsed_time
|
||
|
);
|
||
|
|
||
|
|
||
|
// Release cached frame.
|
||
|
if ( frame_a14561711ed1f97d604f522af7d3ab7d == cache_frame_a14561711ed1f97d604f522af7d3ab7d )
|
||
|
{
|
||
|
Py_DECREF( frame_a14561711ed1f97d604f522af7d3ab7d );
|
||
|
}
|
||
|
cache_frame_a14561711ed1f97d604f522af7d3ab7d = NULL;
|
||
|
|
||
|
assertFrameObject( frame_a14561711ed1f97d604f522af7d3ab7d );
|
||
|
|
||
|
// 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_sumumatoru_kun );
|
||
|
return NULL;
|
||
|
// Return handler code:
|
||
|
try_return_handler_1:;
|
||
|
{
|
||
|
Py_XDECREF( par_start );
|
||
|
par_start = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_end );
|
||
|
par_end = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_number );
|
||
|
par_number = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_return_dict );
|
||
|
par_return_dict = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_t );
|
||
|
var_t = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_sum_ );
|
||
|
var_sum_ = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_ss );
|
||
|
var_ss = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_ee );
|
||
|
var_ee = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_digit );
|
||
|
var_digit = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_elapsed_time );
|
||
|
var_elapsed_time = 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_start );
|
||
|
par_start = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_end );
|
||
|
par_end = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_number );
|
||
|
par_number = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( par_return_dict );
|
||
|
par_return_dict = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_t );
|
||
|
var_t = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_sum_ );
|
||
|
var_sum_ = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_ss );
|
||
|
var_ss = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_ee );
|
||
|
var_ee = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_digit );
|
||
|
var_digit = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_elapsed_time );
|
||
|
var_elapsed_time = 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_1_sumumatoru_kun );
|
||
|
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_2_summ( 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_start = NULL;
|
||
|
PyObject *var_end = NULL;
|
||
|
PyObject *var_thread_count = NULL;
|
||
|
PyObject *var_shift = NULL;
|
||
|
PyObject *var_result = NULL;
|
||
|
PyObject *var_t = NULL;
|
||
|
PyObject *var_manager = NULL;
|
||
|
PyObject *var_return_dict = NULL;
|
||
|
PyObject *var_jobs = NULL;
|
||
|
PyObject *var_i = NULL;
|
||
|
PyObject *var_t_start = NULL;
|
||
|
PyObject *var_t_end = NULL;
|
||
|
PyObject *var_p = NULL;
|
||
|
PyObject *var_proc = NULL;
|
||
|
PyObject *var_value = 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;
|
||
|
PyObject *tmp_for_loop_3__for_iterator = NULL;
|
||
|
PyObject *tmp_for_loop_3__iter_value = NULL;
|
||
|
struct Nuitka_FrameObject *frame_0a44e874f0b9c08b1aaaa90e7687e552;
|
||
|
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_keeper_type_2;
|
||
|
PyObject *exception_keeper_value_2;
|
||
|
PyTracebackObject *exception_keeper_tb_2;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
|
||
|
PyObject *exception_keeper_type_3;
|
||
|
PyObject *exception_keeper_value_3;
|
||
|
PyTracebackObject *exception_keeper_tb_3;
|
||
|
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
|
||
|
static struct Nuitka_FrameObject *cache_frame_0a44e874f0b9c08b1aaaa90e7687e552 = NULL;
|
||
|
PyObject *tmp_return_value = 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.
|
||
|
{
|
||
|
PyObject *tmp_assign_source_1;
|
||
|
tmp_assign_source_1 = const_int_0;
|
||
|
assert( var_start == NULL );
|
||
|
Py_INCREF( tmp_assign_source_1 );
|
||
|
var_start = tmp_assign_source_1;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_2;
|
||
|
tmp_assign_source_2 = const_int_pos_100000000;
|
||
|
assert( var_end == NULL );
|
||
|
Py_INCREF( tmp_assign_source_2 );
|
||
|
var_end = tmp_assign_source_2;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
MAKE_OR_REUSE_FRAME( cache_frame_0a44e874f0b9c08b1aaaa90e7687e552, codeobj_0a44e874f0b9c08b1aaaa90e7687e552, module___main__, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *) );
|
||
|
frame_0a44e874f0b9c08b1aaaa90e7687e552 = cache_frame_0a44e874f0b9c08b1aaaa90e7687e552;
|
||
|
|
||
|
// Push the new frame as the currently active one.
|
||
|
pushFrameStack( frame_0a44e874f0b9c08b1aaaa90e7687e552 );
|
||
|
|
||
|
// Mark the frame object as in use, ref count 1 will be up for reuse.
|
||
|
assert( Py_REFCNT( frame_0a44e874f0b9c08b1aaaa90e7687e552 ) == 2 ); // Frame stack
|
||
|
|
||
|
// Framed code:
|
||
|
{
|
||
|
PyObject *tmp_assign_source_3;
|
||
|
PyObject *tmp_left_name_1;
|
||
|
PyObject *tmp_called_instance_1;
|
||
|
PyObject *tmp_mvar_value_1;
|
||
|
PyObject *tmp_right_name_1;
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_multiprocessing );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_multiprocessing );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_1 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "multiprocessing" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 27;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_called_instance_1 = tmp_mvar_value_1;
|
||
|
frame_0a44e874f0b9c08b1aaaa90e7687e552->m_frame.f_lineno = 27;
|
||
|
tmp_left_name_1 = CALL_METHOD_NO_ARGS( tmp_called_instance_1, const_str_plain_cpu_count );
|
||
|
if ( tmp_left_name_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 27;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_right_name_1 = const_int_pos_2;
|
||
|
tmp_assign_source_3 = BINARY_OPERATION_MUL( tmp_left_name_1, tmp_right_name_1 );
|
||
|
Py_DECREF( tmp_left_name_1 );
|
||
|
if ( tmp_assign_source_3 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 27;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( var_thread_count == NULL );
|
||
|
var_thread_count = tmp_assign_source_3;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_4;
|
||
|
PyObject *tmp_int_arg_1;
|
||
|
PyObject *tmp_left_name_2;
|
||
|
PyObject *tmp_left_name_3;
|
||
|
PyObject *tmp_right_name_2;
|
||
|
PyObject *tmp_right_name_3;
|
||
|
if ( var_end == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "end" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 29;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_3 = var_end;
|
||
|
if ( var_start == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "start" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 29;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_right_name_2 = var_start;
|
||
|
tmp_left_name_2 = BINARY_OPERATION_SUB( tmp_left_name_3, tmp_right_name_2 );
|
||
|
if ( tmp_left_name_2 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 29;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
if ( var_thread_count == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_left_name_2 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "thread_count" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 29;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_right_name_3 = var_thread_count;
|
||
|
tmp_int_arg_1 = BINARY_OPERATION_TRUEDIV( tmp_left_name_2, tmp_right_name_3 );
|
||
|
Py_DECREF( tmp_left_name_2 );
|
||
|
if ( tmp_int_arg_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 29;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_assign_source_4 = PyNumber_Int( tmp_int_arg_1 );
|
||
|
Py_DECREF( tmp_int_arg_1 );
|
||
|
if ( tmp_assign_source_4 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 29;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( var_shift == NULL );
|
||
|
var_shift = tmp_assign_source_4;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_5;
|
||
|
tmp_assign_source_5 = const_int_0;
|
||
|
assert( var_result == NULL );
|
||
|
Py_INCREF( tmp_assign_source_5 );
|
||
|
var_result = tmp_assign_source_5;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_name_1;
|
||
|
PyObject *tmp_args_element_name_1;
|
||
|
PyObject *tmp_left_name_4;
|
||
|
PyObject *tmp_right_name_4;
|
||
|
PyObject *tmp_tuple_element_1;
|
||
|
PyObject *tmp_int_arg_2;
|
||
|
PyObject *tmp_left_name_5;
|
||
|
PyObject *tmp_right_name_5;
|
||
|
tmp_called_name_1 = LOOKUP_BUILTIN( const_str_plain_print );
|
||
|
assert( tmp_called_name_1 != NULL );
|
||
|
tmp_left_name_4 = const_str_digest_005274c456023550e9cd3a13998f3e0d;
|
||
|
if ( var_thread_count == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "thread_count" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 31;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_5 = var_thread_count;
|
||
|
tmp_right_name_5 = const_int_pos_2;
|
||
|
tmp_int_arg_2 = BINARY_OPERATION_TRUEDIV( tmp_left_name_5, tmp_right_name_5 );
|
||
|
if ( tmp_int_arg_2 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 31;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_tuple_element_1 = PyNumber_Int( tmp_int_arg_2 );
|
||
|
Py_DECREF( tmp_int_arg_2 );
|
||
|
if ( tmp_tuple_element_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 31;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_right_name_4 = PyTuple_New( 2 );
|
||
|
PyTuple_SET_ITEM( tmp_right_name_4, 0, tmp_tuple_element_1 );
|
||
|
if ( var_thread_count == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_right_name_4 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "thread_count" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 31;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_1 = var_thread_count;
|
||
|
Py_INCREF( tmp_tuple_element_1 );
|
||
|
PyTuple_SET_ITEM( tmp_right_name_4, 1, tmp_tuple_element_1 );
|
||
|
tmp_args_element_name_1 = BINARY_OPERATION_REMAINDER( tmp_left_name_4, tmp_right_name_4 );
|
||
|
Py_DECREF( tmp_right_name_4 );
|
||
|
if ( tmp_args_element_name_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 31;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
frame_0a44e874f0b9c08b1aaaa90e7687e552->m_frame.f_lineno = 31;
|
||
|
{
|
||
|
PyObject *call_args[] = { tmp_args_element_name_1 };
|
||
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_1, call_args );
|
||
|
}
|
||
|
|
||
|
Py_DECREF( tmp_args_element_name_1 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 31;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_6;
|
||
|
PyObject *tmp_called_instance_2;
|
||
|
PyObject *tmp_mvar_value_2;
|
||
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_time );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_2 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_2 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_time );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_2 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "time" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 32;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_called_instance_2 = tmp_mvar_value_2;
|
||
|
frame_0a44e874f0b9c08b1aaaa90e7687e552->m_frame.f_lineno = 32;
|
||
|
tmp_assign_source_6 = CALL_METHOD_NO_ARGS( tmp_called_instance_2, const_str_plain_process_time );
|
||
|
if ( tmp_assign_source_6 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 32;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( var_t == NULL );
|
||
|
var_t = tmp_assign_source_6;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_name_2;
|
||
|
tmp_called_name_2 = LOOKUP_BUILTIN( const_str_plain_print );
|
||
|
assert( tmp_called_name_2 != NULL );
|
||
|
frame_0a44e874f0b9c08b1aaaa90e7687e552->m_frame.f_lineno = 33;
|
||
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_2, &PyTuple_GET_ITEM( const_tuple_str_digest_9965a000bbc42137fc77019aa9dd4219_tuple, 0 ) );
|
||
|
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 33;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_name_3;
|
||
|
tmp_called_name_3 = LOOKUP_BUILTIN( const_str_plain_print );
|
||
|
assert( tmp_called_name_3 != NULL );
|
||
|
frame_0a44e874f0b9c08b1aaaa90e7687e552->m_frame.f_lineno = 34;
|
||
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_3, &PyTuple_GET_ITEM( const_tuple_str_digest_dc3c9dc5a8236d3ff3a41ab0addb7990_tuple, 0 ) );
|
||
|
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 34;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_7;
|
||
|
PyObject *tmp_called_instance_3;
|
||
|
PyObject *tmp_mvar_value_3;
|
||
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_multiprocessing );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_3 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_3 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_multiprocessing );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_3 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "multiprocessing" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 35;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_called_instance_3 = tmp_mvar_value_3;
|
||
|
frame_0a44e874f0b9c08b1aaaa90e7687e552->m_frame.f_lineno = 35;
|
||
|
tmp_assign_source_7 = CALL_METHOD_NO_ARGS( tmp_called_instance_3, const_str_plain_Manager );
|
||
|
if ( tmp_assign_source_7 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 35;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( var_manager == NULL );
|
||
|
var_manager = tmp_assign_source_7;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_8;
|
||
|
PyObject *tmp_called_instance_4;
|
||
|
CHECK_OBJECT( var_manager );
|
||
|
tmp_called_instance_4 = var_manager;
|
||
|
frame_0a44e874f0b9c08b1aaaa90e7687e552->m_frame.f_lineno = 36;
|
||
|
tmp_assign_source_8 = CALL_METHOD_NO_ARGS( tmp_called_instance_4, const_str_plain_dict );
|
||
|
if ( tmp_assign_source_8 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 36;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( var_return_dict == NULL );
|
||
|
var_return_dict = tmp_assign_source_8;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_9;
|
||
|
tmp_assign_source_9 = PyList_New( 0 );
|
||
|
assert( var_jobs == NULL );
|
||
|
var_jobs = tmp_assign_source_9;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_10;
|
||
|
PyObject *tmp_iter_arg_1;
|
||
|
PyObject *tmp_xrange_low_1;
|
||
|
if ( var_thread_count == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "thread_count" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 38;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_xrange_low_1 = var_thread_count;
|
||
|
tmp_iter_arg_1 = BUILTIN_XRANGE1( tmp_xrange_low_1 );
|
||
|
if ( tmp_iter_arg_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 38;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_assign_source_10 = MAKE_ITERATOR( tmp_iter_arg_1 );
|
||
|
Py_DECREF( tmp_iter_arg_1 );
|
||
|
if ( tmp_assign_source_10 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 38;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( tmp_for_loop_1__for_iterator == NULL );
|
||
|
tmp_for_loop_1__for_iterator = tmp_assign_source_10;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
loop_start_1:;
|
||
|
{
|
||
|
PyObject *tmp_next_source_1;
|
||
|
PyObject *tmp_assign_source_11;
|
||
|
CHECK_OBJECT( tmp_for_loop_1__for_iterator );
|
||
|
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
|
||
|
tmp_assign_source_11 = ITERATOR_NEXT( tmp_next_source_1 );
|
||
|
if ( tmp_assign_source_11 == 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 = "ooooooooooooooo";
|
||
|
exception_lineno = 38;
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
{
|
||
|
PyObject *old = tmp_for_loop_1__iter_value;
|
||
|
tmp_for_loop_1__iter_value = tmp_assign_source_11;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_12;
|
||
|
CHECK_OBJECT( tmp_for_loop_1__iter_value );
|
||
|
tmp_assign_source_12 = tmp_for_loop_1__iter_value;
|
||
|
{
|
||
|
PyObject *old = var_i;
|
||
|
var_i = tmp_assign_source_12;
|
||
|
Py_INCREF( var_i );
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_13;
|
||
|
PyObject *tmp_left_name_6;
|
||
|
PyObject *tmp_right_name_6;
|
||
|
PyObject *tmp_left_name_7;
|
||
|
PyObject *tmp_right_name_7;
|
||
|
if ( var_start == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "start" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 39;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_6 = var_start;
|
||
|
if ( var_shift == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "shift" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 39;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_7 = var_shift;
|
||
|
CHECK_OBJECT( var_i );
|
||
|
tmp_right_name_7 = var_i;
|
||
|
tmp_right_name_6 = BINARY_OPERATION_MUL( tmp_left_name_7, tmp_right_name_7 );
|
||
|
if ( tmp_right_name_6 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 39;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_assign_source_13 = BINARY_OPERATION_ADD( tmp_left_name_6, tmp_right_name_6 );
|
||
|
Py_DECREF( tmp_right_name_6 );
|
||
|
if ( tmp_assign_source_13 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 39;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
{
|
||
|
PyObject *old = var_t_start;
|
||
|
var_t_start = tmp_assign_source_13;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
nuitka_bool tmp_condition_result_1;
|
||
|
PyObject *tmp_compexpr_left_1;
|
||
|
PyObject *tmp_compexpr_right_1;
|
||
|
PyObject *tmp_left_name_8;
|
||
|
PyObject *tmp_right_name_8;
|
||
|
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 = 40;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_compexpr_left_1 = var_i;
|
||
|
if ( var_thread_count == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "thread_count" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 40;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_8 = var_thread_count;
|
||
|
tmp_right_name_8 = const_int_pos_1;
|
||
|
tmp_compexpr_right_1 = BINARY_OPERATION_SUB( tmp_left_name_8, tmp_right_name_8 );
|
||
|
if ( tmp_compexpr_right_1 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 40;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_res = RICH_COMPARE_BOOL_EQ( tmp_compexpr_left_1, tmp_compexpr_right_1 );
|
||
|
Py_DECREF( 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 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_condition_result_1 = ( tmp_res != 0 ) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
|
||
|
if ( tmp_condition_result_1 == NUITKA_BOOL_TRUE )
|
||
|
{
|
||
|
goto branch_yes_1;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
goto branch_no_1;
|
||
|
}
|
||
|
branch_yes_1:;
|
||
|
{
|
||
|
PyObject *tmp_assign_source_14;
|
||
|
if ( var_end == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "end" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 41;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_assign_source_14 = var_end;
|
||
|
{
|
||
|
PyObject *old = var_t_end;
|
||
|
var_t_end = tmp_assign_source_14;
|
||
|
Py_INCREF( var_t_end );
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
goto branch_end_1;
|
||
|
branch_no_1:;
|
||
|
{
|
||
|
PyObject *tmp_assign_source_15;
|
||
|
PyObject *tmp_left_name_9;
|
||
|
PyObject *tmp_left_name_10;
|
||
|
PyObject *tmp_right_name_9;
|
||
|
PyObject *tmp_right_name_10;
|
||
|
if ( var_t_start == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "t_start" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 43;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_10 = var_t_start;
|
||
|
if ( var_shift == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "shift" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 43;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_right_name_9 = var_shift;
|
||
|
tmp_left_name_9 = BINARY_OPERATION_ADD( tmp_left_name_10, tmp_right_name_9 );
|
||
|
if ( tmp_left_name_9 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 43;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_right_name_10 = const_int_pos_1;
|
||
|
tmp_assign_source_15 = BINARY_OPERATION_SUB( tmp_left_name_9, tmp_right_name_10 );
|
||
|
Py_DECREF( tmp_left_name_9 );
|
||
|
if ( tmp_assign_source_15 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 43;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
{
|
||
|
PyObject *old = var_t_end;
|
||
|
var_t_end = tmp_assign_source_15;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
branch_end_1:;
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_16;
|
||
|
PyObject *tmp_called_name_4;
|
||
|
PyObject *tmp_source_name_1;
|
||
|
PyObject *tmp_mvar_value_4;
|
||
|
PyObject *tmp_kw_name_1;
|
||
|
PyObject *tmp_dict_key_1;
|
||
|
PyObject *tmp_dict_value_1;
|
||
|
PyObject *tmp_mvar_value_5;
|
||
|
PyObject *tmp_dict_key_2;
|
||
|
PyObject *tmp_dict_value_2;
|
||
|
PyObject *tmp_tuple_element_2;
|
||
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_multiprocessing );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_4 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_4 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_multiprocessing );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_4 == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "multiprocessing" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 44;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_1 = tmp_mvar_value_4;
|
||
|
tmp_called_name_4 = LOOKUP_ATTRIBUTE( tmp_source_name_1, const_str_plain_Process );
|
||
|
if ( tmp_called_name_4 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 44;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
tmp_dict_key_1 = const_str_plain_target;
|
||
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_sumumatoru_kun );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_5 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_5 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_sumumatoru_kun );
|
||
|
}
|
||
|
|
||
|
if ( tmp_mvar_value_5 == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_called_name_4 );
|
||
|
exception_type = PyExc_NameError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "name '%s' is not defined", "sumumatoru_kun" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 44;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_dict_value_1 = tmp_mvar_value_5;
|
||
|
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_args;
|
||
|
if ( var_t_start == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_called_name_4 );
|
||
|
Py_DECREF( tmp_kw_name_1 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "t_start" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 44;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_2 = var_t_start;
|
||
|
tmp_dict_value_2 = PyTuple_New( 4 );
|
||
|
Py_INCREF( tmp_tuple_element_2 );
|
||
|
PyTuple_SET_ITEM( tmp_dict_value_2, 0, tmp_tuple_element_2 );
|
||
|
if ( var_t_end == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_called_name_4 );
|
||
|
Py_DECREF( tmp_kw_name_1 );
|
||
|
Py_DECREF( tmp_dict_value_2 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "t_end" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 44;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_2 = var_t_end;
|
||
|
Py_INCREF( tmp_tuple_element_2 );
|
||
|
PyTuple_SET_ITEM( tmp_dict_value_2, 1, tmp_tuple_element_2 );
|
||
|
if ( var_i == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_called_name_4 );
|
||
|
Py_DECREF( tmp_kw_name_1 );
|
||
|
Py_DECREF( tmp_dict_value_2 );
|
||
|
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 = 44;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_2 = var_i;
|
||
|
Py_INCREF( tmp_tuple_element_2 );
|
||
|
PyTuple_SET_ITEM( tmp_dict_value_2, 2, tmp_tuple_element_2 );
|
||
|
if ( var_return_dict == NULL )
|
||
|
{
|
||
|
Py_DECREF( tmp_called_name_4 );
|
||
|
Py_DECREF( tmp_kw_name_1 );
|
||
|
Py_DECREF( tmp_dict_value_2 );
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "return_dict" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 44;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_tuple_element_2 = var_return_dict;
|
||
|
Py_INCREF( tmp_tuple_element_2 );
|
||
|
PyTuple_SET_ITEM( tmp_dict_value_2, 3, tmp_tuple_element_2 );
|
||
|
tmp_res = PyDict_SetItem( tmp_kw_name_1, tmp_dict_key_2, tmp_dict_value_2 );
|
||
|
Py_DECREF( tmp_dict_value_2 );
|
||
|
assert( !(tmp_res != 0) );
|
||
|
frame_0a44e874f0b9c08b1aaaa90e7687e552->m_frame.f_lineno = 44;
|
||
|
tmp_assign_source_16 = CALL_FUNCTION_WITH_KEYARGS( tmp_called_name_4, tmp_kw_name_1 );
|
||
|
Py_DECREF( tmp_called_name_4 );
|
||
|
Py_DECREF( tmp_kw_name_1 );
|
||
|
if ( tmp_assign_source_16 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 44;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
{
|
||
|
PyObject *old = var_p;
|
||
|
var_p = tmp_assign_source_16;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_name_5;
|
||
|
PyObject *tmp_source_name_2;
|
||
|
PyObject *tmp_args_element_name_2;
|
||
|
if ( var_jobs == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "jobs" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 45;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_source_name_2 = var_jobs;
|
||
|
tmp_called_name_5 = LOOKUP_ATTRIBUTE( tmp_source_name_2, const_str_plain_append );
|
||
|
if ( tmp_called_name_5 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 45;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
if ( var_p == 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", "p" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 45;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_args_element_name_2 = var_p;
|
||
|
frame_0a44e874f0b9c08b1aaaa90e7687e552->m_frame.f_lineno = 45;
|
||
|
{
|
||
|
PyObject *call_args[] = { tmp_args_element_name_2 };
|
||
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_5, call_args );
|
||
|
}
|
||
|
|
||
|
Py_DECREF( tmp_called_name_5 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 45;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_instance_5;
|
||
|
if ( var_p == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "p" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 46;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
|
||
|
tmp_called_instance_5 = var_p;
|
||
|
frame_0a44e874f0b9c08b1aaaa90e7687e552->m_frame.f_lineno = 46;
|
||
|
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_5, const_str_plain_start );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 46;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_2;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
if ( CONSIDER_THREADING() == false )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 38;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
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:;
|
||
|
}
|
||
|
{
|
||
|
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_assign_source_17;
|
||
|
PyObject *tmp_iter_arg_2;
|
||
|
if ( var_jobs == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "jobs" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 48;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_iter_arg_2 = var_jobs;
|
||
|
tmp_assign_source_17 = MAKE_ITERATOR( tmp_iter_arg_2 );
|
||
|
if ( tmp_assign_source_17 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 48;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( tmp_for_loop_2__for_iterator == NULL );
|
||
|
tmp_for_loop_2__for_iterator = tmp_assign_source_17;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
loop_start_2:;
|
||
|
{
|
||
|
PyObject *tmp_next_source_2;
|
||
|
PyObject *tmp_assign_source_18;
|
||
|
CHECK_OBJECT( tmp_for_loop_2__for_iterator );
|
||
|
tmp_next_source_2 = tmp_for_loop_2__for_iterator;
|
||
|
tmp_assign_source_18 = ITERATOR_NEXT( tmp_next_source_2 );
|
||
|
if ( tmp_assign_source_18 == 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 = "ooooooooooooooo";
|
||
|
exception_lineno = 48;
|
||
|
goto try_except_handler_3;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
{
|
||
|
PyObject *old = tmp_for_loop_2__iter_value;
|
||
|
tmp_for_loop_2__iter_value = tmp_assign_source_18;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_19;
|
||
|
CHECK_OBJECT( tmp_for_loop_2__iter_value );
|
||
|
tmp_assign_source_19 = tmp_for_loop_2__iter_value;
|
||
|
{
|
||
|
PyObject *old = var_proc;
|
||
|
var_proc = tmp_assign_source_19;
|
||
|
Py_INCREF( var_proc );
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_instance_6;
|
||
|
CHECK_OBJECT( var_proc );
|
||
|
tmp_called_instance_6 = var_proc;
|
||
|
frame_0a44e874f0b9c08b1aaaa90e7687e552->m_frame.f_lineno = 49;
|
||
|
tmp_unused = CALL_METHOD_NO_ARGS( tmp_called_instance_6, const_str_plain_join );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 49;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_3;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
if ( CONSIDER_THREADING() == false )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 48;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_3;
|
||
|
}
|
||
|
goto loop_start_2;
|
||
|
loop_end_2:;
|
||
|
}
|
||
|
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;
|
||
|
|
||
|
{
|
||
|
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_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:;
|
||
|
}
|
||
|
{
|
||
|
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;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_20;
|
||
|
PyObject *tmp_iter_arg_3;
|
||
|
PyObject *tmp_called_instance_7;
|
||
|
if ( var_return_dict == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "return_dict" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 50;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_called_instance_7 = var_return_dict;
|
||
|
frame_0a44e874f0b9c08b1aaaa90e7687e552->m_frame.f_lineno = 50;
|
||
|
tmp_iter_arg_3 = CALL_METHOD_NO_ARGS( tmp_called_instance_7, const_str_plain_values );
|
||
|
if ( tmp_iter_arg_3 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 50;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
tmp_assign_source_20 = MAKE_ITERATOR( tmp_iter_arg_3 );
|
||
|
Py_DECREF( tmp_iter_arg_3 );
|
||
|
if ( tmp_assign_source_20 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 50;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
assert( tmp_for_loop_3__for_iterator == NULL );
|
||
|
tmp_for_loop_3__for_iterator = tmp_assign_source_20;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Tried code:
|
||
|
{
|
||
|
loop_start_3:;
|
||
|
{
|
||
|
PyObject *tmp_next_source_3;
|
||
|
PyObject *tmp_assign_source_21;
|
||
|
CHECK_OBJECT( tmp_for_loop_3__for_iterator );
|
||
|
tmp_next_source_3 = tmp_for_loop_3__for_iterator;
|
||
|
tmp_assign_source_21 = ITERATOR_NEXT( tmp_next_source_3 );
|
||
|
if ( tmp_assign_source_21 == NULL )
|
||
|
{
|
||
|
if ( CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED() )
|
||
|
{
|
||
|
|
||
|
goto loop_end_3;
|
||
|
}
|
||
|
else
|
||
|
{
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
exception_lineno = 50;
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
{
|
||
|
PyObject *old = tmp_for_loop_3__iter_value;
|
||
|
tmp_for_loop_3__iter_value = tmp_assign_source_21;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_22;
|
||
|
CHECK_OBJECT( tmp_for_loop_3__iter_value );
|
||
|
tmp_assign_source_22 = tmp_for_loop_3__iter_value;
|
||
|
{
|
||
|
PyObject *old = var_value;
|
||
|
var_value = tmp_assign_source_22;
|
||
|
Py_INCREF( var_value );
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_23;
|
||
|
PyObject *tmp_left_name_11;
|
||
|
PyObject *tmp_right_name_11;
|
||
|
if ( var_result == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "result" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 51;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
|
||
|
tmp_left_name_11 = var_result;
|
||
|
CHECK_OBJECT( var_value );
|
||
|
tmp_right_name_11 = var_value;
|
||
|
tmp_assign_source_23 = BINARY_OPERATION_ADD( tmp_left_name_11, tmp_right_name_11 );
|
||
|
if ( tmp_assign_source_23 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 51;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
{
|
||
|
PyObject *old = var_result;
|
||
|
var_result = tmp_assign_source_23;
|
||
|
Py_XDECREF( old );
|
||
|
}
|
||
|
|
||
|
}
|
||
|
if ( CONSIDER_THREADING() == false )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 50;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto try_except_handler_4;
|
||
|
}
|
||
|
goto loop_start_3;
|
||
|
loop_end_3:;
|
||
|
}
|
||
|
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;
|
||
|
|
||
|
{
|
||
|
Py_XDECREF( tmp_for_loop_3__iter_value );
|
||
|
tmp_for_loop_3__iter_value = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_3__for_iterator );
|
||
|
Py_DECREF( tmp_for_loop_3__for_iterator );
|
||
|
tmp_for_loop_3__for_iterator = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
// Re-raise.
|
||
|
exception_type = exception_keeper_type_3;
|
||
|
exception_value = exception_keeper_value_3;
|
||
|
exception_tb = exception_keeper_tb_3;
|
||
|
exception_lineno = exception_keeper_lineno_3;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
// End of try:
|
||
|
try_end_3:;
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( tmp_for_loop_3__iter_value );
|
||
|
tmp_for_loop_3__iter_value = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
CHECK_OBJECT( (PyObject *)tmp_for_loop_3__for_iterator );
|
||
|
Py_DECREF( tmp_for_loop_3__for_iterator );
|
||
|
tmp_for_loop_3__for_iterator = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_name_6;
|
||
|
PyObject *tmp_args_element_name_3;
|
||
|
PyObject *tmp_left_name_12;
|
||
|
PyObject *tmp_right_name_12;
|
||
|
tmp_called_name_6 = LOOKUP_BUILTIN( const_str_plain_print );
|
||
|
assert( tmp_called_name_6 != NULL );
|
||
|
tmp_left_name_12 = const_str_digest_c4544a1c1f9096e80e3c5213c5231263;
|
||
|
if ( var_result == NULL )
|
||
|
{
|
||
|
|
||
|
exception_type = PyExc_UnboundLocalError;
|
||
|
Py_INCREF( exception_type );
|
||
|
exception_value = PyUnicode_FromFormat( "local variable '%s' referenced before assignment", "result" );
|
||
|
exception_tb = NULL;
|
||
|
NORMALIZE_EXCEPTION( &exception_type, &exception_value, &exception_tb );
|
||
|
CHAIN_EXCEPTION( exception_value );
|
||
|
|
||
|
exception_lineno = 52;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
|
||
|
tmp_right_name_12 = var_result;
|
||
|
tmp_args_element_name_3 = BINARY_OPERATION_REMAINDER( tmp_left_name_12, tmp_right_name_12 );
|
||
|
if ( tmp_args_element_name_3 == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 52;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
frame_0a44e874f0b9c08b1aaaa90e7687e552->m_frame.f_lineno = 52;
|
||
|
{
|
||
|
PyObject *call_args[] = { tmp_args_element_name_3 };
|
||
|
tmp_unused = CALL_FUNCTION_WITH_ARGS1( tmp_called_name_6, call_args );
|
||
|
}
|
||
|
|
||
|
Py_DECREF( tmp_args_element_name_3 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 52;
|
||
|
type_description_1 = "ooooooooooooooo";
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_0a44e874f0b9c08b1aaaa90e7687e552 );
|
||
|
#endif
|
||
|
|
||
|
// Put the previous frame back on top.
|
||
|
popFrameStack();
|
||
|
|
||
|
goto frame_no_exception_1;
|
||
|
|
||
|
frame_exception_exit_1:;
|
||
|
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_0a44e874f0b9c08b1aaaa90e7687e552 );
|
||
|
#endif
|
||
|
|
||
|
if ( exception_tb == NULL )
|
||
|
{
|
||
|
exception_tb = MAKE_TRACEBACK( frame_0a44e874f0b9c08b1aaaa90e7687e552, exception_lineno );
|
||
|
}
|
||
|
else if ( exception_tb->tb_frame != &frame_0a44e874f0b9c08b1aaaa90e7687e552->m_frame )
|
||
|
{
|
||
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_0a44e874f0b9c08b1aaaa90e7687e552, exception_lineno );
|
||
|
}
|
||
|
|
||
|
// Attachs locals to frame if any.
|
||
|
Nuitka_Frame_AttachLocals(
|
||
|
(struct Nuitka_FrameObject *)frame_0a44e874f0b9c08b1aaaa90e7687e552,
|
||
|
type_description_1,
|
||
|
var_start,
|
||
|
var_end,
|
||
|
var_thread_count,
|
||
|
var_shift,
|
||
|
var_result,
|
||
|
var_t,
|
||
|
var_manager,
|
||
|
var_return_dict,
|
||
|
var_jobs,
|
||
|
var_i,
|
||
|
var_t_start,
|
||
|
var_t_end,
|
||
|
var_p,
|
||
|
var_proc,
|
||
|
var_value
|
||
|
);
|
||
|
|
||
|
|
||
|
// Release cached frame.
|
||
|
if ( frame_0a44e874f0b9c08b1aaaa90e7687e552 == cache_frame_0a44e874f0b9c08b1aaaa90e7687e552 )
|
||
|
{
|
||
|
Py_DECREF( frame_0a44e874f0b9c08b1aaaa90e7687e552 );
|
||
|
}
|
||
|
cache_frame_0a44e874f0b9c08b1aaaa90e7687e552 = NULL;
|
||
|
|
||
|
assertFrameObject( frame_0a44e874f0b9c08b1aaaa90e7687e552 );
|
||
|
|
||
|
// 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_summ );
|
||
|
return NULL;
|
||
|
// Return handler code:
|
||
|
try_return_handler_1:;
|
||
|
{
|
||
|
Py_XDECREF( var_start );
|
||
|
var_start = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_end );
|
||
|
var_end = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_thread_count );
|
||
|
var_thread_count = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_shift );
|
||
|
var_shift = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_result );
|
||
|
var_result = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_t );
|
||
|
var_t = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_manager );
|
||
|
var_manager = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_return_dict );
|
||
|
var_return_dict = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_jobs );
|
||
|
var_jobs = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_i );
|
||
|
var_i = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_t_start );
|
||
|
var_t_start = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_t_end );
|
||
|
var_t_end = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_p );
|
||
|
var_p = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_proc );
|
||
|
var_proc = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_value );
|
||
|
var_value = 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( var_start );
|
||
|
var_start = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_end );
|
||
|
var_end = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_thread_count );
|
||
|
var_thread_count = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_shift );
|
||
|
var_shift = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_result );
|
||
|
var_result = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_t );
|
||
|
var_t = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_manager );
|
||
|
var_manager = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_return_dict );
|
||
|
var_return_dict = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_jobs );
|
||
|
var_jobs = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_i );
|
||
|
var_i = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_t_start );
|
||
|
var_t_start = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_t_end );
|
||
|
var_t_end = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_p );
|
||
|
var_p = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_proc );
|
||
|
var_proc = NULL;
|
||
|
|
||
|
}
|
||
|
{
|
||
|
Py_XDECREF( var_value );
|
||
|
var_value = 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_summ );
|
||
|
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_sumumatoru_kun( )
|
||
|
{
|
||
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
||
|
impl___main__$$$function_1_sumumatoru_kun,
|
||
|
const_str_plain_sumumatoru_kun,
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
NULL,
|
||
|
#endif
|
||
|
codeobj_a14561711ed1f97d604f522af7d3ab7d,
|
||
|
NULL,
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
NULL,
|
||
|
NULL,
|
||
|
#endif
|
||
|
module___main__,
|
||
|
NULL,
|
||
|
0
|
||
|
);
|
||
|
|
||
|
return (PyObject *)result;
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
static PyObject *MAKE_FUNCTION___main__$$$function_2_summ( )
|
||
|
{
|
||
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
|
||
|
impl___main__$$$function_2_summ,
|
||
|
const_str_plain_summ,
|
||
|
#if PYTHON_VERSION >= 300
|
||
|
NULL,
|
||
|
#endif
|
||
|
codeobj_0a44e874f0b9c08b1aaaa90e7687e552,
|
||
|
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
|
||
|
struct Nuitka_FrameObject *frame_f6b78e3801460a4354a1eb60e6a728df;
|
||
|
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;
|
||
|
|
||
|
// Module code.
|
||
|
// Frame without reuse.
|
||
|
frame_f6b78e3801460a4354a1eb60e6a728df = MAKE_MODULE_FRAME( codeobj_f6b78e3801460a4354a1eb60e6a728df, module___main__ );
|
||
|
|
||
|
// Push the new frame as the currently active one, and we should be exclusively
|
||
|
// owning it.
|
||
|
pushFrameStack( frame_f6b78e3801460a4354a1eb60e6a728df );
|
||
|
assert( Py_REFCNT( frame_f6b78e3801460a4354a1eb60e6a728df ) == 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_f6b78e3801460a4354a1eb60e6a728df->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_f6b78e3801460a4354a1eb60e6a728df->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_f6b78e3801460a4354a1eb60e6a728df->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_f6b78e3801460a4354a1eb60e6a728df->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 = Py_None;
|
||
|
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_a4701bf234878a3d929cec8dd5750f82;
|
||
|
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_multiprocessing;
|
||
|
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_f6b78e3801460a4354a1eb60e6a728df->m_frame.f_lineno = 6;
|
||
|
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 = 6;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_multiprocessing, 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_time;
|
||
|
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_f6b78e3801460a4354a1eb60e6a728df->m_frame.f_lineno = 7;
|
||
|
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_time, tmp_assign_source_6 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_7;
|
||
|
tmp_assign_source_7 = MAKE_FUNCTION___main__$$$function_1_sumumatoru_kun( );
|
||
|
|
||
|
|
||
|
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_sumumatoru_kun, tmp_assign_source_7 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_assign_source_8;
|
||
|
tmp_assign_source_8 = MAKE_FUNCTION___main__$$$function_2_summ( );
|
||
|
|
||
|
|
||
|
|
||
|
UPDATE_STRING_DICT1( moduledict___main__, (Nuitka_StringObject *)const_str_plain_summ, tmp_assign_source_8 );
|
||
|
}
|
||
|
{
|
||
|
PyObject *tmp_called_name_1;
|
||
|
PyObject *tmp_mvar_value_1;
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( moduledict___main__, (Nuitka_StringObject *)const_str_plain_summ );
|
||
|
|
||
|
if (unlikely( tmp_mvar_value_1 == NULL ))
|
||
|
{
|
||
|
tmp_mvar_value_1 = GET_STRING_DICT_VALUE( dict_builtin, (Nuitka_StringObject *)const_str_plain_summ );
|
||
|
}
|
||
|
|
||
|
CHECK_OBJECT( tmp_mvar_value_1 );
|
||
|
tmp_called_name_1 = tmp_mvar_value_1;
|
||
|
frame_f6b78e3801460a4354a1eb60e6a728df->m_frame.f_lineno = 55;
|
||
|
tmp_unused = CALL_FUNCTION_NO_ARGS( tmp_called_name_1 );
|
||
|
if ( tmp_unused == NULL )
|
||
|
{
|
||
|
assert( ERROR_OCCURRED() );
|
||
|
|
||
|
FETCH_ERROR_OCCURRED( &exception_type, &exception_value, &exception_tb );
|
||
|
|
||
|
|
||
|
exception_lineno = 55;
|
||
|
|
||
|
goto frame_exception_exit_1;
|
||
|
}
|
||
|
Py_DECREF( tmp_unused );
|
||
|
}
|
||
|
|
||
|
// Restore frame exception if necessary.
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_f6b78e3801460a4354a1eb60e6a728df );
|
||
|
#endif
|
||
|
popFrameStack();
|
||
|
|
||
|
assertFrameObject( frame_f6b78e3801460a4354a1eb60e6a728df );
|
||
|
|
||
|
goto frame_no_exception_1;
|
||
|
|
||
|
frame_exception_exit_1:;
|
||
|
#if 0
|
||
|
RESTORE_FRAME_EXCEPTION( frame_f6b78e3801460a4354a1eb60e6a728df );
|
||
|
#endif
|
||
|
|
||
|
if ( exception_tb == NULL )
|
||
|
{
|
||
|
exception_tb = MAKE_TRACEBACK( frame_f6b78e3801460a4354a1eb60e6a728df, exception_lineno );
|
||
|
}
|
||
|
else if ( exception_tb->tb_frame != &frame_f6b78e3801460a4354a1eb60e6a728df->m_frame )
|
||
|
{
|
||
|
exception_tb = ADD_TRACEBACK( exception_tb, frame_f6b78e3801460a4354a1eb60e6a728df, 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 );
|
||
|
}
|