|
|
|
|
|
PyObject *module___main__; |
|
PyObject *module___main__; |
|
PyDictObject *moduledict___main__; |
|
PyDictObject *moduledict___main__; |
|
|
|
|
|
/* The declarations of module constants used, if any. */ |
|
/* The declarations of module constants used, if any. */ |
n |
static PyObject *mod_consts[20]; |
n |
static PyObject *mod_consts[19]; |
|
|
|
|
|
static PyObject *module_filename_obj = NULL; |
|
static PyObject *module_filename_obj = NULL; |
|
|
|
|
|
/* Indicator if this modules private constants were created yet. */ |
|
/* Indicator if this modules private constants were created yet. */ |
|
static bool constants_created = false; |
|
static bool constants_created = false; |
|
|
|
|
|
/* Function to create module private constants. */ |
|
/* Function to create module private constants. */ |
|
static void createModuleConstants(void) { |
|
static void createModuleConstants(void) { |
n |
loadConstantsBlob(&mod_consts[0], "__main__", 20); |
n |
loadConstantsBlob(&mod_consts[0], "__main__", 19); |
|
|
|
|
|
constants_created = true; |
|
constants_created = true; |
|
} |
|
} |
|
|
|
|
|
/* For multiprocessing, we want to be able to initialize the __main__ constants. */ |
|
/* For multiprocessing, we want to be able to initialize the __main__ constants. */ |
|
#ifndef __NUITKA_NO_ASSERT__ |
|
#ifndef __NUITKA_NO_ASSERT__ |
|
void checkModuleConstants___main__(void) { |
|
void checkModuleConstants___main__(void) { |
|
// The module may not have been used at all, then ignore this. |
|
// The module may not have been used at all, then ignore this. |
|
if (constants_created == false) return; |
|
if (constants_created == false) return; |
|
|
|
|
n |
checkConstantsBlob(&mod_consts[0], "__main__", 20); |
n |
checkConstantsBlob(&mod_consts[0], "__main__", 19); |
|
} |
|
} |
|
#endif |
|
#endif |
|
|
|
|
|
// The module code objects. |
|
// The module code objects. |
|
static PyCodeObject *codeobj_b66f15575242b65fe0bd01d0498e1439; |
|
static PyCodeObject *codeobj_b66f15575242b65fe0bd01d0498e1439; |
|
static PyCodeObject *codeobj_85de8085a3f343cd83b57c58ad108f5b; |
|
static PyCodeObject *codeobj_85de8085a3f343cd83b57c58ad108f5b; |
|
/* For use in "MainProgram.c". */ |
|
/* For use in "MainProgram.c". */ |
|
PyCodeObject *codeobj_main = NULL; |
|
PyCodeObject *codeobj_main = NULL; |
|
|
|
|
|
static void createModuleCodeObjects(void) { |
|
static void createModuleCodeObjects(void) { |
n |
module_filename_obj = mod_consts[5]; CHECK_OBJECT(module_filename_obj); |
n |
module_filename_obj = mod_consts[4]; CHECK_OBJECT(module_filename_obj); |
|
codeobj_b66f15575242b65fe0bd01d0498e1439 = MAKE_CODEOBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[18], NULL, NULL, 0, 0, 0); |
|
codeobj_b66f15575242b65fe0bd01d0498e1439 = MAKE_CODEOBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[17], NULL, NULL, 0, 0, 0); |
|
codeobj_85de8085a3f343cd83b57c58ad108f5b = MAKE_CODEOBJECT(module_filename_obj, 24, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[10], mod_consts[19], NULL, 0, 0, 0); |
|
codeobj_85de8085a3f343cd83b57c58ad108f5b = MAKE_CODEOBJECT(module_filename_obj, 24, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[9], mod_consts[18], NULL, 0, 0, 0); |
|
} |
|
} |
|
|
|
|
|
// The module function declarations. |
|
// The module function declarations. |
|
static PyObject *MAKE_FUNCTION___main__$$$function__1_calledRepeatedly(); |
|
static PyObject *MAKE_FUNCTION___main__$$$function__1_calledRepeatedly(); |
|
|
|
|
|
PyObject *tmp_assign_source_4; |
|
PyObject *tmp_assign_source_4; |
|
PyObject *tmp_left_name_2; |
|
PyObject *tmp_left_name_2; |
|
PyObject *tmp_right_name_2; |
|
PyObject *tmp_right_name_2; |
|
CHECK_OBJECT(var_s); |
|
CHECK_OBJECT(var_s); |
|
tmp_left_name_2 = var_s; |
|
tmp_left_name_2 = var_s; |
n |
tmp_right_name_2 = mod_consts[2]; |
n |
|
|
tmp_result = BINARY_OPERATION_ADD_OBJECT_FLOAT_INPLACE(&tmp_left_name_2, tmp_right_name_2); |
|
|
|
if (tmp_result == false) { |
|
|
|
assert(ERROR_OCCURRED()); |
|
|
|
|
|
|
|
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); |
|
|
|
|
|
|
|
|
|
|
|
exception_lineno = 35; |
|
|
|
type_description_1 = "oo"; |
|
|
|
goto frame_exception_exit_1; |
|
|
|
} |
|
|
|
tmp_assign_source_4 = tmp_left_name_2; |
|
|
|
var_s = tmp_assign_source_4; |
|
|
|
|
|
|
|
} |
|
|
|
{ |
|
|
|
PyObject *tmp_assign_source_5; |
|
|
|
PyObject *tmp_left_name_3; |
|
|
|
PyObject *tmp_right_name_3; |
|
|
|
CHECK_OBJECT(var_s); |
|
|
|
tmp_left_name_3 = var_s; |
|
|
|
tmp_right_name_3 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[3]); |
|
tmp_right_name_2 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[2]); |
|
|
|
|
n |
if (unlikely(tmp_right_name_3 == NULL)) { |
n |
if (unlikely(tmp_right_name_2 == NULL)) { |
|
tmp_right_name_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]); |
|
tmp_right_name_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[2]); |
|
} |
|
} |
|
|
|
|
n |
if (tmp_right_name_3 == NULL) { |
n |
if (tmp_right_name_2 == NULL) { |
|
assert(ERROR_OCCURRED()); |
|
assert(ERROR_OCCURRED()); |
|
|
|
|
|
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); |
|
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); |
|
|
|
|
|
|
|
|
|
exception_lineno = 37; |
|
exception_lineno = 37; |
|
type_description_1 = "oo"; |
|
type_description_1 = "oo"; |
|
goto frame_exception_exit_1; |
|
goto frame_exception_exit_1; |
|
} |
|
} |
n |
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE(&tmp_left_name_3, tmp_right_name_3); |
n |
tmp_result = BINARY_OPERATION_ADD_OBJECT_OBJECT_INPLACE(&tmp_left_name_2, tmp_right_name_2); |
|
if (tmp_result == false) { |
|
if (tmp_result == false) { |
|
assert(ERROR_OCCURRED()); |
|
assert(ERROR_OCCURRED()); |
|
|
|
|
|
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); |
|
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); |
|
|
|
|
|
|
|
|
|
exception_lineno = 37; |
|
exception_lineno = 37; |
|
type_description_1 = "oo"; |
|
type_description_1 = "oo"; |
|
goto frame_exception_exit_1; |
|
goto frame_exception_exit_1; |
|
} |
|
} |
n |
tmp_assign_source_5 = tmp_left_name_3; |
n |
tmp_assign_source_4 = tmp_left_name_2; |
|
var_s = tmp_assign_source_5; |
|
var_s = tmp_assign_source_4; |
|
|
|
|
|
} |
|
} |
|
|
|
|
|
#if 0 |
|
#if 0 |
|
RESTORE_FRAME_EXCEPTION(frame_85de8085a3f343cd83b57c58ad108f5b); |
|
RESTORE_FRAME_EXCEPTION(frame_85de8085a3f343cd83b57c58ad108f5b); |
|
|
|
|
|
// Module code. |
|
// Module code. |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_1; |
|
PyObject *tmp_assign_source_1; |
|
tmp_assign_source_1 = Py_None; |
|
tmp_assign_source_1 = Py_None; |
n |
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[4], tmp_assign_source_1); |
n |
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_1); |
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_2; |
|
PyObject *tmp_assign_source_2; |
n |
tmp_assign_source_2 = mod_consts[5]; |
n |
tmp_assign_source_2 = mod_consts[4]; |
|
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[6], tmp_assign_source_2); |
|
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_2); |
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_3; |
|
PyObject *tmp_assign_source_3; |
|
tmp_assign_source_3 = Py_None; |
|
tmp_assign_source_3 = Py_None; |
n |
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[7], tmp_assign_source_3); |
n |
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[6], tmp_assign_source_3); |
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_4; |
|
PyObject *tmp_assign_source_4; |
n |
tmp_assign_source_4 = mod_consts[8]; |
n |
tmp_assign_source_4 = mod_consts[7]; |
|
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_4); |
|
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_4); |
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_5; |
|
PyObject *tmp_assign_source_5; |
n |
tmp_assign_source_5 = mod_consts[9]; |
n |
tmp_assign_source_5 = mod_consts[8]; |
|
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_5); |
|
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[2], tmp_assign_source_5); |
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_6; |
|
PyObject *tmp_assign_source_6; |
|
|
|
|
|
|
|
|
|
tmp_assign_source_6 = MAKE_FUNCTION___main__$$$function__1_calledRepeatedly(); |
|
tmp_assign_source_6 = MAKE_FUNCTION___main__$$$function__1_calledRepeatedly(); |
|
|
|
|
n |
UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[10], tmp_assign_source_6); |
n |
UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[9], tmp_assign_source_6); |
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_7; |
|
PyObject *tmp_assign_source_7; |
|
PyObject *tmp_name_name_1; |
|
PyObject *tmp_name_name_1; |
|
PyObject *tmp_globals_arg_name_1; |
|
PyObject *tmp_globals_arg_name_1; |
|
PyObject *tmp_locals_arg_name_1; |
|
PyObject *tmp_locals_arg_name_1; |
|
PyObject *tmp_fromlist_name_1; |
|
PyObject *tmp_fromlist_name_1; |
|
PyObject *tmp_level_name_1; |
|
PyObject *tmp_level_name_1; |
n |
tmp_name_name_1 = mod_consts[11]; |
n |
tmp_name_name_1 = mod_consts[10]; |
|
tmp_globals_arg_name_1 = (PyObject *)moduledict___main__; |
|
tmp_globals_arg_name_1 = (PyObject *)moduledict___main__; |
|
tmp_locals_arg_name_1 = Py_None; |
|
tmp_locals_arg_name_1 = Py_None; |
|
tmp_fromlist_name_1 = Py_None; |
|
tmp_fromlist_name_1 = Py_None; |
n |
tmp_level_name_1 = mod_consts[12]; |
n |
tmp_level_name_1 = mod_consts[11]; |
|
tmp_assign_source_7 = IMPORT_MODULE5(tmp_name_name_1, tmp_globals_arg_name_1, tmp_locals_arg_name_1, tmp_fromlist_name_1, tmp_level_name_1); |
|
tmp_assign_source_7 = IMPORT_MODULE5(tmp_name_name_1, tmp_globals_arg_name_1, tmp_locals_arg_name_1, tmp_fromlist_name_1, tmp_level_name_1); |
|
assert(!(tmp_assign_source_7 == NULL)); |
|
assert(!(tmp_assign_source_7 == NULL)); |
n |
UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[11], tmp_assign_source_7); |
n |
UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[10], tmp_assign_source_7); |
|
} |
|
} |
|
// Frame without reuse. |
|
// Frame without reuse. |
|
frame_b66f15575242b65fe0bd01d0498e1439 = MAKE_MODULE_FRAME(codeobj_b66f15575242b65fe0bd01d0498e1439, module___main__); |
|
frame_b66f15575242b65fe0bd01d0498e1439 = MAKE_MODULE_FRAME(codeobj_b66f15575242b65fe0bd01d0498e1439, module___main__); |
|
|
|
|
|
// Push the new frame as the currently active one, and we should be exclusively |
|
// Push the new frame as the currently active one, and we should be exclusively |
|
// Framed code: |
|
// Framed code: |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_8; |
|
PyObject *tmp_assign_source_8; |
|
PyObject *tmp_iter_arg_1; |
|
PyObject *tmp_iter_arg_1; |
|
PyObject *tmp_called_instance_1; |
|
PyObject *tmp_called_instance_1; |
n |
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[11]); |
n |
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[10]); |
|
|
|
|
|
if (unlikely(tmp_called_instance_1 == NULL)) { |
|
if (unlikely(tmp_called_instance_1 == NULL)) { |
n |
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[11]); |
n |
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]); |
|
} |
|
} |
|
|
|
|
|
assert(!(tmp_called_instance_1 == NULL)); |
|
assert(!(tmp_called_instance_1 == NULL)); |
|
frame_b66f15575242b65fe0bd01d0498e1439->m_frame.f_lineno = 42; |
|
frame_b66f15575242b65fe0bd01d0498e1439->m_frame.f_lineno = 42; |
n |
tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2(tmp_called_instance_1, mod_consts[13], &PyTuple_GET_ITEM(mod_consts[14], 0)); |
n |
tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2(tmp_called_instance_1, mod_consts[12], &PyTuple_GET_ITEM(mod_consts[13], 0)); |
|
|
|
|
|
if (tmp_iter_arg_1 == NULL) { |
|
if (tmp_iter_arg_1 == NULL) { |
|
assert(ERROR_OCCURRED()); |
|
assert(ERROR_OCCURRED()); |
|
|
|
|
|
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); |
|
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); |
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_10; |
|
PyObject *tmp_assign_source_10; |
|
CHECK_OBJECT(tmp_for_loop_1__iter_value); |
|
CHECK_OBJECT(tmp_for_loop_1__iter_value); |
|
tmp_assign_source_10 = tmp_for_loop_1__iter_value; |
|
tmp_assign_source_10 = tmp_for_loop_1__iter_value; |
n |
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[15], tmp_assign_source_10); |
n |
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[14], tmp_assign_source_10); |
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_called_name_1; |
|
PyObject *tmp_called_name_1; |
|
PyObject *tmp_call_result_1; |
|
PyObject *tmp_call_result_1; |
n |
tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[10]); |
n |
tmp_called_name_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[9]); |
|
|
|
|
|
if (unlikely(tmp_called_name_1 == NULL)) { |
|
if (unlikely(tmp_called_name_1 == NULL)) { |
n |
tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]); |
n |
tmp_called_name_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[9]); |
|
} |
|
} |
|
|
|
|
|
if (tmp_called_name_1 == NULL) { |
|
if (tmp_called_name_1 == NULL) { |
|
assert(ERROR_OCCURRED()); |
|
assert(ERROR_OCCURRED()); |
|
|
|
|
|
Py_XDECREF(tmp_for_loop_1__for_iterator); |
|
Py_XDECREF(tmp_for_loop_1__for_iterator); |
|
tmp_for_loop_1__for_iterator = NULL; |
|
tmp_for_loop_1__for_iterator = NULL; |
|
{ |
|
{ |
|
PyObject *tmp_called_name_2; |
|
PyObject *tmp_called_name_2; |
|
PyObject *tmp_call_result_2; |
|
PyObject *tmp_call_result_2; |
n |
tmp_called_name_2 = LOOKUP_BUILTIN(mod_consts[16]); |
n |
tmp_called_name_2 = LOOKUP_BUILTIN(mod_consts[15]); |
|
assert(tmp_called_name_2 != NULL); |
|
assert(tmp_called_name_2 != NULL); |
|
frame_b66f15575242b65fe0bd01d0498e1439->m_frame.f_lineno = 45; |
|
frame_b66f15575242b65fe0bd01d0498e1439->m_frame.f_lineno = 45; |
t |
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, mod_consts[17]); |
t |
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_name_2, mod_consts[16]); |
|
if (tmp_call_result_2 == NULL) { |
|
if (tmp_call_result_2 == NULL) { |
|
assert(ERROR_OCCURRED()); |
|
assert(ERROR_OCCURRED()); |
|
|
|
|
|
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); |
|
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb); |
|
|
|
|