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.process'
* 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$process" 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$process;
PyDictObject *moduledict_tornado$process;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[189];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[189];
#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.process"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 189; 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$process(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 189; 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_32d0828c818e052d728fe82cbff6d62a;
static PyCodeObject *codeobj_2eaa7855d6f418ad7753622cfcaf586e;
static PyCodeObject *codeobj_c239faad9e37ce3432a3e47d00ad2db4;
static PyCodeObject *codeobj_d91b1e165ed391fca2c159bf233b5814;
static PyCodeObject *codeobj_8d3030c66b2dd9662f6db099454e335e;
static PyCodeObject *codeobj_6fa6996acb4b75b0681239868b2f3259;
static PyCodeObject *codeobj_2b286728a43ad26261f72fe27f1ac58d;
static PyCodeObject *codeobj_51a3e24a43968a4a8100da39bcdf332e;
static PyCodeObject *codeobj_ec2ed076860fb2e56e2955927a3e159a;
static PyCodeObject *codeobj_7f83e1b629838ae3a1ee730ed1f04615;
static PyCodeObject *codeobj_7de70bc13d64e911439c2d538a502f45;
static PyCodeObject *codeobj_79598554e8d08c0e86448987290095e9;
static PyCodeObject *codeobj_f35da292d202ace9ef13bf47a96904af;
static PyCodeObject *codeobj_8fb2844e3809a80140238d4f4929034b;
static PyCodeObject *codeobj_75d05e8652f1e55f8e94cd07fdeda89b;
static PyCodeObject *codeobj_b33d6d11b2518facecea0f14862fd781;
static PyCodeObject *codeobj_89c77883746f54d8cd23160f8e44509b;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[114]; CHECK_OBJECT(module_filename_obj);
codeobj_32d0828c818e052d728fe82cbff6d62a = MAKE_CODE_OBJECT(module_filename_obj, 328, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[99], mod_consts[99], mod_consts[171], mod_consts[172], 2, 0, 0);
codeobj_2eaa7855d6f418ad7753622cfcaf586e = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[173], mod_consts[173], NULL, NULL, 0, 0, 0);
codeobj_c239faad9e37ce3432a3e47d00ad2db4 = MAKE_CODE_OBJECT(module_filename_obj, 187, CO_NOFREE, mod_consts[57], mod_consts[57], mod_consts[174], NULL, 0, 0, 0);
codeobj_d91b1e165ed391fca2c159bf233b5814 = MAKE_CODE_OBJECT(module_filename_obj, 215, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[153], mod_consts[153], mod_consts[175], NULL, 1, 0, 0);
codeobj_8d3030c66b2dd9662f6db099454e335e = MAKE_CODE_OBJECT(module_filename_obj, 341, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[105], mod_consts[105], mod_consts[176], NULL, 1, 0, 0);
codeobj_6fa6996acb4b75b0681239868b2f3259 = MAKE_CODE_OBJECT(module_filename_obj, 64, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[50], mod_consts[50], mod_consts[177], NULL, 0, 0, 0);
codeobj_2b286728a43ad26261f72fe27f1ac58d = MAKE_CODE_OBJECT(module_filename_obj, 357, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[110], mod_consts[110], mod_consts[178], NULL, 2, 0, 0);
codeobj_51a3e24a43968a4a8100da39bcdf332e = MAKE_CODE_OBJECT(module_filename_obj, 346, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[82], mod_consts[82], mod_consts[179], NULL, 2, 0, 0);
codeobj_ec2ed076860fb2e56e2955927a3e159a = MAKE_CODE_OBJECT(module_filename_obj, 296, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[86], mod_consts[86], mod_consts[180], mod_consts[181], 1, 0, 0);
codeobj_7f83e1b629838ae3a1ee730ed1f04615 = MAKE_CODE_OBJECT(module_filename_obj, 48, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[2], mod_consts[2], NULL, NULL, 0, 0, 0);
codeobj_7de70bc13d64e911439c2d538a502f45 = MAKE_CODE_OBJECT(module_filename_obj, 82, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[138], mod_consts[138], mod_consts[182], NULL, 2, 0, 0);
codeobj_79598554e8d08c0e86448987290095e9 = MAKE_CODE_OBJECT(module_filename_obj, 309, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[80], mod_consts[80], mod_consts[172], NULL, 1, 0, 0);
codeobj_f35da292d202ace9ef13bf47a96904af = MAKE_CODE_OBJECT(module_filename_obj, 254, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[88], mod_consts[88], mod_consts[183], NULL, 2, 0, 0);
codeobj_8fb2844e3809a80140238d4f4929034b = MAKE_CODE_OBJECT(module_filename_obj, 126, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[30], mod_consts[30], mod_consts[184], mod_consts[185], 1, 0, 0);
codeobj_75d05e8652f1e55f8e94cd07fdeda89b = MAKE_CODE_OBJECT(module_filename_obj, 178, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[139], mod_consts[139], NULL, NULL, 0, 0, 0);
codeobj_b33d6d11b2518facecea0f14862fd781 = MAKE_CODE_OBJECT(module_filename_obj, 333, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[164], mod_consts[164], mod_consts[186], NULL, 1, 0, 0);
codeobj_89c77883746f54d8cd23160f8e44509b = MAKE_CODE_OBJECT(module_filename_obj, 276, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[160], mod_consts[160], mod_consts[187], NULL, 2, 0, 0);
}
// The module function declarations.
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__1__mro_entries_conversion(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__4_complex_call_helper_star_list_star_dict(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__10__cleanup(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__11__try_cleanup_process(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__12__set_returncode(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__1_cpu_count(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__2__reseed_random(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__3_fork_processes(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__3_fork_processes$$$function__1_start_child(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__4_task_id(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__5___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__6_set_exit_callback(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__7_wait_for_exit(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__7_wait_for_exit$$$function__1_callback(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__8_initialize(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__8_initialize$$$function__1_lambda(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$process$$$function__9_uninitialize(PyObject *annotations);
// The module function definitions.
static PyObject *impl_tornado$process$$$function__1_cpu_count(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.
struct Nuitka_FrameObject *frame_7f83e1b629838ae3a1ee730ed1f04615;
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;
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;
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;
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_2;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_7f83e1b629838ae3a1ee730ed1f04615 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_7f83e1b629838ae3a1ee730ed1f04615)) {
Py_XDECREF(cache_frame_7f83e1b629838ae3a1ee730ed1f04615);
#if _DEBUG_REFCOUNTS
if (cache_frame_7f83e1b629838ae3a1ee730ed1f04615 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7f83e1b629838ae3a1ee730ed1f04615 = MAKE_FUNCTION_FRAME(codeobj_7f83e1b629838ae3a1ee730ed1f04615, module_tornado$process, 0);
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7f83e1b629838ae3a1ee730ed1f04615->m_type_description == NULL);
frame_7f83e1b629838ae3a1ee730ed1f04615 = cache_frame_7f83e1b629838ae3a1ee730ed1f04615;
// Push the new frame as the currently active one.
pushFrameStack(frame_7f83e1b629838ae3a1ee730ed1f04615);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7f83e1b629838ae3a1ee730ed1f04615) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_cmp_expr_left_1 == NULL)) {
tmp_cmp_expr_left_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 50;
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = mod_consts[1];
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
// Tried code:
{
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (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 = 53;
goto try_except_handler_1;
}
frame_7f83e1b629838ae3a1ee730ed1f04615->m_frame.f_lineno = 53;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[2]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 53;
goto try_except_handler_1;
}
goto frame_return_exit_1;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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_7f83e1b629838ae3a1ee730ed1f04615, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_7f83e1b629838ae3a1ee730ed1f04615, 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_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_NotImplementedError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -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:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 52;
}
if (exception_tb && exception_tb->tb_frame == &frame_7f83e1b629838ae3a1ee730ed1f04615->m_frame) frame_7f83e1b629838ae3a1ee730ed1f04615->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_2;
branch_no_2:;
goto try_end_1;
// 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_1:;
// 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:;
// Tried code:
{
PyObject *tmp_called_instance_2;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
assert(!(tmp_called_instance_2 == NULL));
frame_7f83e1b629838ae3a1ee730ed1f04615->m_frame.f_lineno = 57;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_2,
mod_consts[4],
PyTuple_GET_ITEM(mod_consts[5], 0)
);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 57;
goto try_except_handler_3;
}
goto frame_return_exit_1;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_7f83e1b629838ae3a1ee730ed1f04615, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_7f83e1b629838ae3a1ee730ed1f04615, 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_3;
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 = mod_consts[6];
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 58;
goto try_except_handler_4;
}
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:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 56;
}
if (exception_tb && exception_tb->tb_frame == &frame_7f83e1b629838ae3a1ee730ed1f04615->m_frame) frame_7f83e1b629838ae3a1ee730ed1f04615->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_4;
branch_no_3:;
goto try_end_3;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_4;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_4:;
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_1;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto frame_exception_exit_1;
}
frame_7f83e1b629838ae3a1ee730ed1f04615->m_frame.f_lineno = 60;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_3,
mod_consts[8],
PyTuple_GET_ITEM(mod_consts[9], 0)
);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7f83e1b629838ae3a1ee730ed1f04615);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7f83e1b629838ae3a1ee730ed1f04615);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7f83e1b629838ae3a1ee730ed1f04615);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7f83e1b629838ae3a1ee730ed1f04615, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7f83e1b629838ae3a1ee730ed1f04615->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7f83e1b629838ae3a1ee730ed1f04615, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7f83e1b629838ae3a1ee730ed1f04615,
type_description_1
);
// Release cached frame if used for exception.
if (frame_7f83e1b629838ae3a1ee730ed1f04615 == cache_frame_7f83e1b629838ae3a1ee730ed1f04615) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7f83e1b629838ae3a1ee730ed1f04615);
cache_frame_7f83e1b629838ae3a1ee730ed1f04615 = NULL;
}
assertFrameObject(frame_7f83e1b629838ae3a1ee730ed1f04615);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
tmp_return_value = mod_consts[1];
Py_INCREF(tmp_return_value);
goto function_return_exit;
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$process$$$function__2__reseed_random(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_random = NULL;
PyObject *var_seed = NULL;
struct Nuitka_FrameObject *frame_6fa6996acb4b75b0681239868b2f3259;
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;
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;
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_6fa6996acb4b75b0681239868b2f3259 = 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_6fa6996acb4b75b0681239868b2f3259)) {
Py_XDECREF(cache_frame_6fa6996acb4b75b0681239868b2f3259);
#if _DEBUG_REFCOUNTS
if (cache_frame_6fa6996acb4b75b0681239868b2f3259 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6fa6996acb4b75b0681239868b2f3259 = MAKE_FUNCTION_FRAME(codeobj_6fa6996acb4b75b0681239868b2f3259, module_tornado$process, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6fa6996acb4b75b0681239868b2f3259->m_type_description == NULL);
frame_6fa6996acb4b75b0681239868b2f3259 = cache_frame_6fa6996acb4b75b0681239868b2f3259;
// Push the new frame as the currently active one.
pushFrameStack(frame_6fa6996acb4b75b0681239868b2f3259);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6fa6996acb4b75b0681239868b2f3259) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
tmp_cmp_expr_left_1 = mod_consts[11];
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
assert(!(tmp_expression_value_1 == NULL));
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[13]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 65;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 65;
type_description_1 = "oo";
goto frame_exception_exit_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 frame_return_exit_1;
branch_no_1:;
{
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[11];
tmp_globals_arg_value_1 = (PyObject *)moduledict_tornado$process;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[14];
frame_6fa6996acb4b75b0681239868b2f3259->m_frame.f_lineno = 67;
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 = 67;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_random == NULL);
var_random = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_value_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_base_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[15]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[15]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
type_description_1 = "oo";
goto try_except_handler_2;
}
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
assert(!(tmp_called_instance_1 == NULL));
frame_6fa6996acb4b75b0681239868b2f3259->m_frame.f_lineno = 73;
tmp_args_element_value_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[16],
PyTuple_GET_ITEM(mod_consts[17], 0)
);
if (tmp_args_element_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
type_description_1 = "oo";
goto try_except_handler_2;
}
frame_6fa6996acb4b75b0681239868b2f3259->m_frame.f_lineno = 73;
tmp_value_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_value_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
type_description_1 = "oo";
goto try_except_handler_2;
}
tmp_base_value_1 = mod_consts[18];
tmp_assign_source_2 = BUILTIN_INT2(tmp_value_value_1, tmp_base_value_1);
Py_DECREF(tmp_value_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 73;
type_description_1 = "oo";
goto try_except_handler_2;
}
assert(var_seed == NULL);
var_seed = tmp_assign_source_2;
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_6fa6996acb4b75b0681239868b2f3259, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_6fa6996acb4b75b0681239868b2f3259, 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_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_2 = PyExc_NotImplementedError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -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_assign_source_3;
PyObject *tmp_bitxor_expr_left_1;
PyObject *tmp_bitxor_expr_right_1;
PyObject *tmp_int_arg_1;
PyObject *tmp_mult_expr_left_1;
PyObject *tmp_mult_expr_right_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_called_instance_3;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[19]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[19]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
type_description_1 = "oo";
goto try_except_handler_3;
}
frame_6fa6996acb4b75b0681239868b2f3259->m_frame.f_lineno = 75;
tmp_mult_expr_left_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[19]);
if (tmp_mult_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_mult_expr_right_1 = mod_consts[20];
tmp_int_arg_1 = BINARY_OPERATION_MULT_OBJECT_OBJECT_LONG(tmp_mult_expr_left_1, tmp_mult_expr_right_1);
Py_DECREF(tmp_mult_expr_left_1);
if (tmp_int_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_bitxor_expr_left_1 = PyNumber_Int(tmp_int_arg_1);
Py_DECREF(tmp_int_arg_1);
if (tmp_bitxor_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_bitxor_expr_left_1);
exception_lineno = 75;
type_description_1 = "oo";
goto try_except_handler_3;
}
frame_6fa6996acb4b75b0681239868b2f3259->m_frame.f_lineno = 75;
tmp_bitxor_expr_right_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[21]);
if (tmp_bitxor_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_bitxor_expr_left_1);
exception_lineno = 75;
type_description_1 = "oo";
goto try_except_handler_3;
}
tmp_assign_source_3 = BINARY_OPERATION_BITXOR_OBJECT_OBJECT_OBJECT(tmp_bitxor_expr_left_1, tmp_bitxor_expr_right_1);
Py_DECREF(tmp_bitxor_expr_left_1);
Py_DECREF(tmp_bitxor_expr_right_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
type_description_1 = "oo";
goto try_except_handler_3;
}
assert(var_seed == NULL);
var_seed = tmp_assign_source_3;
}
goto branch_end_2;
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 72;
}
if (exception_tb && exception_tb->tb_frame == &frame_6fa6996acb4b75b0681239868b2f3259->m_frame) frame_6fa6996acb4b75b0681239868b2f3259->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_3;
branch_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;
// 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_called_instance_4;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(var_random);
tmp_called_instance_4 = var_random;
CHECK_OBJECT(var_seed);
tmp_args_element_value_2 = var_seed;
frame_6fa6996acb4b75b0681239868b2f3259->m_frame.f_lineno = 76;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[22], tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 76;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6fa6996acb4b75b0681239868b2f3259);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6fa6996acb4b75b0681239868b2f3259);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6fa6996acb4b75b0681239868b2f3259);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6fa6996acb4b75b0681239868b2f3259, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6fa6996acb4b75b0681239868b2f3259->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6fa6996acb4b75b0681239868b2f3259, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6fa6996acb4b75b0681239868b2f3259,
type_description_1,
var_random,
var_seed
);
// Release cached frame if used for exception.
if (frame_6fa6996acb4b75b0681239868b2f3259 == cache_frame_6fa6996acb4b75b0681239868b2f3259) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6fa6996acb4b75b0681239868b2f3259);
cache_frame_6fa6996acb4b75b0681239868b2f3259 = NULL;
}
assertFrameObject(frame_6fa6996acb4b75b0681239868b2f3259);
// 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_random);
var_random = NULL;
Py_XDECREF(var_seed);
var_seed = 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_random);
var_random = NULL;
Py_XDECREF(var_seed);
var_seed = 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:
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$process$$$function__3_fork_processes(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_num_processes = python_pars[0];
PyObject *par_max_restarts = python_pars[1];
struct Nuitka_CellObject *var_children = Nuitka_Cell_Empty();
PyObject *var_start_child = NULL;
PyObject *var_i = NULL;
PyObject *var_id = NULL;
PyObject *var_num_restarts = NULL;
PyObject *var_pid = NULL;
PyObject *var_status = NULL;
PyObject *var_new_id = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_7de70bc13d64e911439c2d538a502f45;
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;
int tmp_res;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *tmp_iterator_attempt;
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;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_7de70bc13d64e911439c2d538a502f45 = 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.
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_max_restarts);
tmp_cmp_expr_left_1 = par_max_restarts;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[23];
{
PyObject *old = par_max_restarts;
assert(old != NULL);
par_max_restarts = tmp_assign_source_1;
Py_INCREF(par_max_restarts);
Py_DECREF(old);
}
}
branch_no_1:;
// Tried code:
if (isFrameUnusable(cache_frame_7de70bc13d64e911439c2d538a502f45)) {
Py_XDECREF(cache_frame_7de70bc13d64e911439c2d538a502f45);
#if _DEBUG_REFCOUNTS
if (cache_frame_7de70bc13d64e911439c2d538a502f45 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7de70bc13d64e911439c2d538a502f45 = MAKE_FUNCTION_FRAME(codeobj_7de70bc13d64e911439c2d538a502f45, module_tornado$process, 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_7de70bc13d64e911439c2d538a502f45->m_type_description == NULL);
frame_7de70bc13d64e911439c2d538a502f45 = cache_frame_7de70bc13d64e911439c2d538a502f45;
// Push the new frame as the currently active one.
pushFrameStack(frame_7de70bc13d64e911439c2d538a502f45);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7de70bc13d64e911439c2d538a502f45) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_cmp_expr_left_2 == NULL)) {
tmp_cmp_expr_left_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 120;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? 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 = 120;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
nuitka_bool tmp_condition_result_3;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(par_num_processes);
tmp_cmp_expr_left_3 = par_num_processes;
tmp_cmp_expr_right_3 = Py_None;
tmp_or_left_value_1 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
CHECK_OBJECT(par_num_processes);
tmp_cmp_expr_left_4 = par_num_processes;
tmp_cmp_expr_right_4 = mod_consts[14];
tmp_or_right_value_1 = RICH_COMPARE_LE_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_or_right_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 121;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_3 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[2]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[2]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 122;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 122;
tmp_assign_source_2 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 122;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_num_processes;
assert(old != NULL);
par_num_processes = tmp_assign_source_2;
Py_DECREF(old);
}
}
branch_no_3:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = mod_consts[26];
CHECK_OBJECT(par_num_processes);
tmp_args_element_value_2 = par_num_processes;
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 123;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[25],
call_args
);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 123;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = MAKE_DICT_EMPTY();
assert(Nuitka_Cell_GET(var_children) == NULL);
PyCell_SET(var_children, tmp_assign_source_3);
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_annotations_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_dict_key_1 = mod_consts[27];
tmp_dict_value_1 = (PyObject *)&PyLong_Type;
tmp_annotations_1 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[28];
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 126;
type_description_1 = "oocooooooo";
goto dict_build_exception_1;
}
tmp_subscript_value_1 = (PyObject *)&PyLong_Type;
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 126;
type_description_1 = "oocooooooo";
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_annotations_1);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
tmp_closure_1[0] = var_children;
Py_INCREF(tmp_closure_1[0]);
tmp_assign_source_4 = MAKE_FUNCTION_tornado$process$$$function__3_fork_processes$$$function__1_start_child(tmp_annotations_1, tmp_closure_1);
assert(var_start_child == NULL);
var_start_child = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iter_arg_1;
PyObject *tmp_xrange_low_1;
CHECK_OBJECT(par_num_processes);
tmp_xrange_low_1 = par_num_processes;
tmp_iter_arg_1 = BUILTIN_XRANGE1(tmp_xrange_low_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_5 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_5;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_6;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_6 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_6 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oocooooooo";
exception_lineno = 138;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_7 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_i;
var_i = tmp_assign_source_7;
Py_INCREF(var_i);
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_3;
if (var_start_child == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[30]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 139;
type_description_1 = "oocooooooo";
goto try_except_handler_2;
}
tmp_called_value_2 = var_start_child;
CHECK_OBJECT(var_i);
tmp_args_element_value_3 = var_i;
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 139;
tmp_assign_source_8 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_3);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 139;
type_description_1 = "oocooooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_id;
var_id = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(var_id);
tmp_cmp_expr_left_5 = var_id;
tmp_cmp_expr_right_5 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_5 != tmp_cmp_expr_right_5) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
CHECK_OBJECT(var_id);
tmp_return_value = var_id;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
branch_no_4:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 138;
type_description_1 = "oocooooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
Py_DECREF(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;
goto frame_return_exit_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_9;
tmp_assign_source_9 = mod_consts[14];
assert(var_num_restarts == NULL);
Py_INCREF(tmp_assign_source_9);
var_num_restarts = tmp_assign_source_9;
}
loop_start_2:;
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_1;
if (Nuitka_Cell_GET(var_children) == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[32]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 143;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_operand_value_1 = Nuitka_Cell_GET(var_children);
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 = 143;
type_description_1 = "oocooooooo";
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:;
goto loop_end_2;
branch_no_5:;
// Tried code:
{
PyObject *tmp_assign_source_10;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_instance_2;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "oocooooooo";
goto try_except_handler_3;
}
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 144;
tmp_iter_arg_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[33]);
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "oocooooooo";
goto try_except_handler_3;
}
tmp_assign_source_10 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "oocooooooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_10;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_11;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_11 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_11 == 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 = "oocooooooo";
exception_lineno = 144;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_11;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_12 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_12 == 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 = "oocooooooo";
exception_lineno = 144;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_12;
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 = "oocooooooo";
exception_lineno = 144;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[34];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oocooooooo";
exception_lineno = 144;
goto try_except_handler_4;
}
}
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
try_end_2:;
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;
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;
// 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_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_13;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_13 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_pid;
var_pid = tmp_assign_source_13;
Py_INCREF(var_pid);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_14;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_14 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_status;
var_status = tmp_assign_source_14;
Py_INCREF(var_status);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
CHECK_OBJECT(var_pid);
tmp_cmp_expr_left_6 = var_pid;
if (Nuitka_Cell_GET(var_children) == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[32]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 145;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_6 = Nuitka_Cell_GET(var_children);
tmp_res = PySequence_Contains(tmp_cmp_expr_right_6, tmp_cmp_expr_left_6);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 145;
type_description_1 = "oocooooooo";
goto frame_exception_exit_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:;
goto loop_start_2;
branch_no_6:;
{
PyObject *tmp_assign_source_15;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_4;
if (Nuitka_Cell_GET(var_children) == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[32]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 147;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = Nuitka_Cell_GET(var_children);
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[35]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_pid);
tmp_args_element_value_4 = var_pid;
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 147;
tmp_assign_source_15 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_3);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_id;
var_id = tmp_assign_source_15;
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_7;
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_5;
int tmp_truth_name_1;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 148;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_status);
tmp_args_element_value_5 = var_status;
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 148;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[36], tmp_args_element_value_5);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 148;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_2);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_2);
exception_lineno = 148;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_7 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_2);
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_6;
PyObject *tmp_args_element_value_7;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
PyObject *tmp_called_instance_4;
PyObject *tmp_args_element_value_10;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[37]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_6 = mod_consts[38];
CHECK_OBJECT(var_id);
tmp_args_element_value_7 = var_id;
CHECK_OBJECT(var_pid);
tmp_args_element_value_8 = var_pid;
tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_4 == NULL)) {
tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 153;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_status);
tmp_args_element_value_10 = var_status;
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 153;
tmp_args_element_value_9 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[39], tmp_args_element_value_10);
if (tmp_args_element_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 153;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 149;
{
PyObject *call_args[] = {tmp_args_element_value_6, tmp_args_element_value_7, tmp_args_element_value_8, tmp_args_element_value_9};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_9);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
goto branch_end_7;
branch_no_7:;
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
PyObject *tmp_called_instance_5;
PyObject *tmp_args_element_value_11;
tmp_called_instance_5 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_5 == NULL)) {
tmp_called_instance_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_status);
tmp_args_element_value_11 = var_status;
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 155;
tmp_cmp_expr_left_7 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_5, mod_consts[40], tmp_args_element_value_11);
if (tmp_cmp_expr_left_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_7 = mod_consts[14];
tmp_condition_result_8 = RICH_COMPARE_NE_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
Py_DECREF(tmp_cmp_expr_left_7);
if (tmp_condition_result_8 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_12;
PyObject *tmp_args_element_value_13;
PyObject *tmp_args_element_value_14;
PyObject *tmp_args_element_value_15;
PyObject *tmp_called_instance_6;
PyObject *tmp_args_element_value_16;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[37]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_12 = mod_consts[41];
CHECK_OBJECT(var_id);
tmp_args_element_value_13 = var_id;
CHECK_OBJECT(var_pid);
tmp_args_element_value_14 = var_pid;
tmp_called_instance_6 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_6 == NULL)) {
tmp_called_instance_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 160;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_status);
tmp_args_element_value_16 = var_status;
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 160;
tmp_args_element_value_15 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_6, mod_consts[40], tmp_args_element_value_16);
if (tmp_args_element_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 160;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 156;
{
PyObject *call_args[] = {tmp_args_element_value_12, tmp_args_element_value_13, tmp_args_element_value_14, tmp_args_element_value_15};
tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_5, call_args);
}
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_15);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
goto branch_end_8;
branch_no_8:;
{
PyObject *tmp_called_instance_7;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_17;
PyObject *tmp_args_element_value_18;
PyObject *tmp_args_element_value_19;
tmp_called_instance_7 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[7]);
if (unlikely(tmp_called_instance_7 == NULL)) {
tmp_called_instance_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[7]);
}
if (tmp_called_instance_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 163;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_17 = mod_consts[42];
CHECK_OBJECT(var_id);
tmp_args_element_value_18 = var_id;
CHECK_OBJECT(var_pid);
tmp_args_element_value_19 = var_pid;
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 163;
{
PyObject *call_args[] = {tmp_args_element_value_17, tmp_args_element_value_18, tmp_args_element_value_19};
tmp_call_result_5 = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_7,
mod_consts[25],
call_args
);
}
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 163;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_5);
}
goto loop_start_2;
branch_end_8:;
branch_end_7:;
{
PyObject *tmp_assign_source_16;
PyObject *tmp_iadd_expr_left_1;
PyObject *tmp_iadd_expr_right_1;
if (var_num_restarts == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[43]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 165;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_iadd_expr_left_1 = var_num_restarts;
tmp_iadd_expr_right_1 = mod_consts[1];
tmp_result = INPLACE_OPERATION_ADD_OBJECT_LONG(&tmp_iadd_expr_left_1, tmp_iadd_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_16 = tmp_iadd_expr_left_1;
var_num_restarts = tmp_assign_source_16;
}
{
nuitka_bool tmp_condition_result_9;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
CHECK_OBJECT(var_num_restarts);
tmp_cmp_expr_left_8 = var_num_restarts;
CHECK_OBJECT(par_max_restarts);
tmp_cmp_expr_right_8 = par_max_restarts;
tmp_condition_result_9 = RICH_COMPARE_GT_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_8, tmp_cmp_expr_right_8);
if (tmp_condition_result_9 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[44];
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 167;
tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_RuntimeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_2 == NULL));
exception_type = tmp_raise_type_2;
exception_lineno = 167;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
branch_no_9:;
{
PyObject *tmp_assign_source_17;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_20;
if (var_start_child == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[30]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 168;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_6 = var_start_child;
if (var_id == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[45]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 168;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_20 = var_id;
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 168;
tmp_assign_source_17 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_20);
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 168;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_new_id;
var_new_id = tmp_assign_source_17;
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_10;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
CHECK_OBJECT(var_new_id);
tmp_cmp_expr_left_9 = var_new_id;
tmp_cmp_expr_right_9 = Py_None;
tmp_condition_result_10 = (tmp_cmp_expr_left_9 != tmp_cmp_expr_right_9) ? true : false;
if (tmp_condition_result_10 != false) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
CHECK_OBJECT(var_new_id);
tmp_return_value = var_new_id;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_10:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
goto loop_start_2;
loop_end_2:;
{
PyObject *tmp_called_instance_8;
PyObject *tmp_call_result_6;
tmp_called_instance_8 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[12]);
if (unlikely(tmp_called_instance_8 == NULL)) {
tmp_called_instance_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[12]);
}
assert(!(tmp_called_instance_8 == NULL));
frame_7de70bc13d64e911439c2d538a502f45->m_frame.f_lineno = 175;
tmp_call_result_6 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_8,
mod_consts[46],
PyTuple_GET_ITEM(mod_consts[47], 0)
);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 175;
type_description_1 = "oocooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_6);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_7de70bc13d64e911439c2d538a502f45);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7de70bc13d64e911439c2d538a502f45);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7de70bc13d64e911439c2d538a502f45);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7de70bc13d64e911439c2d538a502f45, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7de70bc13d64e911439c2d538a502f45->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7de70bc13d64e911439c2d538a502f45, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7de70bc13d64e911439c2d538a502f45,
type_description_1,
par_num_processes,
par_max_restarts,
var_children,
var_start_child,
var_i,
var_id,
var_num_restarts,
var_pid,
var_status,
var_new_id
);
// Release cached frame if used for exception.
if (frame_7de70bc13d64e911439c2d538a502f45 == cache_frame_7de70bc13d64e911439c2d538a502f45) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7de70bc13d64e911439c2d538a502f45);
cache_frame_7de70bc13d64e911439c2d538a502f45 = NULL;
}
assertFrameObject(frame_7de70bc13d64e911439c2d538a502f45);
// 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(par_num_processes);
Py_DECREF(par_num_processes);
par_num_processes = NULL;
CHECK_OBJECT(par_max_restarts);
Py_DECREF(par_max_restarts);
par_max_restarts = NULL;
CHECK_OBJECT(var_children);
Py_DECREF(var_children);
var_children = NULL;
Py_XDECREF(var_start_child);
var_start_child = NULL;
Py_XDECREF(var_i);
var_i = NULL;
Py_XDECREF(var_id);
var_id = NULL;
Py_XDECREF(var_num_restarts);
var_num_restarts = NULL;
Py_XDECREF(var_pid);
var_pid = NULL;
Py_XDECREF(var_status);
var_status = NULL;
Py_XDECREF(var_new_id);
var_new_id = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_num_processes);
par_num_processes = NULL;
CHECK_OBJECT(par_max_restarts);
Py_DECREF(par_max_restarts);
par_max_restarts = NULL;
CHECK_OBJECT(var_children);
Py_DECREF(var_children);
var_children = NULL;
Py_XDECREF(var_start_child);
var_start_child = NULL;
Py_XDECREF(var_i);
var_i = NULL;
Py_XDECREF(var_id);
var_id = NULL;
Py_XDECREF(var_num_restarts);
var_num_restarts = NULL;
Py_XDECREF(var_pid);
var_pid = NULL;
Py_XDECREF(var_status);
var_status = NULL;
Py_XDECREF(var_new_id);
var_new_id = 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$process$$$function__3_fork_processes$$$function__1_start_child(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_i = python_pars[0];
PyObject *var_pid = NULL;
struct Nuitka_FrameObject *frame_8fb2844e3809a80140238d4f4929034b;
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 *tmp_return_value = NULL;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_8fb2844e3809a80140238d4f4929034b = 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_8fb2844e3809a80140238d4f4929034b)) {
Py_XDECREF(cache_frame_8fb2844e3809a80140238d4f4929034b);
#if _DEBUG_REFCOUNTS
if (cache_frame_8fb2844e3809a80140238d4f4929034b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8fb2844e3809a80140238d4f4929034b = MAKE_FUNCTION_FRAME(codeobj_8fb2844e3809a80140238d4f4929034b, module_tornado$process, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8fb2844e3809a80140238d4f4929034b->m_type_description == NULL);
frame_8fb2844e3809a80140238d4f4929034b = cache_frame_8fb2844e3809a80140238d4f4929034b;
// Push the new frame as the currently active one.
pushFrameStack(frame_8fb2844e3809a80140238d4f4929034b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8fb2844e3809a80140238d4f4929034b) == 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$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
assert(!(tmp_called_instance_1 == NULL));
frame_8fb2844e3809a80140238d4f4929034b->m_frame.f_lineno = 127;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[49]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 127;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
assert(var_pid == NULL);
var_pid = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(var_pid);
tmp_cmp_expr_left_1 = var_pid;
tmp_cmp_expr_right_1 = mod_consts[14];
tmp_condition_result_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_call_result_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[50]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[50]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
frame_8fb2844e3809a80140238d4f4929034b->m_frame.f_lineno = 130;
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 = 130;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assign_source_2;
CHECK_OBJECT(par_i);
tmp_assign_source_2 = par_i;
UPDATE_STRING_DICT0(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[24], tmp_assign_source_2);
}
CHECK_OBJECT(par_i);
tmp_return_value = par_i;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(par_i);
tmp_ass_subvalue_1 = par_i;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[32]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 135;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_1 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(var_pid);
tmp_ass_subscript_1 = var_pid;
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 = 135;
type_description_1 = "ooc";
goto frame_exception_exit_1;
}
}
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8fb2844e3809a80140238d4f4929034b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8fb2844e3809a80140238d4f4929034b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8fb2844e3809a80140238d4f4929034b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8fb2844e3809a80140238d4f4929034b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8fb2844e3809a80140238d4f4929034b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8fb2844e3809a80140238d4f4929034b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8fb2844e3809a80140238d4f4929034b,
type_description_1,
par_i,
var_pid,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_8fb2844e3809a80140238d4f4929034b == cache_frame_8fb2844e3809a80140238d4f4929034b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8fb2844e3809a80140238d4f4929034b);
cache_frame_8fb2844e3809a80140238d4f4929034b = NULL;
}
assertFrameObject(frame_8fb2844e3809a80140238d4f4929034b);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_pid);
Py_DECREF(var_pid);
var_pid = 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_pid);
var_pid = 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_i);
Py_DECREF(par_i);
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_i);
Py_DECREF(par_i);
// 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$process$$$function__4_task_id(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.
struct Nuitka_FrameObject *frame_75d05e8652f1e55f8e94cd07fdeda89b;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
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_75d05e8652f1e55f8e94cd07fdeda89b = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_75d05e8652f1e55f8e94cd07fdeda89b)) {
Py_XDECREF(cache_frame_75d05e8652f1e55f8e94cd07fdeda89b);
#if _DEBUG_REFCOUNTS
if (cache_frame_75d05e8652f1e55f8e94cd07fdeda89b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_75d05e8652f1e55f8e94cd07fdeda89b = MAKE_FUNCTION_FRAME(codeobj_75d05e8652f1e55f8e94cd07fdeda89b, module_tornado$process, 0);
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_75d05e8652f1e55f8e94cd07fdeda89b->m_type_description == NULL);
frame_75d05e8652f1e55f8e94cd07fdeda89b = cache_frame_75d05e8652f1e55f8e94cd07fdeda89b;
// Push the new frame as the currently active one.
pushFrameStack(frame_75d05e8652f1e55f8e94cd07fdeda89b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_75d05e8652f1e55f8e94cd07fdeda89b) == 2); // Frame stack
// Framed code:
tmp_return_value = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[24]);
if (unlikely(tmp_return_value == NULL)) {
tmp_return_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[24]);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
goto frame_exception_exit_1;
}
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_75d05e8652f1e55f8e94cd07fdeda89b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_75d05e8652f1e55f8e94cd07fdeda89b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_75d05e8652f1e55f8e94cd07fdeda89b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_75d05e8652f1e55f8e94cd07fdeda89b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_75d05e8652f1e55f8e94cd07fdeda89b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_75d05e8652f1e55f8e94cd07fdeda89b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_75d05e8652f1e55f8e94cd07fdeda89b,
type_description_1
);
// Release cached frame if used for exception.
if (frame_75d05e8652f1e55f8e94cd07fdeda89b == cache_frame_75d05e8652f1e55f8e94cd07fdeda89b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_75d05e8652f1e55f8e94cd07fdeda89b);
cache_frame_75d05e8652f1e55f8e94cd07fdeda89b = NULL;
}
assertFrameObject(frame_75d05e8652f1e55f8e94cd07fdeda89b);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
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$process$$$function__5___init__(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_self = python_pars[0];
PyObject *par_args = python_pars[1];
PyObject *par_kwargs = python_pars[2];
PyObject *var_pipe_fds = NULL;
PyObject *var_to_close = NULL;
PyObject *var_in_r = NULL;
PyObject *var_in_w = NULL;
PyObject *var_out_r = NULL;
PyObject *var_out_w = NULL;
PyObject *var_err_r = NULL;
PyObject *var_err_w = NULL;
PyObject *var_fd = NULL;
PyObject *var_attr = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_for_loop_2__for_iterator = NULL;
PyObject *tmp_for_loop_2__iter_value = NULL;
PyObject *tmp_for_loop_3__for_iterator = NULL;
PyObject *tmp_for_loop_3__iter_value = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
PyObject *tmp_tuple_unpack_2__element_1 = NULL;
PyObject *tmp_tuple_unpack_2__element_2 = NULL;
PyObject *tmp_tuple_unpack_2__source_iter = NULL;
PyObject *tmp_tuple_unpack_3__element_1 = NULL;
PyObject *tmp_tuple_unpack_3__element_2 = NULL;
PyObject *tmp_tuple_unpack_3__source_iter = NULL;
struct Nuitka_FrameObject *frame_d91b1e165ed391fca2c159bf233b5814;
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 *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *tmp_dictset_value;
PyObject *tmp_dictset_dict;
PyObject *tmp_dictset_key;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_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_1;
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 *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;
static struct Nuitka_FrameObject *cache_frame_d91b1e165ed391fca2c159bf233b5814 = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_d91b1e165ed391fca2c159bf233b5814)) {
Py_XDECREF(cache_frame_d91b1e165ed391fca2c159bf233b5814);
#if _DEBUG_REFCOUNTS
if (cache_frame_d91b1e165ed391fca2c159bf233b5814 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d91b1e165ed391fca2c159bf233b5814 = MAKE_FUNCTION_FRAME(codeobj_d91b1e165ed391fca2c159bf233b5814, module_tornado$process, 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_d91b1e165ed391fca2c159bf233b5814->m_type_description == NULL);
frame_d91b1e165ed391fca2c159bf233b5814 = cache_frame_d91b1e165ed391fca2c159bf233b5814;
// Push the new frame as the currently active one.
pushFrameStack(frame_d91b1e165ed391fca2c159bf233b5814);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d91b1e165ed391fca2c159bf233b5814) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_assattr_target_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[52]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[52]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 216;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[53]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 216;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 216;
tmp_assattr_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[54]);
Py_DECREF(tmp_called_instance_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 216;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[55], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 216;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_pipe_fds == NULL);
var_pipe_fds = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_LIST_EMPTY(0);
assert(var_to_close == NULL);
var_to_close = tmp_assign_source_2;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_key_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_kwargs);
tmp_dict_arg_value_1 = par_kwargs;
tmp_key_value_1 = mod_consts[56];
tmp_cmp_expr_left_1 = DICT_GET_ITEM0(tmp_dict_arg_value_1, tmp_key_value_1);
if (tmp_cmp_expr_left_1 == NULL) {
tmp_cmp_expr_left_1 = Py_None;
}
assert(!(tmp_cmp_expr_left_1 == NULL));
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[57]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[57]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[58]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
// Tried code:
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_instance_2;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
assert(!(tmp_called_instance_2 == NULL));
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 222;
tmp_iter_arg_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[59]);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 222;
type_description_1 = "ooooooooooooo";
goto try_except_handler_2;
}
tmp_assign_source_3 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 222;
type_description_1 = "ooooooooooooo";
goto try_except_handler_2;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_3;
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_4 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_4 == 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 = "ooooooooooooo";
exception_lineno = 222;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_4;
}
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_5 == 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 = "ooooooooooooo";
exception_lineno = 222;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_5;
}
{
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 = "ooooooooooooo";
exception_lineno = 222;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[34];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooooooooooo";
exception_lineno = 222;
goto try_except_handler_3;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
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_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_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_2;
// End of try:
try_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;
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;
// 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:;
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_6;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_6 = tmp_tuple_unpack_1__element_1;
assert(var_in_r == NULL);
Py_INCREF(tmp_assign_source_6);
var_in_r = tmp_assign_source_6;
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_2;
assert(var_in_w == NULL);
Py_INCREF(tmp_assign_source_7);
var_in_w = tmp_assign_source_7;
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
CHECK_OBJECT(var_in_r);
tmp_dictset_value = var_in_r;
CHECK_OBJECT(par_kwargs);
tmp_dictset_dict = par_kwargs;
tmp_dictset_key = mod_consts[56];
assert(PyDict_CheckExact(tmp_dictset_dict));
tmp_res = PyDict_SetItem(tmp_dictset_dict, tmp_dictset_key, tmp_dictset_value);
assert(!(tmp_res != 0));
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_tuple_element_1;
CHECK_OBJECT(var_pipe_fds);
tmp_called_instance_3 = var_pipe_fds;
CHECK_OBJECT(var_in_r);
tmp_tuple_element_1 = var_in_r;
tmp_args_element_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_element_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_in_w);
tmp_tuple_element_1 = var_in_w;
PyTuple_SET_ITEM0(tmp_args_element_value_1, 1, tmp_tuple_element_1);
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 224;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[60], tmp_args_element_value_1);
Py_DECREF(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 = 224;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(var_to_close);
tmp_called_instance_4 = var_to_close;
CHECK_OBJECT(var_in_r);
tmp_args_element_value_2 = var_in_r;
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 225;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[61], tmp_args_element_value_2);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 225;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_assattr_target_2;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[62]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[62]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 226;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_in_w);
tmp_args_element_value_3 = var_in_w;
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 226;
tmp_assattr_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_3);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 226;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[56], tmp_assattr_value_2);
Py_DECREF(tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 226;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
if (par_kwargs == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 227;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = par_kwargs;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[64]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 227;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 227;
tmp_cmp_expr_left_2 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[65]);
Py_DECREF(tmp_called_value_2);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 227;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[57]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[57]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_2);
exception_lineno = 227;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[58]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_2);
exception_lineno = 227;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
Py_DECREF(tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
// Tried code:
{
PyObject *tmp_assign_source_8;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_instance_5;
tmp_called_instance_5 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_5 == NULL)) {
tmp_called_instance_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
type_description_1 = "ooooooooooooo";
goto try_except_handler_4;
}
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 228;
tmp_iter_arg_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[59]);
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
type_description_1 = "ooooooooooooo";
goto try_except_handler_4;
}
tmp_assign_source_8 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
type_description_1 = "ooooooooooooo";
goto try_except_handler_4;
}
assert(tmp_tuple_unpack_2__source_iter == NULL);
tmp_tuple_unpack_2__source_iter = tmp_assign_source_8;
}
// Tried code:
{
PyObject *tmp_assign_source_9;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_9 = UNPACK_NEXT(tmp_unpack_3, 0, 2);
if (tmp_assign_source_9 == 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 = "ooooooooooooo";
exception_lineno = 228;
goto try_except_handler_5;
}
assert(tmp_tuple_unpack_2__element_1 == NULL);
tmp_tuple_unpack_2__element_1 = tmp_assign_source_9;
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_unpack_4;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_4 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_10 = UNPACK_NEXT(tmp_unpack_4, 1, 2);
if (tmp_assign_source_10 == 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 = "ooooooooooooo";
exception_lineno = 228;
goto try_except_handler_5;
}
assert(tmp_tuple_unpack_2__element_2 == NULL);
tmp_tuple_unpack_2__element_2 = tmp_assign_source_10;
}
{
PyObject *tmp_iterator_name_2;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_2); assert(HAS_ITERNEXT(tmp_iterator_name_2));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_2)->tp_iternext)(tmp_iterator_name_2);
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 = "ooooooooooooo";
exception_lineno = 228;
goto try_except_handler_5;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[34];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooooooooooo";
exception_lineno = 228;
goto try_except_handler_5;
}
}
goto try_end_3;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
Py_DECREF(tmp_tuple_unpack_2__source_iter);
tmp_tuple_unpack_2__source_iter = 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 try_except_handler_4;
// End of try:
try_end_3:;
goto try_end_4;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = 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 frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
Py_DECREF(tmp_tuple_unpack_2__source_iter);
tmp_tuple_unpack_2__source_iter = NULL;
{
PyObject *tmp_assign_source_11;
CHECK_OBJECT(tmp_tuple_unpack_2__element_1);
tmp_assign_source_11 = tmp_tuple_unpack_2__element_1;
assert(var_out_r == NULL);
Py_INCREF(tmp_assign_source_11);
var_out_r = tmp_assign_source_11;
}
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
{
PyObject *tmp_assign_source_12;
CHECK_OBJECT(tmp_tuple_unpack_2__element_2);
tmp_assign_source_12 = tmp_tuple_unpack_2__element_2;
assert(var_out_w == NULL);
Py_INCREF(tmp_assign_source_12);
var_out_w = tmp_assign_source_12;
}
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = NULL;
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(var_out_w);
tmp_ass_subvalue_1 = var_out_w;
if (par_kwargs == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 229;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_1 = par_kwargs;
tmp_ass_subscript_1 = mod_consts[66];
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 = 229;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_instance_6;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_tuple_element_2;
if (var_pipe_fds == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[67]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 230;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_6 = var_pipe_fds;
CHECK_OBJECT(var_out_r);
tmp_tuple_element_2 = var_out_r;
tmp_args_element_value_4 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_element_value_4, 0, tmp_tuple_element_2);
CHECK_OBJECT(var_out_w);
tmp_tuple_element_2 = var_out_w;
PyTuple_SET_ITEM0(tmp_args_element_value_4, 1, tmp_tuple_element_2);
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 230;
tmp_call_result_3 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_6, mod_consts[60], tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 230;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
{
PyObject *tmp_called_instance_7;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_5;
if (var_to_close == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[68]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 231;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_7 = var_to_close;
CHECK_OBJECT(var_out_w);
tmp_args_element_value_5 = var_out_w;
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 231;
tmp_call_result_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_7, mod_consts[61], tmp_args_element_value_5);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 231;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_6;
PyObject *tmp_assattr_target_3;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[62]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[62]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_out_r);
tmp_args_element_value_6 = var_out_r;
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 232;
tmp_assattr_value_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_6);
if (tmp_assattr_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[66], tmp_assattr_value_3);
Py_DECREF(tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 232;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
if (par_kwargs == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 233;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_5 = par_kwargs;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[64]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 233;
tmp_cmp_expr_left_3 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_4, mod_consts[69]);
Py_DECREF(tmp_called_value_4);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 233;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[57]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[57]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_3);
exception_lineno = 233;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[58]);
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_3);
exception_lineno = 233;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
Py_DECREF(tmp_cmp_expr_left_3);
Py_DECREF(tmp_cmp_expr_right_3);
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
// Tried code:
{
PyObject *tmp_assign_source_13;
PyObject *tmp_iter_arg_3;
PyObject *tmp_called_instance_8;
tmp_called_instance_8 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_8 == NULL)) {
tmp_called_instance_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 234;
type_description_1 = "ooooooooooooo";
goto try_except_handler_6;
}
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 234;
tmp_iter_arg_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_8, mod_consts[59]);
if (tmp_iter_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 234;
type_description_1 = "ooooooooooooo";
goto try_except_handler_6;
}
tmp_assign_source_13 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_3);
Py_DECREF(tmp_iter_arg_3);
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 234;
type_description_1 = "ooooooooooooo";
goto try_except_handler_6;
}
assert(tmp_tuple_unpack_3__source_iter == NULL);
tmp_tuple_unpack_3__source_iter = tmp_assign_source_13;
}
// Tried code:
{
PyObject *tmp_assign_source_14;
PyObject *tmp_unpack_5;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
tmp_unpack_5 = tmp_tuple_unpack_3__source_iter;
tmp_assign_source_14 = UNPACK_NEXT(tmp_unpack_5, 0, 2);
if (tmp_assign_source_14 == 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 = "ooooooooooooo";
exception_lineno = 234;
goto try_except_handler_7;
}
assert(tmp_tuple_unpack_3__element_1 == NULL);
tmp_tuple_unpack_3__element_1 = tmp_assign_source_14;
}
{
PyObject *tmp_assign_source_15;
PyObject *tmp_unpack_6;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
tmp_unpack_6 = tmp_tuple_unpack_3__source_iter;
tmp_assign_source_15 = UNPACK_NEXT(tmp_unpack_6, 1, 2);
if (tmp_assign_source_15 == 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 = "ooooooooooooo";
exception_lineno = 234;
goto try_except_handler_7;
}
assert(tmp_tuple_unpack_3__element_2 == NULL);
tmp_tuple_unpack_3__element_2 = tmp_assign_source_15;
}
{
PyObject *tmp_iterator_name_3;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
tmp_iterator_name_3 = tmp_tuple_unpack_3__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_3); assert(HAS_ITERNEXT(tmp_iterator_name_3));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_3)->tp_iternext)(tmp_iterator_name_3);
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 = "ooooooooooooo";
exception_lineno = 234;
goto try_except_handler_7;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[34];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooooooooooo";
exception_lineno = 234;
goto try_except_handler_7;
}
}
goto try_end_5;
// Exception handler code:
try_except_handler_7:;
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;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
Py_DECREF(tmp_tuple_unpack_3__source_iter);
tmp_tuple_unpack_3__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_6;
// End of try:
try_end_5:;
goto try_end_6;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_6 = exception_type;
exception_keeper_value_6 = exception_value;
exception_keeper_tb_6 = exception_tb;
exception_keeper_lineno_6 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_3__element_1);
tmp_tuple_unpack_3__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_3__element_2);
tmp_tuple_unpack_3__element_2 = 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 frame_exception_exit_1;
// End of try:
try_end_6:;
CHECK_OBJECT(tmp_tuple_unpack_3__source_iter);
Py_DECREF(tmp_tuple_unpack_3__source_iter);
tmp_tuple_unpack_3__source_iter = NULL;
{
PyObject *tmp_assign_source_16;
CHECK_OBJECT(tmp_tuple_unpack_3__element_1);
tmp_assign_source_16 = tmp_tuple_unpack_3__element_1;
assert(var_err_r == NULL);
Py_INCREF(tmp_assign_source_16);
var_err_r = tmp_assign_source_16;
}
Py_XDECREF(tmp_tuple_unpack_3__element_1);
tmp_tuple_unpack_3__element_1 = NULL;
{
PyObject *tmp_assign_source_17;
CHECK_OBJECT(tmp_tuple_unpack_3__element_2);
tmp_assign_source_17 = tmp_tuple_unpack_3__element_2;
assert(var_err_w == NULL);
Py_INCREF(tmp_assign_source_17);
var_err_w = tmp_assign_source_17;
}
Py_XDECREF(tmp_tuple_unpack_3__element_2);
tmp_tuple_unpack_3__element_2 = NULL;
{
PyObject *tmp_ass_subvalue_2;
PyObject *tmp_ass_subscribed_2;
PyObject *tmp_ass_subscript_2;
CHECK_OBJECT(var_err_w);
tmp_ass_subvalue_2 = var_err_w;
if (par_kwargs == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 235;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_2 = par_kwargs;
tmp_ass_subscript_2 = mod_consts[70];
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 235;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_instance_9;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_7;
PyObject *tmp_tuple_element_3;
if (var_pipe_fds == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[67]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 236;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_9 = var_pipe_fds;
CHECK_OBJECT(var_err_r);
tmp_tuple_element_3 = var_err_r;
tmp_args_element_value_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_element_value_7, 0, tmp_tuple_element_3);
CHECK_OBJECT(var_err_w);
tmp_tuple_element_3 = var_err_w;
PyTuple_SET_ITEM0(tmp_args_element_value_7, 1, tmp_tuple_element_3);
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 236;
tmp_call_result_5 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_9, mod_consts[60], tmp_args_element_value_7);
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 = 236;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_5);
}
{
PyObject *tmp_called_instance_10;
PyObject *tmp_call_result_6;
PyObject *tmp_args_element_value_8;
if (var_to_close == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[68]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 237;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_10 = var_to_close;
CHECK_OBJECT(var_err_w);
tmp_args_element_value_8 = var_err_w;
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 237;
tmp_call_result_6 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_10, mod_consts[61], tmp_args_element_value_8);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 237;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_6);
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_9;
PyObject *tmp_assattr_target_4;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[62]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[62]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 238;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_err_r);
tmp_args_element_value_9 = var_err_r;
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 238;
tmp_assattr_value_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_9);
if (tmp_assattr_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 238;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[70], 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 = 238;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
branch_no_3:;
// Tried code:
{
PyObject *tmp_assattr_value_5;
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_assattr_target_5;
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[71]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[71]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_1 = "ooooooooooooo";
goto try_except_handler_8;
}
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[72]);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_1 = "ooooooooooooo";
goto try_except_handler_8;
}
CHECK_OBJECT(par_args);
tmp_dircall_arg2_1 = par_args;
if (par_kwargs == NULL) {
Py_DECREF(tmp_dircall_arg1_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[63]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 240;
type_description_1 = "ooooooooooooo";
goto try_except_handler_8;
}
tmp_dircall_arg3_1 = par_kwargs;
Py_INCREF(tmp_dircall_arg2_1);
Py_INCREF(tmp_dircall_arg3_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1};
tmp_assattr_value_5 = impl___main__$$$function__4_complex_call_helper_star_list_star_dict(dir_call_args);
}
if (tmp_assattr_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 240;
type_description_1 = "ooooooooooooo";
goto try_except_handler_8;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_5 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_5, mod_consts[73], 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 = 240;
type_description_1 = "ooooooooooooo";
goto try_except_handler_8;
}
}
goto try_end_7;
// Exception handler code:
try_except_handler_8:;
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;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_7 == NULL) {
exception_keeper_tb_7 = MAKE_TRACEBACK(frame_d91b1e165ed391fca2c159bf233b5814, exception_keeper_lineno_7);
} else if (exception_keeper_lineno_7 != 0) {
exception_keeper_tb_7 = ADD_TRACEBACK(exception_keeper_tb_7, frame_d91b1e165ed391fca2c159bf233b5814, exception_keeper_lineno_7);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_7, &exception_keeper_value_7, &exception_keeper_tb_7);
// Tried code:
{
PyObject *tmp_assign_source_18;
PyObject *tmp_iter_arg_4;
if (var_pipe_fds == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[67]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 242;
type_description_1 = "ooooooooooooo";
goto try_except_handler_9;
}
tmp_iter_arg_4 = var_pipe_fds;
tmp_assign_source_18 = MAKE_ITERATOR(tmp_iter_arg_4);
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 242;
type_description_1 = "ooooooooooooo";
goto try_except_handler_9;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_18;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_19;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_19 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_19 == 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 = "ooooooooooooo";
exception_lineno = 242;
goto try_except_handler_10;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_19;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_20;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_20 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_fd;
var_fd = tmp_assign_source_20;
Py_INCREF(var_fd);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_instance_11;
PyObject *tmp_call_result_7;
PyObject *tmp_args_element_value_10;
tmp_called_instance_11 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_11 == NULL)) {
tmp_called_instance_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "ooooooooooooo";
goto try_except_handler_10;
}
CHECK_OBJECT(var_fd);
tmp_args_element_value_10 = var_fd;
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 243;
tmp_call_result_7 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_11, mod_consts[74], tmp_args_element_value_10);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 243;
type_description_1 = "ooooooooooooo";
goto try_except_handler_10;
}
Py_DECREF(tmp_call_result_7);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 242;
type_description_1 = "ooooooooooooo";
goto try_except_handler_10;
}
goto loop_start_1;
loop_end_1:;
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(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_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(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;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 244;
}
if (exception_tb && exception_tb->tb_frame == &frame_d91b1e165ed391fca2c159bf233b5814->m_frame) frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooo";
goto try_except_handler_9;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_9:;
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;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// 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 frame_exception_exit_1;
// End of try:
// End of try:
try_end_7:;
{
PyObject *tmp_assign_source_21;
PyObject *tmp_iter_arg_5;
if (var_to_close == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[68]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 245;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_iter_arg_5 = var_to_close;
tmp_assign_source_21 = MAKE_ITERATOR(tmp_iter_arg_5);
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 245;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_2__for_iterator == NULL);
tmp_for_loop_2__for_iterator = tmp_assign_source_21;
}
// Tried code:
loop_start_2:;
{
PyObject *tmp_next_source_2;
PyObject *tmp_assign_source_22;
CHECK_OBJECT(tmp_for_loop_2__for_iterator);
tmp_next_source_2 = tmp_for_loop_2__for_iterator;
tmp_assign_source_22 = ITERATOR_NEXT(tmp_next_source_2);
if (tmp_assign_source_22 == 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 = "ooooooooooooo";
exception_lineno = 245;
goto try_except_handler_11;
}
}
{
PyObject *old = tmp_for_loop_2__iter_value;
tmp_for_loop_2__iter_value = tmp_assign_source_22;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_23;
CHECK_OBJECT(tmp_for_loop_2__iter_value);
tmp_assign_source_23 = tmp_for_loop_2__iter_value;
{
PyObject *old = var_fd;
var_fd = tmp_assign_source_23;
Py_INCREF(var_fd);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_instance_12;
PyObject *tmp_call_result_8;
PyObject *tmp_args_element_value_11;
tmp_called_instance_12 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_12 == NULL)) {
tmp_called_instance_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 246;
type_description_1 = "ooooooooooooo";
goto try_except_handler_11;
}
CHECK_OBJECT(var_fd);
tmp_args_element_value_11 = var_fd;
frame_d91b1e165ed391fca2c159bf233b5814->m_frame.f_lineno = 246;
tmp_call_result_8 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_12, mod_consts[74], tmp_args_element_value_11);
if (tmp_call_result_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 246;
type_description_1 = "ooooooooooooo";
goto try_except_handler_11;
}
Py_DECREF(tmp_call_result_8);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 245;
type_description_1 = "ooooooooooooo";
goto try_except_handler_11;
}
goto loop_start_2;
loop_end_2:;
goto try_end_9;
// Exception handler code:
try_except_handler_11:;
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_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_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto frame_exception_exit_1;
// End of try:
try_end_9:;
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;
{
PyObject *tmp_assattr_value_6;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_assattr_target_6;
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[73]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[75]);
Py_DECREF(tmp_expression_value_8);
if (tmp_assattr_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_6 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_6, mod_consts[75], tmp_assattr_value_6);
Py_DECREF(tmp_assattr_value_6);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_24;
PyObject *tmp_iter_arg_6;
tmp_iter_arg_6 = mod_consts[76];
tmp_assign_source_24 = MAKE_ITERATOR_INFALLIBLE(tmp_iter_arg_6);
assert(!(tmp_assign_source_24 == NULL));
assert(tmp_for_loop_3__for_iterator == NULL);
tmp_for_loop_3__for_iterator = tmp_assign_source_24;
}
// Tried code:
loop_start_3:;
{
PyObject *tmp_next_source_3;
PyObject *tmp_assign_source_25;
CHECK_OBJECT(tmp_for_loop_3__for_iterator);
tmp_next_source_3 = tmp_for_loop_3__for_iterator;
tmp_assign_source_25 = ITERATOR_NEXT(tmp_next_source_3);
if (tmp_assign_source_25 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_3;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooooooo";
exception_lineno = 248;
goto try_except_handler_12;
}
}
{
PyObject *old = tmp_for_loop_3__iter_value;
tmp_for_loop_3__iter_value = tmp_assign_source_25;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_26;
CHECK_OBJECT(tmp_for_loop_3__iter_value);
tmp_assign_source_26 = tmp_for_loop_3__iter_value;
{
PyObject *old = var_attr;
var_attr = tmp_assign_source_26;
Py_INCREF(var_attr);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_4;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_10;
PyObject *tmp_attribute_value_1;
if (par_self == NULL) {
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 = 249;
type_description_1 = "ooooooooooooo";
goto try_except_handler_12;
}
tmp_expression_value_10 = par_self;
CHECK_OBJECT(var_attr);
tmp_attribute_value_1 = var_attr;
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_10, tmp_attribute_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 249;
type_description_1 = "ooooooooooooo";
goto try_except_handler_12;
}
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 = 249;
type_description_1 = "ooooooooooooo";
goto try_except_handler_12;
}
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:;
{
PyObject *tmp_setattr_target_1;
PyObject *tmp_setattr_attr_1;
PyObject *tmp_setattr_value_1;
PyObject *tmp_getattr_target_1;
PyObject *tmp_expression_value_11;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_capi_result_1;
if (par_self == NULL) {
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 = 250;
type_description_1 = "ooooooooooooo";
goto try_except_handler_12;
}
tmp_setattr_target_1 = par_self;
CHECK_OBJECT(var_attr);
tmp_setattr_attr_1 = var_attr;
if (par_self == NULL) {
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 = 250;
type_description_1 = "ooooooooooooo";
goto try_except_handler_12;
}
tmp_expression_value_11 = par_self;
tmp_getattr_target_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[73]);
if (tmp_getattr_target_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 250;
type_description_1 = "ooooooooooooo";
goto try_except_handler_12;
}
CHECK_OBJECT(var_attr);
tmp_getattr_attr_1 = var_attr;
tmp_setattr_value_1 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, NULL);
Py_DECREF(tmp_getattr_target_1);
if (tmp_setattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 250;
type_description_1 = "ooooooooooooo";
goto try_except_handler_12;
}
tmp_capi_result_1 = BUILTIN_SETATTR(tmp_setattr_target_1, tmp_setattr_attr_1, tmp_setattr_value_1);
Py_DECREF(tmp_setattr_value_1);
if (tmp_capi_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 250;
type_description_1 = "ooooooooooooo";
goto try_except_handler_12;
}
}
branch_no_4:;
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 248;
type_description_1 = "ooooooooooooo";
goto try_except_handler_12;
}
goto loop_start_3;
loop_end_3:;
goto try_end_10;
// 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_3__iter_value);
tmp_for_loop_3__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_3__for_iterator);
Py_DECREF(tmp_for_loop_3__for_iterator);
tmp_for_loop_3__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto frame_exception_exit_1;
// End of try:
try_end_10:;
Py_XDECREF(tmp_for_loop_3__iter_value);
tmp_for_loop_3__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_3__for_iterator);
Py_DECREF(tmp_for_loop_3__for_iterator);
tmp_for_loop_3__for_iterator = NULL;
{
PyObject *tmp_assattr_value_7;
PyObject *tmp_assattr_target_7;
tmp_assattr_value_7 = Py_None;
if (par_self == NULL) {
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 = 251;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_7 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_7, mod_consts[78], tmp_assattr_value_7);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 251;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_8;
PyObject *tmp_assattr_target_8;
tmp_assattr_value_8 = Py_None;
if (par_self == NULL) {
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 = 252;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_8 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_8, mod_consts[79], tmp_assattr_value_8);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 252;
type_description_1 = "ooooooooooooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_d91b1e165ed391fca2c159bf233b5814);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d91b1e165ed391fca2c159bf233b5814);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d91b1e165ed391fca2c159bf233b5814, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d91b1e165ed391fca2c159bf233b5814->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d91b1e165ed391fca2c159bf233b5814, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d91b1e165ed391fca2c159bf233b5814,
type_description_1,
par_self,
par_args,
par_kwargs,
var_pipe_fds,
var_to_close,
var_in_r,
var_in_w,
var_out_r,
var_out_w,
var_err_r,
var_err_w,
var_fd,
var_attr
);
// Release cached frame if used for exception.
if (frame_d91b1e165ed391fca2c159bf233b5814 == cache_frame_d91b1e165ed391fca2c159bf233b5814) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d91b1e165ed391fca2c159bf233b5814);
cache_frame_d91b1e165ed391fca2c159bf233b5814 = NULL;
}
assertFrameObject(frame_d91b1e165ed391fca2c159bf233b5814);
// 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_pipe_fds);
var_pipe_fds = NULL;
Py_XDECREF(var_to_close);
var_to_close = NULL;
Py_XDECREF(var_in_r);
var_in_r = NULL;
Py_XDECREF(var_in_w);
var_in_w = NULL;
Py_XDECREF(var_out_r);
var_out_r = NULL;
Py_XDECREF(var_out_w);
var_out_w = NULL;
Py_XDECREF(var_err_r);
var_err_r = NULL;
Py_XDECREF(var_err_w);
var_err_w = NULL;
Py_XDECREF(var_fd);
var_fd = NULL;
Py_XDECREF(var_attr);
var_attr = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
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_pipe_fds);
var_pipe_fds = NULL;
Py_XDECREF(var_to_close);
var_to_close = NULL;
Py_XDECREF(var_in_r);
var_in_r = NULL;
Py_XDECREF(var_in_w);
var_in_w = NULL;
Py_XDECREF(var_out_r);
var_out_r = NULL;
Py_XDECREF(var_out_w);
var_out_w = NULL;
Py_XDECREF(var_err_r);
var_err_r = NULL;
Py_XDECREF(var_err_w);
var_err_w = NULL;
Py_XDECREF(var_fd);
var_fd = NULL;
Py_XDECREF(var_attr);
var_attr = 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 function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
// 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$process$$$function__6_set_exit_callback(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_self = python_pars[0];
PyObject *par_callback = python_pars[1];
struct Nuitka_FrameObject *frame_f35da292d202ace9ef13bf47a96904af;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_f35da292d202ace9ef13bf47a96904af = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_f35da292d202ace9ef13bf47a96904af)) {
Py_XDECREF(cache_frame_f35da292d202ace9ef13bf47a96904af);
#if _DEBUG_REFCOUNTS
if (cache_frame_f35da292d202ace9ef13bf47a96904af == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f35da292d202ace9ef13bf47a96904af = MAKE_FUNCTION_FRAME(codeobj_f35da292d202ace9ef13bf47a96904af, module_tornado$process, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f35da292d202ace9ef13bf47a96904af->m_type_description == NULL);
frame_f35da292d202ace9ef13bf47a96904af = cache_frame_f35da292d202ace9ef13bf47a96904af;
// Push the new frame as the currently active one.
pushFrameStack(frame_f35da292d202ace9ef13bf47a96904af);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f35da292d202ace9ef13bf47a96904af) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_callback);
tmp_assattr_value_1 = par_callback;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[78], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 271;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[57]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[57]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_f35da292d202ace9ef13bf47a96904af->m_frame.f_lineno = 272;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[80]);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_ass_subscript_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_ass_subvalue_1 = par_self;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[57]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[57]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 273;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[81]);
if (tmp_ass_subscribed_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 273;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_ass_subscript_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[75]);
if (tmp_ass_subscript_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_ass_subscribed_1);
exception_lineno = 273;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
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_subscript_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 273;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_4;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[57]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[57]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 274;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[82]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 274;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[75]);
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 = 274;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_f35da292d202ace9ef13bf47a96904af->m_frame.f_lineno = 274;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
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 = 274;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f35da292d202ace9ef13bf47a96904af);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f35da292d202ace9ef13bf47a96904af);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f35da292d202ace9ef13bf47a96904af, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f35da292d202ace9ef13bf47a96904af->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f35da292d202ace9ef13bf47a96904af, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f35da292d202ace9ef13bf47a96904af,
type_description_1,
par_self,
par_callback
);
// Release cached frame if used for exception.
if (frame_f35da292d202ace9ef13bf47a96904af == cache_frame_f35da292d202ace9ef13bf47a96904af) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f35da292d202ace9ef13bf47a96904af);
cache_frame_f35da292d202ace9ef13bf47a96904af = NULL;
}
assertFrameObject(frame_f35da292d202ace9ef13bf47a96904af);
// 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_callback);
Py_DECREF(par_callback);
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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_callback);
Py_DECREF(par_callback);
// 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$process$$$function__7_wait_for_exit(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_self = python_pars[0];
struct Nuitka_CellObject *par_raise_error = Nuitka_Cell_New1(python_pars[1]);
struct Nuitka_CellObject *var_future = Nuitka_Cell_Empty();
PyObject *var_callback = NULL;
struct Nuitka_FrameObject *frame_89c77883746f54d8cd23160f8e44509b;
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_89c77883746f54d8cd23160f8e44509b = 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_89c77883746f54d8cd23160f8e44509b)) {
Py_XDECREF(cache_frame_89c77883746f54d8cd23160f8e44509b);
#if _DEBUG_REFCOUNTS
if (cache_frame_89c77883746f54d8cd23160f8e44509b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_89c77883746f54d8cd23160f8e44509b = MAKE_FUNCTION_FRAME(codeobj_89c77883746f54d8cd23160f8e44509b, module_tornado$process, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_89c77883746f54d8cd23160f8e44509b->m_type_description == NULL);
frame_89c77883746f54d8cd23160f8e44509b = cache_frame_89c77883746f54d8cd23160f8e44509b;
// Push the new frame as the currently active one.
pushFrameStack(frame_89c77883746f54d8cd23160f8e44509b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_89c77883746f54d8cd23160f8e44509b) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[84]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
type_description_1 = "occo";
goto frame_exception_exit_1;
}
frame_89c77883746f54d8cd23160f8e44509b->m_frame.f_lineno = 294;
tmp_assign_source_1 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 294;
type_description_1 = "occo";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_future) == NULL);
PyCell_SET(var_future, tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_annotations_1;
struct Nuitka_CellObject *tmp_closure_1[2];
tmp_annotations_1 = DICT_COPY(mod_consts[85]);
tmp_closure_1[0] = var_future;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = par_raise_error;
Py_INCREF(tmp_closure_1[1]);
tmp_assign_source_2 = MAKE_FUNCTION_tornado$process$$$function__7_wait_for_exit$$$function__1_callback(tmp_annotations_1, tmp_closure_1);
assert(var_callback == NULL);
var_callback = tmp_assign_source_2;
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(var_callback);
tmp_args_element_value_1 = var_callback;
frame_89c77883746f54d8cd23160f8e44509b->m_frame.f_lineno = 305;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[88], 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 = 305;
type_description_1 = "occo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_89c77883746f54d8cd23160f8e44509b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_89c77883746f54d8cd23160f8e44509b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_89c77883746f54d8cd23160f8e44509b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_89c77883746f54d8cd23160f8e44509b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_89c77883746f54d8cd23160f8e44509b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_89c77883746f54d8cd23160f8e44509b,
type_description_1,
par_self,
par_raise_error,
var_future,
var_callback
);
// Release cached frame if used for exception.
if (frame_89c77883746f54d8cd23160f8e44509b == cache_frame_89c77883746f54d8cd23160f8e44509b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_89c77883746f54d8cd23160f8e44509b);
cache_frame_89c77883746f54d8cd23160f8e44509b = NULL;
}
assertFrameObject(frame_89c77883746f54d8cd23160f8e44509b);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(Nuitka_Cell_GET(var_future));
tmp_return_value = Nuitka_Cell_GET(var_future);
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_future);
Py_DECREF(var_future);
var_future = NULL;
CHECK_OBJECT(var_callback);
Py_DECREF(var_callback);
var_callback = 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;
CHECK_OBJECT(var_future);
Py_DECREF(var_future);
var_future = NULL;
Py_XDECREF(var_callback);
var_callback = 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_raise_error);
Py_DECREF(par_raise_error);
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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_raise_error);
Py_DECREF(par_raise_error);
// 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$process$$$function__7_wait_for_exit$$$function__1_callback(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_ret = python_pars[0];
struct Nuitka_FrameObject *frame_ec2ed076860fb2e56e2955927a3e159a;
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_ec2ed076860fb2e56e2955927a3e159a = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_ec2ed076860fb2e56e2955927a3e159a)) {
Py_XDECREF(cache_frame_ec2ed076860fb2e56e2955927a3e159a);
#if _DEBUG_REFCOUNTS
if (cache_frame_ec2ed076860fb2e56e2955927a3e159a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ec2ed076860fb2e56e2955927a3e159a = MAKE_FUNCTION_FRAME(codeobj_ec2ed076860fb2e56e2955927a3e159a, module_tornado$process, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ec2ed076860fb2e56e2955927a3e159a->m_type_description == NULL);
frame_ec2ed076860fb2e56e2955927a3e159a = cache_frame_ec2ed076860fb2e56e2955927a3e159a;
// Push the new frame as the currently active one.
pushFrameStack(frame_ec2ed076860fb2e56e2955927a3e159a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ec2ed076860fb2e56e2955927a3e159a) == 2); // Frame stack
// Framed code:
{
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;
PyObject *tmp_cmp_expr_right_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_ret);
tmp_cmp_expr_left_1 = par_ret;
tmp_cmp_expr_right_1 = mod_consts[14];
tmp_and_left_value_1 = RICH_COMPARE_NE_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_and_left_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 297;
type_description_1 = "occ";
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 = 297;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[90]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 297;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(Nuitka_Cell_GET(self->m_closure[1]));
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 297;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
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_called_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[91]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[91]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 299;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[92]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 300;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[93]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[93]);
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_ret);
tmp_args_element_value_3 = par_ret;
tmp_args_element_value_4 = mod_consts[94];
frame_ec2ed076860fb2e56e2955927a3e159a->m_frame.f_lineno = 300;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_args_element_value_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
frame_ec2ed076860fb2e56e2955927a3e159a->m_frame.f_lineno = 299;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 299;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[95]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[95]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 303;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[92]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 303;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(par_ret);
tmp_args_element_value_6 = par_ret;
frame_ec2ed076860fb2e56e2955927a3e159a->m_frame.f_lineno = 303;
{
PyObject *call_args[] = {tmp_args_element_value_5, tmp_args_element_value_6};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 303;
type_description_1 = "occ";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ec2ed076860fb2e56e2955927a3e159a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ec2ed076860fb2e56e2955927a3e159a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ec2ed076860fb2e56e2955927a3e159a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ec2ed076860fb2e56e2955927a3e159a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ec2ed076860fb2e56e2955927a3e159a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ec2ed076860fb2e56e2955927a3e159a,
type_description_1,
par_ret,
self->m_closure[1],
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_ec2ed076860fb2e56e2955927a3e159a == cache_frame_ec2ed076860fb2e56e2955927a3e159a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ec2ed076860fb2e56e2955927a3e159a);
cache_frame_ec2ed076860fb2e56e2955927a3e159a = NULL;
}
assertFrameObject(frame_ec2ed076860fb2e56e2955927a3e159a);
// 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_ret);
Py_DECREF(par_ret);
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_ret);
Py_DECREF(par_ret);
// 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$process$$$function__8_initialize(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.
struct Nuitka_CellObject *par_cls = Nuitka_Cell_New1(python_pars[0]);
struct Nuitka_CellObject *var_io_loop = Nuitka_Cell_Empty();
struct Nuitka_FrameObject *frame_79598554e8d08c0e86448987290095e9;
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;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_79598554e8d08c0e86448987290095e9 = 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_79598554e8d08c0e86448987290095e9)) {
Py_XDECREF(cache_frame_79598554e8d08c0e86448987290095e9);
#if _DEBUG_REFCOUNTS
if (cache_frame_79598554e8d08c0e86448987290095e9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_79598554e8d08c0e86448987290095e9 = MAKE_FUNCTION_FRAME(codeobj_79598554e8d08c0e86448987290095e9, module_tornado$process, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_79598554e8d08c0e86448987290095e9->m_type_description == NULL);
frame_79598554e8d08c0e86448987290095e9 = cache_frame_79598554e8d08c0e86448987290095e9;
// Push the new frame as the currently active one.
pushFrameStack(frame_79598554e8d08c0e86448987290095e9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_79598554e8d08c0e86448987290095e9) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(Nuitka_Cell_GET(par_cls));
tmp_expression_value_1 = Nuitka_Cell_GET(par_cls);
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[96]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 323;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 323;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_2;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[52]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[52]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 325;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[53]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 325;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
frame_79598554e8d08c0e86448987290095e9->m_frame.f_lineno = 325;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[54]);
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 = 325;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_io_loop) == NULL);
PyCell_SET(var_io_loop, tmp_assign_source_1);
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_2;
struct Nuitka_CellObject *tmp_closure_1[2];
PyObject *tmp_assattr_target_1;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[97]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[97]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 326;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[97]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 326;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[97]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[97]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 327;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[98]);
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 = 327;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
tmp_closure_1[0] = par_cls;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = var_io_loop;
Py_INCREF(tmp_closure_1[1]);
tmp_args_element_value_2 = MAKE_FUNCTION_tornado$process$$$function__8_initialize$$$function__1_lambda(tmp_closure_1);
frame_79598554e8d08c0e86448987290095e9->m_frame.f_lineno = 326;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assattr_value_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 326;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(par_cls));
tmp_assattr_target_1 = Nuitka_Cell_GET(par_cls);
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[101], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 326;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
tmp_assattr_value_2 = Py_True;
CHECK_OBJECT(Nuitka_Cell_GET(par_cls));
tmp_assattr_target_2 = Nuitka_Cell_GET(par_cls);
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[96], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 330;
type_description_1 = "cc";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_79598554e8d08c0e86448987290095e9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_79598554e8d08c0e86448987290095e9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_79598554e8d08c0e86448987290095e9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_79598554e8d08c0e86448987290095e9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_79598554e8d08c0e86448987290095e9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_79598554e8d08c0e86448987290095e9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_79598554e8d08c0e86448987290095e9,
type_description_1,
par_cls,
var_io_loop
);
// Release cached frame if used for exception.
if (frame_79598554e8d08c0e86448987290095e9 == cache_frame_79598554e8d08c0e86448987290095e9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_79598554e8d08c0e86448987290095e9);
cache_frame_79598554e8d08c0e86448987290095e9 = NULL;
}
assertFrameObject(frame_79598554e8d08c0e86448987290095e9);
// 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;
CHECK_OBJECT(var_io_loop);
Py_DECREF(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:
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
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_cls);
Py_DECREF(par_cls);
// 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$process$$$function__8_initialize$$$function__1_lambda(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_sig = python_pars[0];
PyObject *par_frame = python_pars[1];
struct Nuitka_FrameObject *frame_32d0828c818e052d728fe82cbff6d62a;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *tmp_return_value = NULL;
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_32d0828c818e052d728fe82cbff6d62a = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_32d0828c818e052d728fe82cbff6d62a)) {
Py_XDECREF(cache_frame_32d0828c818e052d728fe82cbff6d62a);
#if _DEBUG_REFCOUNTS
if (cache_frame_32d0828c818e052d728fe82cbff6d62a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_32d0828c818e052d728fe82cbff6d62a = MAKE_FUNCTION_FRAME(codeobj_32d0828c818e052d728fe82cbff6d62a, module_tornado$process, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_32d0828c818e052d728fe82cbff6d62a->m_type_description == NULL);
frame_32d0828c818e052d728fe82cbff6d62a = cache_frame_32d0828c818e052d728fe82cbff6d62a;
// Push the new frame as the currently active one.
pushFrameStack(frame_32d0828c818e052d728fe82cbff6d62a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_32d0828c818e052d728fe82cbff6d62a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[55]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 328;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(self->m_closure[1]);
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[103]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 328;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[104]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 328;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[105]);
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 = 328;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
frame_32d0828c818e052d728fe82cbff6d62a->m_frame.f_lineno = 328;
tmp_return_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 328;
type_description_1 = "oocc";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_32d0828c818e052d728fe82cbff6d62a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_32d0828c818e052d728fe82cbff6d62a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_32d0828c818e052d728fe82cbff6d62a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_32d0828c818e052d728fe82cbff6d62a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_32d0828c818e052d728fe82cbff6d62a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_32d0828c818e052d728fe82cbff6d62a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_32d0828c818e052d728fe82cbff6d62a,
type_description_1,
par_sig,
par_frame,
self->m_closure[1],
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_32d0828c818e052d728fe82cbff6d62a == cache_frame_32d0828c818e052d728fe82cbff6d62a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_32d0828c818e052d728fe82cbff6d62a);
cache_frame_32d0828c818e052d728fe82cbff6d62a = NULL;
}
assertFrameObject(frame_32d0828c818e052d728fe82cbff6d62a);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto function_exception_exit;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_sig);
Py_DECREF(par_sig);
CHECK_OBJECT(par_frame);
Py_DECREF(par_frame);
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_sig);
Py_DECREF(par_sig);
CHECK_OBJECT(par_frame);
Py_DECREF(par_frame);
// 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$process$$$function__9_uninitialize(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_cls = python_pars[0];
struct Nuitka_FrameObject *frame_b33d6d11b2518facecea0f14862fd781;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_b33d6d11b2518facecea0f14862fd781 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_b33d6d11b2518facecea0f14862fd781)) {
Py_XDECREF(cache_frame_b33d6d11b2518facecea0f14862fd781);
#if _DEBUG_REFCOUNTS
if (cache_frame_b33d6d11b2518facecea0f14862fd781 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b33d6d11b2518facecea0f14862fd781 = MAKE_FUNCTION_FRAME(codeobj_b33d6d11b2518facecea0f14862fd781, module_tornado$process, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b33d6d11b2518facecea0f14862fd781->m_type_description == NULL);
frame_b33d6d11b2518facecea0f14862fd781 = cache_frame_b33d6d11b2518facecea0f14862fd781;
// Push the new frame as the currently active one.
pushFrameStack(frame_b33d6d11b2518facecea0f14862fd781);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b33d6d11b2518facecea0f14862fd781) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_cls);
tmp_expression_value_1 = par_cls;
tmp_operand_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[96]);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 335;
type_description_1 = "o";
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 = 335;
type_description_1 = "o";
goto frame_exception_exit_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 frame_return_exit_1;
branch_no_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_4;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[97]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[97]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 337;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[97]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 337;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[97]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[97]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 337;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[98]);
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 = 337;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_cls);
tmp_expression_value_4 = par_cls;
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[101]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
exception_lineno = 337;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_b33d6d11b2518facecea0f14862fd781->m_frame.f_lineno = 337;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 337;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_False;
CHECK_OBJECT(par_cls);
tmp_assattr_target_1 = par_cls;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[96], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 338;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b33d6d11b2518facecea0f14862fd781);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b33d6d11b2518facecea0f14862fd781);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b33d6d11b2518facecea0f14862fd781);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b33d6d11b2518facecea0f14862fd781, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b33d6d11b2518facecea0f14862fd781->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b33d6d11b2518facecea0f14862fd781, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b33d6d11b2518facecea0f14862fd781,
type_description_1,
par_cls
);
// Release cached frame if used for exception.
if (frame_b33d6d11b2518facecea0f14862fd781 == cache_frame_b33d6d11b2518facecea0f14862fd781) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b33d6d11b2518facecea0f14862fd781);
cache_frame_b33d6d11b2518facecea0f14862fd781 = NULL;
}
assertFrameObject(frame_b33d6d11b2518facecea0f14862fd781);
// 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_cls);
Py_DECREF(par_cls);
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_cls);
Py_DECREF(par_cls);
// 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$process$$$function__10__cleanup(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_cls = python_pars[0];
PyObject *var_pid = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_8d3030c66b2dd9662f6db099454e335e;
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;
static struct Nuitka_FrameObject *cache_frame_8d3030c66b2dd9662f6db099454e335e = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_8d3030c66b2dd9662f6db099454e335e)) {
Py_XDECREF(cache_frame_8d3030c66b2dd9662f6db099454e335e);
#if _DEBUG_REFCOUNTS
if (cache_frame_8d3030c66b2dd9662f6db099454e335e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8d3030c66b2dd9662f6db099454e335e = MAKE_FUNCTION_FRAME(codeobj_8d3030c66b2dd9662f6db099454e335e, module_tornado$process, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_8d3030c66b2dd9662f6db099454e335e->m_type_description == NULL);
frame_8d3030c66b2dd9662f6db099454e335e = cache_frame_8d3030c66b2dd9662f6db099454e335e;
// Push the new frame as the currently active one.
pushFrameStack(frame_8d3030c66b2dd9662f6db099454e335e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8d3030c66b2dd9662f6db099454e335e) == 2); // Frame stack
// Framed code:
{
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;
CHECK_OBJECT(par_cls);
tmp_expression_value_2 = par_cls;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[81]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 342;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[107]);
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 = 342;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_8d3030c66b2dd9662f6db099454e335e->m_frame.f_lineno = 342;
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 = 342;
type_description_1 = "oo";
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 = 342;
type_description_1 = "oo";
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 = "oo";
exception_lineno = 342;
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_pid;
var_pid = tmp_assign_source_3;
Py_INCREF(var_pid);
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
if (par_cls == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[104]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 343;
type_description_1 = "oo";
goto try_except_handler_2;
}
tmp_called_instance_1 = par_cls;
CHECK_OBJECT(var_pid);
tmp_args_element_value_1 = var_pid;
frame_8d3030c66b2dd9662f6db099454e335e->m_frame.f_lineno = 343;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[82], 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 = 343;
type_description_1 = "oo";
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 = 342;
type_description_1 = "oo";
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:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8d3030c66b2dd9662f6db099454e335e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8d3030c66b2dd9662f6db099454e335e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8d3030c66b2dd9662f6db099454e335e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8d3030c66b2dd9662f6db099454e335e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8d3030c66b2dd9662f6db099454e335e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8d3030c66b2dd9662f6db099454e335e,
type_description_1,
par_cls,
var_pid
);
// Release cached frame if used for exception.
if (frame_8d3030c66b2dd9662f6db099454e335e == cache_frame_8d3030c66b2dd9662f6db099454e335e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8d3030c66b2dd9662f6db099454e335e);
cache_frame_8d3030c66b2dd9662f6db099454e335e = NULL;
}
assertFrameObject(frame_8d3030c66b2dd9662f6db099454e335e);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_pid);
var_pid = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_pid);
var_pid = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
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_cls);
Py_DECREF(par_cls);
// 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$process$$$function__11__try_cleanup_process(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_cls = python_pars[0];
PyObject *par_pid = python_pars[1];
PyObject *var_ret_pid = NULL;
PyObject *var_status = NULL;
PyObject *var_subproc = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_51a3e24a43968a4a8100da39bcdf332e;
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_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *tmp_return_value = NULL;
bool tmp_result;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_51a3e24a43968a4a8100da39bcdf332e = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_51a3e24a43968a4a8100da39bcdf332e)) {
Py_XDECREF(cache_frame_51a3e24a43968a4a8100da39bcdf332e);
#if _DEBUG_REFCOUNTS
if (cache_frame_51a3e24a43968a4a8100da39bcdf332e == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_51a3e24a43968a4a8100da39bcdf332e = MAKE_FUNCTION_FRAME(codeobj_51a3e24a43968a4a8100da39bcdf332e, module_tornado$process, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_51a3e24a43968a4a8100da39bcdf332e->m_type_description == NULL);
frame_51a3e24a43968a4a8100da39bcdf332e = cache_frame_51a3e24a43968a4a8100da39bcdf332e;
// Push the new frame as the currently active one.
pushFrameStack(frame_51a3e24a43968a4a8100da39bcdf332e);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_51a3e24a43968a4a8100da39bcdf332e) == 2); // Frame stack
// Framed code:
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_2;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
assert(!(tmp_expression_value_1 == NULL));
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[108]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
CHECK_OBJECT(par_pid);
tmp_args_element_value_1 = par_pid;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
assert(!(tmp_expression_value_2 == NULL));
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[109]);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 348;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
frame_51a3e24a43968a4a8100da39bcdf332e->m_frame.f_lineno = 348;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_1 = "ooooo";
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_2 == 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 = "ooooo";
exception_lineno = 348;
goto try_except_handler_4;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_3 == 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 = "ooooo";
exception_lineno = 348;
goto try_except_handler_4;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_3;
}
{
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 = "ooooo";
exception_lineno = 348;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[34];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooo";
exception_lineno = 348;
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
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_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_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_3;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_2;
// End of try:
try_end_2:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
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_51a3e24a43968a4a8100da39bcdf332e, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_51a3e24a43968a4a8100da39bcdf332e, 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_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_ChildProcessError;
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_5;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 347;
}
if (exception_tb && exception_tb->tb_frame == &frame_51a3e24a43968a4a8100da39bcdf332e->m_frame) frame_51a3e24a43968a4a8100da39bcdf332e->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooo";
goto try_except_handler_5;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_5:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception 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 frame_exception_exit_1;
// End of try:
// End of try:
try_end_3:;
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_4;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_4 = tmp_tuple_unpack_1__element_1;
assert(var_ret_pid == NULL);
Py_INCREF(tmp_assign_source_4);
var_ret_pid = tmp_assign_source_4;
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_5 = tmp_tuple_unpack_1__element_2;
assert(var_status == NULL);
Py_INCREF(tmp_assign_source_5);
var_status = tmp_assign_source_5;
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(var_ret_pid);
tmp_cmp_expr_left_2 = var_ret_pid;
tmp_cmp_expr_right_2 = mod_consts[14];
tmp_condition_result_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 351;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
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:;
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_1;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(var_ret_pid);
tmp_cmp_expr_left_3 = var_ret_pid;
CHECK_OBJECT(par_pid);
tmp_cmp_expr_right_3 = par_pid;
tmp_operand_value_1 = RICH_COMPARE_EQ_OBJECT_OBJECT_OBJECT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 353;
type_description_1 = "ooooo";
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 = 353;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
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:;
{
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 = 353;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
branch_no_3:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_cls);
tmp_expression_value_4 = par_cls;
tmp_expression_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[81]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 354;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[35]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 354;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_pid);
tmp_args_element_value_3 = par_pid;
frame_51a3e24a43968a4a8100da39bcdf332e->m_frame.f_lineno = 354;
tmp_assign_source_6 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 354;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_subproc == NULL);
var_subproc = tmp_assign_source_6;
}
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(var_subproc);
tmp_expression_value_6 = var_subproc;
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[55]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 355;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[103]);
Py_DECREF(tmp_expression_value_5);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 355;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_subproc);
tmp_expression_value_7 = var_subproc;
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[110]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 355;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_status);
tmp_args_element_value_5 = var_status;
frame_51a3e24a43968a4a8100da39bcdf332e->m_frame.f_lineno = 355;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 355;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_51a3e24a43968a4a8100da39bcdf332e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_51a3e24a43968a4a8100da39bcdf332e);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_51a3e24a43968a4a8100da39bcdf332e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_51a3e24a43968a4a8100da39bcdf332e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_51a3e24a43968a4a8100da39bcdf332e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_51a3e24a43968a4a8100da39bcdf332e, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_51a3e24a43968a4a8100da39bcdf332e,
type_description_1,
par_cls,
par_pid,
var_ret_pid,
var_status,
var_subproc
);
// Release cached frame if used for exception.
if (frame_51a3e24a43968a4a8100da39bcdf332e == cache_frame_51a3e24a43968a4a8100da39bcdf332e) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_51a3e24a43968a4a8100da39bcdf332e);
cache_frame_51a3e24a43968a4a8100da39bcdf332e = NULL;
}
assertFrameObject(frame_51a3e24a43968a4a8100da39bcdf332e);
// 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_ret_pid);
var_ret_pid = NULL;
Py_XDECREF(var_status);
var_status = NULL;
Py_XDECREF(var_subproc);
var_subproc = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_ret_pid);
var_ret_pid = NULL;
Py_XDECREF(var_status);
var_status = NULL;
Py_XDECREF(var_subproc);
var_subproc = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
CHECK_OBJECT(par_pid);
Py_DECREF(par_pid);
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_cls);
Py_DECREF(par_cls);
CHECK_OBJECT(par_pid);
Py_DECREF(par_pid);
// 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$process$$$function__12__set_returncode(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_self = python_pars[0];
PyObject *par_status = python_pars[1];
PyObject *var_callback = NULL;
struct Nuitka_FrameObject *frame_2b286728a43ad26261f72fe27f1ac58d;
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;
int tmp_res;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_2b286728a43ad26261f72fe27f1ac58d = 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_2b286728a43ad26261f72fe27f1ac58d)) {
Py_XDECREF(cache_frame_2b286728a43ad26261f72fe27f1ac58d);
#if _DEBUG_REFCOUNTS
if (cache_frame_2b286728a43ad26261f72fe27f1ac58d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2b286728a43ad26261f72fe27f1ac58d = MAKE_FUNCTION_FRAME(codeobj_2b286728a43ad26261f72fe27f1ac58d, module_tornado$process, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2b286728a43ad26261f72fe27f1ac58d->m_type_description == NULL);
frame_2b286728a43ad26261f72fe27f1ac58d = cache_frame_2b286728a43ad26261f72fe27f1ac58d;
// Push the new frame as the currently active one.
pushFrameStack(frame_2b286728a43ad26261f72fe27f1ac58d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2b286728a43ad26261f72fe27f1ac58d) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
int tmp_truth_name_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
assert(!(tmp_called_instance_1 == NULL));
CHECK_OBJECT(par_status);
tmp_args_element_value_1 = par_status;
frame_2b286728a43ad26261f72fe27f1ac58d->m_frame.f_lineno = 361;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[36], 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 = 361;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 361;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_assattr_target_1;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_status);
tmp_args_element_value_2 = par_status;
frame_2b286728a43ad26261f72fe27f1ac58d->m_frame.f_lineno = 362;
tmp_operand_value_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[39], tmp_args_element_value_2);
if (tmp_operand_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_assattr_value_1 = UNARY_OPERATION(PyNumber_Negative, tmp_operand_value_1);
Py_DECREF(tmp_operand_value_1);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[79], tmp_assattr_value_1);
Py_DECREF(tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 362;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_called_instance_3;
PyObject *tmp_args_element_value_3;
tmp_called_instance_3 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_3 == NULL)) {
tmp_called_instance_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_status);
tmp_args_element_value_3 = par_status;
frame_2b286728a43ad26261f72fe27f1ac58d->m_frame.f_lineno = 364;
tmp_operand_value_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[111], tmp_args_element_value_3);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
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_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 364;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_called_instance_4;
PyObject *tmp_args_element_value_4;
PyObject *tmp_assattr_target_2;
tmp_called_instance_4 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[3]);
if (unlikely(tmp_called_instance_4 == NULL)) {
tmp_called_instance_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[3]);
}
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_status);
tmp_args_element_value_4 = par_status;
frame_2b286728a43ad26261f72fe27f1ac58d->m_frame.f_lineno = 365;
tmp_assattr_value_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[40], tmp_args_element_value_4);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[79], tmp_assattr_value_2);
Py_DECREF(tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 365;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
branch_end_1:;
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_expression_value_1;
PyObject *tmp_assattr_target_3;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_assattr_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[79]);
if (tmp_assattr_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 369;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_assattr_target_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[73]);
if (tmp_assattr_target_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_assattr_value_3);
exception_lineno = 369;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[79], tmp_assattr_value_3);
Py_DECREF(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 = 369;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_expression_value_3;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_2;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[78]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 370;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_attribute_value_1);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_1);
exception_lineno = 370;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[78]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 371;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_callback == NULL);
var_callback = tmp_assign_source_1;
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_value_4 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[78], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 372;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_5;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(var_callback);
tmp_called_value_1 = var_callback;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_args_element_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[79]);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_2b286728a43ad26261f72fe27f1ac58d->m_frame.f_lineno = 373;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_5);
Py_DECREF(tmp_args_element_value_5);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 373;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2b286728a43ad26261f72fe27f1ac58d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2b286728a43ad26261f72fe27f1ac58d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2b286728a43ad26261f72fe27f1ac58d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2b286728a43ad26261f72fe27f1ac58d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2b286728a43ad26261f72fe27f1ac58d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2b286728a43ad26261f72fe27f1ac58d,
type_description_1,
par_self,
par_status,
var_callback
);
// Release cached frame if used for exception.
if (frame_2b286728a43ad26261f72fe27f1ac58d == cache_frame_2b286728a43ad26261f72fe27f1ac58d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2b286728a43ad26261f72fe27f1ac58d);
cache_frame_2b286728a43ad26261f72fe27f1ac58d = NULL;
}
assertFrameObject(frame_2b286728a43ad26261f72fe27f1ac58d);
// 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_callback);
var_callback = 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_callback);
var_callback = 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_status);
Py_DECREF(par_status);
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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_status);
Py_DECREF(par_status);
// 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$process$$$function__10__cleanup(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__10__cleanup,
mod_consts[105],
#if PYTHON_VERSION >= 0x300
mod_consts[166],
#endif
codeobj_8d3030c66b2dd9662f6db099454e335e,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$process,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$process$$$function__11__try_cleanup_process(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__11__try_cleanup_process,
mod_consts[82],
#if PYTHON_VERSION >= 0x300
mod_consts[167],
#endif
codeobj_51a3e24a43968a4a8100da39bcdf332e,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$process,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$process$$$function__12__set_returncode(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__12__set_returncode,
mod_consts[110],
#if PYTHON_VERSION >= 0x300
mod_consts[169],
#endif
codeobj_2b286728a43ad26261f72fe27f1ac58d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$process,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$process$$$function__1_cpu_count(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__1_cpu_count,
mod_consts[2],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_7f83e1b629838ae3a1ee730ed1f04615,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$process,
mod_consts[10],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$process$$$function__2__reseed_random(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__2__reseed_random,
mod_consts[50],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_6fa6996acb4b75b0681239868b2f3259,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$process,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$process$$$function__3_fork_processes(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__3_fork_processes,
mod_consts[138],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_7de70bc13d64e911439c2d538a502f45,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$process,
mod_consts[48],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$process$$$function__3_fork_processes$$$function__1_start_child(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__3_fork_processes$$$function__1_start_child,
mod_consts[30],
#if PYTHON_VERSION >= 0x300
mod_consts[31],
#endif
codeobj_8fb2844e3809a80140238d4f4929034b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$process,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$process$$$function__4_task_id(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__4_task_id,
mod_consts[139],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_75d05e8652f1e55f8e94cd07fdeda89b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$process,
mod_consts[51],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$process$$$function__5___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__5___init__,
mod_consts[153],
#if PYTHON_VERSION >= 0x300
mod_consts[154],
#endif
codeobj_d91b1e165ed391fca2c159bf233b5814,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$process,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$process$$$function__6_set_exit_callback(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__6_set_exit_callback,
mod_consts[88],
#if PYTHON_VERSION >= 0x300
mod_consts[156],
#endif
codeobj_f35da292d202ace9ef13bf47a96904af,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$process,
mod_consts[83],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$process$$$function__7_wait_for_exit(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__7_wait_for_exit,
mod_consts[160],
#if PYTHON_VERSION >= 0x300
mod_consts[161],
#endif
codeobj_89c77883746f54d8cd23160f8e44509b,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$process,
mod_consts[89],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$process$$$function__7_wait_for_exit$$$function__1_callback(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__7_wait_for_exit$$$function__1_callback,
mod_consts[86],
#if PYTHON_VERSION >= 0x300
mod_consts[87],
#endif
codeobj_ec2ed076860fb2e56e2955927a3e159a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$process,
NULL,
closure,
2
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$process$$$function__8_initialize(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__8_initialize,
mod_consts[80],
#if PYTHON_VERSION >= 0x300
mod_consts[163],
#endif
codeobj_79598554e8d08c0e86448987290095e9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$process,
mod_consts[102],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$process$$$function__8_initialize$$$function__1_lambda(struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__8_initialize$$$function__1_lambda,
mod_consts[99],
#if PYTHON_VERSION >= 0x300
mod_consts[100],
#endif
codeobj_32d0828c818e052d728fe82cbff6d62a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$process,
NULL,
closure,
2
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$process$$$function__9_uninitialize(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$process$$$function__9_uninitialize,
mod_consts[164],
#if PYTHON_VERSION >= 0x300
mod_consts[165],
#endif
codeobj_b33d6d11b2518facecea0f14862fd781,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$process,
mod_consts[106],
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$process[] = {
impl_tornado$process$$$function__3_fork_processes$$$function__1_start_child,
impl_tornado$process$$$function__7_wait_for_exit$$$function__1_callback,
impl_tornado$process$$$function__8_initialize$$$function__1_lambda,
impl_tornado$process$$$function__1_cpu_count,
impl_tornado$process$$$function__2__reseed_random,
impl_tornado$process$$$function__3_fork_processes,
impl_tornado$process$$$function__4_task_id,
impl_tornado$process$$$function__5___init__,
impl_tornado$process$$$function__6_set_exit_callback,
impl_tornado$process$$$function__7_wait_for_exit,
impl_tornado$process$$$function__8_initialize,
impl_tornado$process$$$function__9_uninitialize,
impl_tornado$process$$$function__10__cleanup,
impl_tornado$process$$$function__11__try_cleanup_process,
impl_tornado$process$$$function__12__set_returncode,
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$process;
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$process) || 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$process[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$process,
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$process(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("tornado.process");
// Store the module for future use.
module_tornado$process = 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.process: 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.process: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("tornado.process: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in inittornado$process\n");
moduledict_tornado$process = MODULE_DICT(module_tornado$process);
#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$process,
(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$process,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[188]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_tornado$process,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$process, (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$process,
(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$process, (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$process,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_tornado$process);
// 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$process, (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$process, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_tornado$process, (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$process, (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$process);
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$process, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *outline_0_var___class__ = NULL;
PyObject *tmp_class_creation_1__bases = NULL;
PyObject *tmp_class_creation_1__class_decl_dict = NULL;
PyObject *tmp_class_creation_1__metaclass = NULL;
PyObject *tmp_class_creation_1__prepared = NULL;
PyObject *tmp_import_from_1__module = NULL;
PyObject *tmp_import_from_2__module = NULL;
struct Nuitka_FrameObject *frame_2eaa7855d6f418ad7753622cfcaf586e;
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;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
int tmp_res;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_tornado$process$$$class__1_Subprocess_187 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_c239faad9e37ce3432a3e47d00ad2db4_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_c239faad9e37ce3432a3e47d00ad2db4_2 = 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;
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;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[112];
UPDATE_STRING_DICT0(moduledict_tornado$process, (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$process, (Nuitka_StringObject *)mod_consts[115], tmp_assign_source_2);
}
// Frame without reuse.
frame_2eaa7855d6f418ad7753622cfcaf586e = MAKE_MODULE_FRAME(codeobj_2eaa7855d6f418ad7753622cfcaf586e, module_tornado$process);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_2eaa7855d6f418ad7753622cfcaf586e);
assert(Py_REFCNT(frame_2eaa7855d6f418ad7753622cfcaf586e) == 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$process, (Nuitka_StringObject *)mod_consts[116]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[116]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[117], 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$process, (Nuitka_StringObject *)mod_consts[116]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[116]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[118], 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$process, (Nuitka_StringObject *)mod_consts[119], 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$process, (Nuitka_StringObject *)mod_consts[3], tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
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[0];
tmp_globals_arg_value_1 = (PyObject *)moduledict_tornado$process;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[14];
frame_2eaa7855d6f418ad7753622cfcaf586e->m_frame.f_lineno = 21;
tmp_assign_source_5 = 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_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 21;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
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[97];
tmp_globals_arg_value_2 = (PyObject *)moduledict_tornado$process;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[14];
frame_2eaa7855d6f418ad7753622cfcaf586e->m_frame.f_lineno = 22;
tmp_assign_source_6 = 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_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[97], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
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[71];
tmp_globals_arg_value_3 = (PyObject *)moduledict_tornado$process;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = Py_None;
tmp_level_value_3 = mod_consts[14];
frame_2eaa7855d6f418ad7753622cfcaf586e->m_frame.f_lineno = 23;
tmp_assign_source_7 = 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_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 23;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[71], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
tmp_assign_source_8 = IMPORT_HARD_SYS();
assert(!(tmp_assign_source_8 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[12], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
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[19];
tmp_globals_arg_value_4 = (PyObject *)moduledict_tornado$process;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = Py_None;
tmp_level_value_4 = mod_consts[14];
frame_2eaa7855d6f418ad7753622cfcaf586e->m_frame.f_lineno = 25;
tmp_assign_source_9 = IMPORT_MODULE5(tmp_name_value_4, tmp_globals_arg_value_4, tmp_locals_arg_value_4, tmp_fromlist_value_4, tmp_level_value_4);
assert(!(tmp_assign_source_9 == NULL));
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[19], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_import_name_from_1;
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[120];
tmp_globals_arg_value_5 = (PyObject *)moduledict_tornado$process;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = mod_consts[121];
tmp_level_value_5 = mod_consts[14];
frame_2eaa7855d6f418ad7753622cfcaf586e->m_frame.f_lineno = 27;
tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_5, tmp_globals_arg_value_5, tmp_locals_arg_value_5, tmp_fromlist_value_5, tmp_level_value_5);
assert(!(tmp_import_name_from_1 == NULL));
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_10 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_tornado$process,
mod_consts[15],
mod_consts[14]
);
} else {
tmp_assign_source_10 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[15]);
}
Py_DECREF(tmp_import_name_from_1);
assert(!(tmp_assign_source_10 == NULL));
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[15], tmp_assign_source_10);
}
{
PyObject *tmp_assign_source_11;
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[122];
tmp_globals_arg_value_6 = (PyObject *)moduledict_tornado$process;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = mod_consts[123];
tmp_level_value_6 = mod_consts[14];
frame_2eaa7855d6f418ad7753622cfcaf586e->m_frame.f_lineno = 29;
tmp_assign_source_11 = 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_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto frame_exception_exit_1;
}
assert(tmp_import_from_1__module == NULL);
tmp_import_from_1__module = tmp_assign_source_11;
}
// Tried code:
{
PyObject *tmp_assign_source_12;
PyObject *tmp_import_name_from_2;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_2 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_2)) {
tmp_assign_source_12 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_tornado$process,
mod_consts[84],
mod_consts[14]
);
} else {
tmp_assign_source_12 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[84]);
}
if (tmp_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[84], tmp_assign_source_12);
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_import_name_from_3;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_3 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_tornado$process,
mod_consts[95],
mod_consts[14]
);
} else {
tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[95]);
}
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[95], tmp_assign_source_13);
}
{
PyObject *tmp_assign_source_14;
PyObject *tmp_import_name_from_4;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_4 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_14 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_tornado$process,
mod_consts[91],
mod_consts[14]
);
} else {
tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[91]);
}
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[91], tmp_assign_source_14);
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
{
PyObject *tmp_assign_source_15;
PyObject *tmp_import_name_from_5;
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[124];
tmp_globals_arg_value_7 = (PyObject *)moduledict_tornado$process;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = mod_consts[125];
tmp_level_value_7 = mod_consts[14];
frame_2eaa7855d6f418ad7753622cfcaf586e->m_frame.f_lineno = 34;
tmp_import_name_from_5 = 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_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 34;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_tornado$process,
mod_consts[52],
mod_consts[14]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[52]);
}
Py_DECREF(tmp_import_name_from_5);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 34;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[52], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_6;
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[126];
tmp_globals_arg_value_8 = (PyObject *)moduledict_tornado$process;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = mod_consts[127];
tmp_level_value_8 = mod_consts[14];
frame_2eaa7855d6f418ad7753622cfcaf586e->m_frame.f_lineno = 35;
tmp_import_name_from_6 = 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_import_name_from_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_tornado$process,
mod_consts[62],
mod_consts[14]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[62]);
}
Py_DECREF(tmp_import_name_from_6);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[62], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_import_name_from_7;
PyObject *tmp_name_value_9;
PyObject *tmp_globals_arg_value_9;
PyObject *tmp_locals_arg_value_9;
PyObject *tmp_fromlist_value_9;
PyObject *tmp_level_value_9;
tmp_name_value_9 = mod_consts[128];
tmp_globals_arg_value_9 = (PyObject *)moduledict_tornado$process;
tmp_locals_arg_value_9 = Py_None;
tmp_fromlist_value_9 = mod_consts[129];
tmp_level_value_9 = mod_consts[14];
frame_2eaa7855d6f418ad7753622cfcaf586e->m_frame.f_lineno = 36;
tmp_import_name_from_7 = IMPORT_MODULE5(tmp_name_value_9, tmp_globals_arg_value_9, tmp_locals_arg_value_9, tmp_fromlist_value_9, tmp_level_value_9);
if (tmp_import_name_from_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 36;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_7)) {
tmp_assign_source_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_tornado$process,
mod_consts[7],
mod_consts[14]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[7]);
}
Py_DECREF(tmp_import_name_from_7);
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 36;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[7], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
tmp_assign_source_18 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_18 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[130], tmp_assign_source_18);
}
{
PyObject *tmp_assign_source_19;
tmp_assign_source_19 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_19 == NULL));
assert(tmp_import_from_2__module == NULL);
Py_INCREF(tmp_assign_source_19);
tmp_import_from_2__module = tmp_assign_source_19;
}
// Tried code:
{
PyObject *tmp_assign_source_20;
PyObject *tmp_import_name_from_8;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_8 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_20 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_tornado$process,
mod_consts[29],
mod_consts[14]
);
} else {
tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[29]);
}
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[29], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_import_name_from_9;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_9 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_9)) {
tmp_assign_source_21 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_tornado$process,
mod_consts[131],
mod_consts[14]
);
} else {
tmp_assign_source_21 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[131]);
}
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[131], tmp_assign_source_21);
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_import_name_from_10;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_10 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_10)) {
tmp_assign_source_22 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_10,
(PyObject *)moduledict_tornado$process,
mod_consts[132],
mod_consts[14]
);
} else {
tmp_assign_source_22 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[132]);
}
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[132], tmp_assign_source_22);
}
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;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = 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:;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
{
PyObject *tmp_assign_source_23;
PyObject *tmp_expression_value_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[71]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[71]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 45;
goto frame_exception_exit_1;
}
tmp_assign_source_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[93]);
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 45;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[93], tmp_assign_source_23);
}
{
PyObject *tmp_assign_source_24;
PyObject *tmp_annotations_1;
tmp_annotations_1 = DICT_COPY(mod_consts[133]);
tmp_assign_source_24 = MAKE_FUNCTION_tornado$process$$$function__1_cpu_count(tmp_annotations_1);
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[2], tmp_assign_source_24);
}
{
PyObject *tmp_assign_source_25;
PyObject *tmp_annotations_2;
tmp_annotations_2 = DICT_COPY(mod_consts[134]);
tmp_assign_source_25 = MAKE_FUNCTION_tornado$process$$$function__2__reseed_random(tmp_annotations_2);
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[50], tmp_assign_source_25);
}
{
PyObject *tmp_assign_source_26;
tmp_assign_source_26 = Py_None;
UPDATE_STRING_DICT0(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[24], tmp_assign_source_26);
}
{
PyObject *tmp_assign_source_27;
PyObject *tmp_defaults_1;
PyObject *tmp_annotations_3;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
tmp_defaults_1 = mod_consts[135];
tmp_dict_key_1 = mod_consts[136];
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 83;
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = (PyObject *)&PyLong_Type;
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_1);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 83;
goto frame_exception_exit_1;
}
tmp_annotations_3 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_2;
tmp_res = PyDict_SetItem(tmp_annotations_3, 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_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 83;
goto dict_build_exception_1;
}
tmp_subscript_value_2 = (PyObject *)&PyLong_Type;
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_2);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 83;
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[28];
tmp_dict_value_1 = (PyObject *)&PyLong_Type;
tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_annotations_3);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
Py_INCREF(tmp_defaults_1);
tmp_assign_source_27 = MAKE_FUNCTION_tornado$process$$$function__3_fork_processes(tmp_defaults_1, tmp_annotations_3);
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[138], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
PyObject *tmp_annotations_4;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_3;
tmp_dict_key_2 = mod_consts[28];
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[29]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[29]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
goto frame_exception_exit_1;
}
tmp_subscript_value_3 = (PyObject *)&PyLong_Type;
tmp_dict_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_4, tmp_subscript_value_3);
if (tmp_dict_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
goto frame_exception_exit_1;
}
tmp_annotations_4 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_4, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_assign_source_28 = MAKE_FUNCTION_tornado$process$$$function__4_task_id(tmp_annotations_4);
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[139], tmp_assign_source_28);
}
// Tried code:
{
PyObject *tmp_assign_source_29;
PyObject *tmp_dircall_arg1_1;
tmp_dircall_arg1_1 = mod_consts[140];
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_29 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_29;
}
{
PyObject *tmp_assign_source_30;
tmp_assign_source_30 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_30;
}
{
PyObject *tmp_assign_source_31;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_1;
PyObject *tmp_key_value_1;
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_dict_arg_value_2;
PyObject *tmp_key_value_2;
nuitka_bool tmp_condition_result_2;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_4;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[141];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_1 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_1, tmp_key_value_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_2 = tmp_class_creation_1__class_decl_dict;
tmp_key_value_2 = mod_consts[141];
tmp_metaclass_value_1 = DICT_GET_ITEM0(tmp_dict_arg_value_2, tmp_key_value_2);
if (tmp_metaclass_value_1 == NULL) {
tmp_metaclass_value_1 = Py_None;
}
assert(!(tmp_metaclass_value_1 == NULL));
Py_INCREF(tmp_metaclass_value_1);
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_class_creation_1__bases);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto condexpr_true_2;
} else {
goto condexpr_false_2;
}
condexpr_true_2:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_expression_value_5 = tmp_class_creation_1__bases;
tmp_subscript_value_4 = mod_consts[14];
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_5, tmp_subscript_value_4, 0);
if (tmp_type_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
tmp_metaclass_value_1 = BUILTIN_TYPE1(tmp_type_arg_1);
Py_DECREF(tmp_type_arg_1);
if (tmp_metaclass_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
goto condexpr_end_2;
condexpr_false_2:;
tmp_metaclass_value_1 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_1);
condexpr_end_2:;
condexpr_end_1:;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_bases_value_1 = tmp_class_creation_1__bases;
tmp_assign_source_31 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_31;
}
{
bool tmp_condition_result_3;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[141];
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dict_arg_value_3 = tmp_class_creation_1__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_3, tmp_key_value_3);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = mod_consts[141];
tmp_result = DICT_REMOVE_ITEM(tmp_dictdel_dict, tmp_dictdel_key);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_4;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_6 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_6, mod_consts[142]);
tmp_condition_result_4 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_32;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_7 = tmp_class_creation_1__metaclass;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[142]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
tmp_tuple_element_1 = mod_consts[57];
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_1 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_1);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_1 = tmp_class_creation_1__class_decl_dict;
frame_2eaa7855d6f418ad7753622cfcaf586e->m_frame.f_lineno = 187;
tmp_assign_source_32 = CALL_FUNCTION(tmp_called_value_1, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_value_1);
if (tmp_assign_source_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_32;
}
{
bool tmp_condition_result_5;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_8 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_8, mod_consts[143]);
tmp_operand_value_1 = (tmp_result) ? 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 = 187;
goto try_except_handler_3;
}
tmp_condition_result_5 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_raise_value_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_tuple_element_2;
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_getattr_default_1;
tmp_raise_type_1 = PyExc_TypeError;
tmp_mod_expr_left_1 = mod_consts[144];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[145];
tmp_getattr_default_1 = mod_consts[146];
tmp_tuple_element_2 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_9;
PyObject *tmp_type_arg_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_2);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_expression_value_9 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_9 == NULL));
tmp_tuple_element_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[145]);
Py_DECREF(tmp_expression_value_9);
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_2);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_mod_expr_right_1);
goto try_except_handler_3;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_raise_value_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_raise_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_3;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 187;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_3;
}
branch_no_3:;
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_assign_source_33;
tmp_assign_source_33 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_33;
}
branch_end_2:;
{
PyObject *tmp_assign_source_34;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_tornado$process$$$class__1_Subprocess_187 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[147];
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[148], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_5;
}
tmp_dictset_value = mod_consts[149];
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[113], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_5;
}
tmp_dictset_value = mod_consts[57];
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[150], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_5;
}
if (isFrameUnusable(cache_frame_c239faad9e37ce3432a3e47d00ad2db4_2)) {
Py_XDECREF(cache_frame_c239faad9e37ce3432a3e47d00ad2db4_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_c239faad9e37ce3432a3e47d00ad2db4_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c239faad9e37ce3432a3e47d00ad2db4_2 = MAKE_CLASS_FRAME(codeobj_c239faad9e37ce3432a3e47d00ad2db4, module_tornado$process, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c239faad9e37ce3432a3e47d00ad2db4_2->m_type_description == NULL);
frame_c239faad9e37ce3432a3e47d00ad2db4_2 = cache_frame_c239faad9e37ce3432a3e47d00ad2db4_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_c239faad9e37ce3432a3e47d00ad2db4_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c239faad9e37ce3432a3e47d00ad2db4_2) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_called_value_2;
PyObject *tmp_called_value_3;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[151]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_condition_result_6 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto condexpr_true_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
tmp_called_value_2 = PyObject_GetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[151]);
if (unlikely(tmp_called_value_2 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[151]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 209;
type_description_2 = "o";
goto frame_exception_exit_2;
}
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
type_description_2 = "o";
goto frame_exception_exit_2;
}
frame_c239faad9e37ce3432a3e47d00ad2db4_2->m_frame.f_lineno = 209;
tmp_dictset_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_2);
Py_DECREF(tmp_called_value_2);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_3;
condexpr_false_3:;
tmp_called_value_3 = (PyObject *)&PyBaseObject_Type;
frame_c239faad9e37ce3432a3e47d00ad2db4_2->m_frame.f_lineno = 209;
tmp_dictset_value = CALL_FUNCTION_NO_ARGS(tmp_called_value_3);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
type_description_2 = "o";
goto frame_exception_exit_2;
}
condexpr_end_3:;
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[58], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 209;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
tmp_dictset_value = Py_False;
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[96], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = MAKE_DICT_EMPTY();
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[81], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 212;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dictset_value = Py_None;
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[101], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
type_description_2 = "o";
goto frame_exception_exit_2;
}
{
PyObject *tmp_annotations_5;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
tmp_dict_key_3 = mod_consts[152];
tmp_dict_value_3 = PyObject_GetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[131]);
if (tmp_dict_value_3 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[131]);
if (unlikely(tmp_dict_value_3 == NULL)) {
tmp_dict_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[131]);
}
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 215;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_dict_value_3);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_5 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[63];
tmp_dict_value_3 = PyObject_GetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[131]);
if (tmp_dict_value_3 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[131]);
if (unlikely(tmp_dict_value_3 == NULL)) {
tmp_dict_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[131]);
}
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 215;
type_description_2 = "o";
goto dict_build_exception_2;
}
Py_INCREF(tmp_dict_value_3);
} else {
goto dict_build_exception_2;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[28];
tmp_dict_value_3 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_3, tmp_dict_value_3);
assert(!(tmp_res != 0));
goto dict_build_noexception_2;
// Exception handling pass through code for dict_build:
dict_build_exception_2:;
Py_DECREF(tmp_annotations_5);
goto frame_exception_exit_2;
// Finished with no exception for dict_build:
dict_build_noexception_2:;
tmp_dictset_value = MAKE_FUNCTION_tornado$process$$$function__5___init__(tmp_annotations_5);
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[153], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 215;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_annotations_6;
PyObject *tmp_dict_key_4;
PyObject *tmp_dict_value_4;
PyObject *tmp_expression_value_10;
PyObject *tmp_subscript_value_5;
PyObject *tmp_tuple_element_3;
PyObject *tmp_list_element_1;
tmp_dict_key_4 = mod_consts[86];
tmp_expression_value_10 = PyObject_GetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[132]);
if (tmp_expression_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_10 = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[132]);
if (unlikely(tmp_expression_value_10 == NULL)) {
tmp_expression_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[132]);
}
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 254;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_expression_value_10);
} else {
goto frame_exception_exit_2;
}
}
tmp_list_element_1 = PyObject_GetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[155]);
if (tmp_list_element_1 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_list_element_1 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_list_element_1);
} else {
goto frame_exception_exit_2;
}
}
tmp_tuple_element_3 = MAKE_LIST_EMPTY(1);
PyList_SET_ITEM(tmp_tuple_element_3, 0, tmp_list_element_1);
tmp_subscript_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_5, 0, tmp_tuple_element_3);
tmp_tuple_element_3 = Py_None;
PyTuple_SET_ITEM0(tmp_subscript_value_5, 1, tmp_tuple_element_3);
tmp_dict_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_10, tmp_subscript_value_5);
Py_DECREF(tmp_expression_value_10);
Py_DECREF(tmp_subscript_value_5);
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 254;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_annotations_6 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[28];
tmp_dict_value_4 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_4, tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$process$$$function__6_set_exit_callback(tmp_annotations_6);
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[88], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 254;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_defaults_2;
PyObject *tmp_annotations_7;
PyObject *tmp_dict_key_5;
PyObject *tmp_dict_value_5;
tmp_defaults_2 = mod_consts[157];
tmp_dict_key_5 = mod_consts[90];
tmp_dict_value_5 = PyObject_GetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[158]);
if (tmp_dict_value_5 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_5 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_5);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_7 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_7, tmp_dict_key_5, tmp_dict_value_5);
Py_DECREF(tmp_dict_value_5);
assert(!(tmp_res != 0));
tmp_dict_key_5 = mod_consts[28];
tmp_dict_value_5 = mod_consts[159];
tmp_res = PyDict_SetItem(tmp_annotations_7, tmp_dict_key_5, tmp_dict_value_5);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_2);
tmp_dictset_value = MAKE_FUNCTION_tornado$process$$$function__7_wait_for_exit(tmp_defaults_2, tmp_annotations_7);
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[160], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 276;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
nuitka_bool tmp_condition_result_7;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_1;
PyObject *tmp_annotations_8;
PyObject *tmp_classmethod_arg_1;
PyObject *tmp_annotations_9;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[162]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_condition_result_7 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
tmp_called_value_4 = PyObject_GetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[162]);
if (unlikely(tmp_called_value_4 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[162]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 308;
type_description_2 = "o";
goto frame_exception_exit_2;
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_annotations_8 = DICT_COPY(mod_consts[134]);
tmp_args_element_value_1 = MAKE_FUNCTION_tornado$process$$$function__8_initialize(tmp_annotations_8);
frame_c239faad9e37ce3432a3e47d00ad2db4_2->m_frame.f_lineno = 308;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_1);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 308;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_annotations_9 = DICT_COPY(mod_consts[134]);
tmp_classmethod_arg_1 = MAKE_FUNCTION_tornado$process$$$function__8_initialize(tmp_annotations_9);
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_1);
Py_DECREF(tmp_classmethod_arg_1);
assert(!(tmp_dictset_value == NULL));
condexpr_end_4:;
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[80], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 309;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_2;
PyObject *tmp_annotations_10;
PyObject *tmp_classmethod_arg_2;
PyObject *tmp_annotations_11;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[162]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 332;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_condition_result_8 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto condexpr_true_5;
} else {
goto condexpr_false_5;
}
condexpr_true_5:;
tmp_called_value_5 = PyObject_GetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[162]);
if (unlikely(tmp_called_value_5 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[162]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 332;
type_description_2 = "o";
goto frame_exception_exit_2;
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 332;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_annotations_10 = DICT_COPY(mod_consts[134]);
tmp_args_element_value_2 = MAKE_FUNCTION_tornado$process$$$function__9_uninitialize(tmp_annotations_10);
frame_c239faad9e37ce3432a3e47d00ad2db4_2->m_frame.f_lineno = 332;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_2);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 332;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_5;
condexpr_false_5:;
tmp_annotations_11 = DICT_COPY(mod_consts[134]);
tmp_classmethod_arg_2 = MAKE_FUNCTION_tornado$process$$$function__9_uninitialize(tmp_annotations_11);
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_2);
Py_DECREF(tmp_classmethod_arg_2);
assert(!(tmp_dictset_value == NULL));
condexpr_end_5:;
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[164], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 333;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
nuitka_bool tmp_condition_result_9;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_3;
PyObject *tmp_annotations_12;
PyObject *tmp_classmethod_arg_3;
PyObject *tmp_annotations_13;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[162]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_condition_result_9 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto condexpr_true_6;
} else {
goto condexpr_false_6;
}
condexpr_true_6:;
tmp_called_value_6 = PyObject_GetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[162]);
if (unlikely(tmp_called_value_6 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[162]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 340;
type_description_2 = "o";
goto frame_exception_exit_2;
}
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_annotations_12 = DICT_COPY(mod_consts[134]);
tmp_args_element_value_3 = MAKE_FUNCTION_tornado$process$$$function__10__cleanup(tmp_annotations_12);
frame_c239faad9e37ce3432a3e47d00ad2db4_2->m_frame.f_lineno = 340;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_3);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 340;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_6;
condexpr_false_6:;
tmp_annotations_13 = DICT_COPY(mod_consts[134]);
tmp_classmethod_arg_3 = MAKE_FUNCTION_tornado$process$$$function__10__cleanup(tmp_annotations_13);
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_3);
Py_DECREF(tmp_classmethod_arg_3);
assert(!(tmp_dictset_value == NULL));
condexpr_end_6:;
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[105], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 341;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_called_value_7;
PyObject *tmp_args_element_value_4;
PyObject *tmp_annotations_14;
PyObject *tmp_dict_key_6;
PyObject *tmp_dict_value_6;
PyObject *tmp_classmethod_arg_4;
PyObject *tmp_annotations_15;
PyObject *tmp_dict_key_7;
PyObject *tmp_dict_value_7;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[162]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 345;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_condition_result_10 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto condexpr_true_7;
} else {
goto condexpr_false_7;
}
condexpr_true_7:;
tmp_called_value_7 = PyObject_GetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[162]);
if (unlikely(tmp_called_value_7 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[162]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 345;
type_description_2 = "o";
goto frame_exception_exit_2;
}
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 345;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dict_key_6 = mod_consts[75];
tmp_dict_value_6 = PyObject_GetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[155]);
if (tmp_dict_value_6 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_6 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_6);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_14 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_6, tmp_dict_value_6);
Py_DECREF(tmp_dict_value_6);
assert(!(tmp_res != 0));
tmp_dict_key_6 = mod_consts[28];
tmp_dict_value_6 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_6, tmp_dict_value_6);
assert(!(tmp_res != 0));
tmp_args_element_value_4 = MAKE_FUNCTION_tornado$process$$$function__11__try_cleanup_process(tmp_annotations_14);
frame_c239faad9e37ce3432a3e47d00ad2db4_2->m_frame.f_lineno = 345;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_7, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_4);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 345;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_7;
condexpr_false_7:;
tmp_dict_key_7 = mod_consts[75];
tmp_dict_value_7 = PyObject_GetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[155]);
if (tmp_dict_value_7 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_7 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_7);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_15 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_7, tmp_dict_value_7);
Py_DECREF(tmp_dict_value_7);
assert(!(tmp_res != 0));
tmp_dict_key_7 = mod_consts[28];
tmp_dict_value_7 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_7, tmp_dict_value_7);
assert(!(tmp_res != 0));
tmp_classmethod_arg_4 = MAKE_FUNCTION_tornado$process$$$function__11__try_cleanup_process(tmp_annotations_15);
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_4);
Py_DECREF(tmp_classmethod_arg_4);
assert(!(tmp_dictset_value == NULL));
condexpr_end_7:;
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[82], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 346;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_annotations_16;
PyObject *tmp_dict_key_8;
PyObject *tmp_dict_value_8;
tmp_dict_key_8 = mod_consts[168];
tmp_dict_value_8 = PyObject_GetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[155]);
if (tmp_dict_value_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_8 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_8);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_16 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dict_key_8 = mod_consts[28];
tmp_dict_value_8 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_8, tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$process$$$function__12__set_returncode(tmp_annotations_16);
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[110], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 357;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c239faad9e37ce3432a3e47d00ad2db4_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c239faad9e37ce3432a3e47d00ad2db4_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c239faad9e37ce3432a3e47d00ad2db4_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c239faad9e37ce3432a3e47d00ad2db4_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c239faad9e37ce3432a3e47d00ad2db4_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c239faad9e37ce3432a3e47d00ad2db4_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_c239faad9e37ce3432a3e47d00ad2db4_2 == cache_frame_c239faad9e37ce3432a3e47d00ad2db4_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c239faad9e37ce3432a3e47d00ad2db4_2);
cache_frame_c239faad9e37ce3432a3e47d00ad2db4_2 = NULL;
}
assertFrameObject(frame_c239faad9e37ce3432a3e47d00ad2db4_2);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_1;
frame_no_exception_1:;
goto skip_nested_handling_1;
nested_frame_exit_1:;
goto try_except_handler_5;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_cmp_expr_left_1 = tmp_class_creation_1__bases;
tmp_cmp_expr_right_1 = mod_consts[140];
tmp_condition_result_11 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_11 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_5;
}
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_dictset_value = mod_consts[140];
tmp_res = PyObject_SetItem(locals_tornado$process$$$class__1_Subprocess_187, mod_consts[170], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_5;
}
branch_no_4:;
{
PyObject *tmp_assign_source_35;
PyObject *tmp_called_value_8;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_4;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_8 = tmp_class_creation_1__metaclass;
tmp_tuple_element_4 = mod_consts[57];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_4 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_4);
tmp_tuple_element_4 = locals_tornado$process$$$class__1_Subprocess_187;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_2eaa7855d6f418ad7753622cfcaf586e->m_frame.f_lineno = 187;
tmp_assign_source_35 = CALL_FUNCTION(tmp_called_value_8, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 187;
goto try_except_handler_5;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_35;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_34 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_34);
goto try_return_handler_5;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_5:;
Py_DECREF(locals_tornado$process$$$class__1_Subprocess_187);
locals_tornado$process$$$class__1_Subprocess_187 = NULL;
goto try_return_handler_4;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$process$$$class__1_Subprocess_187);
locals_tornado$process$$$class__1_Subprocess_187 = 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 try_except_handler_4;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_4:;
CHECK_OBJECT(outline_0_var___class__);
Py_DECREF(outline_0_var___class__);
outline_0_var___class__ = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// 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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 187;
goto try_except_handler_3;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_tornado$process, (Nuitka_StringObject *)mod_consts[57], tmp_assign_source_34);
}
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
Py_XDECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
Py_XDECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_2eaa7855d6f418ad7753622cfcaf586e);
#endif
popFrameStack();
goto frame_no_exception_2;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2eaa7855d6f418ad7753622cfcaf586e);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2eaa7855d6f418ad7753622cfcaf586e, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2eaa7855d6f418ad7753622cfcaf586e->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2eaa7855d6f418ad7753622cfcaf586e, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_2:;
CHECK_OBJECT(tmp_class_creation_1__bases);
Py_DECREF(tmp_class_creation_1__bases);
tmp_class_creation_1__bases = NULL;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
Py_DECREF(tmp_class_creation_1__class_decl_dict);
tmp_class_creation_1__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
Py_DECREF(tmp_class_creation_1__metaclass);
tmp_class_creation_1__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_1__prepared);
Py_DECREF(tmp_class_creation_1__prepared);
tmp_class_creation_1__prepared = NULL;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("tornado.process", false);
Py_INCREF(module_tornado$process);
return module_tornado$process;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$process, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("tornado$process", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}