Warning: chmod(): Operation not permitted in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [0] in function chmod in /var/www/hopeinstoughton_www/wp-content/plugins/simple-universal-google-analytics/main.php on line 8 [1] in function include_once in /var/www/hopeinstoughton_www/wp-settings.php on line 560 [2] in function require_once in /var/www/hopeinstoughton_www/wp-config.php on line 85 [3] in function require_once in /var/www/hopeinstoughton_www/wp-load.php on line 50 [4] in function require_once in /var/www/hopeinstoughton_www/wp-blog-header.php on line 13 [5] in function require in /var/www/hopeinstoughton_www/index.php on line 17
| Server IP : 94.177.8.99 / Your IP : 216.73.217.165 Web Server : Apache/2.4.58 (Ubuntu) System : Linux aries 6.8.0-134-generic #134-Ubuntu SMP PREEMPT_DYNAMIC Fri Jun 26 18:43:11 UTC 2026 x86_64 User : www-data ( 33) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /nuitka/eggshell.build/ |
Upload File : |
/* Generated code for Python module 'tornado.autoreload'
* created by Nuitka version 1.3rc9
*
* This code is in part copyright 2022 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 "nuitka/unfreezing.h"
#include "__helpers.h"
/* The "module_tornado$autoreload" 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_tornado$autoreload;
PyDictObject *moduledict_tornado$autoreload;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[151];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[151];
#endif
static PyObject *module_filename_obj = NULL;
/* Indicator if this modules private constants were created yet. */
static bool constants_created = false;
/* Function to create module private constants. */
static void createModuleConstants(void) {
if (constants_created == false) {
loadConstantsBlob(&mod_consts[0], UNTRANSLATE("tornado.autoreload"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 151; i++) {
mod_consts_hash[i] = DEEP_HASH(mod_consts[i]);
}
#endif
}
}
// We want to be able to initialize the "__main__" constants in any case.
#if 0
void createMainModuleConstants(void) {
createModuleConstants();
}
#endif
/* Function to verify module private constants for non-corruption. */
#ifndef __NUITKA_NO_ASSERT__
void checkModuleConstants_tornado$autoreload(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 151; i++) {
assert(mod_consts_hash[i] == DEEP_HASH(mod_consts[i]));
CHECK_OBJECT_DEEP(mod_consts[i]);
}
}
#endif
// The module code objects.
static PyCodeObject *codeobj_0f76681af45878b95656afea6ff4d40d;
static PyCodeObject *codeobj_8c88c4df0c6d4d875eaf61e92c5492e4;
static PyCodeObject *codeobj_2798ded44beb44740828af9daf7c8e17;
static PyCodeObject *codeobj_da61afdacc8a5e344169f2d18cafef9f;
static PyCodeObject *codeobj_a0e3983b7f2325323473831cb9bc1081;
static PyCodeObject *codeobj_8d244bead9f8d9767ac534585007fd7a;
static PyCodeObject *codeobj_c504650b63a8296efda2eac40ff82134;
static PyCodeObject *codeobj_ca0212043053f9e222e4fb1df25858ef;
static PyCodeObject *codeobj_3752dfe7e3b29c45eddc86a802e200ec;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[114]; CHECK_OBJECT(module_filename_obj);
codeobj_0f76681af45878b95656afea6ff4d40d = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[142], mod_consts[142], NULL, NULL, 0, 0, 0);
codeobj_8c88c4df0c6d4d875eaf61e92c5492e4 = MAKE_CODE_OBJECT(module_filename_obj, 191, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[33], mod_consts[33], mod_consts[143], NULL, 2, 0, 0);
codeobj_2798ded44beb44740828af9daf7c8e17 = MAKE_CODE_OBJECT(module_filename_obj, 204, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[41], mod_consts[41], mod_consts[144], NULL, 0, 0, 0);
codeobj_da61afdacc8a5e344169f2d18cafef9f = MAKE_CODE_OBJECT(module_filename_obj, 165, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[8], mod_consts[8], mod_consts[145], NULL, 1, 0, 0);
codeobj_a0e3983b7f2325323473831cb9bc1081 = MAKE_CODE_OBJECT(module_filename_obj, 155, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[138], mod_consts[138], mod_consts[146], NULL, 1, 0, 0);
codeobj_8d244bead9f8d9767ac534585007fd7a = MAKE_CODE_OBJECT(module_filename_obj, 270, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[141], mod_consts[141], mod_consts[147], NULL, 0, 0, 0);
codeobj_c504650b63a8296efda2eac40ff82134 = MAKE_CODE_OBJECT(module_filename_obj, 117, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[10], mod_consts[10], mod_consts[148], NULL, 1, 0, 0);
codeobj_ca0212043053f9e222e4fb1df25858ef = MAKE_CODE_OBJECT(module_filename_obj, 135, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[110], mod_consts[110], mod_consts[149], NULL, 0, 0, 0);
codeobj_3752dfe7e3b29c45eddc86a802e200ec = MAKE_CODE_OBJECT(module_filename_obj, 147, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[104], mod_consts[104], mod_consts[150], NULL, 1, 0, 0);
}
// The module function declarations.
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__1_start(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__2_wait(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__3_watch(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__4_add_reload_hook(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__5__reload_on_update(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__6__check_file(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__7__reload(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__8_main(PyObject *annotations);
// The module function definitions.
static PyObject *impl_tornado$autoreload$$$function__1_start(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_check_time = python_pars[0];
PyObject *var_io_loop = NULL;
PyObject *var_modify_times = NULL;
PyObject *var_callback = NULL;
PyObject *var_scheduler = NULL;
struct Nuitka_FrameObject *frame_c504650b63a8296efda2eac40ff82134;
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;
PyObject *tmp_return_value = NULL;
bool tmp_result;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_c504650b63a8296efda2eac40ff82134 = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_c504650b63a8296efda2eac40ff82134)) {
Py_XDECREF(cache_frame_c504650b63a8296efda2eac40ff82134);
#if _DEBUG_REFCOUNTS
if (cache_frame_c504650b63a8296efda2eac40ff82134 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c504650b63a8296efda2eac40ff82134 = MAKE_FUNCTION_FRAME(codeobj_c504650b63a8296efda2eac40ff82134, module_tornado$autoreload, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c504650b63a8296efda2eac40ff82134->m_type_description == NULL);
frame_c504650b63a8296efda2eac40ff82134 = cache_frame_c504650b63a8296efda2eac40ff82134;
// Push the new frame as the currently active one.
pushFrameStack(frame_c504650b63a8296efda2eac40ff82134);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c504650b63a8296efda2eac40ff82134) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[1]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_c504650b63a8296efda2eac40ff82134->m_frame.f_lineno = 123;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[2]);
Py_DECREF(tmp_called_instance_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_io_loop == NULL);
var_io_loop = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_io_loop);
tmp_cmp_expr_left_1 = var_io_loop;
tmp_cmp_expr_right_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_cmp_expr_right_1 == NULL)) {
tmp_cmp_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 124;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 124;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
tmp_ass_subvalue_1 = Py_True;
tmp_ass_subscribed_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_ass_subscribed_1 == NULL)) {
tmp_ass_subscribed_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 126;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_io_loop);
tmp_ass_subscript_1 = var_io_loop;
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 = 126;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
nuitka_digit tmp_cmp_expr_right_2;
PyObject *tmp_len_arg_1;
tmp_len_arg_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_len_arg_1 == NULL)) {
tmp_len_arg_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_2 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = 1;
tmp_condition_result_2 = RICH_COMPARE_GT_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_1;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_c504650b63a8296efda2eac40ff82134->m_frame.f_lineno = 128;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_2,
mod_consts[5],
PyTuple_GET_ITEM(mod_consts[6], 0)
);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_2:;
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_DICT_EMPTY();
assert(var_modify_times == NULL);
var_modify_times = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
{
PyObject *hard_module = IMPORT_HARD_FUNCTOOLS();
tmp_called_value_1 = LOOKUP_ATTRIBUTE(hard_module, mod_consts[7]);
}
assert(!(tmp_called_value_1 == NULL));
tmp_args_element_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[8]);
if (unlikely(tmp_args_element_value_1 == NULL)) {
tmp_args_element_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[8]);
}
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 130;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_modify_times);
tmp_args_element_value_2 = var_modify_times;
frame_c504650b63a8296efda2eac40ff82134->m_frame.f_lineno = 130;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_callback == NULL);
var_callback = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_instance_3;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_callback);
tmp_args_element_value_3 = var_callback;
CHECK_OBJECT(par_check_time);
tmp_args_element_value_4 = par_check_time;
frame_c504650b63a8296efda2eac40ff82134->m_frame.f_lineno = 131;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_assign_source_4 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_3,
mod_consts[9],
call_args
);
}
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 131;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_scheduler == NULL);
var_scheduler = tmp_assign_source_4;
}
{
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_2;
CHECK_OBJECT(var_scheduler);
tmp_called_instance_4 = var_scheduler;
frame_c504650b63a8296efda2eac40ff82134->m_frame.f_lineno = 132;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_4, mod_consts[10]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 132;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c504650b63a8296efda2eac40ff82134);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c504650b63a8296efda2eac40ff82134);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c504650b63a8296efda2eac40ff82134);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c504650b63a8296efda2eac40ff82134, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c504650b63a8296efda2eac40ff82134->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c504650b63a8296efda2eac40ff82134, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c504650b63a8296efda2eac40ff82134,
type_description_1,
par_check_time,
var_io_loop,
var_modify_times,
var_callback,
var_scheduler
);
// Release cached frame if used for exception.
if (frame_c504650b63a8296efda2eac40ff82134 == cache_frame_c504650b63a8296efda2eac40ff82134) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c504650b63a8296efda2eac40ff82134);
cache_frame_c504650b63a8296efda2eac40ff82134 = NULL;
}
assertFrameObject(frame_c504650b63a8296efda2eac40ff82134);
// 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;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_io_loop);
Py_DECREF(var_io_loop);
var_io_loop = NULL;
Py_XDECREF(var_modify_times);
var_modify_times = NULL;
Py_XDECREF(var_callback);
var_callback = NULL;
Py_XDECREF(var_scheduler);
var_scheduler = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_io_loop);
var_io_loop = NULL;
Py_XDECREF(var_modify_times);
var_modify_times = NULL;
Py_XDECREF(var_callback);
var_callback = NULL;
Py_XDECREF(var_scheduler);
var_scheduler = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_check_time);
Py_DECREF(par_check_time);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_check_time);
Py_DECREF(par_check_time);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$autoreload$$$function__2_wait(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_io_loop = NULL;
struct Nuitka_FrameObject *frame_ca0212043053f9e222e4fb1df25858ef;
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 nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_ca0212043053f9e222e4fb1df25858ef = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_ca0212043053f9e222e4fb1df25858ef)) {
Py_XDECREF(cache_frame_ca0212043053f9e222e4fb1df25858ef);
#if _DEBUG_REFCOUNTS
if (cache_frame_ca0212043053f9e222e4fb1df25858ef == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ca0212043053f9e222e4fb1df25858ef = MAKE_FUNCTION_FRAME(codeobj_ca0212043053f9e222e4fb1df25858ef, module_tornado$autoreload, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ca0212043053f9e222e4fb1df25858ef->m_type_description == NULL);
frame_ca0212043053f9e222e4fb1df25858ef = cache_frame_ca0212043053f9e222e4fb1df25858ef;
// Push the new frame as the currently active one.
pushFrameStack(frame_ca0212043053f9e222e4fb1df25858ef);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ca0212043053f9e222e4fb1df25858ef) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_ca0212043053f9e222e4fb1df25858ef->m_frame.f_lineno = 142;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[1]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "o";
goto frame_exception_exit_1;
}
assert(var_io_loop == NULL);
var_io_loop = tmp_assign_source_1;
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(var_io_loop);
tmp_expression_value_1 = var_io_loop;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[12]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_args_element_value_1 == NULL)) {
tmp_args_element_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 143;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_ca0212043053f9e222e4fb1df25858ef->m_frame.f_lineno = 143;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_2;
CHECK_OBJECT(var_io_loop);
tmp_called_instance_2 = var_io_loop;
frame_ca0212043053f9e222e4fb1df25858ef->m_frame.f_lineno = 144;
tmp_call_result_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[10]);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ca0212043053f9e222e4fb1df25858ef);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ca0212043053f9e222e4fb1df25858ef);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ca0212043053f9e222e4fb1df25858ef, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ca0212043053f9e222e4fb1df25858ef->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ca0212043053f9e222e4fb1df25858ef, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ca0212043053f9e222e4fb1df25858ef,
type_description_1,
var_io_loop
);
// Release cached frame if used for exception.
if (frame_ca0212043053f9e222e4fb1df25858ef == cache_frame_ca0212043053f9e222e4fb1df25858ef) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ca0212043053f9e222e4fb1df25858ef);
cache_frame_ca0212043053f9e222e4fb1df25858ef = NULL;
}
assertFrameObject(frame_ca0212043053f9e222e4fb1df25858ef);
// 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;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_io_loop);
Py_DECREF(var_io_loop);
var_io_loop = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_io_loop);
var_io_loop = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$autoreload$$$function__3_watch(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_filename = python_pars[0];
struct Nuitka_FrameObject *frame_3752dfe7e3b29c45eddc86a802e200ec;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_3752dfe7e3b29c45eddc86a802e200ec = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_3752dfe7e3b29c45eddc86a802e200ec)) {
Py_XDECREF(cache_frame_3752dfe7e3b29c45eddc86a802e200ec);
#if _DEBUG_REFCOUNTS
if (cache_frame_3752dfe7e3b29c45eddc86a802e200ec == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3752dfe7e3b29c45eddc86a802e200ec = MAKE_FUNCTION_FRAME(codeobj_3752dfe7e3b29c45eddc86a802e200ec, module_tornado$autoreload, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3752dfe7e3b29c45eddc86a802e200ec->m_type_description == NULL);
frame_3752dfe7e3b29c45eddc86a802e200ec = cache_frame_3752dfe7e3b29c45eddc86a802e200ec;
// Push the new frame as the currently active one.
pushFrameStack(frame_3752dfe7e3b29c45eddc86a802e200ec);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3752dfe7e3b29c45eddc86a802e200ec) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[14]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[14]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_filename);
tmp_args_element_value_1 = par_filename;
frame_3752dfe7e3b29c45eddc86a802e200ec->m_frame.f_lineno = 152;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[15], tmp_args_element_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_3752dfe7e3b29c45eddc86a802e200ec);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3752dfe7e3b29c45eddc86a802e200ec);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3752dfe7e3b29c45eddc86a802e200ec, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3752dfe7e3b29c45eddc86a802e200ec->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3752dfe7e3b29c45eddc86a802e200ec, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3752dfe7e3b29c45eddc86a802e200ec,
type_description_1,
par_filename
);
// Release cached frame if used for exception.
if (frame_3752dfe7e3b29c45eddc86a802e200ec == cache_frame_3752dfe7e3b29c45eddc86a802e200ec) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3752dfe7e3b29c45eddc86a802e200ec);
cache_frame_3752dfe7e3b29c45eddc86a802e200ec = NULL;
}
assertFrameObject(frame_3752dfe7e3b29c45eddc86a802e200ec);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_filename);
Py_DECREF(par_filename);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_filename);
Py_DECREF(par_filename);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$autoreload$$$function__4_add_reload_hook(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_fn = python_pars[0];
struct Nuitka_FrameObject *frame_a0e3983b7f2325323473831cb9bc1081;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_a0e3983b7f2325323473831cb9bc1081 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_a0e3983b7f2325323473831cb9bc1081)) {
Py_XDECREF(cache_frame_a0e3983b7f2325323473831cb9bc1081);
#if _DEBUG_REFCOUNTS
if (cache_frame_a0e3983b7f2325323473831cb9bc1081 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_a0e3983b7f2325323473831cb9bc1081 = MAKE_FUNCTION_FRAME(codeobj_a0e3983b7f2325323473831cb9bc1081, module_tornado$autoreload, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_a0e3983b7f2325323473831cb9bc1081->m_type_description == NULL);
frame_a0e3983b7f2325323473831cb9bc1081 = cache_frame_a0e3983b7f2325323473831cb9bc1081;
// Push the new frame as the currently active one.
pushFrameStack(frame_a0e3983b7f2325323473831cb9bc1081);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_a0e3983b7f2325323473831cb9bc1081) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[17]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 162;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_fn);
tmp_args_element_value_1 = par_fn;
frame_a0e3983b7f2325323473831cb9bc1081->m_frame.f_lineno = 162;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[18], tmp_args_element_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 162;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_a0e3983b7f2325323473831cb9bc1081);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_a0e3983b7f2325323473831cb9bc1081);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_a0e3983b7f2325323473831cb9bc1081, exception_lineno);
} else if (exception_tb->tb_frame != &frame_a0e3983b7f2325323473831cb9bc1081->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_a0e3983b7f2325323473831cb9bc1081, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_a0e3983b7f2325323473831cb9bc1081,
type_description_1,
par_fn
);
// Release cached frame if used for exception.
if (frame_a0e3983b7f2325323473831cb9bc1081 == cache_frame_a0e3983b7f2325323473831cb9bc1081) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_a0e3983b7f2325323473831cb9bc1081);
cache_frame_a0e3983b7f2325323473831cb9bc1081 = NULL;
}
assertFrameObject(frame_a0e3983b7f2325323473831cb9bc1081);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto function_return_exit;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_fn);
Py_DECREF(par_fn);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_fn);
Py_DECREF(par_fn);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$autoreload$$$function__5__reload_on_update(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_modify_times = python_pars[0];
PyObject *var_module = NULL;
PyObject *var_path = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_for_loop_2__for_iterator = NULL;
PyObject *tmp_for_loop_2__iter_value = NULL;
struct Nuitka_FrameObject *frame_da61afdacc8a5e344169f2d18cafef9f;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_da61afdacc8a5e344169f2d18cafef9f = NULL;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_da61afdacc8a5e344169f2d18cafef9f)) {
Py_XDECREF(cache_frame_da61afdacc8a5e344169f2d18cafef9f);
#if _DEBUG_REFCOUNTS
if (cache_frame_da61afdacc8a5e344169f2d18cafef9f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_da61afdacc8a5e344169f2d18cafef9f = MAKE_FUNCTION_FRAME(codeobj_da61afdacc8a5e344169f2d18cafef9f, module_tornado$autoreload, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_da61afdacc8a5e344169f2d18cafef9f->m_type_description == NULL);
frame_da61afdacc8a5e344169f2d18cafef9f = cache_frame_da61afdacc8a5e344169f2d18cafef9f;
// Push the new frame as the currently active one.
pushFrameStack(frame_da61afdacc8a5e344169f2d18cafef9f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_da61afdacc8a5e344169f2d18cafef9f) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_mvar_value_1;
int tmp_truth_name_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[20]);
if (unlikely(tmp_mvar_value_1 == NULL)) {
tmp_mvar_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[20]);
}
if (tmp_mvar_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_mvar_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[21]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[21]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 169;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_da61afdacc8a5e344169f2d18cafef9f->m_frame.f_lineno = 169;
tmp_cmp_expr_left_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[22]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 169;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_2:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_list_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
assert(!(tmp_expression_value_2 == NULL));
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[24]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[25]);
Py_DECREF(tmp_expression_value_1);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_da61afdacc8a5e344169f2d18cafef9f->m_frame.f_lineno = 174;
tmp_list_arg_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_list_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_iter_arg_1 = MAKE_LIST(tmp_list_arg_1);
Py_DECREF(tmp_list_arg_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = MAKE_ITERATOR_INFALLIBLE(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
assert(!(tmp_assign_source_1 == NULL));
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_2;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_2 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_2 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
exception_lineno = 174;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_2;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_3 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_module;
var_module = tmp_assign_source_3;
Py_INCREF(var_module);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(var_module);
tmp_isinstance_inst_1 = var_module;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[26]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[26]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 179;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[27]);
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 179;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
Py_DECREF(tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 179;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_operand_value_1 = (tmp_res != 0) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 179;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
goto loop_start_1;
branch_no_3:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
CHECK_OBJECT(var_module);
tmp_getattr_target_1 = var_module;
tmp_getattr_attr_1 = mod_consts[28];
tmp_getattr_default_1 = Py_None;
tmp_assign_source_4 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 181;
type_description_1 = "ooo";
goto try_except_handler_2;
}
{
PyObject *old = var_path;
var_path = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_2;
CHECK_OBJECT(var_path);
tmp_operand_value_2 = var_path;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 182;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_condition_result_4 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
goto loop_start_1;
branch_no_4:;
{
nuitka_bool tmp_condition_result_5;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_1;
int tmp_truth_name_2;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_5;
PyObject *tmp_call_result_2;
int tmp_truth_name_3;
CHECK_OBJECT(var_path);
tmp_expression_value_4 = var_path;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[29]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_da61afdacc8a5e344169f2d18cafef9f->m_frame.f_lineno = 184;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[30]);
Py_DECREF(tmp_called_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 184;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_or_left_value_1 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "ooo";
goto try_except_handler_2;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(var_path);
tmp_expression_value_5 = var_path;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[29]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_da61afdacc8a5e344169f2d18cafef9f->m_frame.f_lineno = 184;
tmp_call_result_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_3, mod_consts[31]);
Py_DECREF(tmp_called_value_3);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_truth_name_3 = CHECK_IF_TRUE(tmp_call_result_2);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_2);
exception_lineno = 184;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_or_right_value_1 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_2);
tmp_condition_result_5 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_5 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_path);
tmp_expression_value_6 = var_path;
tmp_subscript_value_1 = mod_consts[32];
tmp_assign_source_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_6, tmp_subscript_value_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
type_description_1 = "ooo";
goto try_except_handler_2;
}
{
PyObject *old = var_path;
assert(old != NULL);
var_path = tmp_assign_source_5;
Py_DECREF(old);
}
}
branch_no_5:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[33]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 186;
type_description_1 = "ooo";
goto try_except_handler_2;
}
if (par_modify_times == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[34]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 186;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_args_element_value_1 = par_modify_times;
if (var_path == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[35]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 186;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_args_element_value_2 = var_path;
frame_da61afdacc8a5e344169f2d18cafef9f->m_frame.f_lineno = 186;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_4, call_args);
}
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 186;
type_description_1 = "ooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_3);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 174;
type_description_1 = "ooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(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(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_6;
PyObject *tmp_iter_arg_2;
tmp_iter_arg_2 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[14]);
if (unlikely(tmp_iter_arg_2 == NULL)) {
tmp_iter_arg_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[14]);
}
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assign_source_6 = MAKE_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_2__for_iterator == NULL);
tmp_for_loop_2__for_iterator = tmp_assign_source_6;
}
// Tried code:
loop_start_2:;
{
PyObject *tmp_next_source_2;
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_for_loop_2__for_iterator);
tmp_next_source_2 = tmp_for_loop_2__for_iterator;
tmp_assign_source_7 = ITERATOR_NEXT(tmp_next_source_2);
if (tmp_assign_source_7 == 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 = "ooo";
exception_lineno = 187;
goto try_except_handler_3;
}
}
{
PyObject *old = tmp_for_loop_2__iter_value;
tmp_for_loop_2__iter_value = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_for_loop_2__iter_value);
tmp_assign_source_8 = tmp_for_loop_2__iter_value;
{
PyObject *old = var_path;
var_path = tmp_assign_source_8;
Py_INCREF(var_path);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_5;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[33]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[33]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 188;
type_description_1 = "ooo";
goto try_except_handler_3;
}
if (par_modify_times == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[34]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 188;
type_description_1 = "ooo";
goto try_except_handler_3;
}
tmp_args_element_value_3 = par_modify_times;
CHECK_OBJECT(var_path);
tmp_args_element_value_4 = var_path;
frame_da61afdacc8a5e344169f2d18cafef9f->m_frame.f_lineno = 188;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_5, call_args);
}
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 188;
type_description_1 = "ooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_4);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
type_description_1 = "ooo";
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(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:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_da61afdacc8a5e344169f2d18cafef9f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_da61afdacc8a5e344169f2d18cafef9f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_da61afdacc8a5e344169f2d18cafef9f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_da61afdacc8a5e344169f2d18cafef9f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_da61afdacc8a5e344169f2d18cafef9f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_da61afdacc8a5e344169f2d18cafef9f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_da61afdacc8a5e344169f2d18cafef9f,
type_description_1,
par_modify_times,
var_module,
var_path
);
// Release cached frame if used for exception.
if (frame_da61afdacc8a5e344169f2d18cafef9f == cache_frame_da61afdacc8a5e344169f2d18cafef9f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_da61afdacc8a5e344169f2d18cafef9f);
cache_frame_da61afdacc8a5e344169f2d18cafef9f = NULL;
}
assertFrameObject(frame_da61afdacc8a5e344169f2d18cafef9f);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
Py_XDECREF(tmp_for_loop_2__iter_value);
tmp_for_loop_2__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_2__for_iterator);
Py_DECREF(tmp_for_loop_2__for_iterator);
tmp_for_loop_2__for_iterator = NULL;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_module);
var_module = NULL;
Py_XDECREF(var_path);
var_path = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_module);
var_module = NULL;
Py_XDECREF(var_path);
var_path = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_modify_times);
Py_DECREF(par_modify_times);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_modify_times);
Py_DECREF(par_modify_times);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$autoreload$$$function__6__check_file(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_modify_times = python_pars[0];
PyObject *par_path = python_pars[1];
PyObject *var_modified = NULL;
struct Nuitka_FrameObject *frame_8c88c4df0c6d4d875eaf61e92c5492e4;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *tmp_return_value = NULL;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_8c88c4df0c6d4d875eaf61e92c5492e4 = NULL;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_8c88c4df0c6d4d875eaf61e92c5492e4)) {
Py_XDECREF(cache_frame_8c88c4df0c6d4d875eaf61e92c5492e4);
#if _DEBUG_REFCOUNTS
if (cache_frame_8c88c4df0c6d4d875eaf61e92c5492e4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8c88c4df0c6d4d875eaf61e92c5492e4 = MAKE_FUNCTION_FRAME(codeobj_8c88c4df0c6d4d875eaf61e92c5492e4, module_tornado$autoreload, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8c88c4df0c6d4d875eaf61e92c5492e4->m_type_description == NULL);
frame_8c88c4df0c6d4d875eaf61e92c5492e4 = cache_frame_8c88c4df0c6d4d875eaf61e92c5492e4;
// Push the new frame as the currently active one.
pushFrameStack(frame_8c88c4df0c6d4d875eaf61e92c5492e4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8c88c4df0c6d4d875eaf61e92c5492e4) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
assert(!(tmp_called_instance_1 == NULL));
CHECK_OBJECT(par_path);
tmp_args_element_value_1 = par_path;
frame_8c88c4df0c6d4d875eaf61e92c5492e4->m_frame.f_lineno = 193;
tmp_expression_value_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[37], tmp_args_element_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 193;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[38]);
Py_DECREF(tmp_expression_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 193;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(var_modified == NULL);
var_modified = tmp_assign_source_1;
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_8c88c4df0c6d4d875eaf61e92c5492e4, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_8c88c4df0c6d4d875eaf61e92c5492e4, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_Exception;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_3;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 192;
}
if (exception_tb && exception_tb->tb_frame == &frame_8c88c4df0c6d4d875eaf61e92c5492e4->m_frame) frame_8c88c4df0c6d4d875eaf61e92c5492e4->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_3;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
// End of try:
try_end_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(par_path);
tmp_cmp_expr_left_2 = par_path;
CHECK_OBJECT(par_modify_times);
tmp_cmp_expr_right_2 = par_modify_times;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 196;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(var_modified);
tmp_ass_subvalue_1 = var_modified;
CHECK_OBJECT(par_modify_times);
tmp_ass_subscribed_1 = par_modify_times;
CHECK_OBJECT(par_path);
tmp_ass_subscript_1 = par_path;
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 = 197;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_2:;
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_modify_times);
tmp_expression_value_2 = par_modify_times;
CHECK_OBJECT(par_path);
tmp_subscript_value_1 = par_path;
tmp_cmp_expr_left_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_1);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 199;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_modified);
tmp_cmp_expr_right_3 = var_modified;
tmp_condition_result_3 = RICH_COMPARE_NE_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 199;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 200;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = mod_consts[40];
CHECK_OBJECT(par_path);
tmp_args_element_value_3 = par_path;
frame_8c88c4df0c6d4d875eaf61e92c5492e4->m_frame.f_lineno = 200;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_2,
mod_consts[39],
call_args
);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 200;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_call_result_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[41]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[41]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 201;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_8c88c4df0c6d4d875eaf61e92c5492e4->m_frame.f_lineno = 201;
tmp_call_result_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 201;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8c88c4df0c6d4d875eaf61e92c5492e4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8c88c4df0c6d4d875eaf61e92c5492e4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8c88c4df0c6d4d875eaf61e92c5492e4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8c88c4df0c6d4d875eaf61e92c5492e4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8c88c4df0c6d4d875eaf61e92c5492e4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8c88c4df0c6d4d875eaf61e92c5492e4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8c88c4df0c6d4d875eaf61e92c5492e4,
type_description_1,
par_modify_times,
par_path,
var_modified
);
// Release cached frame if used for exception.
if (frame_8c88c4df0c6d4d875eaf61e92c5492e4 == cache_frame_8c88c4df0c6d4d875eaf61e92c5492e4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8c88c4df0c6d4d875eaf61e92c5492e4);
cache_frame_8c88c4df0c6d4d875eaf61e92c5492e4 = NULL;
}
assertFrameObject(frame_8c88c4df0c6d4d875eaf61e92c5492e4);
// 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;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_modified);
var_modified = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_modified);
var_modified = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_modify_times);
Py_DECREF(par_modify_times);
CHECK_OBJECT(par_path);
Py_DECREF(par_path);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_modify_times);
Py_DECREF(par_modify_times);
CHECK_OBJECT(par_path);
Py_DECREF(par_path);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$autoreload$$$function__7__reload(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_fn = NULL;
PyObject *var_spec = NULL;
PyObject *var_argv = NULL;
PyObject *var_path_prefix = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_2798ded44beb44740828af9daf7c8e17;
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 nuitka_void tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
struct Nuitka_ExceptionStackItem exception_preserved_1;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
static struct Nuitka_FrameObject *cache_frame_2798ded44beb44740828af9daf7c8e17 = 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 body.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = Py_True;
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[20], tmp_assign_source_1);
}
// Tried code:
if (isFrameUnusable(cache_frame_2798ded44beb44740828af9daf7c8e17)) {
Py_XDECREF(cache_frame_2798ded44beb44740828af9daf7c8e17);
#if _DEBUG_REFCOUNTS
if (cache_frame_2798ded44beb44740828af9daf7c8e17 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2798ded44beb44740828af9daf7c8e17 = MAKE_FUNCTION_FRAME(codeobj_2798ded44beb44740828af9daf7c8e17, module_tornado$autoreload, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2798ded44beb44740828af9daf7c8e17->m_type_description == NULL);
frame_2798ded44beb44740828af9daf7c8e17 = cache_frame_2798ded44beb44740828af9daf7c8e17;
// Push the new frame as the currently active one.
pushFrameStack(frame_2798ded44beb44740828af9daf7c8e17);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2798ded44beb44740828af9daf7c8e17) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_iter_arg_1;
tmp_iter_arg_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[17]);
if (unlikely(tmp_iter_arg_1 == NULL)) {
tmp_iter_arg_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[17]);
}
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 207;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 207;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_2;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 207;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_3;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_4 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_fn;
var_fn = tmp_assign_source_4;
Py_INCREF(var_fn);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(var_fn);
tmp_called_value_1 = var_fn;
frame_2798ded44beb44740828af9daf7c8e17->m_frame.f_lineno = 208;
tmp_call_result_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 208;
type_description_1 = "oooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 207;
type_description_1 = "oooo";
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(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(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[42]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[43]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[42]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[42]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 213;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[44]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 213;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = mod_consts[45];
tmp_args_element_value_3 = mod_consts[45];
frame_2798ded44beb44740828af9daf7c8e17->m_frame.f_lineno = 213;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_1);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_mvar_value_1;
int tmp_truth_name_1;
tmp_mvar_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[46]);
if (unlikely(tmp_mvar_value_1 == NULL)) {
tmp_mvar_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[46]);
}
if (tmp_mvar_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_mvar_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[47]);
if (unlikely(tmp_cmp_expr_left_1 == NULL)) {
tmp_cmp_expr_left_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[47]);
}
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 222;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 222;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[48]);
if (unlikely(tmp_assign_source_5 == NULL)) {
tmp_assign_source_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[48]);
}
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 223;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_spec == NULL);
Py_INCREF(tmp_assign_source_5);
var_spec = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
tmp_assign_source_6 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[47]);
if (unlikely(tmp_assign_source_6 == NULL)) {
tmp_assign_source_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[47]);
}
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 224;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_argv == NULL);
Py_INCREF(tmp_assign_source_6);
var_argv = tmp_assign_source_6;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_7;
PyObject *tmp_getattr_target_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
assert(!(tmp_expression_value_4 == NULL));
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[24]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 226;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[49];
tmp_getattr_target_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_3);
if (tmp_getattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 226;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_getattr_attr_1 = mod_consts[50];
tmp_getattr_default_1 = Py_None;
tmp_assign_source_7 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
Py_DECREF(tmp_getattr_target_1);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 226;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_spec == NULL);
var_spec = tmp_assign_source_7;
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_expression_value_5;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 227;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[51]);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 227;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_argv == NULL);
var_argv = tmp_assign_source_8;
}
branch_end_1:;
{
nuitka_bool tmp_condition_result_3;
int tmp_truth_name_2;
CHECK_OBJECT(var_spec);
tmp_truth_name_2 = CHECK_IF_TRUE(var_spec);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_9;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_list_element_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_2;
tmp_list_element_1 = mod_consts[52];
tmp_add_expr_left_1 = MAKE_LIST_EMPTY(2);
{
PyObject *tmp_expression_value_6;
PyList_SET_ITEM0(tmp_add_expr_left_1, 0, tmp_list_element_1);
CHECK_OBJECT(var_spec);
tmp_expression_value_6 = var_spec;
tmp_list_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[53]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
type_description_1 = "oooo";
goto list_build_exception_1;
}
PyList_SET_ITEM(tmp_add_expr_left_1, 1, tmp_list_element_1);
}
goto list_build_noexception_1;
// Exception handling pass through code for list_build:
list_build_exception_1:;
Py_DECREF(tmp_add_expr_left_1);
goto frame_exception_exit_1;
// Finished with no exception for list_build:
list_build_noexception_1:;
CHECK_OBJECT(var_argv);
tmp_expression_value_7 = var_argv;
tmp_subscript_value_2 = mod_consts[54];
tmp_add_expr_right_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_7, tmp_subscript_value_2);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_add_expr_left_1);
exception_lineno = 229;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_9 = BINARY_OPERATION_ADD_OBJECT_LIST_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
Py_DECREF(tmp_add_expr_right_1);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_argv;
assert(old != NULL);
var_argv = tmp_assign_source_9;
Py_DECREF(old);
}
}
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_10;
PyObject *tmp_add_expr_left_2;
PyObject *tmp_add_expr_right_2;
PyObject *tmp_expression_value_8;
tmp_add_expr_left_2 = mod_consts[55];
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
assert(!(tmp_expression_value_8 == NULL));
tmp_add_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[56]);
if (tmp_add_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 231;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_10 = BINARY_OPERATION_ADD_OBJECT_UNICODE_OBJECT(tmp_add_expr_left_2, tmp_add_expr_right_2);
Py_DECREF(tmp_add_expr_right_2);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 231;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_path_prefix == NULL);
var_path_prefix = tmp_assign_source_10;
}
{
nuitka_bool tmp_condition_result_4;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_9;
PyObject *tmp_expression_value_10;
PyObject *tmp_subscript_value_3;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_11;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_12;
PyObject *tmp_expression_value_13;
PyObject *tmp_args_element_value_4;
tmp_expression_value_10 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_10 == NULL)) {
tmp_expression_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[35]);
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_3 = mod_consts[45];
tmp_cmp_expr_left_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_9, tmp_subscript_value_3, 0);
Py_DECREF(tmp_expression_value_9);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = mod_consts[57];
tmp_and_left_value_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_and_left_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[58]);
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[59]);
Py_DECREF(tmp_expression_value_12);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_2798ded44beb44740828af9daf7c8e17->m_frame.f_lineno = 232;
tmp_expression_value_11 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_4, mod_consts[60]);
Py_DECREF(tmp_called_value_4);
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[61]);
Py_DECREF(tmp_expression_value_11);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_path_prefix);
tmp_args_element_value_4 = var_path_prefix;
frame_2798ded44beb44740828af9daf7c8e17->m_frame.f_lineno = 232;
tmp_operand_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_3);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_4 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_4 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_add_expr_left_3;
PyObject *tmp_add_expr_right_3;
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_14;
PyObject *tmp_expression_value_15;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_16;
PyObject *tmp_ass_subscript_1;
if (var_path_prefix == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[62]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 235;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_add_expr_left_3 = var_path_prefix;
tmp_expression_value_15 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_expression_value_15 == NULL)) {
tmp_expression_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
if (tmp_expression_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[58]);
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[59]);
Py_DECREF(tmp_expression_value_14);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_2798ded44beb44740828af9daf7c8e17->m_frame.f_lineno = 235;
tmp_add_expr_right_3 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_5, mod_consts[60]);
Py_DECREF(tmp_called_value_5);
if (tmp_add_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_ass_subvalue_1 = BINARY_OPERATION_ADD_OBJECT_OBJECT_OBJECT(tmp_add_expr_left_3, tmp_add_expr_right_3);
Py_DECREF(tmp_add_expr_right_3);
if (tmp_ass_subvalue_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_16 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_expression_value_16 == NULL)) {
tmp_expression_value_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
if (tmp_expression_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subvalue_1);
exception_lineno = 235;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[58]);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subvalue_1);
exception_lineno = 235;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_ass_subscript_1 = mod_consts[63];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subscribed_1);
Py_DECREF(tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
branch_no_4:;
branch_end_3:;
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_2;
tmp_operand_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[64]);
if (unlikely(tmp_operand_value_2 == NULL)) {
tmp_operand_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[64]);
}
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 236;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 236;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_17;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_5;
PyObject *tmp_add_expr_left_4;
PyObject *tmp_add_expr_right_4;
PyObject *tmp_list_element_2;
PyObject *tmp_expression_value_18;
tmp_expression_value_17 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[65]);
if (unlikely(tmp_expression_value_17 == NULL)) {
tmp_expression_value_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[65]);
}
if (tmp_expression_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 237;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[66]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 237;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_18 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_18 == NULL)) {
tmp_expression_value_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 237;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_list_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[67]);
if (tmp_list_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 237;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_add_expr_left_4 = MAKE_LIST_EMPTY(1);
PyList_SET_ITEM(tmp_add_expr_left_4, 0, tmp_list_element_2);
CHECK_OBJECT(var_argv);
tmp_add_expr_right_4 = var_argv;
tmp_args_element_value_5 = BINARY_OPERATION_ADD_OBJECT_LIST_OBJECT(tmp_add_expr_left_4, tmp_add_expr_right_4);
Py_DECREF(tmp_add_expr_left_4);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 237;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_2798ded44beb44740828af9daf7c8e17->m_frame.f_lineno = 237;
tmp_call_result_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_5);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_5);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 237;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_4;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 238;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_2798ded44beb44740828af9daf7c8e17->m_frame.f_lineno = 238;
tmp_call_result_4 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[68],
PyTuple_GET_ITEM(mod_consts[69], 0)
);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 238;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
goto branch_end_5;
branch_no_5:;
// Tried code:
{
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_19;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_expression_value_20;
PyObject *tmp_args_element_value_7;
PyObject *tmp_add_expr_left_5;
PyObject *tmp_add_expr_right_5;
PyObject *tmp_list_element_3;
PyObject *tmp_expression_value_21;
tmp_expression_value_19 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_expression_value_19 == NULL)) {
tmp_expression_value_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
if (tmp_expression_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[70]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_expression_value_20 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_20 == NULL)) {
tmp_expression_value_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 241;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_args_element_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[67]);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 241;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_expression_value_21 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_21 == NULL)) {
tmp_expression_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_6);
exception_lineno = 241;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_list_element_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[67]);
if (tmp_list_element_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_6);
exception_lineno = 241;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_add_expr_left_5 = MAKE_LIST_EMPTY(1);
PyList_SET_ITEM(tmp_add_expr_left_5, 0, tmp_list_element_3);
CHECK_OBJECT(var_argv);
tmp_add_expr_right_5 = var_argv;
tmp_args_element_value_7 = BINARY_OPERATION_ADD_OBJECT_LIST_OBJECT(tmp_add_expr_left_5, tmp_add_expr_right_5);
Py_DECREF(tmp_add_expr_left_5);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_6);
exception_lineno = 241;
type_description_1 = "oooo";
goto try_except_handler_3;
}
frame_2798ded44beb44740828af9daf7c8e17->m_frame.f_lineno = 241;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7};
tmp_call_result_5 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_7, call_args);
}
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_6);
Py_DECREF(tmp_args_element_value_7);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 241;
type_description_1 = "oooo";
goto try_except_handler_3;
}
Py_DECREF(tmp_call_result_5);
}
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;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_2 == NULL) {
exception_keeper_tb_2 = MAKE_TRACEBACK(frame_2798ded44beb44740828af9daf7c8e17, exception_keeper_lineno_2);
} else if (exception_keeper_lineno_2 != 0) {
exception_keeper_tb_2 = ADD_TRACEBACK(exception_keeper_tb_2, frame_2798ded44beb44740828af9daf7c8e17, exception_keeper_lineno_2);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2);
// Tried code:
{
bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = PyExc_OSError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(tmp_res == -1));
tmp_condition_result_6 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_22;
PyObject *tmp_call_result_6;
PyObject *tmp_args_element_value_8;
PyObject *tmp_expression_value_23;
PyObject *tmp_args_element_value_9;
PyObject *tmp_expression_value_24;
PyObject *tmp_args_element_value_10;
PyObject *tmp_add_expr_left_6;
PyObject *tmp_add_expr_right_6;
PyObject *tmp_list_element_4;
PyObject *tmp_expression_value_25;
tmp_expression_value_22 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_expression_value_22 == NULL)) {
tmp_expression_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
if (tmp_expression_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 254;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_22, mod_consts[71]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 254;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_expression_value_23 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_expression_value_23 == NULL)) {
tmp_expression_value_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
if (tmp_expression_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 255;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_args_element_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[72]);
if (tmp_args_element_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 255;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_expression_value_24 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_24 == NULL)) {
tmp_expression_value_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_element_value_8);
exception_lineno = 255;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_args_element_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_24, mod_consts[67]);
if (tmp_args_element_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_element_value_8);
exception_lineno = 255;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_expression_value_25 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_25 == NULL)) {
tmp_expression_value_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_element_value_8);
Py_DECREF(tmp_args_element_value_9);
exception_lineno = 255;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_list_element_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_25, mod_consts[67]);
if (tmp_list_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_element_value_8);
Py_DECREF(tmp_args_element_value_9);
exception_lineno = 255;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_add_expr_left_6 = MAKE_LIST_EMPTY(1);
PyList_SET_ITEM(tmp_add_expr_left_6, 0, tmp_list_element_4);
CHECK_OBJECT(var_argv);
tmp_add_expr_right_6 = var_argv;
tmp_args_element_value_10 = BINARY_OPERATION_ADD_OBJECT_LIST_OBJECT(tmp_add_expr_left_6, tmp_add_expr_right_6);
Py_DECREF(tmp_add_expr_left_6);
if (tmp_args_element_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_element_value_8);
Py_DECREF(tmp_args_element_value_9);
exception_lineno = 255;
type_description_1 = "oooo";
goto try_except_handler_4;
}
frame_2798ded44beb44740828af9daf7c8e17->m_frame.f_lineno = 254;
{
PyObject *call_args[] = {tmp_args_element_value_8, tmp_args_element_value_9, tmp_args_element_value_10};
tmp_call_result_6 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_8, call_args);
}
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_element_value_8);
Py_DECREF(tmp_args_element_value_9);
Py_DECREF(tmp_args_element_value_10);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 254;
type_description_1 = "oooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_6);
}
{
PyObject *tmp_called_instance_2;
PyObject *tmp_call_result_7;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[36]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[36]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 260;
type_description_1 = "oooo";
goto try_except_handler_4;
}
frame_2798ded44beb44740828af9daf7c8e17->m_frame.f_lineno = 260;
tmp_call_result_7 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_2,
mod_consts[68],
PyTuple_GET_ITEM(mod_consts[69], 0)
);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 260;
type_description_1 = "oooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_7);
}
goto branch_end_6;
branch_no_6:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 240;
}
if (exception_tb && exception_tb->tb_frame == &frame_2798ded44beb44740828af9daf7c8e17->m_frame) frame_2798ded44beb44740828af9daf7c8e17->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooo";
goto try_except_handler_4;
branch_end_6:;
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;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_2;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_2:;
branch_end_5:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2798ded44beb44740828af9daf7c8e17);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2798ded44beb44740828af9daf7c8e17);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2798ded44beb44740828af9daf7c8e17, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2798ded44beb44740828af9daf7c8e17->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2798ded44beb44740828af9daf7c8e17, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2798ded44beb44740828af9daf7c8e17,
type_description_1,
var_fn,
var_spec,
var_argv,
var_path_prefix
);
// Release cached frame if used for exception.
if (frame_2798ded44beb44740828af9daf7c8e17 == cache_frame_2798ded44beb44740828af9daf7c8e17) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2798ded44beb44740828af9daf7c8e17);
cache_frame_2798ded44beb44740828af9daf7c8e17 = NULL;
}
assertFrameObject(frame_2798ded44beb44740828af9daf7c8e17);
// 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;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_fn);
var_fn = NULL;
CHECK_OBJECT(var_spec);
Py_DECREF(var_spec);
var_spec = NULL;
Py_XDECREF(var_argv);
var_argv = NULL;
Py_XDECREF(var_path_prefix);
var_path_prefix = 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_fn);
var_fn = NULL;
Py_XDECREF(var_spec);
var_spec = NULL;
Py_XDECREF(var_argv);
var_argv = NULL;
Py_XDECREF(var_path_prefix);
var_path_prefix = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$autoreload$$$function__8_main(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *var_tornado = NULL;
PyObject *var_original_argv = NULL;
PyObject *var_original_spec = NULL;
PyObject *var_mode = NULL;
PyObject *var_module = NULL;
PyObject *var_script = NULL;
PyObject *var_runpy = NULL;
PyObject *var_f = NULL;
PyObject *var_e = NULL;
PyObject *var_filename = NULL;
PyObject *var_lineno = NULL;
PyObject *var_name = NULL;
PyObject *var_line = NULL;
PyObject *var_loader = NULL;
PyObject *tmp_assign_unpack_2__assign_source = NULL;
PyObject *tmp_assign_unpack_3__assign_source = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
nuitka_bool tmp_try_except_1__unhandled_indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__element_3 = NULL;
PyObject *tmp_tuple_unpack_1__element_4 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
PyObject *tmp_with_1__enter = NULL;
PyObject *tmp_with_1__exit = NULL;
nuitka_bool tmp_with_1__indicator = NUITKA_BOOL_UNASSIGNED;
PyObject *tmp_with_1__source = NULL;
struct Nuitka_FrameObject *frame_8d244bead9f8d9767ac534585007fd7a;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
int tmp_res;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_1;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_8;
PyObject *exception_keeper_value_8;
PyTracebackObject *exception_keeper_tb_8;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_8;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13;
static struct Nuitka_FrameObject *cache_frame_8d244bead9f8d9767ac534585007fd7a = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_14;
PyObject *exception_keeper_value_14;
PyTracebackObject *exception_keeper_tb_14;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_8d244bead9f8d9767ac534585007fd7a)) {
Py_XDECREF(cache_frame_8d244bead9f8d9767ac534585007fd7a);
#if _DEBUG_REFCOUNTS
if (cache_frame_8d244bead9f8d9767ac534585007fd7a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8d244bead9f8d9767ac534585007fd7a = MAKE_FUNCTION_FRAME(codeobj_8d244bead9f8d9767ac534585007fd7a, module_tornado$autoreload, 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 *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8d244bead9f8d9767ac534585007fd7a->m_type_description == NULL);
frame_8d244bead9f8d9767ac534585007fd7a = cache_frame_8d244bead9f8d9767ac534585007fd7a;
// Push the new frame as the currently active one.
pushFrameStack(frame_8d244bead9f8d9767ac534585007fd7a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8d244bead9f8d9767ac534585007fd7a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_name_value_1;
PyObject *tmp_globals_arg_value_1;
PyObject *tmp_locals_arg_value_1;
PyObject *tmp_fromlist_value_1;
PyObject *tmp_level_value_1;
tmp_name_value_1 = mod_consts[73];
tmp_globals_arg_value_1 = (PyObject *)moduledict_tornado$autoreload;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[45];
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 286;
tmp_assign_source_1 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 286;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_tornado == NULL);
var_tornado = tmp_assign_source_1;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
PyObject *tmp_expression_value_1;
tmp_assattr_value_1 = Py_True;
CHECK_OBJECT(var_tornado);
tmp_expression_value_1 = var_tornado;
tmp_assattr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[74]);
if (tmp_assattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 290;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[46], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_target_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 290;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = Py_True;
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[46], tmp_assign_source_2);
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_2;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
assert(!(tmp_expression_value_2 == NULL));
tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[51]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 291;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_original_argv == NULL);
var_original_argv = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(var_original_argv);
tmp_assign_source_4 = var_original_argv;
assert(tmp_assign_unpack_2__assign_source == NULL);
Py_INCREF(tmp_assign_source_4);
tmp_assign_unpack_2__assign_source = tmp_assign_source_4;
}
// Tried code:
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(tmp_assign_unpack_2__assign_source);
tmp_assattr_value_2 = tmp_assign_unpack_2__assign_source;
CHECK_OBJECT(var_tornado);
tmp_expression_value_3 = var_tornado;
tmp_assattr_target_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[74]);
if (tmp_assattr_target_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 292;
type_description_1 = "oooooooooooooo";
goto try_except_handler_2;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[47], tmp_assattr_value_2);
Py_DECREF(tmp_assattr_target_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 292;
type_description_1 = "oooooooooooooo";
goto try_except_handler_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;
CHECK_OBJECT(tmp_assign_unpack_2__assign_source);
Py_DECREF(tmp_assign_unpack_2__assign_source);
tmp_assign_unpack_2__assign_source = 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:;
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_assign_unpack_2__assign_source);
tmp_assign_source_5 = tmp_assign_unpack_2__assign_source;
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[47], tmp_assign_source_5);
}
CHECK_OBJECT(tmp_assign_unpack_2__assign_source);
Py_DECREF(tmp_assign_unpack_2__assign_source);
tmp_assign_unpack_2__assign_source = NULL;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_getattr_target_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 293;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[24]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 293;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[49];
tmp_getattr_target_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_4, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_4);
if (tmp_getattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 293;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_getattr_attr_1 = mod_consts[50];
tmp_getattr_default_1 = Py_None;
tmp_assign_source_6 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
Py_DECREF(tmp_getattr_target_1);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 293;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_original_spec == NULL);
var_original_spec = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(var_original_spec);
tmp_assign_source_7 = var_original_spec;
assert(tmp_assign_unpack_3__assign_source == NULL);
Py_INCREF(tmp_assign_source_7);
tmp_assign_unpack_3__assign_source = tmp_assign_source_7;
}
// Tried code:
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(tmp_assign_unpack_3__assign_source);
tmp_assattr_value_3 = tmp_assign_unpack_3__assign_source;
CHECK_OBJECT(var_tornado);
tmp_expression_value_6 = var_tornado;
tmp_assattr_target_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[74]);
if (tmp_assattr_target_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
type_description_1 = "oooooooooooooo";
goto try_except_handler_3;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[48], tmp_assattr_value_3);
Py_DECREF(tmp_assattr_target_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
type_description_1 = "oooooooooooooo";
goto try_except_handler_3;
}
}
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;
CHECK_OBJECT(tmp_assign_unpack_3__assign_source);
Py_DECREF(tmp_assign_unpack_3__assign_source);
tmp_assign_unpack_3__assign_source = 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:;
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_assign_unpack_3__assign_source);
tmp_assign_source_8 = tmp_assign_unpack_3__assign_source;
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[48], tmp_assign_source_8);
}
CHECK_OBJECT(tmp_assign_unpack_3__assign_source);
Py_DECREF(tmp_assign_unpack_3__assign_source);
tmp_assign_unpack_3__assign_source = NULL;
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_expression_value_7;
PyObject *tmp_expression_value_8;
PyObject *tmp_subscript_value_2;
PyObject *tmp_assattr_target_4;
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[51]);
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_2 = mod_consts[75];
tmp_assattr_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_7, tmp_subscript_value_2);
Py_DECREF(tmp_expression_value_7);
if (tmp_assattr_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_4 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_assattr_target_4 == NULL)) {
tmp_assattr_target_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_assattr_target_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_assattr_value_4);
exception_lineno = 295;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[51], tmp_assattr_value_4);
Py_DECREF(tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 295;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_1;
int tmp_and_left_truth_1;
nuitka_bool tmp_and_left_value_1;
nuitka_bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_1;
nuitka_digit tmp_cmp_expr_right_1;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_9;
bool tmp_tmp_and_left_value_1_cbool_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_10;
PyObject *tmp_expression_value_11;
PyObject *tmp_subscript_value_3;
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 296;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_len_arg_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[51]);
if (tmp_len_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 296;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_1 = BUILTIN_LEN(tmp_len_arg_1);
Py_DECREF(tmp_len_arg_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 296;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = 3;
tmp_tmp_and_left_value_1_cbool_1 = RICH_COMPARE_GE_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
tmp_and_left_value_1 = tmp_tmp_and_left_value_1_cbool_1 ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 296;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[51]);
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 296;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_3 = mod_consts[76];
tmp_cmp_expr_left_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_10, tmp_subscript_value_3, 1);
Py_DECREF(tmp_expression_value_10);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 296;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = mod_consts[52];
tmp_and_right_value_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_and_right_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 296;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_9;
tmp_assign_source_9 = mod_consts[77];
assert(var_mode == NULL);
Py_INCREF(tmp_assign_source_9);
var_mode = tmp_assign_source_9;
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_expression_value_12;
PyObject *tmp_expression_value_13;
PyObject *tmp_subscript_value_4;
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 298;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[51]);
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 298;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_4 = mod_consts[78];
tmp_assign_source_10 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_12, tmp_subscript_value_4, 2);
Py_DECREF(tmp_expression_value_12);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 298;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_module == NULL);
var_module = tmp_assign_source_10;
}
{
PyObject *tmp_delsubscr_target_1;
PyObject *tmp_expression_value_14;
PyObject *tmp_delsubscr_subscript_1;
tmp_expression_value_14 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_14 == NULL)) {
tmp_expression_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 299;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_delsubscr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[51]);
if (tmp_delsubscr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 299;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_delsubscr_subscript_1 = mod_consts[79];
tmp_result = DEL_SUBSCRIPT(tmp_delsubscr_target_1, tmp_delsubscr_subscript_1);
Py_DECREF(tmp_delsubscr_target_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 299;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
}
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_3;
nuitka_digit tmp_cmp_expr_right_3;
PyObject *tmp_len_arg_2;
PyObject *tmp_expression_value_15;
tmp_expression_value_15 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_15 == NULL)) {
tmp_expression_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_len_arg_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[51]);
if (tmp_len_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_3 = BUILTIN_LEN(tmp_len_arg_2);
Py_DECREF(tmp_len_arg_2);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = 2;
tmp_condition_result_2 = RICH_COMPARE_GE_CBOOL_LONG_DIGIT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_left_3);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_11;
tmp_assign_source_11 = mod_consts[80];
assert(var_mode == NULL);
Py_INCREF(tmp_assign_source_11);
var_mode = tmp_assign_source_11;
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_expression_value_16;
PyObject *tmp_expression_value_17;
PyObject *tmp_subscript_value_5;
tmp_expression_value_17 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_17 == NULL)) {
tmp_expression_value_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 302;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[51]);
if (tmp_expression_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 302;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_5 = mod_consts[76];
tmp_assign_source_12 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_16, tmp_subscript_value_5, 1);
Py_DECREF(tmp_expression_value_16);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 302;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_script == NULL);
var_script = tmp_assign_source_12;
}
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_expression_value_18;
PyObject *tmp_expression_value_19;
PyObject *tmp_subscript_value_6;
PyObject *tmp_assattr_target_5;
tmp_expression_value_19 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_expression_value_19 == NULL)) {
tmp_expression_value_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_expression_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 303;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[51]);
if (tmp_expression_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 303;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_6 = mod_consts[54];
tmp_assattr_value_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_18, tmp_subscript_value_6);
Py_DECREF(tmp_expression_value_18);
if (tmp_assattr_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 303;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_5 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_assattr_target_5 == NULL)) {
tmp_assattr_target_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_assattr_target_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_assattr_value_5);
exception_lineno = 303;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[51], tmp_assattr_value_5);
Py_DECREF(tmp_assattr_value_5);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 303;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_dict_value_0_1;
tmp_called_value_1 = LOOKUP_BUILTIN(mod_consts[81]);
assert(tmp_called_value_1 != NULL);
tmp_kw_call_arg_value_0_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[82]);
if (unlikely(tmp_kw_call_arg_value_0_1 == NULL)) {
tmp_kw_call_arg_value_0_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[82]);
}
if (tmp_kw_call_arg_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 305;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_0_1 = Nuitka_SysGetObject("stderr");
assert(!(tmp_kw_call_dict_value_0_1 == NULL));
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 305;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[83]);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 305;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_2;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 306;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 306;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[84],
PyTuple_GET_ITEM(mod_consts[85], 0)
);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 306;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_end_2:;
branch_end_1:;
{
nuitka_bool tmp_assign_source_13;
tmp_assign_source_13 = NUITKA_BOOL_TRUE;
tmp_try_except_1__unhandled_indicator = tmp_assign_source_13;
}
// Tried code:
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
if (var_mode == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[86]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 309;
type_description_1 = "oooooooooooooo";
goto try_except_handler_4;
}
tmp_cmp_expr_left_4 = var_mode;
tmp_cmp_expr_right_4 = mod_consts[77];
tmp_condition_result_3 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_condition_result_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 309;
type_description_1 = "oooooooooooooo";
goto try_except_handler_4;
}
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_14;
PyObject *tmp_name_value_2;
PyObject *tmp_globals_arg_value_2;
PyObject *tmp_locals_arg_value_2;
PyObject *tmp_fromlist_value_2;
PyObject *tmp_level_value_2;
tmp_name_value_2 = mod_consts[87];
tmp_globals_arg_value_2 = (PyObject *)moduledict_tornado$autoreload;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[45];
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 310;
tmp_assign_source_14 = IMPORT_MODULE5(tmp_name_value_2, tmp_globals_arg_value_2, tmp_locals_arg_value_2, tmp_fromlist_value_2, tmp_level_value_2);
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 310;
type_description_1 = "oooooooooooooo";
goto try_except_handler_4;
}
assert(var_runpy == NULL);
var_runpy = tmp_assign_source_14;
}
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_20;
PyObject *tmp_call_result_3;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(var_runpy);
tmp_expression_value_20 = var_runpy;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[88]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 312;
type_description_1 = "oooooooooooooo";
goto try_except_handler_4;
}
if (var_module == NULL) {
Py_DECREF(tmp_called_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[77]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 312;
type_description_1 = "oooooooooooooo";
goto try_except_handler_4;
}
tmp_tuple_element_1 = var_module;
tmp_args_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_1);
tmp_kwargs_value_1 = DICT_COPY(mod_consts[89]);
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 312;
tmp_call_result_3 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_value_1);
Py_DECREF(tmp_kwargs_value_1);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 312;
type_description_1 = "oooooooooooooo";
goto try_except_handler_4;
}
Py_DECREF(tmp_call_result_3);
}
goto branch_end_3;
branch_no_3:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
if (var_mode == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[86]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 313;
type_description_1 = "oooooooooooooo";
goto try_except_handler_4;
}
tmp_cmp_expr_left_5 = var_mode;
tmp_cmp_expr_right_5 = mod_consts[80];
tmp_condition_result_4 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_condition_result_4 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 313;
type_description_1 = "oooooooooooooo";
goto try_except_handler_4;
}
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
// Tried code:
{
PyObject *tmp_assign_source_15;
PyObject *tmp_open_filename_1;
if (var_script == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[80]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 314;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
tmp_open_filename_1 = var_script;
tmp_assign_source_15 = BUILTIN_OPEN(tmp_open_filename_1, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
assert(tmp_with_1__source == NULL);
tmp_with_1__source = tmp_assign_source_15;
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_21;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_21 = tmp_with_1__source;
tmp_called_value_3 = LOOKUP_SPECIAL(tmp_expression_value_21, mod_consts[90]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 314;
tmp_assign_source_16 = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
assert(tmp_with_1__enter == NULL);
tmp_with_1__enter = tmp_assign_source_16;
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_expression_value_22;
CHECK_OBJECT(tmp_with_1__source);
tmp_expression_value_22 = tmp_with_1__source;
tmp_assign_source_17 = LOOKUP_SPECIAL(tmp_expression_value_22, mod_consts[91]);
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
assert(tmp_with_1__exit == NULL);
tmp_with_1__exit = tmp_assign_source_17;
}
{
nuitka_bool tmp_assign_source_18;
tmp_assign_source_18 = NUITKA_BOOL_TRUE;
tmp_with_1__indicator = tmp_assign_source_18;
}
{
PyObject *tmp_assign_source_19;
CHECK_OBJECT(tmp_with_1__enter);
tmp_assign_source_19 = tmp_with_1__enter;
assert(var_f == NULL);
Py_INCREF(tmp_assign_source_19);
var_f = tmp_assign_source_19;
}
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_20;
if (var_script == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[80]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 320;
type_description_1 = "oooooooooooooo";
goto try_except_handler_7;
}
tmp_assign_source_20 = var_script;
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[28], tmp_assign_source_20);
}
tmp_res = PyDict_DelItem((PyObject *)moduledict_tornado$autoreload, mod_consts[92]);
tmp_result = tmp_res != -1;
if (tmp_result == false) CLEAR_ERROR_OCCURRED();
if (unlikely(tmp_result == false)) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[92]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 324;
type_description_1 = "oooooooooooooo";
goto try_except_handler_7;
}
{
PyObject *tmp_called_value_4;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[93]);
if (unlikely(tmp_called_value_4 == NULL)) {
tmp_called_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[93]);
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 325;
type_description_1 = "oooooooooooooo";
goto try_except_handler_7;
}
CHECK_OBJECT(var_f);
tmp_called_instance_2 = var_f;
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 325;
tmp_args_element_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[94]);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 325;
type_description_1 = "oooooooooooooo";
goto try_except_handler_7;
}
tmp_args_element_value_2 = (PyObject *)moduledict_tornado$autoreload;
tmp_args_element_value_3 = (PyObject *)moduledict_tornado$autoreload;
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 325;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_args_element_value_1);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 325;
type_description_1 = "oooooooooooooo";
goto try_except_handler_7;
}
Py_DECREF(tmp_call_result_4);
}
goto try_end_3;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_8d244bead9f8d9767ac534585007fd7a, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_8d244bead9f8d9767ac534585007fd7a, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
// Tried code:
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
tmp_cmp_expr_left_6 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_6 = PyExc_BaseException;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
assert(!(tmp_res == -1));
tmp_condition_result_5 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
nuitka_bool tmp_assign_source_21;
tmp_assign_source_21 = NUITKA_BOOL_FALSE;
tmp_with_1__indicator = tmp_assign_source_21;
}
{
bool tmp_condition_result_6;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_5 = tmp_with_1__exit;
tmp_args_element_value_4 = EXC_TYPE(PyThreadState_GET());
tmp_args_element_value_5 = EXC_VALUE(PyThreadState_GET());
tmp_args_element_value_6 = (PyObject *)EXC_TRACEBACK(PyThreadState_GET());
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 325;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5, tmp_args_element_value_6};
tmp_operand_value_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_5, call_args);
}
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 325;
type_description_1 = "oooooooooooooo";
goto try_except_handler_8;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 325;
type_description_1 = "oooooooooooooo";
goto try_except_handler_8;
}
tmp_condition_result_6 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 325;
}
if (exception_tb && exception_tb->tb_frame == &frame_8d244bead9f8d9767ac534585007fd7a->m_frame) frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooooooooo";
goto try_except_handler_8;
branch_no_6:;
goto branch_end_5;
branch_no_5:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 314;
}
if (exception_tb && exception_tb->tb_frame == &frame_8d244bead9f8d9767ac534585007fd7a->m_frame) frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooooooooo";
goto try_except_handler_8;
branch_end_5:;
goto try_end_4;
// Exception handler code:
try_except_handler_8:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_6;
// End of try:
try_end_4:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_3;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_3:;
goto try_end_5;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
bool tmp_condition_result_7;
nuitka_bool tmp_cmp_expr_left_7;
nuitka_bool tmp_cmp_expr_right_7;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_7 = tmp_with_1__indicator;
tmp_cmp_expr_right_7 = NUITKA_BOOL_TRUE;
tmp_condition_result_7 = (tmp_cmp_expr_left_7 == tmp_cmp_expr_right_7) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_call_result_5;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_6 = tmp_with_1__exit;
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 325;
tmp_call_result_5 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_6, mod_consts[95]);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(exception_keeper_type_5);
Py_XDECREF(exception_keeper_value_5);
Py_XDECREF(exception_keeper_tb_5);
exception_lineno = 325;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_5);
}
branch_no_7:;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_5;
// End of try:
try_end_5:;
{
bool tmp_condition_result_8;
nuitka_bool tmp_cmp_expr_left_8;
nuitka_bool tmp_cmp_expr_right_8;
assert(tmp_with_1__indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_8 = tmp_with_1__indicator;
tmp_cmp_expr_right_8 = NUITKA_BOOL_TRUE;
tmp_condition_result_8 = (tmp_cmp_expr_left_8 == tmp_cmp_expr_right_8) ? true : false;
if (tmp_condition_result_8 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_called_value_7;
PyObject *tmp_call_result_6;
CHECK_OBJECT(tmp_with_1__exit);
tmp_called_value_7 = tmp_with_1__exit;
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 325;
tmp_call_result_6 = CALL_FUNCTION_WITH_POSARGS3(tmp_called_value_7, mod_consts[95]);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 325;
type_description_1 = "oooooooooooooo";
goto try_except_handler_5;
}
Py_DECREF(tmp_call_result_6);
}
branch_no_8:;
goto try_end_6;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
Py_XDECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto try_except_handler_4;
// End of try:
try_end_6:;
CHECK_OBJECT(tmp_with_1__source);
Py_DECREF(tmp_with_1__source);
tmp_with_1__source = NULL;
CHECK_OBJECT(tmp_with_1__enter);
Py_DECREF(tmp_with_1__enter);
tmp_with_1__enter = NULL;
Py_XDECREF(tmp_with_1__exit);
tmp_with_1__exit = NULL;
branch_no_4:;
branch_end_3:;
goto try_end_7;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_7 = exception_type;
exception_keeper_value_7 = exception_value;
exception_keeper_tb_7 = exception_tb;
exception_keeper_lineno_7 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
nuitka_bool tmp_assign_source_22;
tmp_assign_source_22 = NUITKA_BOOL_FALSE;
tmp_try_except_1__unhandled_indicator = tmp_assign_source_22;
}
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_7 == NULL) {
exception_keeper_tb_7 = MAKE_TRACEBACK(frame_8d244bead9f8d9767ac534585007fd7a, exception_keeper_lineno_7);
} else if (exception_keeper_lineno_7 != 0) {
exception_keeper_tb_7 = ADD_TRACEBACK(exception_keeper_tb_7, frame_8d244bead9f8d9767ac534585007fd7a, exception_keeper_lineno_7);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_7, &exception_keeper_value_7, &exception_keeper_tb_7);
// Tried code:
{
bool tmp_condition_result_9;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
tmp_cmp_expr_left_9 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_9 = PyExc_SystemExit;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_9, tmp_cmp_expr_right_9);
assert(!(tmp_res == -1));
tmp_condition_result_9 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_assign_source_23;
tmp_assign_source_23 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_23);
var_e = tmp_assign_source_23;
}
// Tried code:
{
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_23;
PyObject *tmp_call_result_7;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
PyObject *tmp_expression_value_24;
tmp_expression_value_23 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_expression_value_23 == NULL)) {
tmp_expression_value_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_expression_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 327;
type_description_1 = "oooooooooooooo";
goto try_except_handler_10;
}
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_23, mod_consts[39]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 327;
type_description_1 = "oooooooooooooo";
goto try_except_handler_10;
}
tmp_args_element_value_7 = mod_consts[96];
CHECK_OBJECT(var_e);
tmp_expression_value_24 = var_e;
tmp_args_element_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_24, mod_consts[97]);
if (tmp_args_element_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 327;
type_description_1 = "oooooooooooooo";
goto try_except_handler_10;
}
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 327;
{
PyObject *call_args[] = {tmp_args_element_value_7, tmp_args_element_value_8};
tmp_call_result_7 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_8, call_args);
}
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_element_value_8);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 327;
type_description_1 = "oooooooooooooo";
goto try_except_handler_10;
}
Py_DECREF(tmp_call_result_7);
}
goto try_end_8;
// Exception handler code:
try_except_handler_10:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_e);
var_e = NULL;
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto try_except_handler_9;
// End of try:
try_end_8:;
Py_XDECREF(var_e);
var_e = NULL;
goto branch_end_9;
branch_no_9:;
{
bool tmp_condition_result_10;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
tmp_cmp_expr_left_10 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_10 = PyExc_Exception;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
assert(!(tmp_res == -1));
tmp_condition_result_10 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_10 != false) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assign_source_24;
tmp_assign_source_24 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_24);
var_e = tmp_assign_source_24;
}
// Tried code:
{
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_25;
PyObject *tmp_call_result_8;
tmp_expression_value_25 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_expression_value_25 == NULL)) {
tmp_expression_value_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_expression_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 329;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_25, mod_consts[5]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 329;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 329;
tmp_call_result_8 = CALL_FUNCTION_WITH_ARGS1_VECTORCALL(tmp_called_value_9, &PyTuple_GET_ITEM(mod_consts[98], 0), mod_consts[99]);
Py_DECREF(tmp_called_value_9);
if (tmp_call_result_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 329;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
Py_DECREF(tmp_call_result_8);
}
{
PyObject *tmp_assign_source_25;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_10;
PyObject *tmp_expression_value_26;
PyObject *tmp_args_element_value_9;
PyObject *tmp_expression_value_27;
PyObject *tmp_called_instance_3;
PyObject *tmp_subscript_value_7;
tmp_expression_value_26 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[100]);
if (unlikely(tmp_expression_value_26 == NULL)) {
tmp_expression_value_26 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[100]);
}
if (tmp_expression_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
tmp_called_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[101]);
if (tmp_called_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_10);
exception_lineno = 334;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 334;
tmp_expression_value_27 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[102]);
if (tmp_expression_value_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_10);
exception_lineno = 334;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
tmp_subscript_value_7 = mod_consts[78];
tmp_args_element_value_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_27, tmp_subscript_value_7, 2);
Py_DECREF(tmp_expression_value_27);
if (tmp_args_element_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_10);
exception_lineno = 334;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 334;
tmp_iter_arg_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_10, tmp_args_element_value_9);
Py_DECREF(tmp_called_value_10);
Py_DECREF(tmp_args_element_value_9);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
tmp_assign_source_25 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_25;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_26;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_26 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_26 == 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 = "oooooooooooooo";
exception_lineno = 334;
goto try_except_handler_12;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_26;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_27;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_iter_arg_2 = tmp_for_loop_1__iter_value;
tmp_assign_source_27 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_1 = "oooooooooooooo";
goto try_except_handler_13;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_27;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_28;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_28 = UNPACK_NEXT(tmp_unpack_1, 0, 4);
if (tmp_assign_source_28 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooo";
exception_lineno = 334;
goto try_except_handler_14;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_28;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_29;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_29 = UNPACK_NEXT(tmp_unpack_2, 1, 4);
if (tmp_assign_source_29 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooo";
exception_lineno = 334;
goto try_except_handler_14;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_29;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_30;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_30 = UNPACK_NEXT(tmp_unpack_3, 2, 4);
if (tmp_assign_source_30 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooo";
exception_lineno = 334;
goto try_except_handler_14;
}
{
PyObject *old = tmp_tuple_unpack_1__element_3;
tmp_tuple_unpack_1__element_3 = tmp_assign_source_30;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_31;
PyObject *tmp_unpack_4;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_4 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_31 = UNPACK_NEXT(tmp_unpack_4, 3, 4);
if (tmp_assign_source_31 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooooooo";
exception_lineno = 334;
goto try_except_handler_14;
}
{
PyObject *old = tmp_tuple_unpack_1__element_4;
tmp_tuple_unpack_1__element_4 = tmp_assign_source_31;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooooooo";
exception_lineno = 334;
goto try_except_handler_14;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[103];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooooooo";
exception_lineno = 334;
goto try_except_handler_14;
}
}
goto try_end_9;
// Exception handler code:
try_except_handler_14:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto try_except_handler_13;
// End of try:
try_end_9:;
goto try_end_10;
// Exception handler code:
try_except_handler_13:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_4);
tmp_tuple_unpack_1__element_4 = NULL;
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto try_except_handler_12;
// End of try:
try_end_10:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_32;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_32 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_filename;
var_filename = tmp_assign_source_32;
Py_INCREF(var_filename);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_33;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_33 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_lineno;
var_lineno = tmp_assign_source_33;
Py_INCREF(var_lineno);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_34;
CHECK_OBJECT(tmp_tuple_unpack_1__element_3);
tmp_assign_source_34 = tmp_tuple_unpack_1__element_3;
{
PyObject *old = var_name;
var_name = tmp_assign_source_34;
Py_INCREF(var_name);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
{
PyObject *tmp_assign_source_35;
CHECK_OBJECT(tmp_tuple_unpack_1__element_4);
tmp_assign_source_35 = tmp_tuple_unpack_1__element_4;
{
PyObject *old = var_line;
var_line = tmp_assign_source_35;
Py_INCREF(var_line);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_4);
tmp_tuple_unpack_1__element_4 = NULL;
{
PyObject *tmp_called_value_11;
PyObject *tmp_call_result_9;
PyObject *tmp_args_element_value_10;
tmp_called_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_called_value_11 == NULL)) {
tmp_called_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 335;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
CHECK_OBJECT(var_filename);
tmp_args_element_value_10 = var_filename;
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 335;
tmp_call_result_9 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_11, tmp_args_element_value_10);
if (tmp_call_result_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 335;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
Py_DECREF(tmp_call_result_9);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_1 = "oooooooooooooo";
goto try_except_handler_12;
}
goto loop_start_1;
loop_end_1:;
goto try_end_11;
// Exception handler code:
try_except_handler_12:;
exception_keeper_type_11 = exception_type;
exception_keeper_value_11 = exception_value;
exception_keeper_tb_11 = exception_tb;
exception_keeper_lineno_11 = 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(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_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto try_except_handler_11;
// End of try:
try_end_11:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(var_e);
tmp_isinstance_inst_1 = var_e;
tmp_isinstance_cls_1 = PyExc_SyntaxError;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 336;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
tmp_condition_result_11 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
bool tmp_condition_result_12;
PyObject *tmp_cmp_expr_left_11;
PyObject *tmp_cmp_expr_right_11;
PyObject *tmp_expression_value_28;
CHECK_OBJECT(var_e);
tmp_expression_value_28 = var_e;
tmp_cmp_expr_left_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[105]);
if (tmp_cmp_expr_left_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
tmp_cmp_expr_right_11 = Py_None;
tmp_condition_result_12 = (tmp_cmp_expr_left_11 != tmp_cmp_expr_right_11) ? true : false;
Py_DECREF(tmp_cmp_expr_left_11);
if (tmp_condition_result_12 != false) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
PyObject *tmp_called_value_12;
PyObject *tmp_call_result_10;
PyObject *tmp_args_element_value_11;
PyObject *tmp_expression_value_29;
tmp_called_value_12 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_called_value_12 == NULL)) {
tmp_called_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
if (tmp_called_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 341;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
CHECK_OBJECT(var_e);
tmp_expression_value_29 = var_e;
tmp_args_element_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_29, mod_consts[105]);
if (tmp_args_element_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 341;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 341;
tmp_call_result_10 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_12, tmp_args_element_value_11);
Py_DECREF(tmp_args_element_value_11);
if (tmp_call_result_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 341;
type_description_1 = "oooooooooooooo";
goto try_except_handler_11;
}
Py_DECREF(tmp_call_result_10);
}
branch_no_12:;
branch_no_11:;
goto try_end_12;
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_12 = exception_type;
exception_keeper_value_12 = exception_value;
exception_keeper_tb_12 = exception_tb;
exception_keeper_lineno_12 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_e);
var_e = NULL;
// Re-raise.
exception_type = exception_keeper_type_12;
exception_value = exception_keeper_value_12;
exception_tb = exception_keeper_tb_12;
exception_lineno = exception_keeper_lineno_12;
goto try_except_handler_9;
// End of try:
try_end_12:;
Py_XDECREF(var_e);
var_e = NULL;
goto branch_end_10;
branch_no_10:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 308;
}
if (exception_tb && exception_tb->tb_frame == &frame_8d244bead9f8d9767ac534585007fd7a->m_frame) frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooooooooooo";
goto try_except_handler_9;
branch_end_10:;
branch_end_9:;
goto try_end_13;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_13 = exception_type;
exception_keeper_value_13 = exception_value;
exception_keeper_tb_13 = exception_tb;
exception_keeper_lineno_13 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_13;
exception_value = exception_keeper_value_13;
exception_tb = exception_keeper_tb_13;
exception_lineno = exception_keeper_lineno_13;
goto frame_exception_exit_1;
// End of try:
try_end_13:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_7;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_7:;
{
bool tmp_condition_result_13;
nuitka_bool tmp_cmp_expr_left_12;
nuitka_bool tmp_cmp_expr_right_12;
assert(tmp_try_except_1__unhandled_indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_12 = tmp_try_except_1__unhandled_indicator;
tmp_cmp_expr_right_12 = NUITKA_BOOL_TRUE;
tmp_condition_result_13 = (tmp_cmp_expr_left_12 == tmp_cmp_expr_right_12) ? true : false;
if (tmp_condition_result_13 != false) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
{
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_11;
tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[4]);
if (unlikely(tmp_called_instance_4 == NULL)) {
tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[4]);
}
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 343;
tmp_call_result_11 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_4,
mod_consts[39],
PyTuple_GET_ITEM(mod_consts[106], 0)
);
if (tmp_call_result_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_11);
}
branch_no_13:;
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_assattr_target_6;
CHECK_OBJECT(var_original_argv);
tmp_assattr_value_6 = var_original_argv;
tmp_assattr_target_6 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23]);
if (unlikely(tmp_assattr_target_6 == NULL)) {
tmp_assattr_target_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[23]);
}
if (tmp_assattr_target_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 345;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[51], tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 345;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_14;
PyObject *tmp_cmp_expr_left_13;
PyObject *tmp_cmp_expr_right_13;
if (var_mode == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[86]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 347;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_13 = var_mode;
tmp_cmp_expr_right_13 = mod_consts[77];
tmp_condition_result_14 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_13, tmp_cmp_expr_right_13);
if (tmp_condition_result_14 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
{
PyObject *tmp_assign_source_36;
PyObject *tmp_called_value_13;
PyObject *tmp_expression_value_30;
PyObject *tmp_args_element_value_12;
tmp_expression_value_30 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[107]);
if (unlikely(tmp_expression_value_30 == NULL)) {
tmp_expression_value_30 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[107]);
}
assert(!(tmp_expression_value_30 == NULL));
tmp_called_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_30, mod_consts[108]);
if (tmp_called_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 350;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
if (var_module == NULL) {
Py_DECREF(tmp_called_value_13);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[77]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 350;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_12 = var_module;
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 350;
tmp_assign_source_36 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_13, tmp_args_element_value_12);
Py_DECREF(tmp_called_value_13);
if (tmp_assign_source_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 350;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
assert(var_loader == NULL);
var_loader = tmp_assign_source_36;
}
{
bool tmp_condition_result_15;
PyObject *tmp_cmp_expr_left_14;
PyObject *tmp_cmp_expr_right_14;
CHECK_OBJECT(var_loader);
tmp_cmp_expr_left_14 = var_loader;
tmp_cmp_expr_right_14 = Py_None;
tmp_condition_result_15 = (tmp_cmp_expr_left_14 != tmp_cmp_expr_right_14) ? true : false;
if (tmp_condition_result_15 != false) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
{
PyObject *tmp_called_value_14;
PyObject *tmp_call_result_12;
PyObject *tmp_args_element_value_13;
PyObject *tmp_called_instance_5;
tmp_called_value_14 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_called_value_14 == NULL)) {
tmp_called_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
if (tmp_called_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_loader);
tmp_called_instance_5 = var_loader;
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 352;
tmp_args_element_value_13 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[109]);
if (tmp_args_element_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 352;
tmp_call_result_12 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_14, tmp_args_element_value_13);
Py_DECREF(tmp_args_element_value_13);
if (tmp_call_result_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_12);
}
branch_no_15:;
branch_no_14:;
{
PyObject *tmp_called_value_15;
PyObject *tmp_call_result_13;
tmp_called_value_15 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_called_value_15 == NULL)) {
tmp_called_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_called_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 354;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
frame_8d244bead9f8d9767ac534585007fd7a->m_frame.f_lineno = 354;
tmp_call_result_13 = CALL_FUNCTION_NO_ARGS(tmp_called_value_15);
if (tmp_call_result_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 354;
type_description_1 = "oooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_13);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_8d244bead9f8d9767ac534585007fd7a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8d244bead9f8d9767ac534585007fd7a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8d244bead9f8d9767ac534585007fd7a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8d244bead9f8d9767ac534585007fd7a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8d244bead9f8d9767ac534585007fd7a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8d244bead9f8d9767ac534585007fd7a,
type_description_1,
var_tornado,
var_original_argv,
var_original_spec,
var_mode,
var_module,
var_script,
var_runpy,
var_f,
var_e,
var_filename,
var_lineno,
var_name,
var_line,
var_loader
);
// Release cached frame if used for exception.
if (frame_8d244bead9f8d9767ac534585007fd7a == cache_frame_8d244bead9f8d9767ac534585007fd7a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8d244bead9f8d9767ac534585007fd7a);
cache_frame_8d244bead9f8d9767ac534585007fd7a = NULL;
}
assertFrameObject(frame_8d244bead9f8d9767ac534585007fd7a);
// 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;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_tornado);
Py_DECREF(var_tornado);
var_tornado = NULL;
CHECK_OBJECT(var_original_argv);
Py_DECREF(var_original_argv);
var_original_argv = NULL;
CHECK_OBJECT(var_original_spec);
Py_DECREF(var_original_spec);
var_original_spec = NULL;
Py_XDECREF(var_mode);
var_mode = NULL;
Py_XDECREF(var_module);
var_module = NULL;
Py_XDECREF(var_script);
var_script = NULL;
Py_XDECREF(var_runpy);
var_runpy = NULL;
Py_XDECREF(var_f);
var_f = NULL;
Py_XDECREF(var_filename);
var_filename = NULL;
Py_XDECREF(var_lineno);
var_lineno = NULL;
Py_XDECREF(var_name);
var_name = NULL;
Py_XDECREF(var_line);
var_line = NULL;
Py_XDECREF(var_loader);
var_loader = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_14 = exception_type;
exception_keeper_value_14 = exception_value;
exception_keeper_tb_14 = exception_tb;
exception_keeper_lineno_14 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_tornado);
var_tornado = NULL;
Py_XDECREF(var_original_argv);
var_original_argv = NULL;
Py_XDECREF(var_original_spec);
var_original_spec = NULL;
Py_XDECREF(var_mode);
var_mode = NULL;
Py_XDECREF(var_module);
var_module = NULL;
Py_XDECREF(var_script);
var_script = NULL;
Py_XDECREF(var_runpy);
var_runpy = NULL;
Py_XDECREF(var_f);
var_f = NULL;
Py_XDECREF(var_filename);
var_filename = NULL;
Py_XDECREF(var_lineno);
var_lineno = NULL;
Py_XDECREF(var_name);
var_name = NULL;
Py_XDECREF(var_line);
var_line = NULL;
Py_XDECREF(var_loader);
var_loader = NULL;
// Re-raise.
exception_type = exception_keeper_type_14;
exception_value = exception_keeper_value_14;
exception_tb = exception_keeper_tb_14;
exception_lineno = exception_keeper_lineno_14;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__1_start(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$autoreload$$$function__1_start,
mod_consts[10],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_c504650b63a8296efda2eac40ff82134,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$autoreload,
mod_consts[11],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__2_wait(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$autoreload$$$function__2_wait,
mod_consts[110],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_ca0212043053f9e222e4fb1df25858ef,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$autoreload,
mod_consts[13],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__3_watch(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$autoreload$$$function__3_watch,
mod_consts[104],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_3752dfe7e3b29c45eddc86a802e200ec,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$autoreload,
mod_consts[16],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__4_add_reload_hook(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$autoreload$$$function__4_add_reload_hook,
mod_consts[138],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_a0e3983b7f2325323473831cb9bc1081,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$autoreload,
mod_consts[19],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__5__reload_on_update(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$autoreload$$$function__5__reload_on_update,
mod_consts[8],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_da61afdacc8a5e344169f2d18cafef9f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$autoreload,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__6__check_file(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$autoreload$$$function__6__check_file,
mod_consts[33],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_8c88c4df0c6d4d875eaf61e92c5492e4,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$autoreload,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__7__reload(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$autoreload$$$function__7__reload,
mod_consts[41],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_2798ded44beb44740828af9daf7c8e17,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$autoreload,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$autoreload$$$function__8_main(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$autoreload$$$function__8_main,
mod_consts[141],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_8d244bead9f8d9767ac534585007fd7a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$autoreload,
mod_consts[111],
NULL,
0
);
return (PyObject *)result;
}
extern void _initCompiledCellType();
extern void _initCompiledGeneratorType();
extern void _initCompiledFunctionType();
extern void _initCompiledMethodType();
extern void _initCompiledFrameType();
extern PyTypeObject Nuitka_Loader_Type;
#ifdef _NUITKA_PLUGIN_DILL_ENABLED
// Provide a way to create find a function via its C code and create it back
// in another process, useful for multiprocessing extensions like dill
extern void registerDillPluginTables(char const *module_name, PyMethodDef *reduce_compiled_function, PyMethodDef *create_compiled_function);
function_impl_code functable_tornado$autoreload[] = {
impl_tornado$autoreload$$$function__1_start,
impl_tornado$autoreload$$$function__2_wait,
impl_tornado$autoreload$$$function__3_watch,
impl_tornado$autoreload$$$function__4_add_reload_hook,
impl_tornado$autoreload$$$function__5__reload_on_update,
impl_tornado$autoreload$$$function__6__check_file,
impl_tornado$autoreload$$$function__7__reload,
impl_tornado$autoreload$$$function__8_main,
NULL
};
static char const *_reduce_compiled_function_argnames[] = {
"func",
NULL
};
static PyObject *_reduce_compiled_function(PyObject *self, PyObject *args, PyObject *kwds) {
PyObject *func;
if (!PyArg_ParseTupleAndKeywords(args, kwds, "O:reduce_compiled_function", (char **)_reduce_compiled_function_argnames, &func, NULL)) {
return NULL;
}
if (Nuitka_Function_Check(func) == false) {
SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "not a compiled function");
return NULL;
}
struct Nuitka_FunctionObject *function = (struct Nuitka_FunctionObject *)func;
function_impl_code *current = functable_tornado$autoreload;
int offset = 0;
while (*current != NULL) {
if (*current == function->m_c_code) {
break;
}
current += 1;
offset += 1;
}
if (*current == NULL) {
SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "Cannot find compiled function in module.");
return NULL;
}
PyObject *code_object_desc = MAKE_TUPLE_EMPTY(6);
PyTuple_SET_ITEM0(code_object_desc, 0, function->m_code_object->co_filename);
PyTuple_SET_ITEM0(code_object_desc, 1, function->m_code_object->co_name);
PyTuple_SET_ITEM(code_object_desc, 2, PyLong_FromLong(function->m_code_object->co_firstlineno));
PyTuple_SET_ITEM0(code_object_desc, 3, function->m_code_object->co_varnames);
PyTuple_SET_ITEM(code_object_desc, 4, PyLong_FromLong(function->m_code_object->co_argcount));
PyTuple_SET_ITEM(code_object_desc, 5, PyLong_FromLong(function->m_code_object->co_flags));
CHECK_OBJECT_DEEP(code_object_desc);
PyObject *result = MAKE_TUPLE_EMPTY(4);
PyTuple_SET_ITEM(result, 0, PyLong_FromLong(offset));
PyTuple_SET_ITEM(result, 1, code_object_desc);
PyTuple_SET_ITEM0(result, 2, function->m_defaults);
PyTuple_SET_ITEM0(result, 3, function->m_doc != NULL ? function->m_doc : Py_None);
CHECK_OBJECT_DEEP(result);
return result;
}
static PyMethodDef _method_def_reduce_compiled_function = {"reduce_compiled_function", (PyCFunction)_reduce_compiled_function,
METH_VARARGS | METH_KEYWORDS, NULL};
static char const *_create_compiled_function_argnames[] = {
"func",
"code_object_desc",
"defaults",
"doc",
NULL
};
static PyObject *_create_compiled_function(PyObject *self, PyObject *args, PyObject *kwds) {
CHECK_OBJECT_DEEP(args);
PyObject *func;
PyObject *code_object_desc;
PyObject *defaults;
PyObject *doc;
if (!PyArg_ParseTupleAndKeywords(args, kwds, "OOOO:create_compiled_function", (char **)_create_compiled_function_argnames, &func, &code_object_desc, &defaults, &doc, NULL)) {
return NULL;
}
int offset = PyLong_AsLong(func);
if (offset == -1 && ERROR_OCCURRED()) {
return NULL;
}
if (offset > sizeof(functable_tornado$autoreload) || offset < 0) {
SET_CURRENT_EXCEPTION_TYPE0_STR(PyExc_TypeError, "Wrong offset for compiled function.");
return NULL;
}
PyObject *filename = PyTuple_GET_ITEM(code_object_desc, 0);
PyObject *function_name = PyTuple_GET_ITEM(code_object_desc, 1);
PyObject *line = PyTuple_GET_ITEM(code_object_desc, 2);
int line_int = PyLong_AsLong(line);
assert(!ERROR_OCCURRED());
PyObject *argnames = PyTuple_GET_ITEM(code_object_desc, 3);
PyObject *arg_count = PyTuple_GET_ITEM(code_object_desc, 4);
int arg_count_int = PyLong_AsLong(arg_count);
assert(!ERROR_OCCURRED());
PyObject *flags = PyTuple_GET_ITEM(code_object_desc, 5);
int flags_int = PyLong_AsLong(flags);
assert(!ERROR_OCCURRED());
PyCodeObject *code_object = MAKE_CODE_OBJECT(
filename,
line_int,
flags_int,
function_name,
argnames,
NULL, // freevars
arg_count_int,
0, // TODO: Missing kw_only_count
0 // TODO: Missing pos_only_count
);
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
functable_tornado$autoreload[offset],
code_object->co_name,
#if PYTHON_VERSION >= 0x300
NULL, // TODO: Not transferring qualname yet
#endif
code_object,
defaults,
#if PYTHON_VERSION >= 0x300
NULL, // kwdefaults are done on the outside currently
NULL, // TODO: Not transferring annotations
#endif
module_tornado$autoreload,
doc,
NULL,
0
);
return (PyObject *)result;
}
static PyMethodDef _method_def_create_compiled_function = {
"create_compiled_function",
(PyCFunction)_create_compiled_function,
METH_VARARGS | METH_KEYWORDS, NULL
};
#endif
// Internal entry point for module code.
PyObject *modulecode_tornado$autoreload(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("tornado.autoreload");
// Store the module for future use.
module_tornado$autoreload = module;
// Modules can be loaded again in case of errors, avoid the init being done again.
static bool init_done = false;
if (init_done == false) {
#if defined(_NUITKA_MODULE) && 0
// In case of an extension module loaded into a process, we need to call
// initialization here because that's the first and potentially only time
// we are going called.
// Initialize the constant values used.
_initBuiltinModule();
createGlobalConstants();
/* Initialize the compiled types of Nuitka. */
_initCompiledCellType();
_initCompiledGeneratorType();
_initCompiledFunctionType();
_initCompiledMethodType();
_initCompiledFrameType();
_initSlotCompare();
#if PYTHON_VERSION >= 0x270
_initSlotIterNext();
#endif
patchTypeComparison();
// Enable meta path based loader if not already done.
#ifdef _NUITKA_TRACE
PRINT_STRING("tornado.autoreload: Calling setupMetaPathBasedLoader().\n");
#endif
setupMetaPathBasedLoader();
#if PYTHON_VERSION >= 0x300
patchInspectModule();
#endif
#endif
/* The constants only used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("tornado.autoreload: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("tornado.autoreload: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in inittornado$autoreload\n");
moduledict_tornado$autoreload = MODULE_DICT(module_tornado$autoreload);
#ifdef _NUITKA_PLUGIN_DILL_ENABLED
registerDillPluginTables(loader_entry->name, &_method_def_reduce_compiled_function, &_method_def_create_compiled_function);
#endif
// Set "__compiled__" to what version information we have.
UPDATE_STRING_DICT0(
moduledict_tornado$autoreload,
(Nuitka_StringObject *)const_str_plain___compiled__,
Nuitka_dunder_compiled_value
);
// Update "__package__" value to what it ought to be.
{
#if 0
UPDATE_STRING_DICT0(
moduledict_tornado$autoreload,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[57]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_tornado$autoreload,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (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_tornado$autoreload,
(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_tornado$autoreload, (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_tornado$autoreload,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_tornado$autoreload);
// 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_tornado$autoreload, (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_MODULE) || !0
value = PyModule_GetDict(value);
#endif
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)const_str_plain___loader__, (PyObject *)&Nuitka_Loader_Type);
#endif
#if PYTHON_VERSION >= 0x340
// Set the "__spec__" value
#if 0
// Main modules just get "None" as spec.
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)const_str_plain___spec__, Py_None);
#else
// Other modules get a "ModuleSpec" from the standard mechanism.
{
PyObject *bootstrap_module = getImportLibBootstrapModule();
CHECK_OBJECT(bootstrap_module);
PyObject *_spec_from_module = PyObject_GetAttrString(bootstrap_module, "_spec_from_module");
CHECK_OBJECT(_spec_from_module);
PyObject *spec_value = CALL_FUNCTION_WITH_SINGLE_ARG(_spec_from_module, module_tornado$autoreload);
Py_DECREF(_spec_from_module);
// We can assume this to never fail, or else we are in trouble anyway.
// CHECK_OBJECT(spec_value);
if (spec_value == NULL) {
PyErr_PrintEx(0);
abort();
}
// Mark the execution in the "__spec__" value.
SET_ATTRIBUTE(spec_value, const_str_plain__initializing, Py_True);
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *tmp_import_from_1__module = NULL;
struct Nuitka_FrameObject *frame_0f76681af45878b95656afea6ff4d40d;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[112];
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[113], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[114];
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[28], tmp_assign_source_2);
}
// Frame without reuse.
frame_0f76681af45878b95656afea6ff4d40d = MAKE_MODULE_FRAME(codeobj_0f76681af45878b95656afea6ff4d40d, module_tornado$autoreload);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_0f76681af45878b95656afea6ff4d40d);
assert(Py_REFCNT(frame_0f76681af45878b95656afea6ff4d40d) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[114];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[50]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[50]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[115], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1;
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = Py_True;
tmp_assattr_target_2 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[50]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[50]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[116], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 1;
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = Py_None;
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[117], tmp_assign_source_3);
}
{
PyObject *tmp_assign_source_4;
tmp_assign_source_4 = IMPORT_HARD_OS();
assert(!(tmp_assign_source_4 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[36], tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = IMPORT_HARD_SYS();
assert(!(tmp_assign_source_5 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
tmp_assign_source_6 = IMPORT_HARD_FUNCTOOLS();
assert(!(tmp_assign_source_6 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[118], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
tmp_assign_source_7 = IMPORT_HARD_OS();
assert(!(tmp_assign_source_7 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[36], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
tmp_assign_source_8 = IMPORT_HARD_PKGUTIL();
assert(!(tmp_assign_source_8 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[107], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
tmp_assign_source_9 = IMPORT_HARD_SYS();
assert(!(tmp_assign_source_9 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[23], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_name_value_1;
PyObject *tmp_globals_arg_value_1;
PyObject *tmp_locals_arg_value_1;
PyObject *tmp_fromlist_value_1;
PyObject *tmp_level_value_1;
tmp_name_value_1 = mod_consts[100];
tmp_globals_arg_value_1 = (PyObject *)moduledict_tornado$autoreload;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[45];
frame_0f76681af45878b95656afea6ff4d40d->m_frame.f_lineno = 82;
tmp_assign_source_10 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 82;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[100], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
tmp_assign_source_11 = IMPORT_HARD_TYPES();
assert(!(tmp_assign_source_11 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[26], tmp_assign_source_11);
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_name_value_2;
PyObject *tmp_globals_arg_value_2;
PyObject *tmp_locals_arg_value_2;
PyObject *tmp_fromlist_value_2;
PyObject *tmp_level_value_2;
tmp_name_value_2 = mod_consts[65];
tmp_globals_arg_value_2 = (PyObject *)moduledict_tornado$autoreload;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[45];
frame_0f76681af45878b95656afea6ff4d40d->m_frame.f_lineno = 84;
tmp_assign_source_12 = IMPORT_MODULE5(tmp_name_value_2, tmp_globals_arg_value_2, tmp_locals_arg_value_2, tmp_fromlist_value_2, tmp_level_value_2);
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 84;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[65], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_name_value_3;
PyObject *tmp_globals_arg_value_3;
PyObject *tmp_locals_arg_value_3;
PyObject *tmp_fromlist_value_3;
PyObject *tmp_level_value_3;
tmp_name_value_3 = mod_consts[119];
tmp_globals_arg_value_3 = (PyObject *)moduledict_tornado$autoreload;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = Py_None;
tmp_level_value_3 = mod_consts[45];
frame_0f76681af45878b95656afea6ff4d40d->m_frame.f_lineno = 85;
tmp_assign_source_13 = IMPORT_MODULE5(tmp_name_value_3, tmp_globals_arg_value_3, tmp_locals_arg_value_3, tmp_fromlist_value_3, tmp_level_value_3);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[119], tmp_assign_source_13);
}
{
PyObject *tmp_assign_source_14;
PyObject *tmp_import_name_from_1;
PyObject *tmp_name_value_4;
PyObject *tmp_globals_arg_value_4;
PyObject *tmp_locals_arg_value_4;
PyObject *tmp_fromlist_value_4;
PyObject *tmp_level_value_4;
tmp_name_value_4 = mod_consts[120];
tmp_globals_arg_value_4 = (PyObject *)moduledict_tornado$autoreload;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = mod_consts[121];
tmp_level_value_4 = mod_consts[45];
frame_0f76681af45878b95656afea6ff4d40d->m_frame.f_lineno = 87;
tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_4, tmp_globals_arg_value_4, tmp_locals_arg_value_4, tmp_fromlist_value_4, tmp_level_value_4);
if (tmp_import_name_from_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_14 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_tornado$autoreload,
mod_consts[0],
mod_consts[45]
);
} else {
tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[0]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_14);
}
{
PyObject *tmp_assign_source_15;
PyObject *tmp_import_name_from_2;
PyObject *tmp_name_value_5;
PyObject *tmp_globals_arg_value_5;
PyObject *tmp_locals_arg_value_5;
PyObject *tmp_fromlist_value_5;
PyObject *tmp_level_value_5;
tmp_name_value_5 = mod_consts[122];
tmp_globals_arg_value_5 = (PyObject *)moduledict_tornado$autoreload;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = mod_consts[123];
tmp_level_value_5 = mod_consts[45];
frame_0f76681af45878b95656afea6ff4d40d->m_frame.f_lineno = 88;
tmp_import_name_from_2 = IMPORT_MODULE5(tmp_name_value_5, tmp_globals_arg_value_5, tmp_locals_arg_value_5, tmp_fromlist_value_5, tmp_level_value_5);
if (tmp_import_name_from_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_tornado$autoreload,
mod_consts[4],
mod_consts[45]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[4]);
}
Py_DECREF(tmp_import_name_from_2);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 88;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[4], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_3;
PyObject *tmp_name_value_6;
PyObject *tmp_globals_arg_value_6;
PyObject *tmp_locals_arg_value_6;
PyObject *tmp_fromlist_value_6;
PyObject *tmp_level_value_6;
tmp_name_value_6 = mod_consts[120];
tmp_globals_arg_value_6 = (PyObject *)moduledict_tornado$autoreload;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = mod_consts[124];
tmp_level_value_6 = mod_consts[45];
frame_0f76681af45878b95656afea6ff4d40d->m_frame.f_lineno = 89;
tmp_import_name_from_3 = IMPORT_MODULE5(tmp_name_value_6, tmp_globals_arg_value_6, tmp_locals_arg_value_6, tmp_fromlist_value_6, tmp_level_value_6);
if (tmp_import_name_from_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 89;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_tornado$autoreload,
mod_consts[21],
mod_consts[45]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[21]);
}
Py_DECREF(tmp_import_name_from_3);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 89;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[21], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_import_name_from_4;
PyObject *tmp_name_value_7;
PyObject *tmp_globals_arg_value_7;
PyObject *tmp_locals_arg_value_7;
PyObject *tmp_fromlist_value_7;
PyObject *tmp_level_value_7;
tmp_name_value_7 = mod_consts[125];
tmp_globals_arg_value_7 = (PyObject *)moduledict_tornado$autoreload;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = mod_consts[126];
tmp_level_value_7 = mod_consts[45];
frame_0f76681af45878b95656afea6ff4d40d->m_frame.f_lineno = 90;
tmp_import_name_from_4 = IMPORT_MODULE5(tmp_name_value_7, tmp_globals_arg_value_7, tmp_locals_arg_value_7, tmp_fromlist_value_7, tmp_level_value_7);
if (tmp_import_name_from_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 90;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_tornado$autoreload,
mod_consts[93],
mod_consts[45]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[93]);
}
Py_DECREF(tmp_import_name_from_4);
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 90;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[93], tmp_assign_source_17);
}
// Tried code:
{
PyObject *tmp_assign_source_18;
PyObject *tmp_name_value_8;
PyObject *tmp_globals_arg_value_8;
PyObject *tmp_locals_arg_value_8;
PyObject *tmp_fromlist_value_8;
PyObject *tmp_level_value_8;
tmp_name_value_8 = mod_consts[42];
tmp_globals_arg_value_8 = (PyObject *)moduledict_tornado$autoreload;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = Py_None;
tmp_level_value_8 = mod_consts[45];
frame_0f76681af45878b95656afea6ff4d40d->m_frame.f_lineno = 93;
tmp_assign_source_18 = IMPORT_MODULE5(tmp_name_value_8, tmp_globals_arg_value_8, tmp_locals_arg_value_8, tmp_fromlist_value_8, tmp_level_value_8);
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 93;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[42], tmp_assign_source_18);
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_0f76681af45878b95656afea6ff4d40d, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_0f76681af45878b95656afea6ff4d40d, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_ImportError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_19;
tmp_assign_source_19 = Py_None;
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[42], tmp_assign_source_19);
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 92;
}
if (exception_tb && exception_tb->tb_frame == &frame_0f76681af45878b95656afea6ff4d40d->m_frame) frame_0f76681af45878b95656afea6ff4d40d->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_2;
branch_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
{
PyObject *tmp_assign_source_20;
tmp_assign_source_20 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_20 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[127], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
tmp_assign_source_21 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_21 == NULL));
assert(tmp_import_from_1__module == NULL);
Py_INCREF(tmp_assign_source_21);
tmp_import_from_1__module = tmp_assign_source_21;
}
// Tried code:
{
PyObject *tmp_assign_source_22;
PyObject *tmp_import_name_from_5;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_5 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_22 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_tornado$autoreload,
mod_consts[128],
mod_consts[45]
);
} else {
tmp_assign_source_22 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[128]);
}
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[128], tmp_assign_source_22);
}
{
PyObject *tmp_assign_source_23;
PyObject *tmp_import_name_from_6;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_6 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_23 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_tornado$autoreload,
mod_consts[129],
mod_consts[45]
);
} else {
tmp_assign_source_23 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[129]);
}
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 98;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[129], tmp_assign_source_23);
}
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_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:;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
{
PyObject *tmp_assign_source_24;
tmp_assign_source_24 = Py_True;
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[64], tmp_assign_source_24);
}
{
PyObject *tmp_assign_source_25;
tmp_assign_source_25 = PySet_New(NULL);
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[14], tmp_assign_source_25);
}
{
PyObject *tmp_assign_source_26;
tmp_assign_source_26 = MAKE_LIST_EMPTY(0);
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[17], tmp_assign_source_26);
}
{
PyObject *tmp_assign_source_27;
tmp_assign_source_27 = Py_False;
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[20], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[119]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[119]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
goto frame_exception_exit_1;
}
frame_0f76681af45878b95656afea6ff4d40d->m_frame.f_lineno = 111;
tmp_assign_source_28 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[130]);
if (tmp_assign_source_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_28);
}
{
PyObject *tmp_assign_source_29;
tmp_assign_source_29 = Py_False;
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[46], tmp_assign_source_29);
}
{
PyObject *tmp_assign_source_30;
tmp_assign_source_30 = Py_None;
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[47], tmp_assign_source_30);
}
{
PyObject *tmp_assign_source_31;
tmp_assign_source_31 = Py_None;
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[48], tmp_assign_source_31);
}
{
PyObject *tmp_assign_source_32;
PyObject *tmp_defaults_1;
PyObject *tmp_annotations_1;
tmp_defaults_1 = mod_consts[131];
tmp_annotations_1 = DICT_COPY(mod_consts[132]);
Py_INCREF(tmp_defaults_1);
tmp_assign_source_32 = MAKE_FUNCTION_tornado$autoreload$$$function__1_start(tmp_defaults_1, tmp_annotations_1);
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[10], tmp_assign_source_32);
}
{
PyObject *tmp_assign_source_33;
PyObject *tmp_annotations_2;
tmp_annotations_2 = DICT_COPY(mod_consts[133]);
tmp_assign_source_33 = MAKE_FUNCTION_tornado$autoreload$$$function__2_wait(tmp_annotations_2);
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[110], tmp_assign_source_33);
}
{
PyObject *tmp_assign_source_34;
PyObject *tmp_annotations_3;
tmp_annotations_3 = DICT_COPY(mod_consts[134]);
tmp_assign_source_34 = MAKE_FUNCTION_tornado$autoreload$$$function__3_watch(tmp_annotations_3);
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[104], tmp_assign_source_34);
}
{
PyObject *tmp_assign_source_35;
PyObject *tmp_annotations_4;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
tmp_dict_key_1 = mod_consts[135];
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[128]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[128]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = DEEP_COPY_TUPLE_GUIDED(mod_consts[136], "li");
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto frame_exception_exit_1;
}
tmp_annotations_4 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[137];
tmp_dict_value_1 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_assign_source_35 = MAKE_FUNCTION_tornado$autoreload$$$function__4_add_reload_hook(tmp_annotations_4);
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[138], tmp_assign_source_35);
}
{
PyObject *tmp_assign_source_36;
PyObject *tmp_annotations_5;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_2;
tmp_dict_key_2 = mod_consts[34];
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[129]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[129]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
goto frame_exception_exit_1;
}
tmp_subscript_value_2 = mod_consts[139];
tmp_dict_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_2);
if (tmp_dict_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
goto frame_exception_exit_1;
}
tmp_annotations_5 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[137];
tmp_dict_value_2 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_assign_source_36 = MAKE_FUNCTION_tornado$autoreload$$$function__5__reload_on_update(tmp_annotations_5);
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[8], tmp_assign_source_36);
}
{
PyObject *tmp_assign_source_37;
PyObject *tmp_annotations_6;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_3;
tmp_dict_key_3 = mod_consts[34];
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[129]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[129]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 191;
goto frame_exception_exit_1;
}
tmp_subscript_value_3 = mod_consts[139];
tmp_dict_value_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_3);
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 191;
goto frame_exception_exit_1;
}
tmp_annotations_6 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[35];
tmp_dict_value_3 = (PyObject *)&PyUnicode_Type;
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[137];
tmp_dict_value_3 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_assign_source_37 = MAKE_FUNCTION_tornado$autoreload$$$function__6__check_file(tmp_annotations_6);
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[33], tmp_assign_source_37);
}
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_0f76681af45878b95656afea6ff4d40d);
#endif
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0f76681af45878b95656afea6ff4d40d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0f76681af45878b95656afea6ff4d40d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0f76681af45878b95656afea6ff4d40d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0f76681af45878b95656afea6ff4d40d, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_1:;
{
PyObject *tmp_assign_source_38;
PyObject *tmp_annotations_7;
tmp_annotations_7 = DICT_COPY(mod_consts[133]);
tmp_assign_source_38 = MAKE_FUNCTION_tornado$autoreload$$$function__7__reload(tmp_annotations_7);
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[41], tmp_assign_source_38);
}
{
PyObject *tmp_assign_source_39;
tmp_assign_source_39 = mod_consts[140];
UPDATE_STRING_DICT0(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[82], tmp_assign_source_39);
}
{
PyObject *tmp_assign_source_40;
PyObject *tmp_annotations_8;
tmp_annotations_8 = DICT_COPY(mod_consts[133]);
tmp_assign_source_40 = MAKE_FUNCTION_tornado$autoreload$$$function__8_main(tmp_annotations_8);
UPDATE_STRING_DICT1(moduledict_tornado$autoreload, (Nuitka_StringObject *)mod_consts[141], tmp_assign_source_40);
}
// Report to PGO about leaving the module without error.
PGO_onModuleExit("tornado.autoreload", false);
Py_INCREF(module_tornado$autoreload);
return module_tornado$autoreload;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$autoreload, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("tornado$autoreload", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}