|
|
|
|
|
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[16]; |
n |
static PyObject *mod_consts[15]; |
|
#ifndef __NUITKA_NO_ASSERT__ |
|
#ifndef __NUITKA_NO_ASSERT__ |
n |
static Py_hash_t mod_consts_hash[16]; |
n |
static Py_hash_t mod_consts_hash[15]; |
|
#endif |
|
#endif |
|
|
|
|
|
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. */ |
|
if (constants_created == false) { |
|
if (constants_created == false) { |
|
loadConstantsBlob(tstate, &mod_consts[0], UNTRANSLATE("__main__")); |
|
loadConstantsBlob(tstate, &mod_consts[0], UNTRANSLATE("__main__")); |
|
constants_created = true; |
|
constants_created = true; |
|
|
|
|
|
#ifndef __NUITKA_NO_ASSERT__ |
|
#ifndef __NUITKA_NO_ASSERT__ |
n |
for (int i = 0; i < 16; i++) { |
n |
for (int i = 0; i < 15; i++) { |
|
mod_consts_hash[i] = DEEP_HASH(tstate, mod_consts[i]); |
|
mod_consts_hash[i] = DEEP_HASH(tstate, mod_consts[i]); |
|
} |
|
} |
|
#endif |
|
#endif |
|
} |
|
} |
|
} |
|
} |
|
#ifndef __NUITKA_NO_ASSERT__ |
|
#ifndef __NUITKA_NO_ASSERT__ |
|
void checkModuleConstants___main__(PyThreadState *tstate) { |
|
void checkModuleConstants___main__(PyThreadState *tstate) { |
|
// 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 |
for (int i = 0; i < 16; i++) { |
n |
for (int i = 0; i < 15; i++) { |
|
assert(mod_consts_hash[i] == DEEP_HASH(tstate, mod_consts[i])); |
|
assert(mod_consts_hash[i] == DEEP_HASH(tstate, mod_consts[i])); |
|
CHECK_OBJECT_DEEP(mod_consts[i]); |
|
CHECK_OBJECT_DEEP(mod_consts[i]); |
|
} |
|
} |
|
} |
|
} |
|
#endif |
|
#endif |
|
static PyCodeObject *codeobj_e29141a738333f555d50cc1c215e31ad; |
|
static PyCodeObject *codeobj_e29141a738333f555d50cc1c215e31ad; |
|
/* 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[4]; CHECK_OBJECT(module_filename_obj); |
n |
module_filename_obj = mod_consts[3]; CHECK_OBJECT(module_filename_obj); |
|
codeobj_732eb5b7187cd05833ff8a4b9e40c806 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[14], mod_consts[14], NULL, NULL, 0, 0, 0); |
|
codeobj_732eb5b7187cd05833ff8a4b9e40c806 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[13], mod_consts[13], NULL, NULL, 0, 0, 0); |
|
codeobj_main = codeobj_732eb5b7187cd05833ff8a4b9e40c806; |
|
codeobj_main = codeobj_732eb5b7187cd05833ff8a4b9e40c806; |
n |
codeobj_e29141a738333f555d50cc1c215e31ad = MAKE_CODE_OBJECT(module_filename_obj, 10, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[9], mod_consts[9], mod_consts[15], NULL, 0, 0, 0); |
n |
codeobj_e29141a738333f555d50cc1c215e31ad = MAKE_CODE_OBJECT(module_filename_obj, 10, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[8], mod_consts[8], mod_consts[14], 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(); |
|
|
|
|
|
goto frame_exception_exit_1; |
|
goto frame_exception_exit_1; |
|
} |
|
} |
|
assert(var_t == NULL); |
|
assert(var_t == NULL); |
|
Py_INCREF(tmp_assign_source_3); |
|
Py_INCREF(tmp_assign_source_3); |
|
var_t = tmp_assign_source_3; |
|
var_t = tmp_assign_source_3; |
n |
} |
n |
|
|
{ |
|
|
|
PyObject *tmp_assign_source_4; |
|
|
|
PyObject *tmp_add_expr_left_1; |
|
|
|
PyObject *tmp_add_expr_right_1; |
|
|
|
CHECK_OBJECT(var_s); |
|
|
|
tmp_add_expr_left_1 = var_s; |
|
|
|
tmp_add_expr_right_1 = mod_consts[2]; |
|
|
|
tmp_assign_source_4 = BINARY_OPERATION_ADD_OBJECT_OBJECT_FLOAT(tmp_add_expr_left_1, tmp_add_expr_right_1); |
|
|
|
if (tmp_assign_source_4 == NULL) { |
|
|
|
assert(HAS_ERROR_OCCURRED(tstate)); |
|
|
|
|
|
|
|
FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb); |
|
|
|
|
|
|
|
|
|
|
|
exception_lineno = 19; |
|
|
|
type_description_1 = "ooo"; |
|
|
|
goto frame_exception_exit_1; |
|
|
|
} |
|
|
|
{ |
|
|
|
PyObject *old = var_t; |
|
|
|
assert(old != NULL); |
|
|
|
var_t = tmp_assign_source_4; |
|
|
|
Py_DECREF(old); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
} |
|
|
|
|
|
|
|
|
|
// Put the previous frame back on top. |
|
// Put the previous frame back on top. |
|
popFrameStack(tstate); |
|
popFrameStack(tstate); |
|
|
|
|
|
|
|
|
|
static PyObject *MAKE_FUNCTION___main__$$$function__1_calledRepeatedly() { |
|
static PyObject *MAKE_FUNCTION___main__$$$function__1_calledRepeatedly() { |
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New( |
|
struct Nuitka_FunctionObject *result = Nuitka_Function_New( |
|
impl___main__$$$function__1_calledRepeatedly, |
|
impl___main__$$$function__1_calledRepeatedly, |
n |
mod_consts[9], |
n |
mod_consts[8], |
|
#if PYTHON_VERSION >= 0x300 |
|
#if PYTHON_VERSION >= 0x300 |
|
NULL, |
|
NULL, |
|
#endif |
|
#endif |
|
codeobj_e29141a738333f555d50cc1c215e31ad, |
|
codeobj_e29141a738333f555d50cc1c215e31ad, |
|
NULL, |
|
NULL, |
|
|
|
|
|
// 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[3], tmp_assign_source_1); |
n |
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[2], tmp_assign_source_1); |
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_2; |
|
PyObject *tmp_assign_source_2; |
n |
tmp_assign_source_2 = mod_consts[4]; |
n |
tmp_assign_source_2 = mod_consts[3]; |
|
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_2); |
|
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[4], tmp_assign_source_2); |
|
} |
|
} |
|
frame_732eb5b7187cd05833ff8a4b9e40c806 = MAKE_MODULE_FRAME(codeobj_732eb5b7187cd05833ff8a4b9e40c806, module___main__); |
|
frame_732eb5b7187cd05833ff8a4b9e40c806 = MAKE_MODULE_FRAME(codeobj_732eb5b7187cd05833ff8a4b9e40c806, 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 |
|
// owning it. |
|
// owning it. |
|
PyObject *tmp_assign_source_3; |
|
PyObject *tmp_assign_source_3; |
|
PyObject *tmp_name_value_1; |
|
PyObject *tmp_name_value_1; |
|
PyObject *tmp_globals_arg_value_1; |
|
PyObject *tmp_globals_arg_value_1; |
|
PyObject *tmp_locals_arg_value_1; |
|
PyObject *tmp_locals_arg_value_1; |
|
PyObject *tmp_fromlist_value_1; |
|
PyObject *tmp_fromlist_value_1; |
n |
tmp_name_value_1 = mod_consts[6]; |
n |
tmp_name_value_1 = mod_consts[5]; |
|
tmp_globals_arg_value_1 = (PyObject *)moduledict___main__; |
|
tmp_globals_arg_value_1 = (PyObject *)moduledict___main__; |
|
tmp_locals_arg_value_1 = Py_None; |
|
tmp_locals_arg_value_1 = Py_None; |
|
tmp_fromlist_value_1 = Py_None; |
|
tmp_fromlist_value_1 = Py_None; |
|
frame_732eb5b7187cd05833ff8a4b9e40c806->m_frame.f_lineno = 4; |
|
frame_732eb5b7187cd05833ff8a4b9e40c806->m_frame.f_lineno = 4; |
|
tmp_assign_source_3 = IMPORT_MODULE4(tstate, tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1); |
|
tmp_assign_source_3 = IMPORT_MODULE4(tstate, tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1); |
|
|
|
|
|
exception_lineno = 4; |
|
exception_lineno = 4; |
|
|
|
|
|
goto frame_exception_exit_1; |
|
goto frame_exception_exit_1; |
|
} |
|
} |
n |
UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[6], tmp_assign_source_3); |
n |
UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_3); |
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_4; |
|
PyObject *tmp_assign_source_4; |
n |
tmp_assign_source_4 = mod_consts[7]; |
n |
tmp_assign_source_4 = mod_consts[6]; |
|
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[8]; |
n |
tmp_assign_source_5 = mod_consts[7]; |
|
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[1], tmp_assign_source_5); |
|
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[1], 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[9], tmp_assign_source_6); |
n |
UPDATE_STRING_DICT1(moduledict___main__, (Nuitka_StringObject *)mod_consts[8], tmp_assign_source_6); |
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_7; |
|
PyObject *tmp_assign_source_7; |
|
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[6]); |
n |
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[5]); |
|
|
|
|
|
if (unlikely(tmp_called_instance_1 == NULL)) { |
|
if (unlikely(tmp_called_instance_1 == NULL)) { |
n |
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[6]); |
n |
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[5]); |
|
} |
|
} |
|
|
|
|
|
assert(!(tmp_called_instance_1 == NULL)); |
|
assert(!(tmp_called_instance_1 == NULL)); |
|
frame_732eb5b7187cd05833ff8a4b9e40c806->m_frame.f_lineno = 25; |
|
frame_732eb5b7187cd05833ff8a4b9e40c806->m_frame.f_lineno = 25; |
|
tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2( |
|
tmp_iter_arg_1 = CALL_METHOD_WITH_ARGS2( |
|
tstate, |
|
tstate, |
|
tmp_called_instance_1, |
|
tmp_called_instance_1, |
n |
mod_consts[10], |
n |
mod_consts[9], |
|
&PyTuple_GET_ITEM(mod_consts[11], 0) |
|
&PyTuple_GET_ITEM(mod_consts[10], 0) |
|
); |
|
); |
|
|
|
|
|
if (tmp_iter_arg_1 == NULL) { |
|
if (tmp_iter_arg_1 == NULL) { |
|
assert(HAS_ERROR_OCCURRED(tstate)); |
|
assert(HAS_ERROR_OCCURRED(tstate)); |
|
|
|
|
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_assign_source_9; |
|
PyObject *tmp_assign_source_9; |
|
CHECK_OBJECT(tmp_for_loop_1__iter_value); |
|
CHECK_OBJECT(tmp_for_loop_1__iter_value); |
|
tmp_assign_source_9 = tmp_for_loop_1__iter_value; |
|
tmp_assign_source_9 = tmp_for_loop_1__iter_value; |
n |
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[12], tmp_assign_source_9); |
n |
UPDATE_STRING_DICT0(moduledict___main__, (Nuitka_StringObject *)mod_consts[11], tmp_assign_source_9); |
|
} |
|
} |
|
{ |
|
{ |
|
PyObject *tmp_called_value_1; |
|
PyObject *tmp_called_value_1; |
|
PyObject *tmp_call_result_1; |
|
PyObject *tmp_call_result_1; |
n |
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[9]); |
n |
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict___main__, (Nuitka_StringObject *)mod_consts[8]); |
|
|
|
|
|
if (unlikely(tmp_called_value_1 == NULL)) { |
|
if (unlikely(tmp_called_value_1 == NULL)) { |
n |
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[9]); |
n |
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(tstate, mod_consts[8]); |
|
} |
|
} |
|
|
|
|
|
if (tmp_called_value_1 == NULL) { |
|
if (tmp_called_value_1 == NULL) { |
|
assert(HAS_ERROR_OCCURRED(tstate)); |
|
assert(HAS_ERROR_OCCURRED(tstate)); |
|
|
|
|
|
Py_XDECREF(tmp_for_loop_1__iter_value); |
|
Py_XDECREF(tmp_for_loop_1__iter_value); |
|
tmp_for_loop_1__iter_value = NULL; |
|
tmp_for_loop_1__iter_value = NULL; |
|
CHECK_OBJECT(tmp_for_loop_1__for_iterator); |
|
CHECK_OBJECT(tmp_for_loop_1__for_iterator); |
|
Py_DECREF(tmp_for_loop_1__for_iterator); |
|
Py_DECREF(tmp_for_loop_1__for_iterator); |
|
tmp_for_loop_1__for_iterator = NULL; |
|
tmp_for_loop_1__for_iterator = NULL; |
t |
tmp_print_value = mod_consts[13]; |
t |
tmp_print_value = mod_consts[12]; |
|
tmp_result = PRINT_ITEM(tmp_print_value); |
|
tmp_result = PRINT_ITEM(tmp_print_value); |
|
if (tmp_result == false) { |
|
if (tmp_result == false) { |
|
assert(HAS_ERROR_OCCURRED(tstate)); |
|
assert(HAS_ERROR_OCCURRED(tstate)); |
|
|
|
|
|
FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb); |
|
FETCH_ERROR_OCCURRED(tstate, &exception_type, &exception_value, &exception_tb); |