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.util'
* 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$util" 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$util;
PyDictObject *moduledict_tornado$util;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[229];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[229];
#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.util"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 229; 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$util(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 229; 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_edcf3c66b3ebe8e9d6fb17c46d2ca33c;
static PyCodeObject *codeobj_ee62287b968f650e4db318c1251a8562;
static PyCodeObject *codeobj_533938284035b958521dbd34c2cee97c;
static PyCodeObject *codeobj_ad0a5402d2edd7019e4057613206542b;
static PyCodeObject *codeobj_c0034b127ac13076a027128e469216d7;
static PyCodeObject *codeobj_615f4b673a00193d1787b5833f143f17;
static PyCodeObject *codeobj_95494a8d47cd81bfe5999bad2c5480fb;
static PyCodeObject *codeobj_0ee470e863f778650115f3e4300ccf88;
static PyCodeObject *codeobj_2a4ee0e25a9d6ff8e1ca6c53de1825a7;
static PyCodeObject *codeobj_0956acb2609288bf80914f1d3142bb9b;
static PyCodeObject *codeobj_e15e5c513d69f12a047b0ec8189ff623;
static PyCodeObject *codeobj_0fc6fd410856f376b5a61ceaa4cf5713;
static PyCodeObject *codeobj_f0e2b44f49cfc37435887890b6ebccd6;
static PyCodeObject *codeobj_4dc3291e1ca83ac0570e4cad23d93e11;
static PyCodeObject *codeobj_0674ca7b56d35699124cb458beb4bf22;
static PyCodeObject *codeobj_81891c2310f0e511317920362ff967f6;
static PyCodeObject *codeobj_c092edc8266357d82964cfc7429f6ce1;
static PyCodeObject *codeobj_233bae58dbfcf65427b412f6d021ef2d;
static PyCodeObject *codeobj_f782af89e273e19cfaa5d8b26e34562b;
static PyCodeObject *codeobj_090108a7ef5408689ebacfc37dca87a9;
static PyCodeObject *codeobj_048fd1c66769752ea8f27a9a3e1907a9;
static PyCodeObject *codeobj_29de1399d95db5144b94a946b18cbe5f;
static PyCodeObject *codeobj_336f7c67758cfd9ef77acd517e250864;
static PyCodeObject *codeobj_ffbbf3dbe087372f544db1f9c880ec32;
static PyCodeObject *codeobj_edac2374070121dc4a62c2bad8a660f0;
static PyCodeObject *codeobj_c4e5c7d6bca15cb0e412c378ffcbee89;
static PyCodeObject *codeobj_368e52ae1a97a18b0187b92a23baf94c;
static PyCodeObject *codeobj_c6db83e8bd235a76a16d75fb0955265c;
static PyCodeObject *codeobj_7e22a1647f869ab9436a75fde4534f2d;
static PyCodeObject *codeobj_e34928b53e404911f971b9cb7cc432aa;
static PyCodeObject *codeobj_424e70ea3a21d485e013748c7374a102;
static PyCodeObject *codeobj_37f003d956b5929d9e67010bcd034215;
static PyCodeObject *codeobj_ce8354955e64cba1de3718936dc71709;
static PyCodeObject *codeobj_1aedf8b622b6a7efe7be1ff009f7fb6d;
static PyCodeObject *codeobj_b907fca8f413fc519b628c7ffd23af92;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[92]; CHECK_OBJECT(module_filename_obj);
codeobj_edcf3c66b3ebe8e9d6fb17c46d2ca33c = MAKE_CODE_OBJECT(module_filename_obj, 56, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[2], mod_consts[2], mod_consts[203], mod_consts[203], 0, 0, 0);
codeobj_ee62287b968f650e4db318c1251a8562 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[204], mod_consts[204], NULL, NULL, 0, 0, 0);
codeobj_533938284035b958521dbd34c2cee97c = MAKE_CODE_OBJECT(module_filename_obj, 356, CO_NOFREE, mod_consts[179], mod_consts[179], mod_consts[205], NULL, 0, 0, 0);
codeobj_ad0a5402d2edd7019e4057613206542b = MAKE_CODE_OBJECT(module_filename_obj, 221, CO_NOFREE, mod_consts[54], mod_consts[54], mod_consts[205], NULL, 0, 0, 0);
codeobj_c0034b127ac13076a027128e469216d7 = MAKE_CODE_OBJECT(module_filename_obj, 85, CO_NOFREE, mod_consts[138], mod_consts[138], mod_consts[205], NULL, 0, 0, 0);
codeobj_615f4b673a00193d1787b5833f143f17 = MAKE_CODE_OBJECT(module_filename_obj, 72, CO_NOFREE, mod_consts[121], mod_consts[121], mod_consts[205], NULL, 0, 0, 0);
codeobj_95494a8d47cd81bfe5999bad2c5480fb = MAKE_CODE_OBJECT(module_filename_obj, 75, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[131], mod_consts[131], mod_consts[206], NULL, 2, 0, 0);
codeobj_0ee470e863f778650115f3e4300ccf88 = MAKE_CODE_OBJECT(module_filename_obj, 92, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[141], mod_consts[141], mod_consts[207], NULL, 1, 0, 0);
codeobj_2a4ee0e25a9d6ff8e1ca6c53de1825a7 = MAKE_CODE_OBJECT(module_filename_obj, 364, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[141], mod_consts[141], mod_consts[208], NULL, 3, 0, 0);
codeobj_0956acb2609288bf80914f1d3142bb9b = MAKE_CODE_OBJECT(module_filename_obj, 259, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARARGS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[55], mod_consts[55], mod_consts[209], NULL, 1, 0, 0);
codeobj_e15e5c513d69f12a047b0ec8189ff623 = MAKE_CODE_OBJECT(module_filename_obj, 81, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[134], mod_consts[134], mod_consts[210], NULL, 3, 0, 0);
codeobj_0fc6fd410856f376b5a61ceaa4cf5713 = MAKE_CODE_OBJECT(module_filename_obj, 54, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[117], mod_consts[117], mod_consts[211], NULL, 0, 0, 0);
codeobj_f0e2b44f49cfc37435887890b6ebccd6 = MAKE_CODE_OBJECT(module_filename_obj, 372, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[72], mod_consts[72], mod_consts[212], NULL, 2, 0, 0);
codeobj_4dc3291e1ca83ac0570e4cad23d93e11 = MAKE_CODE_OBJECT(module_filename_obj, 297, CO_NOFREE, mod_consts[170], mod_consts[170], mod_consts[207], NULL, 1, 0, 0);
codeobj_0674ca7b56d35699124cb458beb4bf22 = MAKE_CODE_OBJECT(module_filename_obj, 199, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[47], mod_consts[47], mod_consts[213], NULL, 1, 0, 0);
codeobj_81891c2310f0e511317920362ff967f6 = MAKE_CODE_OBJECT(module_filename_obj, 349, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[177], mod_consts[177], mod_consts[214], NULL, 2, 0, 0);
codeobj_c092edc8266357d82964cfc7429f6ce1 = MAKE_CODE_OBJECT(module_filename_obj, 343, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[175], mod_consts[175], mod_consts[215], NULL, 1, 0, 0);
codeobj_233bae58dbfcf65427b412f6d021ef2d = MAKE_CODE_OBJECT(module_filename_obj, 429, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[192], mod_consts[192], mod_consts[216], NULL, 2, 0, 0);
codeobj_f782af89e273e19cfaa5d8b26e34562b = MAKE_CODE_OBJECT(module_filename_obj, 280, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[49], mod_consts[49], mod_consts[217], NULL, 1, 0, 0);
codeobj_090108a7ef5408689ebacfc37dca87a9 = MAKE_CODE_OBJECT(module_filename_obj, 292, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[68], mod_consts[68], mod_consts[217], NULL, 1, 0, 0);
codeobj_048fd1c66769752ea8f27a9a3e1907a9 = MAKE_CODE_OBJECT(module_filename_obj, 310, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[172], mod_consts[172], mod_consts[218], NULL, 2, 0, 0);
codeobj_29de1399d95db5144b94a946b18cbe5f = MAKE_CODE_OBJECT(module_filename_obj, 327, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[50], mod_consts[50], mod_consts[215], NULL, 1, 0, 0);
codeobj_336f7c67758cfd9ef77acd517e250864 = MAKE_CODE_OBJECT(module_filename_obj, 98, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[14], mod_consts[14], mod_consts[219], NULL, 3, 0, 0);
codeobj_ffbbf3dbe087372f544db1f9c880ec32 = MAKE_CODE_OBJECT(module_filename_obj, 458, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[202], mod_consts[202], NULL, NULL, 0, 0, 0);
codeobj_edac2374070121dc4a62c2bad8a660f0 = MAKE_CODE_OBJECT(module_filename_obj, 178, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[157], mod_consts[157], mod_consts[220], NULL, 1, 0, 0);
codeobj_c4e5c7d6bca15cb0e412c378ffcbee89 = MAKE_CODE_OBJECT(module_filename_obj, 154, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[151], mod_consts[151], mod_consts[221], NULL, 3, 0, 0);
codeobj_368e52ae1a97a18b0187b92a23baf94c = MAKE_CODE_OBJECT(module_filename_obj, 116, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[18], mod_consts[18], mod_consts[207], NULL, 1, 0, 0);
codeobj_c6db83e8bd235a76a16d75fb0955265c = MAKE_CODE_OBJECT(module_filename_obj, 387, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[185], mod_consts[185], mod_consts[222], NULL, 4, 0, 0);
codeobj_7e22a1647f869ab9436a75fde4534f2d = MAKE_CODE_OBJECT(module_filename_obj, 125, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[62], mod_consts[62], mod_consts[223], NULL, 1, 0, 0);
codeobj_e34928b53e404911f971b9cb7cc432aa = MAKE_CODE_OBJECT(module_filename_obj, 58, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[5], mod_consts[5], mod_consts[203], mod_consts[203], 0, 0, 0);
codeobj_424e70ea3a21d485e013748c7374a102 = MAKE_CODE_OBJECT(module_filename_obj, 164, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[155], mod_consts[155], mod_consts[224], NULL, 1, 0, 0);
codeobj_37f003d956b5929d9e67010bcd034215 = MAKE_CODE_OBJECT(module_filename_obj, 209, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[164], mod_consts[164], mod_consts[225], NULL, 1, 0, 0);
codeobj_ce8354955e64cba1de3718936dc71709 = MAKE_CODE_OBJECT(module_filename_obj, 399, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[188], mod_consts[188], mod_consts[226], NULL, 4, 0, 0);
codeobj_1aedf8b622b6a7efe7be1ff009f7fb6d = MAKE_CODE_OBJECT(module_filename_obj, 423, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[190], mod_consts[190], mod_consts[227], NULL, 1, 0, 0);
codeobj_b907fca8f413fc519b628c7ffd23af92 = MAKE_CODE_OBJECT(module_filename_obj, 112, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[16], mod_consts[16], mod_consts[207], NULL, 1, 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$util$$$function__10_raise_exc_info(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__11_errno_from_exception(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__12__re_unescape_replacement(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__13_re_unescape(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__14___new__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__15_configurable_base();
static PyObject *MAKE_FUNCTION_tornado$util$$$function__16_configurable_default();
static PyObject *MAKE_FUNCTION_tornado$util$$$function__17__initialize(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__18_configure();
static PyObject *MAKE_FUNCTION_tornado$util$$$function__19_configured_class();
static PyObject *MAKE_FUNCTION_tornado$util$$$function__1__get_emulated_is_finalizing(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__1__get_emulated_is_finalizing$$$function__1_lambda(struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__1__get_emulated_is_finalizing$$$function__2_is_finalizing(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__20__save_configuration();
static PyObject *MAKE_FUNCTION_tornado$util$$$function__21__restore_configuration();
static PyObject *MAKE_FUNCTION_tornado$util$$$function__22___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__23__getargnames(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__24_get_old_value(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__25_replace(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__26_timedelta_to_seconds();
static PyObject *MAKE_FUNCTION_tornado$util$$$function__27__websocket_mask_python(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__28_doctests();
static PyObject *MAKE_FUNCTION_tornado$util$$$function__2___getattr__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__3___setattr__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__4___init__(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__5_decompress(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__6_unconsumed_tail(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__7_flush(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__8_import_object(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$util$$$function__9_exec_in(PyObject *defaults, PyObject *annotations);
// The module function definitions.
static PyObject *impl_tornado$util$$$function__1__get_emulated_is_finalizing(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 *var_L = Nuitka_Cell_Empty();
PyObject *var_is_finalizing = NULL;
struct Nuitka_FrameObject *frame_0fc6fd410856f376b5a61ceaa4cf5713;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
static struct Nuitka_FrameObject *cache_frame_0fc6fd410856f376b5a61ceaa4cf5713 = 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.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(Nuitka_Cell_GET(var_L) == NULL);
PyCell_SET(var_L, tmp_assign_source_1);
}
// Tried code:
if (isFrameUnusable(cache_frame_0fc6fd410856f376b5a61ceaa4cf5713)) {
Py_XDECREF(cache_frame_0fc6fd410856f376b5a61ceaa4cf5713);
#if _DEBUG_REFCOUNTS
if (cache_frame_0fc6fd410856f376b5a61ceaa4cf5713 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0fc6fd410856f376b5a61ceaa4cf5713 = MAKE_FUNCTION_FRAME(codeobj_0fc6fd410856f376b5a61ceaa4cf5713, module_tornado$util, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0fc6fd410856f376b5a61ceaa4cf5713->m_type_description == NULL);
frame_0fc6fd410856f376b5a61ceaa4cf5713 = cache_frame_0fc6fd410856f376b5a61ceaa4cf5713;
// Push the new frame as the currently active one.
pushFrameStack(frame_0fc6fd410856f376b5a61ceaa4cf5713);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0fc6fd410856f376b5a61ceaa4cf5713) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (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 = 56;
type_description_1 = "co";
goto frame_exception_exit_1;
}
tmp_closure_1[0] = var_L;
Py_INCREF(tmp_closure_1[0]);
tmp_args_element_value_1 = MAKE_FUNCTION_tornado$util$$$function__1__get_emulated_is_finalizing$$$function__1_lambda(tmp_closure_1);
frame_0fc6fd410856f376b5a61ceaa4cf5713->m_frame.f_lineno = 56;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[1], 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 = 56;
type_description_1 = "co";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_0fc6fd410856f376b5a61ceaa4cf5713);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0fc6fd410856f376b5a61ceaa4cf5713);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0fc6fd410856f376b5a61ceaa4cf5713, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0fc6fd410856f376b5a61ceaa4cf5713->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0fc6fd410856f376b5a61ceaa4cf5713, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0fc6fd410856f376b5a61ceaa4cf5713,
type_description_1,
var_L,
var_is_finalizing
);
// Release cached frame if used for exception.
if (frame_0fc6fd410856f376b5a61ceaa4cf5713 == cache_frame_0fc6fd410856f376b5a61ceaa4cf5713) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0fc6fd410856f376b5a61ceaa4cf5713);
cache_frame_0fc6fd410856f376b5a61ceaa4cf5713 = NULL;
}
assertFrameObject(frame_0fc6fd410856f376b5a61ceaa4cf5713);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_annotations_1;
struct Nuitka_CellObject *tmp_closure_2[1];
tmp_annotations_1 = DICT_COPY(mod_consts[4]);
tmp_closure_2[0] = var_L;
Py_INCREF(tmp_closure_2[0]);
tmp_assign_source_2 = MAKE_FUNCTION_tornado$util$$$function__1__get_emulated_is_finalizing$$$function__2_is_finalizing(tmp_annotations_1, tmp_closure_2);
assert(var_is_finalizing == NULL);
var_is_finalizing = tmp_assign_source_2;
}
CHECK_OBJECT(var_is_finalizing);
tmp_return_value = var_is_finalizing;
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_L);
Py_DECREF(var_L);
var_L = NULL;
CHECK_OBJECT(var_is_finalizing);
Py_DECREF(var_is_finalizing);
var_is_finalizing = 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_L);
Py_DECREF(var_L);
var_L = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$util$$$function__1__get_emulated_is_finalizing$$$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.
struct Nuitka_FrameObject *frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c;
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_edcf3c66b3ebe8e9d6fb17c46d2ca33c = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c)) {
Py_XDECREF(cache_frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c);
#if _DEBUG_REFCOUNTS
if (cache_frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c = MAKE_FUNCTION_FRAME(codeobj_edcf3c66b3ebe8e9d6fb17c46d2ca33c, module_tornado$util, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c->m_type_description == NULL);
frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c = cache_frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c;
// Push the new frame as the currently active one.
pushFrameStack(frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[7]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 56;
type_description_1 = "c";
goto frame_exception_exit_1;
}
tmp_called_instance_1 = Nuitka_Cell_GET(self->m_closure[0]);
frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c->m_frame.f_lineno = 56;
tmp_return_value = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[8],
PyTuple_GET_ITEM(mod_consts[9], 0)
);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 56;
type_description_1 = "c";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c,
type_description_1,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c == cache_frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c);
cache_frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c = NULL;
}
assertFrameObject(frame_edcf3c66b3ebe8e9d6fb17c46d2ca33c);
// 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$util$$$function__1__get_emulated_is_finalizing$$$function__2_is_finalizing(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_e34928b53e404911f971b9cb7cc432aa;
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_e34928b53e404911f971b9cb7cc432aa = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_e34928b53e404911f971b9cb7cc432aa)) {
Py_XDECREF(cache_frame_e34928b53e404911f971b9cb7cc432aa);
#if _DEBUG_REFCOUNTS
if (cache_frame_e34928b53e404911f971b9cb7cc432aa == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e34928b53e404911f971b9cb7cc432aa = MAKE_FUNCTION_FRAME(codeobj_e34928b53e404911f971b9cb7cc432aa, module_tornado$util, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e34928b53e404911f971b9cb7cc432aa->m_type_description == NULL);
frame_e34928b53e404911f971b9cb7cc432aa = cache_frame_e34928b53e404911f971b9cb7cc432aa;
// Push the new frame as the currently active one.
pushFrameStack(frame_e34928b53e404911f971b9cb7cc432aa);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e34928b53e404911f971b9cb7cc432aa) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[7]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 60;
type_description_1 = "c";
goto frame_exception_exit_1;
}
tmp_cmp_expr_left_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_cmp_expr_right_1 = MAKE_LIST_EMPTY(0);
tmp_return_value = RICH_COMPARE_NE_OBJECT_OBJECT_LIST(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
type_description_1 = "c";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_e34928b53e404911f971b9cb7cc432aa);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e34928b53e404911f971b9cb7cc432aa);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e34928b53e404911f971b9cb7cc432aa);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e34928b53e404911f971b9cb7cc432aa, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e34928b53e404911f971b9cb7cc432aa->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e34928b53e404911f971b9cb7cc432aa, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e34928b53e404911f971b9cb7cc432aa,
type_description_1,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_e34928b53e404911f971b9cb7cc432aa == cache_frame_e34928b53e404911f971b9cb7cc432aa) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e34928b53e404911f971b9cb7cc432aa);
cache_frame_e34928b53e404911f971b9cb7cc432aa = NULL;
}
assertFrameObject(frame_e34928b53e404911f971b9cb7cc432aa);
// 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$util$$$function__2___getattr__(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_name = python_pars[1];
struct Nuitka_FrameObject *frame_95494a8d47cd81bfe5999bad2c5480fb;
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;
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;
static struct Nuitka_FrameObject *cache_frame_95494a8d47cd81bfe5999bad2c5480fb = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_95494a8d47cd81bfe5999bad2c5480fb)) {
Py_XDECREF(cache_frame_95494a8d47cd81bfe5999bad2c5480fb);
#if _DEBUG_REFCOUNTS
if (cache_frame_95494a8d47cd81bfe5999bad2c5480fb == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_95494a8d47cd81bfe5999bad2c5480fb = MAKE_FUNCTION_FRAME(codeobj_95494a8d47cd81bfe5999bad2c5480fb, module_tornado$util, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_95494a8d47cd81bfe5999bad2c5480fb->m_type_description == NULL);
frame_95494a8d47cd81bfe5999bad2c5480fb = cache_frame_95494a8d47cd81bfe5999bad2c5480fb;
// Push the new frame as the currently active one.
pushFrameStack(frame_95494a8d47cd81bfe5999bad2c5480fb);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_95494a8d47cd81bfe5999bad2c5480fb) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
CHECK_OBJECT(par_name);
tmp_subscript_value_1 = par_name;
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 77;
type_description_1 = "oo";
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_95494a8d47cd81bfe5999bad2c5480fb, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_95494a8d47cd81bfe5999bad2c5480fb, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_KeyError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
CHECK_OBJECT(par_name);
tmp_make_exception_arg_1 = par_name;
frame_95494a8d47cd81bfe5999bad2c5480fb->m_frame.f_lineno = 79;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_AttributeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 79;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto try_except_handler_2;
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 76;
}
if (exception_tb && exception_tb->tb_frame == &frame_95494a8d47cd81bfe5999bad2c5480fb->m_frame) frame_95494a8d47cd81bfe5999bad2c5480fb->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oo";
goto try_except_handler_2;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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:
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_95494a8d47cd81bfe5999bad2c5480fb);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_95494a8d47cd81bfe5999bad2c5480fb);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_95494a8d47cd81bfe5999bad2c5480fb);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_95494a8d47cd81bfe5999bad2c5480fb, exception_lineno);
} else if (exception_tb->tb_frame != &frame_95494a8d47cd81bfe5999bad2c5480fb->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_95494a8d47cd81bfe5999bad2c5480fb, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_95494a8d47cd81bfe5999bad2c5480fb,
type_description_1,
par_self,
par_name
);
// Release cached frame if used for exception.
if (frame_95494a8d47cd81bfe5999bad2c5480fb == cache_frame_95494a8d47cd81bfe5999bad2c5480fb) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_95494a8d47cd81bfe5999bad2c5480fb);
cache_frame_95494a8d47cd81bfe5999bad2c5480fb = NULL;
}
assertFrameObject(frame_95494a8d47cd81bfe5999bad2c5480fb);
// 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
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_name);
Py_DECREF(par_name);
// 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$util$$$function__3___setattr__(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_name = python_pars[1];
PyObject *par_value = python_pars[2];
struct Nuitka_FrameObject *frame_e15e5c513d69f12a047b0ec8189ff623;
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;
static struct Nuitka_FrameObject *cache_frame_e15e5c513d69f12a047b0ec8189ff623 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_e15e5c513d69f12a047b0ec8189ff623)) {
Py_XDECREF(cache_frame_e15e5c513d69f12a047b0ec8189ff623);
#if _DEBUG_REFCOUNTS
if (cache_frame_e15e5c513d69f12a047b0ec8189ff623 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e15e5c513d69f12a047b0ec8189ff623 = MAKE_FUNCTION_FRAME(codeobj_e15e5c513d69f12a047b0ec8189ff623, module_tornado$util, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e15e5c513d69f12a047b0ec8189ff623->m_type_description == NULL);
frame_e15e5c513d69f12a047b0ec8189ff623 = cache_frame_e15e5c513d69f12a047b0ec8189ff623;
// Push the new frame as the currently active one.
pushFrameStack(frame_e15e5c513d69f12a047b0ec8189ff623);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e15e5c513d69f12a047b0ec8189ff623) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
CHECK_OBJECT(par_value);
tmp_ass_subvalue_1 = par_value;
CHECK_OBJECT(par_self);
tmp_ass_subscribed_1 = par_self;
CHECK_OBJECT(par_name);
tmp_ass_subscript_1 = par_name;
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 = 82;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_e15e5c513d69f12a047b0ec8189ff623);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e15e5c513d69f12a047b0ec8189ff623);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e15e5c513d69f12a047b0ec8189ff623, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e15e5c513d69f12a047b0ec8189ff623->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e15e5c513d69f12a047b0ec8189ff623, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e15e5c513d69f12a047b0ec8189ff623,
type_description_1,
par_self,
par_name,
par_value
);
// Release cached frame if used for exception.
if (frame_e15e5c513d69f12a047b0ec8189ff623 == cache_frame_e15e5c513d69f12a047b0ec8189ff623) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e15e5c513d69f12a047b0ec8189ff623);
cache_frame_e15e5c513d69f12a047b0ec8189ff623 = NULL;
}
assertFrameObject(frame_e15e5c513d69f12a047b0ec8189ff623);
// 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_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
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_name);
Py_DECREF(par_name);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
// 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$util$$$function__4___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];
struct Nuitka_FrameObject *frame_0ee470e863f778650115f3e4300ccf88;
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;
static struct Nuitka_FrameObject *cache_frame_0ee470e863f778650115f3e4300ccf88 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_0ee470e863f778650115f3e4300ccf88)) {
Py_XDECREF(cache_frame_0ee470e863f778650115f3e4300ccf88);
#if _DEBUG_REFCOUNTS
if (cache_frame_0ee470e863f778650115f3e4300ccf88 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0ee470e863f778650115f3e4300ccf88 = MAKE_FUNCTION_FRAME(codeobj_0ee470e863f778650115f3e4300ccf88, module_tornado$util, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0ee470e863f778650115f3e4300ccf88->m_type_description == NULL);
frame_0ee470e863f778650115f3e4300ccf88 = cache_frame_0ee470e863f778650115f3e4300ccf88;
// Push the new frame as the currently active one.
pushFrameStack(frame_0ee470e863f778650115f3e4300ccf88);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0ee470e863f778650115f3e4300ccf88) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_assattr_target_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 96;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[11]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 96;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_add_expr_left_1 = mod_consts[12];
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[10]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[10]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 96;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_add_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[13]);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 96;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = BINARY_OPERATION_ADD_OBJECT_LONG_OBJECT(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_right_1);
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 = 96;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_0ee470e863f778650115f3e4300ccf88->m_frame.f_lineno = 96;
tmp_assattr_value_1 = 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_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 96;
type_description_1 = "o";
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[11], 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 = 96;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_0ee470e863f778650115f3e4300ccf88);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0ee470e863f778650115f3e4300ccf88);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0ee470e863f778650115f3e4300ccf88, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0ee470e863f778650115f3e4300ccf88->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0ee470e863f778650115f3e4300ccf88, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0ee470e863f778650115f3e4300ccf88,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_0ee470e863f778650115f3e4300ccf88 == cache_frame_0ee470e863f778650115f3e4300ccf88) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0ee470e863f778650115f3e4300ccf88);
cache_frame_0ee470e863f778650115f3e4300ccf88 = NULL;
}
assertFrameObject(frame_0ee470e863f778650115f3e4300ccf88);
// 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);
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);
// 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$util$$$function__5_decompress(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_value = python_pars[1];
PyObject *par_max_length = python_pars[2];
struct Nuitka_FrameObject *frame_336f7c67758cfd9ef77acd517e250864;
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_336f7c67758cfd9ef77acd517e250864 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_336f7c67758cfd9ef77acd517e250864)) {
Py_XDECREF(cache_frame_336f7c67758cfd9ef77acd517e250864);
#if _DEBUG_REFCOUNTS
if (cache_frame_336f7c67758cfd9ef77acd517e250864 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_336f7c67758cfd9ef77acd517e250864 = MAKE_FUNCTION_FRAME(codeobj_336f7c67758cfd9ef77acd517e250864, module_tornado$util, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_336f7c67758cfd9ef77acd517e250864->m_type_description == NULL);
frame_336f7c67758cfd9ef77acd517e250864 = cache_frame_336f7c67758cfd9ef77acd517e250864;
// Push the new frame as the currently active one.
pushFrameStack(frame_336f7c67758cfd9ef77acd517e250864);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_336f7c67758cfd9ef77acd517e250864) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[11]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 109;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_value);
tmp_args_element_value_1 = par_value;
CHECK_OBJECT(par_max_length);
tmp_args_element_value_2 = par_max_length;
frame_336f7c67758cfd9ef77acd517e250864->m_frame.f_lineno = 109;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_return_value = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[14],
call_args
);
}
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 109;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_336f7c67758cfd9ef77acd517e250864);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_336f7c67758cfd9ef77acd517e250864);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_336f7c67758cfd9ef77acd517e250864);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_336f7c67758cfd9ef77acd517e250864, exception_lineno);
} else if (exception_tb->tb_frame != &frame_336f7c67758cfd9ef77acd517e250864->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_336f7c67758cfd9ef77acd517e250864, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_336f7c67758cfd9ef77acd517e250864,
type_description_1,
par_self,
par_value,
par_max_length
);
// Release cached frame if used for exception.
if (frame_336f7c67758cfd9ef77acd517e250864 == cache_frame_336f7c67758cfd9ef77acd517e250864) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_336f7c67758cfd9ef77acd517e250864);
cache_frame_336f7c67758cfd9ef77acd517e250864 = NULL;
}
assertFrameObject(frame_336f7c67758cfd9ef77acd517e250864);
// 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_value);
Py_DECREF(par_value);
CHECK_OBJECT(par_max_length);
Py_DECREF(par_max_length);
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_value);
Py_DECREF(par_value);
CHECK_OBJECT(par_max_length);
Py_DECREF(par_max_length);
// 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$util$$$function__6_unconsumed_tail(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_FrameObject *frame_b907fca8f413fc519b628c7ffd23af92;
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_b907fca8f413fc519b628c7ffd23af92 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_b907fca8f413fc519b628c7ffd23af92)) {
Py_XDECREF(cache_frame_b907fca8f413fc519b628c7ffd23af92);
#if _DEBUG_REFCOUNTS
if (cache_frame_b907fca8f413fc519b628c7ffd23af92 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_b907fca8f413fc519b628c7ffd23af92 = MAKE_FUNCTION_FRAME(codeobj_b907fca8f413fc519b628c7ffd23af92, module_tornado$util, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_b907fca8f413fc519b628c7ffd23af92->m_type_description == NULL);
frame_b907fca8f413fc519b628c7ffd23af92 = cache_frame_b907fca8f413fc519b628c7ffd23af92;
// Push the new frame as the currently active one.
pushFrameStack(frame_b907fca8f413fc519b628c7ffd23af92);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_b907fca8f413fc519b628c7ffd23af92) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[11]);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 114;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[16]);
Py_DECREF(tmp_expression_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 114;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_b907fca8f413fc519b628c7ffd23af92);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b907fca8f413fc519b628c7ffd23af92);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_b907fca8f413fc519b628c7ffd23af92);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_b907fca8f413fc519b628c7ffd23af92, exception_lineno);
} else if (exception_tb->tb_frame != &frame_b907fca8f413fc519b628c7ffd23af92->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_b907fca8f413fc519b628c7ffd23af92, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_b907fca8f413fc519b628c7ffd23af92,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_b907fca8f413fc519b628c7ffd23af92 == cache_frame_b907fca8f413fc519b628c7ffd23af92) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_b907fca8f413fc519b628c7ffd23af92);
cache_frame_b907fca8f413fc519b628c7ffd23af92 = NULL;
}
assertFrameObject(frame_b907fca8f413fc519b628c7ffd23af92);
// 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_self);
Py_DECREF(par_self);
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);
// 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$util$$$function__7_flush(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_FrameObject *frame_368e52ae1a97a18b0187b92a23baf94c;
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_368e52ae1a97a18b0187b92a23baf94c = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_368e52ae1a97a18b0187b92a23baf94c)) {
Py_XDECREF(cache_frame_368e52ae1a97a18b0187b92a23baf94c);
#if _DEBUG_REFCOUNTS
if (cache_frame_368e52ae1a97a18b0187b92a23baf94c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_368e52ae1a97a18b0187b92a23baf94c = MAKE_FUNCTION_FRAME(codeobj_368e52ae1a97a18b0187b92a23baf94c, module_tornado$util, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_368e52ae1a97a18b0187b92a23baf94c->m_type_description == NULL);
frame_368e52ae1a97a18b0187b92a23baf94c = cache_frame_368e52ae1a97a18b0187b92a23baf94c;
// Push the new frame as the currently active one.
pushFrameStack(frame_368e52ae1a97a18b0187b92a23baf94c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_368e52ae1a97a18b0187b92a23baf94c) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[11]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 122;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_368e52ae1a97a18b0187b92a23baf94c->m_frame.f_lineno = 122;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[18]);
Py_DECREF(tmp_called_instance_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 122;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_368e52ae1a97a18b0187b92a23baf94c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_368e52ae1a97a18b0187b92a23baf94c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_368e52ae1a97a18b0187b92a23baf94c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_368e52ae1a97a18b0187b92a23baf94c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_368e52ae1a97a18b0187b92a23baf94c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_368e52ae1a97a18b0187b92a23baf94c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_368e52ae1a97a18b0187b92a23baf94c,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_368e52ae1a97a18b0187b92a23baf94c == cache_frame_368e52ae1a97a18b0187b92a23baf94c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_368e52ae1a97a18b0187b92a23baf94c);
cache_frame_368e52ae1a97a18b0187b92a23baf94c = NULL;
}
assertFrameObject(frame_368e52ae1a97a18b0187b92a23baf94c);
// 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_self);
Py_DECREF(par_self);
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);
// 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$util$$$function__8_import_object(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_name = python_pars[0];
PyObject *var_parts = NULL;
PyObject *var_obj = NULL;
struct Nuitka_FrameObject *frame_7e22a1647f869ab9436a75fde4534f2d;
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;
static struct Nuitka_FrameObject *cache_frame_7e22a1647f869ab9436a75fde4534f2d = 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_7e22a1647f869ab9436a75fde4534f2d)) {
Py_XDECREF(cache_frame_7e22a1647f869ab9436a75fde4534f2d);
#if _DEBUG_REFCOUNTS
if (cache_frame_7e22a1647f869ab9436a75fde4534f2d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_7e22a1647f869ab9436a75fde4534f2d = MAKE_FUNCTION_FRAME(codeobj_7e22a1647f869ab9436a75fde4534f2d, module_tornado$util, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_7e22a1647f869ab9436a75fde4534f2d->m_type_description == NULL);
frame_7e22a1647f869ab9436a75fde4534f2d = cache_frame_7e22a1647f869ab9436a75fde4534f2d;
// Push the new frame as the currently active one.
pushFrameStack(frame_7e22a1647f869ab9436a75fde4534f2d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_7e22a1647f869ab9436a75fde4534f2d) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_name);
tmp_expression_value_1 = par_name;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[20]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_7e22a1647f869ab9436a75fde4534f2d->m_frame.f_lineno = 143;
tmp_cmp_expr_left_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[21]);
Py_DECREF(tmp_called_value_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = mod_consts[22];
tmp_condition_result_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 143;
type_description_1 = "ooo";
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_name_value_1;
CHECK_OBJECT(par_name);
tmp_name_value_1 = par_name;
frame_7e22a1647f869ab9436a75fde4534f2d->m_frame.f_lineno = 144;
tmp_return_value = IMPORT_MODULE1(tmp_name_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 144;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_name);
tmp_expression_value_2 = par_name;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[23]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 146;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
frame_7e22a1647f869ab9436a75fde4534f2d->m_frame.f_lineno = 146;
tmp_assign_source_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_2, mod_consts[21]);
Py_DECREF(tmp_called_value_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 146;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_parts == NULL);
var_parts = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_name_value_2;
PyObject *tmp_str_arg_value_1;
PyObject *tmp_iterable_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
PyObject *tmp_fromlist_value_2;
PyObject *tmp_list_element_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_2;
tmp_str_arg_value_1 = mod_consts[24];
CHECK_OBJECT(var_parts);
tmp_expression_value_3 = var_parts;
tmp_subscript_value_1 = mod_consts[25];
tmp_iterable_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_1);
if (tmp_iterable_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_name_value_2 = UNICODE_JOIN(tmp_str_arg_value_1, tmp_iterable_value_1);
Py_DECREF(tmp_iterable_value_1);
if (tmp_name_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_parts);
tmp_expression_value_4 = var_parts;
tmp_subscript_value_2 = mod_consts[26];
tmp_list_element_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_2, -1);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_name_value_2);
exception_lineno = 147;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_fromlist_value_2 = MAKE_LIST_EMPTY(1);
PyList_SET_ITEM(tmp_fromlist_value_2, 0, tmp_list_element_1);
frame_7e22a1647f869ab9436a75fde4534f2d->m_frame.f_lineno = 147;
tmp_assign_source_2 = IMPORT_MODULE_KW(tmp_name_value_2, NULL, NULL, tmp_fromlist_value_2, NULL);
Py_DECREF(tmp_name_value_2);
Py_DECREF(tmp_fromlist_value_2);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 147;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_obj == NULL);
var_obj = tmp_assign_source_2;
}
// Tried code:
{
PyObject *tmp_getattr_target_1;
PyObject *tmp_getattr_attr_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_3;
CHECK_OBJECT(var_obj);
tmp_getattr_target_1 = var_obj;
CHECK_OBJECT(var_parts);
tmp_expression_value_5 = var_parts;
tmp_subscript_value_3 = mod_consts[26];
tmp_getattr_attr_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_5, tmp_subscript_value_3, -1);
if (tmp_getattr_attr_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_return_value = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, NULL);
Py_DECREF(tmp_getattr_attr_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 149;
type_description_1 = "ooo";
goto try_except_handler_2;
}
goto frame_return_exit_1;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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_7e22a1647f869ab9436a75fde4534f2d, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_7e22a1647f869ab9436a75fde4534f2d, 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_AttributeError;
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_raise_type_1;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_subscript_value_4;
tmp_mod_expr_left_1 = mod_consts[27];
CHECK_OBJECT(var_parts);
tmp_expression_value_6 = var_parts;
tmp_subscript_value_4 = mod_consts[26];
tmp_mod_expr_right_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_6, tmp_subscript_value_4, -1);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "ooo";
goto try_except_handler_3;
}
tmp_make_exception_arg_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_make_exception_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "ooo";
goto try_except_handler_3;
}
frame_7e22a1647f869ab9436a75fde4534f2d->m_frame.f_lineno = 151;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ImportError, tmp_make_exception_arg_1);
Py_DECREF(tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 151;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooo";
goto try_except_handler_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 = 148;
}
if (exception_tb && exception_tb->tb_frame == &frame_7e22a1647f869ab9436a75fde4534f2d->m_frame) frame_7e22a1647f869ab9436a75fde4534f2d->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_3;
branch_end_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_7e22a1647f869ab9436a75fde4534f2d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7e22a1647f869ab9436a75fde4534f2d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_7e22a1647f869ab9436a75fde4534f2d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_7e22a1647f869ab9436a75fde4534f2d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_7e22a1647f869ab9436a75fde4534f2d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_7e22a1647f869ab9436a75fde4534f2d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_7e22a1647f869ab9436a75fde4534f2d,
type_description_1,
par_name,
var_parts,
var_obj
);
// Release cached frame if used for exception.
if (frame_7e22a1647f869ab9436a75fde4534f2d == cache_frame_7e22a1647f869ab9436a75fde4534f2d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_7e22a1647f869ab9436a75fde4534f2d);
cache_frame_7e22a1647f869ab9436a75fde4534f2d = NULL;
}
assertFrameObject(frame_7e22a1647f869ab9436a75fde4534f2d);
// 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:;
Py_XDECREF(var_parts);
var_parts = NULL;
Py_XDECREF(var_obj);
var_obj = 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_parts);
var_parts = NULL;
Py_XDECREF(var_obj);
var_obj = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
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_name);
Py_DECREF(par_name);
// 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$util$$$function__9_exec_in(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_code = python_pars[0];
PyObject *par_glob = python_pars[1];
PyObject *par_loc = python_pars[2];
PyObject *tmp_exec_call_1__globals = NULL;
PyObject *tmp_exec_call_1__locals = NULL;
struct Nuitka_FrameObject *frame_c4e5c7d6bca15cb0e412c378ffcbee89;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
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 *locals_tornado$util$$$function__9_exec_in = 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;
static struct Nuitka_FrameObject *cache_frame_c4e5c7d6bca15cb0e412c378ffcbee89 = 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_c4e5c7d6bca15cb0e412c378ffcbee89)) {
Py_XDECREF(cache_frame_c4e5c7d6bca15cb0e412c378ffcbee89);
#if _DEBUG_REFCOUNTS
if (cache_frame_c4e5c7d6bca15cb0e412c378ffcbee89 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c4e5c7d6bca15cb0e412c378ffcbee89 = MAKE_FUNCTION_FRAME(codeobj_c4e5c7d6bca15cb0e412c378ffcbee89, module_tornado$util, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c4e5c7d6bca15cb0e412c378ffcbee89->m_type_description == NULL);
frame_c4e5c7d6bca15cb0e412c378ffcbee89 = cache_frame_c4e5c7d6bca15cb0e412c378ffcbee89;
// Push the new frame as the currently active one.
pushFrameStack(frame_c4e5c7d6bca15cb0e412c378ffcbee89);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c4e5c7d6bca15cb0e412c378ffcbee89) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_code);
tmp_isinstance_inst_1 = par_code;
tmp_isinstance_cls_1 = (PyObject *)&PyUnicode_Type;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 157;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_compile_source_1;
PyObject *tmp_compile_filename_1;
PyObject *tmp_compile_mode_1;
PyObject *tmp_compile_dont_inherit_1;
CHECK_OBJECT(par_code);
tmp_compile_source_1 = par_code;
tmp_compile_filename_1 = mod_consts[29];
tmp_compile_mode_1 = mod_consts[30];
tmp_compile_dont_inherit_1 = Py_True;
tmp_assign_source_1 = COMPILE_CODE(tmp_compile_source_1, tmp_compile_filename_1, tmp_compile_mode_1, NULL, tmp_compile_dont_inherit_1, NULL);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 160;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_code;
assert(old != NULL);
par_code = tmp_assign_source_1;
Py_DECREF(old);
}
}
branch_no_1:;
{
PyObject *tmp_outline_return_value_1;
{
PyObject *tmp_assign_source_2;
CHECK_OBJECT(par_glob);
tmp_assign_source_2 = par_glob;
assert(tmp_exec_call_1__globals == NULL);
Py_INCREF(tmp_assign_source_2);
tmp_exec_call_1__globals = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
CHECK_OBJECT(par_loc);
tmp_assign_source_3 = par_loc;
assert(tmp_exec_call_1__locals == NULL);
Py_INCREF(tmp_assign_source_3);
tmp_exec_call_1__locals = tmp_assign_source_3;
}
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(tmp_exec_call_1__locals);
tmp_cmp_expr_left_1 = tmp_exec_call_1__locals;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_2 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_4;
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(tmp_exec_call_1__globals);
tmp_cmp_expr_left_2 = tmp_exec_call_1__globals;
tmp_cmp_expr_right_2 = Py_None;
tmp_condition_result_3 = (tmp_cmp_expr_left_2 == tmp_cmp_expr_right_2) ? true : false;
if (tmp_condition_result_3 != false) {
goto condexpr_true_1;
} else {
goto condexpr_false_1;
}
condexpr_true_1:;
if (locals_tornado$util$$$function__9_exec_in == NULL) locals_tornado$util$$$function__9_exec_in = MAKE_DICT_EMPTY();
tmp_assign_source_4 = locals_tornado$util$$$function__9_exec_in;
Py_INCREF(tmp_assign_source_4);
if (par_code != NULL) {
PyObject *value;
CHECK_OBJECT(par_code);
value = par_code;
UPDATE_STRING_DICT0((PyDictObject *)tmp_assign_source_4, (Nuitka_StringObject *)mod_consts[31], value);
} else {
int res = PyDict_DelItem(tmp_assign_source_4, mod_consts[31]);
if (res != 0) {
CLEAR_ERROR_OCCURRED();
}
}
if (par_glob != NULL) {
PyObject *value;
CHECK_OBJECT(par_glob);
value = par_glob;
UPDATE_STRING_DICT0((PyDictObject *)tmp_assign_source_4, (Nuitka_StringObject *)mod_consts[32], value);
} else {
int res = PyDict_DelItem(tmp_assign_source_4, mod_consts[32]);
if (res != 0) {
CLEAR_ERROR_OCCURRED();
}
}
if (par_loc != NULL) {
PyObject *value;
CHECK_OBJECT(par_loc);
value = par_loc;
UPDATE_STRING_DICT0((PyDictObject *)tmp_assign_source_4, (Nuitka_StringObject *)mod_consts[33], value);
} else {
int res = PyDict_DelItem(tmp_assign_source_4, mod_consts[33]);
if (res != 0) {
CLEAR_ERROR_OCCURRED();
}
}
goto condexpr_end_1;
condexpr_false_1:;
CHECK_OBJECT(tmp_exec_call_1__globals);
tmp_assign_source_4 = tmp_exec_call_1__globals;
Py_INCREF(tmp_assign_source_4);
condexpr_end_1:;
{
PyObject *old = tmp_exec_call_1__locals;
assert(old != NULL);
tmp_exec_call_1__locals = tmp_assign_source_4;
Py_DECREF(old);
}
}
branch_no_2:;
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(tmp_exec_call_1__globals);
tmp_cmp_expr_left_3 = tmp_exec_call_1__globals;
tmp_cmp_expr_right_3 = Py_None;
tmp_condition_result_4 = (tmp_cmp_expr_left_3 == tmp_cmp_expr_right_3) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = (PyObject *)moduledict_tornado$util;
{
PyObject *old = tmp_exec_call_1__globals;
assert(old != NULL);
tmp_exec_call_1__globals = tmp_assign_source_5;
Py_INCREF(tmp_exec_call_1__globals);
Py_DECREF(old);
}
}
branch_no_3:;
// Tried code:
{
PyObject *tmp_eval_source_1;
PyObject *tmp_eval_globals_1;
PyObject *tmp_eval_locals_1;
PyObject *tmp_eval_compiled_1;
CHECK_OBJECT(par_code);
tmp_eval_source_1 = par_code;
CHECK_OBJECT(tmp_exec_call_1__globals);
tmp_eval_globals_1 = tmp_exec_call_1__globals;
CHECK_OBJECT(tmp_exec_call_1__locals);
tmp_eval_locals_1 = tmp_exec_call_1__locals;
tmp_eval_compiled_1 = COMPILE_CODE(tmp_eval_source_1, mod_consts[29], mod_consts[30], NULL, NULL, NULL);
if (tmp_eval_compiled_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_outline_return_value_1 = EVAL_CODE(tmp_eval_compiled_1, tmp_eval_globals_1, tmp_eval_locals_1);
Py_DECREF(tmp_eval_compiled_1);
if (tmp_outline_return_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 161;
type_description_1 = "ooo";
goto try_except_handler_2;
}
goto try_return_handler_2;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_exec_call_1__globals);
Py_DECREF(tmp_exec_call_1__globals);
tmp_exec_call_1__globals = NULL;
CHECK_OBJECT(tmp_exec_call_1__locals);
Py_DECREF(tmp_exec_call_1__locals);
tmp_exec_call_1__locals = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_exec_call_1__globals);
Py_DECREF(tmp_exec_call_1__globals);
tmp_exec_call_1__globals = NULL;
CHECK_OBJECT(tmp_exec_call_1__locals);
Py_DECREF(tmp_exec_call_1__locals);
tmp_exec_call_1__locals = 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:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_result_1:;
Py_DECREF(tmp_outline_return_value_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c4e5c7d6bca15cb0e412c378ffcbee89);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c4e5c7d6bca15cb0e412c378ffcbee89);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c4e5c7d6bca15cb0e412c378ffcbee89, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c4e5c7d6bca15cb0e412c378ffcbee89->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c4e5c7d6bca15cb0e412c378ffcbee89, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c4e5c7d6bca15cb0e412c378ffcbee89,
type_description_1,
par_code,
par_glob,
par_loc
);
// Release cached frame if used for exception.
if (frame_c4e5c7d6bca15cb0e412c378ffcbee89 == cache_frame_c4e5c7d6bca15cb0e412c378ffcbee89) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c4e5c7d6bca15cb0e412c378ffcbee89);
cache_frame_c4e5c7d6bca15cb0e412c378ffcbee89 = NULL;
}
assertFrameObject(frame_c4e5c7d6bca15cb0e412c378ffcbee89);
// 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_code);
Py_DECREF(par_code);
par_code = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_code);
par_code = 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:
Py_XDECREF(locals_tornado$util$$$function__9_exec_in);
CHECK_OBJECT(par_glob);
Py_DECREF(par_glob);
CHECK_OBJECT(par_loc);
Py_DECREF(par_loc);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
Py_XDECREF(locals_tornado$util$$$function__9_exec_in);
CHECK_OBJECT(par_glob);
Py_DECREF(par_glob);
CHECK_OBJECT(par_loc);
Py_DECREF(par_loc);
// 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$util$$$function__10_raise_exc_info(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_exc_info = python_pars[0];
struct Nuitka_FrameObject *frame_424e70ea3a21d485e013748c7374a102;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
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;
static struct Nuitka_FrameObject *cache_frame_424e70ea3a21d485e013748c7374a102 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_424e70ea3a21d485e013748c7374a102)) {
Py_XDECREF(cache_frame_424e70ea3a21d485e013748c7374a102);
#if _DEBUG_REFCOUNTS
if (cache_frame_424e70ea3a21d485e013748c7374a102 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_424e70ea3a21d485e013748c7374a102 = MAKE_FUNCTION_FRAME(codeobj_424e70ea3a21d485e013748c7374a102, module_tornado$util, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_424e70ea3a21d485e013748c7374a102->m_type_description == NULL);
frame_424e70ea3a21d485e013748c7374a102 = cache_frame_424e70ea3a21d485e013748c7374a102;
// Push the new frame as the currently active one.
pushFrameStack(frame_424e70ea3a21d485e013748c7374a102);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_424e70ea3a21d485e013748c7374a102) == 2); // Frame stack
// Framed code:
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_exc_info);
tmp_expression_value_1 = par_exc_info;
tmp_subscript_value_1 = mod_consts[34];
tmp_cmp_expr_left_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 168;
type_description_1 = "o";
goto try_except_handler_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_2;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_3;
CHECK_OBJECT(par_exc_info);
tmp_expression_value_3 = par_exc_info;
tmp_subscript_value_2 = mod_consts[34];
tmp_expression_value_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_3, tmp_subscript_value_2, 1);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 169;
type_description_1 = "o";
goto try_except_handler_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[35]);
Py_DECREF(tmp_expression_value_2);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 169;
type_description_1 = "o";
goto try_except_handler_1;
}
CHECK_OBJECT(par_exc_info);
tmp_expression_value_4 = par_exc_info;
tmp_subscript_value_3 = mod_consts[36];
tmp_args_element_value_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_3, 2);
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 = 169;
type_description_1 = "o";
goto try_except_handler_1;
}
frame_424e70ea3a21d485e013748c7374a102->m_frame.f_lineno = 169;
tmp_raise_type_1 = 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_raise_type_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 169;
type_description_1 = "o";
goto try_except_handler_1;
}
exception_type = tmp_raise_type_1;
exception_lineno = 169;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto try_except_handler_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[37];
frame_424e70ea3a21d485e013748c7374a102->m_frame.f_lineno = 171;
tmp_raise_type_2 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_TypeError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_2 == NULL));
exception_type = tmp_raise_type_2;
exception_lineno = 171;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto try_except_handler_1;
}
branch_end_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_424e70ea3a21d485e013748c7374a102, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_424e70ea3a21d485e013748c7374a102, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
Py_XDECREF(par_exc_info);
par_exc_info = NULL;
// Tried code:
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 167;
}
if (exception_tb && exception_tb->tb_frame == &frame_424e70ea3a21d485e013748c7374a102->m_frame) frame_424e70ea3a21d485e013748c7374a102->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "o";
goto try_except_handler_2;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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:
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_424e70ea3a21d485e013748c7374a102);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_424e70ea3a21d485e013748c7374a102);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_424e70ea3a21d485e013748c7374a102, exception_lineno);
} else if (exception_tb->tb_frame != &frame_424e70ea3a21d485e013748c7374a102->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_424e70ea3a21d485e013748c7374a102, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_424e70ea3a21d485e013748c7374a102,
type_description_1,
par_exc_info
);
// Release cached frame if used for exception.
if (frame_424e70ea3a21d485e013748c7374a102 == cache_frame_424e70ea3a21d485e013748c7374a102) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_424e70ea3a21d485e013748c7374a102);
cache_frame_424e70ea3a21d485e013748c7374a102 = NULL;
}
assertFrameObject(frame_424e70ea3a21d485e013748c7374a102);
// 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;
}
static PyObject *impl_tornado$util$$$function__11_errno_from_exception(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_e = python_pars[0];
struct Nuitka_FrameObject *frame_edac2374070121dc4a62c2bad8a660f0;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
int tmp_res;
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;
static struct Nuitka_FrameObject *cache_frame_edac2374070121dc4a62c2bad8a660f0 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_edac2374070121dc4a62c2bad8a660f0)) {
Py_XDECREF(cache_frame_edac2374070121dc4a62c2bad8a660f0);
#if _DEBUG_REFCOUNTS
if (cache_frame_edac2374070121dc4a62c2bad8a660f0 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_edac2374070121dc4a62c2bad8a660f0 = MAKE_FUNCTION_FRAME(codeobj_edac2374070121dc4a62c2bad8a660f0, module_tornado$util, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_edac2374070121dc4a62c2bad8a660f0->m_type_description == NULL);
frame_edac2374070121dc4a62c2bad8a660f0 = cache_frame_edac2374070121dc4a62c2bad8a660f0;
// Push the new frame as the currently active one.
pushFrameStack(frame_edac2374070121dc4a62c2bad8a660f0);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_edac2374070121dc4a62c2bad8a660f0) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(par_e);
tmp_expression_value_1 = par_e;
tmp_attribute_value_1 = mod_consts[38];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_1, tmp_attribute_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 188;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_e);
tmp_expression_value_2 = par_e;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[38]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 189;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_attribute_value_2;
int tmp_truth_name_1;
CHECK_OBJECT(par_e);
tmp_expression_value_3 = par_e;
tmp_attribute_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[39]);
if (tmp_attribute_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_attribute_value_2);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_attribute_value_2);
exception_lineno = 190;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_2);
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_e);
tmp_expression_value_5 = par_e;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[39]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 191;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = mod_consts[22];
tmp_return_value = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_1, 0);
Py_DECREF(tmp_expression_value_4);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 191;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_2;
branch_no_2:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_end_2:;
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_edac2374070121dc4a62c2bad8a660f0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_edac2374070121dc4a62c2bad8a660f0);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_edac2374070121dc4a62c2bad8a660f0);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_edac2374070121dc4a62c2bad8a660f0, exception_lineno);
} else if (exception_tb->tb_frame != &frame_edac2374070121dc4a62c2bad8a660f0->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_edac2374070121dc4a62c2bad8a660f0, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_edac2374070121dc4a62c2bad8a660f0,
type_description_1,
par_e
);
// Release cached frame if used for exception.
if (frame_edac2374070121dc4a62c2bad8a660f0 == cache_frame_edac2374070121dc4a62c2bad8a660f0) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_edac2374070121dc4a62c2bad8a660f0);
cache_frame_edac2374070121dc4a62c2bad8a660f0 = NULL;
}
assertFrameObject(frame_edac2374070121dc4a62c2bad8a660f0);
// 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_e);
Py_DECREF(par_e);
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_e);
Py_DECREF(par_e);
// 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$util$$$function__12__re_unescape_replacement(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_match = python_pars[0];
PyObject *var_group = NULL;
struct Nuitka_FrameObject *frame_0674ca7b56d35699124cb458beb4bf22;
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;
static struct Nuitka_FrameObject *cache_frame_0674ca7b56d35699124cb458beb4bf22 = 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_0674ca7b56d35699124cb458beb4bf22)) {
Py_XDECREF(cache_frame_0674ca7b56d35699124cb458beb4bf22);
#if _DEBUG_REFCOUNTS
if (cache_frame_0674ca7b56d35699124cb458beb4bf22 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0674ca7b56d35699124cb458beb4bf22 = MAKE_FUNCTION_FRAME(codeobj_0674ca7b56d35699124cb458beb4bf22, module_tornado$util, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_0674ca7b56d35699124cb458beb4bf22->m_type_description == NULL);
frame_0674ca7b56d35699124cb458beb4bf22 = cache_frame_0674ca7b56d35699124cb458beb4bf22;
// Push the new frame as the currently active one.
pushFrameStack(frame_0674ca7b56d35699124cb458beb4bf22);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0674ca7b56d35699124cb458beb4bf22) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_match);
tmp_called_instance_1 = par_match;
frame_0674ca7b56d35699124cb458beb4bf22->m_frame.f_lineno = 200;
tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[41],
PyTuple_GET_ITEM(mod_consts[42], 0)
);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 200;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_group == NULL);
var_group = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(var_group);
tmp_expression_value_1 = var_group;
tmp_subscript_value_1 = mod_consts[22];
tmp_cmp_expr_left_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 0);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 201;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[43]);
if (unlikely(tmp_cmp_expr_right_1 == NULL)) {
tmp_cmp_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[43]);
}
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_1);
exception_lineno = 201;
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_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 201;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_2;
tmp_mod_expr_left_1 = mod_consts[44];
CHECK_OBJECT(var_group);
tmp_expression_value_2 = var_group;
tmp_subscript_value_2 = mod_consts[22];
tmp_mod_expr_right_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_2, tmp_subscript_value_2, 0);
if (tmp_mod_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 202;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_make_exception_arg_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
Py_DECREF(tmp_mod_expr_right_1);
if (tmp_make_exception_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 202;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_0674ca7b56d35699124cb458beb4bf22->m_frame.f_lineno = 202;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
Py_DECREF(tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 202;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto frame_exception_exit_1;
}
branch_no_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0674ca7b56d35699124cb458beb4bf22);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0674ca7b56d35699124cb458beb4bf22);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0674ca7b56d35699124cb458beb4bf22, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0674ca7b56d35699124cb458beb4bf22->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0674ca7b56d35699124cb458beb4bf22, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0674ca7b56d35699124cb458beb4bf22,
type_description_1,
par_match,
var_group
);
// Release cached frame if used for exception.
if (frame_0674ca7b56d35699124cb458beb4bf22 == cache_frame_0674ca7b56d35699124cb458beb4bf22) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0674ca7b56d35699124cb458beb4bf22);
cache_frame_0674ca7b56d35699124cb458beb4bf22 = NULL;
}
assertFrameObject(frame_0674ca7b56d35699124cb458beb4bf22);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_group);
tmp_return_value = var_group;
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_group);
Py_DECREF(var_group);
var_group = 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_group);
var_group = 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_match);
Py_DECREF(par_match);
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_match);
Py_DECREF(par_match);
// 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$util$$$function__13_re_unescape(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_s = python_pars[0];
struct Nuitka_FrameObject *frame_37f003d956b5929d9e67010bcd034215;
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_37f003d956b5929d9e67010bcd034215 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_37f003d956b5929d9e67010bcd034215)) {
Py_XDECREF(cache_frame_37f003d956b5929d9e67010bcd034215);
#if _DEBUG_REFCOUNTS
if (cache_frame_37f003d956b5929d9e67010bcd034215 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_37f003d956b5929d9e67010bcd034215 = MAKE_FUNCTION_FRAME(codeobj_37f003d956b5929d9e67010bcd034215, module_tornado$util, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_37f003d956b5929d9e67010bcd034215->m_type_description == NULL);
frame_37f003d956b5929d9e67010bcd034215 = cache_frame_37f003d956b5929d9e67010bcd034215;
// Push the new frame as the currently active one.
pushFrameStack(frame_37f003d956b5929d9e67010bcd034215);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_37f003d956b5929d9e67010bcd034215) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[45]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[45]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[46]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[47]);
if (unlikely(tmp_args_element_value_1 == NULL)) {
tmp_args_element_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[47]);
}
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 = 218;
type_description_1 = "o";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_s);
tmp_args_element_value_2 = par_s;
frame_37f003d956b5929d9e67010bcd034215->m_frame.f_lineno = 218;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_37f003d956b5929d9e67010bcd034215);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_37f003d956b5929d9e67010bcd034215);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_37f003d956b5929d9e67010bcd034215);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_37f003d956b5929d9e67010bcd034215, exception_lineno);
} else if (exception_tb->tb_frame != &frame_37f003d956b5929d9e67010bcd034215->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_37f003d956b5929d9e67010bcd034215, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_37f003d956b5929d9e67010bcd034215,
type_description_1,
par_s
);
// Release cached frame if used for exception.
if (frame_37f003d956b5929d9e67010bcd034215 == cache_frame_37f003d956b5929d9e67010bcd034215) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_37f003d956b5929d9e67010bcd034215);
cache_frame_37f003d956b5929d9e67010bcd034215 = NULL;
}
assertFrameObject(frame_37f003d956b5929d9e67010bcd034215);
// 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_s);
Py_DECREF(par_s);
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_s);
Py_DECREF(par_s);
// 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$util$$$function__14___new__(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_args = python_pars[1];
PyObject *par_kwargs = python_pars[2];
PyObject *var_base = NULL;
PyObject *var_init_kwargs = NULL;
PyObject *var_impl = NULL;
PyObject *var_instance = NULL;
struct Nuitka_FrameObject *frame_0956acb2609288bf80914f1d3142bb9b;
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;
static struct Nuitka_FrameObject *cache_frame_0956acb2609288bf80914f1d3142bb9b = 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_0956acb2609288bf80914f1d3142bb9b)) {
Py_XDECREF(cache_frame_0956acb2609288bf80914f1d3142bb9b);
#if _DEBUG_REFCOUNTS
if (cache_frame_0956acb2609288bf80914f1d3142bb9b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_0956acb2609288bf80914f1d3142bb9b = MAKE_FUNCTION_FRAME(codeobj_0956acb2609288bf80914f1d3142bb9b, module_tornado$util, 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_0956acb2609288bf80914f1d3142bb9b->m_type_description == NULL);
frame_0956acb2609288bf80914f1d3142bb9b = cache_frame_0956acb2609288bf80914f1d3142bb9b;
// Push the new frame as the currently active one.
pushFrameStack(frame_0956acb2609288bf80914f1d3142bb9b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_0956acb2609288bf80914f1d3142bb9b) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_cls);
tmp_called_instance_1 = par_cls;
frame_0956acb2609288bf80914f1d3142bb9b->m_frame.f_lineno = 260;
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 = 260;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
assert(var_base == NULL);
var_base = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_DICT_EMPTY();
assert(var_init_kwargs == NULL);
var_init_kwargs = tmp_assign_source_2;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_cls);
tmp_cmp_expr_left_1 = par_cls;
CHECK_OBJECT(var_base);
tmp_cmp_expr_right_1 = var_base;
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_3;
PyObject *tmp_called_instance_2;
CHECK_OBJECT(par_cls);
tmp_called_instance_2 = par_cls;
frame_0956acb2609288bf80914f1d3142bb9b->m_frame.f_lineno = 263;
tmp_assign_source_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[50]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 263;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
assert(var_impl == NULL);
var_impl = tmp_assign_source_3;
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(var_base);
tmp_expression_value_1 = var_base;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[51]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 264;
type_description_1 = "oooooooN";
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 = 264;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_dict_arg_value_1;
PyObject *tmp_iterable_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(var_init_kwargs);
tmp_dict_arg_value_1 = var_init_kwargs;
CHECK_OBJECT(var_base);
tmp_expression_value_2 = var_base;
tmp_iterable_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[51]);
if (tmp_iterable_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
assert(PyDict_Check(tmp_dict_arg_value_1));
if (HAS_ATTR_BOOL(tmp_iterable_value_1, const_str_plain_keys)){
tmp_res = PyDict_Merge(tmp_dict_arg_value_1, tmp_iterable_value_1, 1);
} else {
tmp_res = PyDict_MergeFromSeq2(tmp_dict_arg_value_1, tmp_iterable_value_1, 1);
}
Py_DECREF(tmp_iterable_value_1);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 265;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
}
branch_no_2:;
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(par_cls);
tmp_assign_source_4 = par_cls;
assert(var_impl == NULL);
Py_INCREF(tmp_assign_source_4);
var_impl = tmp_assign_source_4;
}
branch_end_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
if (var_init_kwargs == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[52]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 268;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = var_init_kwargs;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[53]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_kwargs);
tmp_args_element_value_1 = par_kwargs;
frame_0956acb2609288bf80914f1d3142bb9b->m_frame.f_lineno = 268;
tmp_call_result_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 268;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_called_instance_3;
CHECK_OBJECT(var_impl);
tmp_called_instance_3 = var_impl;
frame_0956acb2609288bf80914f1d3142bb9b->m_frame.f_lineno = 269;
tmp_cmp_expr_left_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[49]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 269;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_base);
tmp_cmp_expr_right_2 = var_base;
tmp_condition_result_3 = (tmp_cmp_expr_left_2 != tmp_cmp_expr_right_2) ? true : false;
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_dircall_arg1_1;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_dircall_arg3_1;
CHECK_OBJECT(var_impl);
tmp_dircall_arg1_1 = var_impl;
CHECK_OBJECT(par_args);
tmp_dircall_arg2_1 = par_args;
if (var_init_kwargs == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[52]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 271;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
tmp_dircall_arg3_1 = var_init_kwargs;
Py_INCREF(tmp_dircall_arg1_1);
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_return_value = impl___main__$$$function__4_complex_call_helper_star_list_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 271;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_no_3:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_instance_4;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_args_element_value_2;
tmp_type_arg_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[54]);
if (unlikely(tmp_type_arg_value_1 == NULL)) {
tmp_type_arg_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[54]);
}
if (tmp_type_arg_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_cls);
tmp_object_arg_value_1 = par_cls;
tmp_called_instance_4 = BUILTIN_SUPER2(moduledict_tornado$util, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_impl);
tmp_args_element_value_2 = var_impl;
frame_0956acb2609288bf80914f1d3142bb9b->m_frame.f_lineno = 272;
tmp_assign_source_5 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[55], tmp_args_element_value_2);
Py_DECREF(tmp_called_instance_4);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 272;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
assert(var_instance == NULL);
var_instance = tmp_assign_source_5;
}
{
PyObject *tmp_dircall_arg1_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_dircall_arg2_2;
PyObject *tmp_dircall_arg3_2;
PyObject *tmp_call_result_2;
CHECK_OBJECT(var_instance);
tmp_expression_value_4 = var_instance;
tmp_dircall_arg1_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[56]);
if (tmp_dircall_arg1_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 276;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_args);
tmp_dircall_arg2_2 = par_args;
if (var_init_kwargs == NULL) {
Py_DECREF(tmp_dircall_arg1_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[52]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 276;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
tmp_dircall_arg3_2 = var_init_kwargs;
Py_INCREF(tmp_dircall_arg2_2);
Py_INCREF(tmp_dircall_arg3_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_2};
tmp_call_result_2 = impl___main__$$$function__4_complex_call_helper_star_list_star_dict(dir_call_args);
}
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 276;
type_description_1 = "oooooooN";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_0956acb2609288bf80914f1d3142bb9b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0956acb2609288bf80914f1d3142bb9b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_0956acb2609288bf80914f1d3142bb9b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_0956acb2609288bf80914f1d3142bb9b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_0956acb2609288bf80914f1d3142bb9b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_0956acb2609288bf80914f1d3142bb9b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_0956acb2609288bf80914f1d3142bb9b,
type_description_1,
par_cls,
par_args,
par_kwargs,
var_base,
var_init_kwargs,
var_impl,
var_instance,
NULL
);
// Release cached frame if used for exception.
if (frame_0956acb2609288bf80914f1d3142bb9b == cache_frame_0956acb2609288bf80914f1d3142bb9b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_0956acb2609288bf80914f1d3142bb9b);
cache_frame_0956acb2609288bf80914f1d3142bb9b = NULL;
}
assertFrameObject(frame_0956acb2609288bf80914f1d3142bb9b);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_instance);
tmp_return_value = var_instance;
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_base);
Py_DECREF(var_base);
var_base = NULL;
Py_XDECREF(var_init_kwargs);
var_init_kwargs = NULL;
CHECK_OBJECT(var_impl);
Py_DECREF(var_impl);
var_impl = NULL;
Py_XDECREF(var_instance);
var_instance = 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_base);
var_base = NULL;
Py_XDECREF(var_init_kwargs);
var_init_kwargs = NULL;
Py_XDECREF(var_impl);
var_impl = NULL;
Py_XDECREF(var_instance);
var_instance = 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);
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_cls);
Py_DECREF(par_cls);
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$util$$$function__15_configurable_base(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_f782af89e273e19cfaa5d8b26e34562b;
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;
static struct Nuitka_FrameObject *cache_frame_f782af89e273e19cfaa5d8b26e34562b = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_f782af89e273e19cfaa5d8b26e34562b)) {
Py_XDECREF(cache_frame_f782af89e273e19cfaa5d8b26e34562b);
#if _DEBUG_REFCOUNTS
if (cache_frame_f782af89e273e19cfaa5d8b26e34562b == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f782af89e273e19cfaa5d8b26e34562b = MAKE_FUNCTION_FRAME(codeobj_f782af89e273e19cfaa5d8b26e34562b, module_tornado$util, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f782af89e273e19cfaa5d8b26e34562b->m_type_description == NULL);
frame_f782af89e273e19cfaa5d8b26e34562b = cache_frame_f782af89e273e19cfaa5d8b26e34562b;
// Push the new frame as the currently active one.
pushFrameStack(frame_f782af89e273e19cfaa5d8b26e34562b);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f782af89e273e19cfaa5d8b26e34562b) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
frame_f782af89e273e19cfaa5d8b26e34562b->m_frame.f_lineno = 289;
tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_NotImplementedError);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 289;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto frame_exception_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_f782af89e273e19cfaa5d8b26e34562b);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f782af89e273e19cfaa5d8b26e34562b);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f782af89e273e19cfaa5d8b26e34562b, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f782af89e273e19cfaa5d8b26e34562b->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f782af89e273e19cfaa5d8b26e34562b, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f782af89e273e19cfaa5d8b26e34562b,
type_description_1,
par_cls
);
// Release cached frame if used for exception.
if (frame_f782af89e273e19cfaa5d8b26e34562b == cache_frame_f782af89e273e19cfaa5d8b26e34562b) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f782af89e273e19cfaa5d8b26e34562b);
cache_frame_f782af89e273e19cfaa5d8b26e34562b = NULL;
}
assertFrameObject(frame_f782af89e273e19cfaa5d8b26e34562b);
// 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_cls);
Py_DECREF(par_cls);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}
static PyObject *impl_tornado$util$$$function__16_configurable_default(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_090108a7ef5408689ebacfc37dca87a9;
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;
static struct Nuitka_FrameObject *cache_frame_090108a7ef5408689ebacfc37dca87a9 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_090108a7ef5408689ebacfc37dca87a9)) {
Py_XDECREF(cache_frame_090108a7ef5408689ebacfc37dca87a9);
#if _DEBUG_REFCOUNTS
if (cache_frame_090108a7ef5408689ebacfc37dca87a9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_090108a7ef5408689ebacfc37dca87a9 = MAKE_FUNCTION_FRAME(codeobj_090108a7ef5408689ebacfc37dca87a9, module_tornado$util, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_090108a7ef5408689ebacfc37dca87a9->m_type_description == NULL);
frame_090108a7ef5408689ebacfc37dca87a9 = cache_frame_090108a7ef5408689ebacfc37dca87a9;
// Push the new frame as the currently active one.
pushFrameStack(frame_090108a7ef5408689ebacfc37dca87a9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_090108a7ef5408689ebacfc37dca87a9) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
frame_090108a7ef5408689ebacfc37dca87a9->m_frame.f_lineno = 295;
tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_NotImplementedError);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 295;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "o";
goto frame_exception_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_090108a7ef5408689ebacfc37dca87a9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_090108a7ef5408689ebacfc37dca87a9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_090108a7ef5408689ebacfc37dca87a9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_090108a7ef5408689ebacfc37dca87a9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_090108a7ef5408689ebacfc37dca87a9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_090108a7ef5408689ebacfc37dca87a9,
type_description_1,
par_cls
);
// Release cached frame if used for exception.
if (frame_090108a7ef5408689ebacfc37dca87a9 == cache_frame_090108a7ef5408689ebacfc37dca87a9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_090108a7ef5408689ebacfc37dca87a9);
cache_frame_090108a7ef5408689ebacfc37dca87a9 = NULL;
}
assertFrameObject(frame_090108a7ef5408689ebacfc37dca87a9);
// 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_cls);
Py_DECREF(par_cls);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}
static PyObject *impl_tornado$util$$$function__18_configure(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_impl = python_pars[1];
PyObject *par_kwargs = python_pars[2];
PyObject *var_base = NULL;
struct Nuitka_FrameObject *frame_048fd1c66769752ea8f27a9a3e1907a9;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_048fd1c66769752ea8f27a9a3e1907a9 = 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_048fd1c66769752ea8f27a9a3e1907a9)) {
Py_XDECREF(cache_frame_048fd1c66769752ea8f27a9a3e1907a9);
#if _DEBUG_REFCOUNTS
if (cache_frame_048fd1c66769752ea8f27a9a3e1907a9 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_048fd1c66769752ea8f27a9a3e1907a9 = MAKE_FUNCTION_FRAME(codeobj_048fd1c66769752ea8f27a9a3e1907a9, module_tornado$util, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_048fd1c66769752ea8f27a9a3e1907a9->m_type_description == NULL);
frame_048fd1c66769752ea8f27a9a3e1907a9 = cache_frame_048fd1c66769752ea8f27a9a3e1907a9;
// Push the new frame as the currently active one.
pushFrameStack(frame_048fd1c66769752ea8f27a9a3e1907a9);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_048fd1c66769752ea8f27a9a3e1907a9) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_cls);
tmp_called_instance_1 = par_cls;
frame_048fd1c66769752ea8f27a9a3e1907a9->m_frame.f_lineno = 318;
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 = 318;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_base == NULL);
var_base = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
CHECK_OBJECT(par_impl);
tmp_isinstance_inst_1 = par_impl;
tmp_isinstance_cls_1 = (PyObject *)&PyUnicode_Type;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 319;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_called_value_2;
PyObject *tmp_args_element_value_3;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[59]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[59]);
}
assert(!(tmp_expression_value_1 == NULL));
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[60]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 320;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[61]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[61]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 320;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_subscript_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[54]);
if (unlikely(tmp_subscript_value_1 == NULL)) {
tmp_subscript_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[54]);
}
if (tmp_subscript_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 320;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_1);
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 = 320;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[62]);
if (unlikely(tmp_called_value_2 == NULL)) {
tmp_called_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[62]);
}
if (tmp_called_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 = 320;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_impl);
tmp_args_element_value_3 = par_impl;
frame_048fd1c66769752ea8f27a9a3e1907a9->m_frame.f_lineno = 320;
tmp_args_element_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_3);
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 = 320;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_048fd1c66769752ea8f27a9a3e1907a9->m_frame.f_lineno = 320;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_2 = 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_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 320;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_impl;
assert(old != NULL);
par_impl = tmp_assign_source_2;
Py_DECREF(old);
}
}
branch_no_1:;
{
bool tmp_condition_result_2;
int tmp_and_left_truth_1;
bool tmp_and_left_value_1;
bool tmp_and_right_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_issubclass_cls_1;
PyObject *tmp_issubclass_classes_1;
CHECK_OBJECT(par_impl);
tmp_cmp_expr_left_1 = par_impl;
tmp_cmp_expr_right_1 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
tmp_and_left_truth_1 = tmp_and_left_value_1 != false ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_impl);
tmp_issubclass_cls_1 = par_impl;
CHECK_OBJECT(par_cls);
tmp_issubclass_classes_1 = par_cls;
tmp_res = PyObject_IsSubclass(tmp_issubclass_cls_1, tmp_issubclass_classes_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 321;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
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 = 321;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 0) ? true : false;
tmp_condition_result_2 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_2 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
tmp_mod_expr_left_1 = mod_consts[63];
CHECK_OBJECT(par_cls);
tmp_mod_expr_right_1 = par_cls;
tmp_make_exception_arg_1 = BINARY_OPERATION_MOD_OBJECT_UNICODE_OBJECT(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_make_exception_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 322;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_048fd1c66769752ea8f27a9a3e1907a9->m_frame.f_lineno = 322;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
Py_DECREF(tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 322;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_impl);
tmp_assattr_value_1 = par_impl;
CHECK_OBJECT(var_base);
tmp_assattr_target_1 = var_base;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[64], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 323;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_kwargs);
tmp_assattr_value_2 = par_kwargs;
CHECK_OBJECT(var_base);
tmp_assattr_target_2 = var_base;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[51], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 324;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_048fd1c66769752ea8f27a9a3e1907a9);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_048fd1c66769752ea8f27a9a3e1907a9);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_048fd1c66769752ea8f27a9a3e1907a9, exception_lineno);
} else if (exception_tb->tb_frame != &frame_048fd1c66769752ea8f27a9a3e1907a9->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_048fd1c66769752ea8f27a9a3e1907a9, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_048fd1c66769752ea8f27a9a3e1907a9,
type_description_1,
par_cls,
par_impl,
par_kwargs,
var_base
);
// Release cached frame if used for exception.
if (frame_048fd1c66769752ea8f27a9a3e1907a9 == cache_frame_048fd1c66769752ea8f27a9a3e1907a9) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_048fd1c66769752ea8f27a9a3e1907a9);
cache_frame_048fd1c66769752ea8f27a9a3e1907a9 = NULL;
}
assertFrameObject(frame_048fd1c66769752ea8f27a9a3e1907a9);
// 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_impl);
Py_DECREF(par_impl);
par_impl = NULL;
CHECK_OBJECT(var_base);
Py_DECREF(var_base);
var_base = 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(par_impl);
par_impl = NULL;
Py_XDECREF(var_base);
var_base = 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);
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_cls);
Py_DECREF(par_cls);
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$util$$$function__19_configured_class(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_base = NULL;
struct Nuitka_FrameObject *frame_29de1399d95db5144b94a946b18cbe5f;
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_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_29de1399d95db5144b94a946b18cbe5f = 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_29de1399d95db5144b94a946b18cbe5f)) {
Py_XDECREF(cache_frame_29de1399d95db5144b94a946b18cbe5f);
#if _DEBUG_REFCOUNTS
if (cache_frame_29de1399d95db5144b94a946b18cbe5f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_29de1399d95db5144b94a946b18cbe5f = MAKE_FUNCTION_FRAME(codeobj_29de1399d95db5144b94a946b18cbe5f, module_tornado$util, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_29de1399d95db5144b94a946b18cbe5f->m_type_description == NULL);
frame_29de1399d95db5144b94a946b18cbe5f = cache_frame_29de1399d95db5144b94a946b18cbe5f;
// Push the new frame as the currently active one.
pushFrameStack(frame_29de1399d95db5144b94a946b18cbe5f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_29de1399d95db5144b94a946b18cbe5f) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_cls);
tmp_called_instance_1 = par_cls;
frame_29de1399d95db5144b94a946b18cbe5f->m_frame.f_lineno = 330;
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 = 330;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_base == NULL);
var_base = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(var_base);
tmp_expression_value_2 = var_base;
tmp_expression_value_1 = LOOKUP_ATTRIBUTE_DICT_SLOT(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[66]);
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 = 334;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
frame_29de1399d95db5144b94a946b18cbe5f->m_frame.f_lineno = 334;
tmp_cmp_expr_left_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_1, mod_consts[67]);
Py_DECREF(tmp_called_value_1);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 334;
type_description_1 = "oo";
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;
Py_DECREF(tmp_cmp_expr_left_1);
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_called_instance_2;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_cls);
tmp_called_instance_2 = par_cls;
frame_29de1399d95db5144b94a946b18cbe5f->m_frame.f_lineno = 335;
tmp_assattr_value_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_2, mod_consts[68]);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 335;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_base);
tmp_assattr_target_1 = var_base;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[64], 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 = 335;
type_description_1 = "oo";
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_expression_value_3;
CHECK_OBJECT(var_base);
tmp_expression_value_3 = var_base;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[64]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 336;
type_description_1 = "oo";
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;
Py_DECREF(tmp_cmp_expr_left_2);
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_expression_value_4;
CHECK_OBJECT(var_base);
tmp_expression_value_4 = var_base;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[64]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 337;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[69];
frame_29de1399d95db5144b94a946b18cbe5f->m_frame.f_lineno = 340;
tmp_raise_type_1 = CALL_FUNCTION_WITH_SINGLE_ARG(PyExc_ValueError, tmp_make_exception_arg_1);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 340;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oo";
goto frame_exception_exit_1;
}
branch_end_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_29de1399d95db5144b94a946b18cbe5f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_29de1399d95db5144b94a946b18cbe5f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_29de1399d95db5144b94a946b18cbe5f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_29de1399d95db5144b94a946b18cbe5f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_29de1399d95db5144b94a946b18cbe5f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_29de1399d95db5144b94a946b18cbe5f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_29de1399d95db5144b94a946b18cbe5f,
type_description_1,
par_cls,
var_base
);
// Release cached frame if used for exception.
if (frame_29de1399d95db5144b94a946b18cbe5f == cache_frame_29de1399d95db5144b94a946b18cbe5f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_29de1399d95db5144b94a946b18cbe5f);
cache_frame_29de1399d95db5144b94a946b18cbe5f = NULL;
}
assertFrameObject(frame_29de1399d95db5144b94a946b18cbe5f);
// 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_base);
Py_DECREF(var_base);
var_base = 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_base);
var_base = 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$util$$$function__20__save_configuration(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_base = NULL;
struct Nuitka_FrameObject *frame_c092edc8266357d82964cfc7429f6ce1;
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;
static struct Nuitka_FrameObject *cache_frame_c092edc8266357d82964cfc7429f6ce1 = 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_c092edc8266357d82964cfc7429f6ce1)) {
Py_XDECREF(cache_frame_c092edc8266357d82964cfc7429f6ce1);
#if _DEBUG_REFCOUNTS
if (cache_frame_c092edc8266357d82964cfc7429f6ce1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c092edc8266357d82964cfc7429f6ce1 = MAKE_FUNCTION_FRAME(codeobj_c092edc8266357d82964cfc7429f6ce1, module_tornado$util, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c092edc8266357d82964cfc7429f6ce1->m_type_description == NULL);
frame_c092edc8266357d82964cfc7429f6ce1 = cache_frame_c092edc8266357d82964cfc7429f6ce1;
// Push the new frame as the currently active one.
pushFrameStack(frame_c092edc8266357d82964cfc7429f6ce1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c092edc8266357d82964cfc7429f6ce1) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_cls);
tmp_called_instance_1 = par_cls;
frame_c092edc8266357d82964cfc7429f6ce1->m_frame.f_lineno = 345;
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 = 345;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
assert(var_base == NULL);
var_base = tmp_assign_source_1;
}
{
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(var_base);
tmp_expression_value_1 = var_base;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[64]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 346;
type_description_1 = "oo";
goto frame_exception_exit_1;
}
tmp_return_value = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_2;
PyTuple_SET_ITEM(tmp_return_value, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_base);
tmp_expression_value_2 = var_base;
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[51]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 346;
type_description_1 = "oo";
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_return_value, 1, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_return_value);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c092edc8266357d82964cfc7429f6ce1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c092edc8266357d82964cfc7429f6ce1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c092edc8266357d82964cfc7429f6ce1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c092edc8266357d82964cfc7429f6ce1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c092edc8266357d82964cfc7429f6ce1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c092edc8266357d82964cfc7429f6ce1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c092edc8266357d82964cfc7429f6ce1,
type_description_1,
par_cls,
var_base
);
// Release cached frame if used for exception.
if (frame_c092edc8266357d82964cfc7429f6ce1 == cache_frame_c092edc8266357d82964cfc7429f6ce1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c092edc8266357d82964cfc7429f6ce1);
cache_frame_c092edc8266357d82964cfc7429f6ce1 = NULL;
}
assertFrameObject(frame_c092edc8266357d82964cfc7429f6ce1);
// 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_base);
Py_DECREF(var_base);
var_base = 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_base);
var_base = 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$util$$$function__21__restore_configuration(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_saved = python_pars[1];
PyObject *var_base = NULL;
struct Nuitka_FrameObject *frame_81891c2310f0e511317920362ff967f6;
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;
static struct Nuitka_FrameObject *cache_frame_81891c2310f0e511317920362ff967f6 = 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_81891c2310f0e511317920362ff967f6)) {
Py_XDECREF(cache_frame_81891c2310f0e511317920362ff967f6);
#if _DEBUG_REFCOUNTS
if (cache_frame_81891c2310f0e511317920362ff967f6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_81891c2310f0e511317920362ff967f6 = MAKE_FUNCTION_FRAME(codeobj_81891c2310f0e511317920362ff967f6, module_tornado$util, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_81891c2310f0e511317920362ff967f6->m_type_description == NULL);
frame_81891c2310f0e511317920362ff967f6 = cache_frame_81891c2310f0e511317920362ff967f6;
// Push the new frame as the currently active one.
pushFrameStack(frame_81891c2310f0e511317920362ff967f6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_81891c2310f0e511317920362ff967f6) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_cls);
tmp_called_instance_1 = par_cls;
frame_81891c2310f0e511317920362ff967f6->m_frame.f_lineno = 351;
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 = 351;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_base == NULL);
var_base = tmp_assign_source_1;
}
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_saved);
tmp_expression_value_1 = par_saved;
tmp_subscript_value_1 = mod_consts[22];
tmp_assattr_value_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 0);
if (tmp_assattr_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_base);
tmp_assattr_target_1 = var_base;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[64], 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 = 352;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_saved);
tmp_expression_value_2 = par_saved;
tmp_subscript_value_2 = mod_consts[34];
tmp_assattr_value_2 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_2, tmp_subscript_value_2, 1);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 353;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_base);
tmp_assattr_target_2 = var_base;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[51], 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 = 353;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_81891c2310f0e511317920362ff967f6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_81891c2310f0e511317920362ff967f6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_81891c2310f0e511317920362ff967f6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_81891c2310f0e511317920362ff967f6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_81891c2310f0e511317920362ff967f6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_81891c2310f0e511317920362ff967f6,
type_description_1,
par_cls,
par_saved,
var_base
);
// Release cached frame if used for exception.
if (frame_81891c2310f0e511317920362ff967f6 == cache_frame_81891c2310f0e511317920362ff967f6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_81891c2310f0e511317920362ff967f6);
cache_frame_81891c2310f0e511317920362ff967f6 = NULL;
}
assertFrameObject(frame_81891c2310f0e511317920362ff967f6);
// 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_base);
Py_DECREF(var_base);
var_base = 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_base);
var_base = 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);
CHECK_OBJECT(par_saved);
Py_DECREF(par_saved);
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_saved);
Py_DECREF(par_saved);
// 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$util$$$function__22___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_func = python_pars[1];
PyObject *par_name = python_pars[2];
struct Nuitka_FrameObject *frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
bool tmp_result;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
static struct Nuitka_FrameObject *cache_frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7)) {
Py_XDECREF(cache_frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7);
#if _DEBUG_REFCOUNTS
if (cache_frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7 = MAKE_FUNCTION_FRAME(codeobj_2a4ee0e25a9d6ff8e1ca6c53de1825a7, module_tornado$util, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7->m_type_description == NULL);
frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7 = cache_frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7;
// Push the new frame as the currently active one.
pushFrameStack(frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_name);
tmp_assattr_value_1 = par_name;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[71], tmp_assattr_value_1);
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;
}
}
// Tried code:
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_self);
tmp_called_instance_1 = par_self;
CHECK_OBJECT(par_func);
tmp_args_element_value_1 = par_func;
frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7->m_frame.f_lineno = 367;
tmp_expression_value_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[72], tmp_args_element_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
type_description_1 = "ooo";
goto try_except_handler_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[73]);
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 = 367;
type_description_1 = "ooo";
goto try_except_handler_1;
}
CHECK_OBJECT(par_name);
tmp_args_element_value_2 = par_name;
frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7->m_frame.f_lineno = 367;
tmp_assattr_value_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_1);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 367;
type_description_1 = "ooo";
goto try_except_handler_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[74], 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 = 367;
type_description_1 = "ooo";
goto try_except_handler_1;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_ValueError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_value_3 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[74], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 370;
type_description_1 = "ooo";
goto try_except_handler_2;
}
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 366;
}
if (exception_tb && exception_tb->tb_frame == &frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7->m_frame) frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_2;
branch_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7,
type_description_1,
par_self,
par_func,
par_name
);
// Release cached frame if used for exception.
if (frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7 == cache_frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7);
cache_frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7 = NULL;
}
assertFrameObject(frame_2a4ee0e25a9d6ff8e1ca6c53de1825a7);
// 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_func);
Py_DECREF(par_func);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
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_func);
Py_DECREF(par_func);
CHECK_OBJECT(par_name);
Py_DECREF(par_name);
// 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$util$$$function__23__getargnames(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_func = python_pars[1];
PyObject *var_code = NULL;
struct Nuitka_FrameObject *frame_f0e2b44f49cfc37435887890b6ebccd6;
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;
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;
static struct Nuitka_FrameObject *cache_frame_f0e2b44f49cfc37435887890b6ebccd6 = 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_f0e2b44f49cfc37435887890b6ebccd6)) {
Py_XDECREF(cache_frame_f0e2b44f49cfc37435887890b6ebccd6);
#if _DEBUG_REFCOUNTS
if (cache_frame_f0e2b44f49cfc37435887890b6ebccd6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_f0e2b44f49cfc37435887890b6ebccd6 = MAKE_FUNCTION_FRAME(codeobj_f0e2b44f49cfc37435887890b6ebccd6, module_tornado$util, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_f0e2b44f49cfc37435887890b6ebccd6->m_type_description == NULL);
frame_f0e2b44f49cfc37435887890b6ebccd6 = cache_frame_f0e2b44f49cfc37435887890b6ebccd6;
// Push the new frame as the currently active one.
pushFrameStack(frame_f0e2b44f49cfc37435887890b6ebccd6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_f0e2b44f49cfc37435887890b6ebccd6) == 2); // Frame stack
// Framed code:
// Tried code:
{
PyObject *tmp_expression_value_1;
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[75]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[75]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 374;
type_description_1 = "ooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_func);
tmp_args_element_value_1 = par_func;
frame_f0e2b44f49cfc37435887890b6ebccd6->m_frame.f_lineno = 374;
tmp_expression_value_1 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_1, tmp_args_element_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 374;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[39]);
Py_DECREF(tmp_expression_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 374;
type_description_1 = "ooo";
goto try_except_handler_2;
}
goto frame_return_exit_1;
}
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// 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_f0e2b44f49cfc37435887890b6ebccd6, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_f0e2b44f49cfc37435887890b6ebccd6, exception_keeper_lineno_1);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_1, &exception_keeper_value_1, &exception_keeper_tb_1);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_TypeError;
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:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(par_func);
tmp_expression_value_2 = par_func;
tmp_attribute_value_1 = mod_consts[76];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_2, tmp_attribute_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 376;
type_description_1 = "ooo";
goto try_except_handler_3;
}
tmp_condition_result_2 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(par_func);
tmp_expression_value_3 = par_func;
tmp_assign_source_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[76]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 383;
type_description_1 = "ooo";
goto try_except_handler_3;
}
assert(var_code == NULL);
var_code = tmp_assign_source_1;
}
{
PyObject *tmp_expression_value_4;
PyObject *tmp_expression_value_5;
PyObject *tmp_subscript_value_1;
PyObject *tmp_stop_value_1;
PyObject *tmp_expression_value_6;
CHECK_OBJECT(var_code);
tmp_expression_value_5 = var_code;
tmp_expression_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[77]);
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 384;
type_description_1 = "ooo";
goto try_except_handler_3;
}
CHECK_OBJECT(var_code);
tmp_expression_value_6 = var_code;
tmp_stop_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[78]);
if (tmp_stop_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_4);
exception_lineno = 384;
type_description_1 = "ooo";
goto try_except_handler_3;
}
tmp_subscript_value_1 = MAKE_SLICEOBJ1(tmp_stop_value_1);
Py_DECREF(tmp_stop_value_1);
assert(!(tmp_subscript_value_1 == NULL));
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_4, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_4);
Py_DECREF(tmp_subscript_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 384;
type_description_1 = "ooo";
goto try_except_handler_3;
}
goto try_return_handler_3;
}
branch_no_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 385;
}
if (exception_tb && exception_tb->tb_frame == &frame_f0e2b44f49cfc37435887890b6ebccd6->m_frame) frame_f0e2b44f49cfc37435887890b6ebccd6->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_3;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 373;
}
if (exception_tb && exception_tb->tb_frame == &frame_f0e2b44f49cfc37435887890b6ebccd6->m_frame) frame_f0e2b44f49cfc37435887890b6ebccd6->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_3;
branch_end_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_3:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_f0e2b44f49cfc37435887890b6ebccd6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f0e2b44f49cfc37435887890b6ebccd6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_f0e2b44f49cfc37435887890b6ebccd6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_f0e2b44f49cfc37435887890b6ebccd6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_f0e2b44f49cfc37435887890b6ebccd6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_f0e2b44f49cfc37435887890b6ebccd6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_f0e2b44f49cfc37435887890b6ebccd6,
type_description_1,
par_self,
par_func,
var_code
);
// Release cached frame if used for exception.
if (frame_f0e2b44f49cfc37435887890b6ebccd6 == cache_frame_f0e2b44f49cfc37435887890b6ebccd6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_f0e2b44f49cfc37435887890b6ebccd6);
cache_frame_f0e2b44f49cfc37435887890b6ebccd6 = NULL;
}
assertFrameObject(frame_f0e2b44f49cfc37435887890b6ebccd6);
// 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:;
Py_XDECREF(var_code);
var_code = 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_code);
var_code = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_func);
Py_DECREF(par_func);
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_func);
Py_DECREF(par_func);
// 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$util$$$function__24_get_old_value(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 *par_default = python_pars[3];
struct Nuitka_FrameObject *frame_c6db83e8bd235a76a16d75fb0955265c;
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;
static struct Nuitka_FrameObject *cache_frame_c6db83e8bd235a76a16d75fb0955265c = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_c6db83e8bd235a76a16d75fb0955265c)) {
Py_XDECREF(cache_frame_c6db83e8bd235a76a16d75fb0955265c);
#if _DEBUG_REFCOUNTS
if (cache_frame_c6db83e8bd235a76a16d75fb0955265c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c6db83e8bd235a76a16d75fb0955265c = MAKE_FUNCTION_FRAME(codeobj_c6db83e8bd235a76a16d75fb0955265c, module_tornado$util, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c6db83e8bd235a76a16d75fb0955265c->m_type_description == NULL);
frame_c6db83e8bd235a76a16d75fb0955265c = cache_frame_c6db83e8bd235a76a16d75fb0955265c;
// Push the new frame as the currently active one.
pushFrameStack(frame_c6db83e8bd235a76a16d75fb0955265c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c6db83e8bd235a76a16d75fb0955265c) == 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;
PyObject *tmp_expression_value_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[74]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 394;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF(tmp_cmp_expr_left_1);
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_args);
tmp_len_arg_1 = par_args;
tmp_cmp_expr_left_2 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 394;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[74]);
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 = 394;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = RICH_COMPARE_GT_NBOOL_LONG_OBJECT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_and_right_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 394;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
PyObject *tmp_expression_value_4;
if (par_args == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[39]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 395;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = par_args;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_subscript_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[74]);
if (tmp_subscript_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 395;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_return_value = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 395;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_2;
CHECK_OBJECT(par_kwargs);
tmp_expression_value_5 = par_kwargs;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[66]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 397;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[71]);
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 = 397;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_default);
tmp_args_element_value_2 = par_default;
frame_c6db83e8bd235a76a16d75fb0955265c->m_frame.f_lineno = 397;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_return_value = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
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 = 397;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c6db83e8bd235a76a16d75fb0955265c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c6db83e8bd235a76a16d75fb0955265c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c6db83e8bd235a76a16d75fb0955265c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c6db83e8bd235a76a16d75fb0955265c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c6db83e8bd235a76a16d75fb0955265c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c6db83e8bd235a76a16d75fb0955265c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c6db83e8bd235a76a16d75fb0955265c,
type_description_1,
par_self,
par_args,
par_kwargs,
par_default
);
// Release cached frame if used for exception.
if (frame_c6db83e8bd235a76a16d75fb0955265c == cache_frame_c6db83e8bd235a76a16d75fb0955265c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c6db83e8bd235a76a16d75fb0955265c);
cache_frame_c6db83e8bd235a76a16d75fb0955265c = NULL;
}
assertFrameObject(frame_c6db83e8bd235a76a16d75fb0955265c);
// 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_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_args);
Py_DECREF(par_args);
CHECK_OBJECT(par_kwargs);
Py_DECREF(par_kwargs);
CHECK_OBJECT(par_default);
Py_DECREF(par_default);
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);
CHECK_OBJECT(par_default);
Py_DECREF(par_default);
// 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$util$$$function__25_replace(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_new_value = python_pars[1];
PyObject *par_args = python_pars[2];
PyObject *par_kwargs = python_pars[3];
PyObject *var_old_value = NULL;
struct Nuitka_FrameObject *frame_ce8354955e64cba1de3718936dc71709;
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_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_ce8354955e64cba1de3718936dc71709 = 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_ce8354955e64cba1de3718936dc71709)) {
Py_XDECREF(cache_frame_ce8354955e64cba1de3718936dc71709);
#if _DEBUG_REFCOUNTS
if (cache_frame_ce8354955e64cba1de3718936dc71709 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ce8354955e64cba1de3718936dc71709 = MAKE_FUNCTION_FRAME(codeobj_ce8354955e64cba1de3718936dc71709, module_tornado$util, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ce8354955e64cba1de3718936dc71709->m_type_description == NULL);
frame_ce8354955e64cba1de3718936dc71709 = cache_frame_ce8354955e64cba1de3718936dc71709;
// Push the new frame as the currently active one.
pushFrameStack(frame_ce8354955e64cba1de3718936dc71709);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ce8354955e64cba1de3718936dc71709) == 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;
PyObject *tmp_expression_value_1;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_len_arg_1;
PyObject *tmp_expression_value_2;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[74]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 411;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_1 = Py_None;
tmp_and_left_value_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
Py_DECREF(tmp_cmp_expr_left_1);
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
CHECK_OBJECT(par_args);
tmp_len_arg_1 = par_args;
tmp_cmp_expr_left_2 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 411;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[74]);
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 = 411;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = RICH_COMPARE_GT_NBOOL_LONG_OBJECT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_and_right_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 411;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_and_right_value_1;
goto and_end_1;
and_left_1:;
tmp_condition_result_1 = tmp_and_left_value_1;
and_end_1:;
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
PyObject *tmp_expression_value_4;
if (par_args == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[39]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 413;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = par_args;
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_subscript_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[74]);
if (tmp_subscript_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 413;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 413;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_old_value == NULL);
var_old_value = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_list_arg_1;
if (par_args == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[39]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 414;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_list_arg_1 = par_args;
tmp_assign_source_2 = MAKE_LIST(tmp_list_arg_1);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 414;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_args;
par_args = tmp_assign_source_2;
Py_XDECREF(old);
}
}
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(par_new_value);
tmp_ass_subvalue_1 = par_new_value;
CHECK_OBJECT(par_args);
tmp_ass_subscribed_1 = par_args;
CHECK_OBJECT(par_self);
tmp_expression_value_5 = par_self;
tmp_ass_subscript_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[74]);
if (tmp_ass_subscript_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 415;
type_description_1 = "ooooo";
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_subscript_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 415;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(par_kwargs);
tmp_expression_value_6 = par_kwargs;
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[66]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[71]);
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 = 418;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
frame_ce8354955e64cba1de3718936dc71709->m_frame.f_lineno = 418;
tmp_assign_source_3 = 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_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 418;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_old_value == NULL);
var_old_value = tmp_assign_source_3;
}
{
PyObject *tmp_ass_subvalue_2;
PyObject *tmp_ass_subscribed_2;
PyObject *tmp_ass_subscript_2;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(par_new_value);
tmp_ass_subvalue_2 = par_new_value;
CHECK_OBJECT(par_kwargs);
tmp_ass_subscribed_2 = par_kwargs;
CHECK_OBJECT(par_self);
tmp_expression_value_8 = par_self;
tmp_ass_subscript_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[71]);
if (tmp_ass_subscript_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 419;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_2, tmp_ass_subscript_2, tmp_ass_subvalue_2);
Py_DECREF(tmp_ass_subscript_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 419;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
}
branch_end_1:;
{
PyObject *tmp_tuple_element_1;
CHECK_OBJECT(var_old_value);
tmp_tuple_element_1 = var_old_value;
tmp_return_value = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_return_value, 0, tmp_tuple_element_1);
if (par_args == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[39]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 420;
type_description_1 = "ooooo";
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = par_args;
PyTuple_SET_ITEM0(tmp_return_value, 1, tmp_tuple_element_1);
if (par_kwargs == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[80]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 420;
type_description_1 = "ooooo";
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = par_kwargs;
PyTuple_SET_ITEM0(tmp_return_value, 2, tmp_tuple_element_1);
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_return_value);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ce8354955e64cba1de3718936dc71709);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ce8354955e64cba1de3718936dc71709);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ce8354955e64cba1de3718936dc71709);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ce8354955e64cba1de3718936dc71709, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ce8354955e64cba1de3718936dc71709->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ce8354955e64cba1de3718936dc71709, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ce8354955e64cba1de3718936dc71709,
type_description_1,
par_self,
par_new_value,
par_args,
par_kwargs,
var_old_value
);
// Release cached frame if used for exception.
if (frame_ce8354955e64cba1de3718936dc71709 == cache_frame_ce8354955e64cba1de3718936dc71709) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ce8354955e64cba1de3718936dc71709);
cache_frame_ce8354955e64cba1de3718936dc71709 = NULL;
}
assertFrameObject(frame_ce8354955e64cba1de3718936dc71709);
// 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:;
Py_XDECREF(par_args);
par_args = NULL;
CHECK_OBJECT(var_old_value);
Py_DECREF(var_old_value);
var_old_value = 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(par_args);
par_args = NULL;
Py_XDECREF(var_old_value);
var_old_value = 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_new_value);
Py_DECREF(par_new_value);
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_new_value);
Py_DECREF(par_new_value);
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$util$$$function__26_timedelta_to_seconds(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_td = python_pars[0];
struct Nuitka_FrameObject *frame_1aedf8b622b6a7efe7be1ff009f7fb6d;
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_1aedf8b622b6a7efe7be1ff009f7fb6d = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_1aedf8b622b6a7efe7be1ff009f7fb6d)) {
Py_XDECREF(cache_frame_1aedf8b622b6a7efe7be1ff009f7fb6d);
#if _DEBUG_REFCOUNTS
if (cache_frame_1aedf8b622b6a7efe7be1ff009f7fb6d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1aedf8b622b6a7efe7be1ff009f7fb6d = MAKE_FUNCTION_FRAME(codeobj_1aedf8b622b6a7efe7be1ff009f7fb6d, module_tornado$util, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1aedf8b622b6a7efe7be1ff009f7fb6d->m_type_description == NULL);
frame_1aedf8b622b6a7efe7be1ff009f7fb6d = cache_frame_1aedf8b622b6a7efe7be1ff009f7fb6d;
// Push the new frame as the currently active one.
pushFrameStack(frame_1aedf8b622b6a7efe7be1ff009f7fb6d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1aedf8b622b6a7efe7be1ff009f7fb6d) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
CHECK_OBJECT(par_td);
tmp_called_instance_1 = par_td;
frame_1aedf8b622b6a7efe7be1ff009f7fb6d->m_frame.f_lineno = 426;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[82]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 426;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1aedf8b622b6a7efe7be1ff009f7fb6d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1aedf8b622b6a7efe7be1ff009f7fb6d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1aedf8b622b6a7efe7be1ff009f7fb6d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1aedf8b622b6a7efe7be1ff009f7fb6d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1aedf8b622b6a7efe7be1ff009f7fb6d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1aedf8b622b6a7efe7be1ff009f7fb6d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1aedf8b622b6a7efe7be1ff009f7fb6d,
type_description_1,
par_td
);
// Release cached frame if used for exception.
if (frame_1aedf8b622b6a7efe7be1ff009f7fb6d == cache_frame_1aedf8b622b6a7efe7be1ff009f7fb6d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1aedf8b622b6a7efe7be1ff009f7fb6d);
cache_frame_1aedf8b622b6a7efe7be1ff009f7fb6d = NULL;
}
assertFrameObject(frame_1aedf8b622b6a7efe7be1ff009f7fb6d);
// 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_td);
Py_DECREF(par_td);
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_td);
Py_DECREF(par_td);
// 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$util$$$function__27__websocket_mask_python(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_mask = python_pars[0];
PyObject *par_data = python_pars[1];
PyObject *var_mask_arr = NULL;
PyObject *var_unmasked_arr = NULL;
PyObject *var_i = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
struct Nuitka_FrameObject *frame_233bae58dbfcf65427b412f6d021ef2d;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
bool tmp_result;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_233bae58dbfcf65427b412f6d021ef2d = 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_233bae58dbfcf65427b412f6d021ef2d)) {
Py_XDECREF(cache_frame_233bae58dbfcf65427b412f6d021ef2d);
#if _DEBUG_REFCOUNTS
if (cache_frame_233bae58dbfcf65427b412f6d021ef2d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_233bae58dbfcf65427b412f6d021ef2d = MAKE_FUNCTION_FRAME(codeobj_233bae58dbfcf65427b412f6d021ef2d, module_tornado$util, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_233bae58dbfcf65427b412f6d021ef2d->m_type_description == NULL);
frame_233bae58dbfcf65427b412f6d021ef2d = cache_frame_233bae58dbfcf65427b412f6d021ef2d;
// Push the new frame as the currently active one.
pushFrameStack(frame_233bae58dbfcf65427b412f6d021ef2d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_233bae58dbfcf65427b412f6d021ef2d) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[84]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 438;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = mod_consts[85];
CHECK_OBJECT(par_mask);
tmp_args_element_value_2 = par_mask;
frame_233bae58dbfcf65427b412f6d021ef2d->m_frame.f_lineno = 438;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_1,
mod_consts[84],
call_args
);
}
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 438;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_mask_arr == NULL);
var_mask_arr = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[84]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[84]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = mod_consts[85];
CHECK_OBJECT(par_data);
tmp_args_element_value_4 = par_data;
frame_233bae58dbfcf65427b412f6d021ef2d->m_frame.f_lineno = 439;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_assign_source_2 = CALL_METHOD_WITH_ARGS2(
tmp_called_instance_2,
mod_consts[84],
call_args
);
}
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(var_unmasked_arr == NULL);
var_unmasked_arr = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
PyObject *tmp_xrange_low_1;
PyObject *tmp_len_arg_1;
CHECK_OBJECT(par_data);
tmp_len_arg_1 = par_data;
tmp_xrange_low_1 = BUILTIN_LEN(tmp_len_arg_1);
if (tmp_xrange_low_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 440;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_iter_arg_1 = BUILTIN_XRANGE1(tmp_xrange_low_1);
Py_DECREF(tmp_xrange_low_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 440;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = MAKE_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 = 440;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_3;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_4 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_4 == 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 = "ooooo";
exception_lineno = 440;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_4;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_5 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_i;
var_i = tmp_assign_source_5;
Py_INCREF(var_i);
Py_XDECREF(old);
}
}
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_bitxor_expr_left_1;
PyObject *tmp_bitxor_expr_right_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_subscript_value_2;
PyObject *tmp_mod_expr_left_1;
PyObject *tmp_mod_expr_right_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
if (var_unmasked_arr == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[86]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 441;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_expression_value_1 = var_unmasked_arr;
CHECK_OBJECT(var_i);
tmp_subscript_value_1 = var_i;
tmp_bitxor_expr_left_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
if (tmp_bitxor_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
CHECK_OBJECT(var_mask_arr);
tmp_expression_value_2 = var_mask_arr;
CHECK_OBJECT(var_i);
tmp_mod_expr_left_1 = var_i;
tmp_mod_expr_right_1 = mod_consts[87];
tmp_subscript_value_2 = BINARY_OPERATION_MOD_OBJECT_OBJECT_LONG(tmp_mod_expr_left_1, tmp_mod_expr_right_1);
if (tmp_subscript_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_bitxor_expr_left_1);
exception_lineno = 441;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_bitxor_expr_right_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_2);
Py_DECREF(tmp_subscript_value_2);
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 = 441;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_ass_subvalue_1 = 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_ass_subvalue_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
if (var_unmasked_arr == NULL) {
Py_DECREF(tmp_ass_subvalue_1);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[86]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 441;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
tmp_ass_subscribed_1 = var_unmasked_arr;
CHECK_OBJECT(var_i);
tmp_ass_subscript_1 = var_i;
tmp_result = SET_SUBSCRIPT(tmp_ass_subscribed_1, tmp_ass_subscript_1, tmp_ass_subvalue_1);
Py_DECREF(tmp_ass_subvalue_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 441;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 440;
type_description_1 = "ooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
{
PyObject *tmp_called_instance_3;
if (var_unmasked_arr == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[86]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 442;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
tmp_called_instance_3 = var_unmasked_arr;
frame_233bae58dbfcf65427b412f6d021ef2d->m_frame.f_lineno = 442;
tmp_return_value = CALL_METHOD_NO_ARGS(tmp_called_instance_3, mod_consts[88]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 442;
type_description_1 = "ooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_233bae58dbfcf65427b412f6d021ef2d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_233bae58dbfcf65427b412f6d021ef2d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_233bae58dbfcf65427b412f6d021ef2d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_233bae58dbfcf65427b412f6d021ef2d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_233bae58dbfcf65427b412f6d021ef2d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_233bae58dbfcf65427b412f6d021ef2d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_233bae58dbfcf65427b412f6d021ef2d,
type_description_1,
par_mask,
par_data,
var_mask_arr,
var_unmasked_arr,
var_i
);
// Release cached frame if used for exception.
if (frame_233bae58dbfcf65427b412f6d021ef2d == cache_frame_233bae58dbfcf65427b412f6d021ef2d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_233bae58dbfcf65427b412f6d021ef2d);
cache_frame_233bae58dbfcf65427b412f6d021ef2d = NULL;
}
assertFrameObject(frame_233bae58dbfcf65427b412f6d021ef2d);
// 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_mask_arr);
Py_DECREF(var_mask_arr);
var_mask_arr = NULL;
Py_XDECREF(var_unmasked_arr);
var_unmasked_arr = NULL;
Py_XDECREF(var_i);
var_i = 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_mask_arr);
var_mask_arr = NULL;
Py_XDECREF(var_unmasked_arr);
var_unmasked_arr = NULL;
Py_XDECREF(var_i);
var_i = 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_mask);
Py_DECREF(par_mask);
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
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_mask);
Py_DECREF(par_mask);
CHECK_OBJECT(par_data);
Py_DECREF(par_data);
// 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$util$$$function__10_raise_exc_info(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__10_raise_exc_info,
mod_consts[155],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_424e70ea3a21d485e013748c7374a102,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__11_errno_from_exception(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__11_errno_from_exception,
mod_consts[157],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_edac2374070121dc4a62c2bad8a660f0,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
mod_consts[40],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__12__re_unescape_replacement(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__12__re_unescape_replacement,
mod_consts[47],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_0674ca7b56d35699124cb458beb4bf22,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__13_re_unescape(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__13_re_unescape,
mod_consts[164],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_37f003d956b5929d9e67010bcd034215,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
mod_consts[48],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__14___new__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__14___new__,
mod_consts[55],
#if PYTHON_VERSION >= 0x300
mod_consts[166],
#endif
codeobj_0956acb2609288bf80914f1d3142bb9b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__15_configurable_base() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__15_configurable_base,
mod_consts[49],
#if PYTHON_VERSION >= 0x300
mod_consts[168],
#endif
codeobj_f782af89e273e19cfaa5d8b26e34562b,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$util,
mod_consts[57],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__16_configurable_default() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__16_configurable_default,
mod_consts[68],
#if PYTHON_VERSION >= 0x300
mod_consts[169],
#endif
codeobj_090108a7ef5408689ebacfc37dca87a9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$util,
mod_consts[58],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__17__initialize(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[170],
#if PYTHON_VERSION >= 0x300
mod_consts[171],
#endif
codeobj_4dc3291e1ca83ac0570e4cad23d93e11,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__18_configure() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__18_configure,
mod_consts[172],
#if PYTHON_VERSION >= 0x300
mod_consts[173],
#endif
codeobj_048fd1c66769752ea8f27a9a3e1907a9,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$util,
mod_consts[65],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__19_configured_class() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__19_configured_class,
mod_consts[50],
#if PYTHON_VERSION >= 0x300
mod_consts[174],
#endif
codeobj_29de1399d95db5144b94a946b18cbe5f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$util,
mod_consts[70],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__1__get_emulated_is_finalizing(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__1__get_emulated_is_finalizing,
mod_consts[117],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_0fc6fd410856f376b5a61ceaa4cf5713,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__1__get_emulated_is_finalizing$$$function__1_lambda(struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__1__get_emulated_is_finalizing$$$function__1_lambda,
mod_consts[2],
#if PYTHON_VERSION >= 0x300
mod_consts[3],
#endif
codeobj_edcf3c66b3ebe8e9d6fb17c46d2ca33c,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$util,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__1__get_emulated_is_finalizing$$$function__2_is_finalizing(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__1__get_emulated_is_finalizing$$$function__2_is_finalizing,
mod_consts[5],
#if PYTHON_VERSION >= 0x300
mod_consts[6],
#endif
codeobj_e34928b53e404911f971b9cb7cc432aa,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__20__save_configuration() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__20__save_configuration,
mod_consts[175],
#if PYTHON_VERSION >= 0x300
mod_consts[176],
#endif
codeobj_c092edc8266357d82964cfc7429f6ce1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$util,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__21__restore_configuration() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__21__restore_configuration,
mod_consts[177],
#if PYTHON_VERSION >= 0x300
mod_consts[178],
#endif
codeobj_81891c2310f0e511317920362ff967f6,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$util,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__22___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__22___init__,
mod_consts[141],
#if PYTHON_VERSION >= 0x300
mod_consts[182],
#endif
codeobj_2a4ee0e25a9d6ff8e1ca6c53de1825a7,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__23__getargnames(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__23__getargnames,
mod_consts[72],
#if PYTHON_VERSION >= 0x300
mod_consts[183],
#endif
codeobj_f0e2b44f49cfc37435887890b6ebccd6,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__24_get_old_value(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__24_get_old_value,
mod_consts[185],
#if PYTHON_VERSION >= 0x300
mod_consts[186],
#endif
codeobj_c6db83e8bd235a76a16d75fb0955265c,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
mod_consts[79],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__25_replace(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__25_replace,
mod_consts[188],
#if PYTHON_VERSION >= 0x300
mod_consts[189],
#endif
codeobj_ce8354955e64cba1de3718936dc71709,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
mod_consts[81],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__26_timedelta_to_seconds() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__26_timedelta_to_seconds,
mod_consts[190],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_1aedf8b622b6a7efe7be1ff009f7fb6d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$util,
mod_consts[83],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__27__websocket_mask_python(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__27__websocket_mask_python,
mod_consts[192],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_233bae58dbfcf65427b412f6d021ef2d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
mod_consts[89],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__28_doctests() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[202],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_ffbbf3dbe087372f544db1f9c880ec32,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$util,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__2___getattr__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__2___getattr__,
mod_consts[131],
#if PYTHON_VERSION >= 0x300
mod_consts[132],
#endif
codeobj_95494a8d47cd81bfe5999bad2c5480fb,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__3___setattr__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__3___setattr__,
mod_consts[134],
#if PYTHON_VERSION >= 0x300
mod_consts[135],
#endif
codeobj_e15e5c513d69f12a047b0ec8189ff623,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__4___init__(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__4___init__,
mod_consts[141],
#if PYTHON_VERSION >= 0x300
mod_consts[142],
#endif
codeobj_0ee470e863f778650115f3e4300ccf88,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__5_decompress(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__5_decompress,
mod_consts[14],
#if PYTHON_VERSION >= 0x300
mod_consts[147],
#endif
codeobj_336f7c67758cfd9ef77acd517e250864,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
mod_consts[15],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__6_unconsumed_tail(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__6_unconsumed_tail,
mod_consts[16],
#if PYTHON_VERSION >= 0x300
mod_consts[149],
#endif
codeobj_b907fca8f413fc519b628c7ffd23af92,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
mod_consts[17],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__7_flush(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__7_flush,
mod_consts[18],
#if PYTHON_VERSION >= 0x300
mod_consts[150],
#endif
codeobj_368e52ae1a97a18b0187b92a23baf94c,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
mod_consts[19],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__8_import_object(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__8_import_object,
mod_consts[62],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_7e22a1647f869ab9436a75fde4534f2d,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
mod_consts[28],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$util$$$function__9_exec_in(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$util$$$function__9_exec_in,
mod_consts[151],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_c4e5c7d6bca15cb0e412c378ffcbee89,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$util,
NULL,
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$util[] = {
impl_tornado$util$$$function__1__get_emulated_is_finalizing$$$function__1_lambda,
impl_tornado$util$$$function__1__get_emulated_is_finalizing$$$function__2_is_finalizing,
impl_tornado$util$$$function__1__get_emulated_is_finalizing,
impl_tornado$util$$$function__2___getattr__,
impl_tornado$util$$$function__3___setattr__,
impl_tornado$util$$$function__4___init__,
impl_tornado$util$$$function__5_decompress,
impl_tornado$util$$$function__6_unconsumed_tail,
impl_tornado$util$$$function__7_flush,
impl_tornado$util$$$function__8_import_object,
impl_tornado$util$$$function__9_exec_in,
impl_tornado$util$$$function__10_raise_exc_info,
impl_tornado$util$$$function__11_errno_from_exception,
impl_tornado$util$$$function__12__re_unescape_replacement,
impl_tornado$util$$$function__13_re_unescape,
impl_tornado$util$$$function__14___new__,
impl_tornado$util$$$function__15_configurable_base,
impl_tornado$util$$$function__16_configurable_default,
NULL,
impl_tornado$util$$$function__18_configure,
impl_tornado$util$$$function__19_configured_class,
impl_tornado$util$$$function__20__save_configuration,
impl_tornado$util$$$function__21__restore_configuration,
impl_tornado$util$$$function__22___init__,
impl_tornado$util$$$function__23__getargnames,
impl_tornado$util$$$function__24_get_old_value,
impl_tornado$util$$$function__25_replace,
impl_tornado$util$$$function__26_timedelta_to_seconds,
impl_tornado$util$$$function__27__websocket_mask_python,
NULL,
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$util;
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$util) || 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$util[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$util,
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$util(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("tornado.util");
// Store the module for future use.
module_tornado$util = 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.util: 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.util: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("tornado.util: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in inittornado$util\n");
moduledict_tornado$util = MODULE_DICT(module_tornado$util);
#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$util,
(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$util,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[228]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_tornado$util,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$util, (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$util,
(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$util, (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$util,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_tornado$util);
// 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$util, (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$util, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_tornado$util, (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$util, (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$util);
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$util, (Nuitka_StringObject *)const_str_plain___spec__, spec_value);
}
#endif
#endif
// Temp variables if any
PyObject *outline_0_var___class__ = NULL;
PyObject *outline_1_var___class__ = NULL;
PyObject *outline_2_var___class__ = NULL;
PyObject *outline_3_var___class__ = NULL;
PyObject *tmp_class_creation_1__bases = NULL;
PyObject *tmp_class_creation_1__bases_orig = 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_class_creation_2__bases = NULL;
PyObject *tmp_class_creation_2__class_decl_dict = NULL;
PyObject *tmp_class_creation_2__metaclass = NULL;
PyObject *tmp_class_creation_2__prepared = NULL;
PyObject *tmp_class_creation_3__bases = NULL;
PyObject *tmp_class_creation_3__class_decl_dict = NULL;
PyObject *tmp_class_creation_3__metaclass = NULL;
PyObject *tmp_class_creation_3__prepared = NULL;
PyObject *tmp_class_creation_4__bases = NULL;
PyObject *tmp_class_creation_4__class_decl_dict = NULL;
PyObject *tmp_class_creation_4__metaclass = NULL;
PyObject *tmp_class_creation_4__prepared = NULL;
PyObject *tmp_import_from_1__module = NULL;
struct Nuitka_FrameObject *frame_ee62287b968f650e4db318c1251a8562;
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;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_tornado$util$$$class__1_ObjectDict_72 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_615f4b673a00193d1787b5833f143f17_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_615f4b673a00193d1787b5833f143f17_2 = 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;
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 *locals_tornado$util$$$class__2_GzipDecompressor_85 = NULL;
struct Nuitka_FrameObject *frame_c0034b127ac13076a027128e469216d7_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_c0034b127ac13076a027128e469216d7_3 = NULL;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
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 *locals_tornado$util$$$class__3_Configurable_221 = NULL;
struct Nuitka_FrameObject *frame_ad0a5402d2edd7019e4057613206542b_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_ad0a5402d2edd7019e4057613206542b_4 = NULL;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
PyObject *locals_tornado$util$$$class__4_ArgReplacer_356 = NULL;
struct Nuitka_FrameObject *frame_533938284035b958521dbd34c2cee97c_5;
NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL;
static struct Nuitka_FrameObject *cache_frame_533938284035b958521dbd34c2cee97c_5 = NULL;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13;
PyObject *exception_keeper_type_14;
PyObject *exception_keeper_value_14;
PyTracebackObject *exception_keeper_tb_14;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_14;
PyObject *exception_keeper_type_15;
PyObject *exception_keeper_value_15;
PyTracebackObject *exception_keeper_tb_15;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15;
PyObject *exception_keeper_type_16;
PyObject *exception_keeper_value_16;
PyTracebackObject *exception_keeper_tb_16;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_16;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_17;
PyObject *exception_keeper_value_17;
PyTracebackObject *exception_keeper_tb_17;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[90];
UPDATE_STRING_DICT0(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[91], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[92];
UPDATE_STRING_DICT0(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[93], tmp_assign_source_2);
}
// Frame without reuse.
frame_ee62287b968f650e4db318c1251a8562 = MAKE_MODULE_FRAME(codeobj_ee62287b968f650e4db318c1251a8562, module_tornado$util);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_ee62287b968f650e4db318c1251a8562);
assert(Py_REFCNT(frame_ee62287b968f650e4db318c1251a8562) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[92];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[94]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[94]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[95], 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$util, (Nuitka_StringObject *)mod_consts[94]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[94]);
}
assert(!(tmp_assattr_target_2 == NULL));
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 = 1;
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assign_source_3;
tmp_assign_source_3 = Py_None;
UPDATE_STRING_DICT0(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[97], tmp_assign_source_3);
}
{
PyObject *tmp_assign_source_4;
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[84];
tmp_globals_arg_value_1 = (PyObject *)moduledict_tornado$util;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[22];
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 13;
tmp_assign_source_4 = IMPORT_MODULE5(tmp_name_value_1, tmp_globals_arg_value_1, tmp_locals_arg_value_1, tmp_fromlist_value_1, tmp_level_value_1);
assert(!(tmp_assign_source_4 == NULL));
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[84], tmp_assign_source_4);
}
{
PyObject *tmp_assign_source_5;
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[98];
tmp_globals_arg_value_2 = (PyObject *)moduledict_tornado$util;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[22];
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 14;
tmp_assign_source_5 = 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_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 14;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[98], tmp_assign_source_5);
}
{
PyObject *tmp_assign_source_6;
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[0];
tmp_globals_arg_value_3 = (PyObject *)moduledict_tornado$util;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = Py_None;
tmp_level_value_3 = mod_consts[22];
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 15;
tmp_assign_source_6 = IMPORT_MODULE5(tmp_name_value_3, tmp_globals_arg_value_3, tmp_locals_arg_value_3, tmp_fromlist_value_3, tmp_level_value_3);
assert(!(tmp_assign_source_6 == NULL));
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_import_name_from_1;
PyObject *tmp_name_value_4;
PyObject *tmp_globals_arg_value_4;
PyObject *tmp_locals_arg_value_4;
PyObject *tmp_fromlist_value_4;
PyObject *tmp_level_value_4;
tmp_name_value_4 = mod_consts[99];
tmp_globals_arg_value_4 = (PyObject *)moduledict_tornado$util;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = mod_consts[100];
tmp_level_value_4 = mod_consts[22];
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 16;
tmp_import_name_from_1 = IMPORT_MODULE5(tmp_name_value_4, tmp_globals_arg_value_4, tmp_locals_arg_value_4, tmp_fromlist_value_4, tmp_level_value_4);
if (tmp_import_name_from_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_7 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_tornado$util,
mod_consts[75],
mod_consts[22]
);
} else {
tmp_assign_source_7 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[75]);
}
Py_DECREF(tmp_import_name_from_1);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 16;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[75], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
tmp_assign_source_8 = IMPORT_HARD_OS();
assert(!(tmp_assign_source_8 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[101], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
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[102];
tmp_globals_arg_value_5 = (PyObject *)moduledict_tornado$util;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = Py_None;
tmp_level_value_5 = mod_consts[22];
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 18;
tmp_assign_source_9 = IMPORT_MODULE5(tmp_name_value_5, tmp_globals_arg_value_5, tmp_locals_arg_value_5, tmp_fromlist_value_5, tmp_level_value_5);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 18;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[102], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
tmp_assign_source_10 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_10 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[59], 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[10];
tmp_globals_arg_value_6 = (PyObject *)moduledict_tornado$util;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = Py_None;
tmp_level_value_6 = mod_consts[22];
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 20;
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);
assert(!(tmp_assign_source_11 == NULL));
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[10], tmp_assign_source_11);
}
{
PyObject *tmp_assign_source_12;
tmp_assign_source_12 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_12 == NULL));
assert(tmp_import_from_1__module == NULL);
Py_INCREF(tmp_assign_source_12);
tmp_import_from_1__module = tmp_assign_source_12;
}
// Tried code:
{
PyObject *tmp_assign_source_13;
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_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_tornado$util,
mod_consts[103],
mod_consts[22]
);
} else {
tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[103]);
}
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103], tmp_assign_source_13);
}
{
PyObject *tmp_assign_source_14;
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_14 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_tornado$util,
mod_consts[104],
mod_consts[22]
);
} else {
tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[104]);
}
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[104], tmp_assign_source_14);
}
{
PyObject *tmp_assign_source_15;
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_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_tornado$util,
mod_consts[105],
mod_consts[22]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[105]);
}
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[105], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_import_name_from_5;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_5 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_16 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_tornado$util,
mod_consts[106],
mod_consts[22]
);
} else {
tmp_assign_source_16 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[106]);
}
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[106], tmp_assign_source_16);
}
{
PyObject *tmp_assign_source_17;
PyObject *tmp_import_name_from_6;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_6 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_tornado$util,
mod_consts[107],
mod_consts[22]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[107]);
}
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[107], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_import_name_from_7;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_7 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_7)) {
tmp_assign_source_18 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_tornado$util,
mod_consts[108],
mod_consts[22]
);
} else {
tmp_assign_source_18 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[108]);
}
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[108], tmp_assign_source_18);
}
{
PyObject *tmp_assign_source_19;
PyObject *tmp_import_name_from_8;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_8 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_19 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_tornado$util,
mod_consts[109],
mod_consts[22]
);
} else {
tmp_assign_source_19 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[109]);
}
if (tmp_assign_source_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[109], tmp_assign_source_19);
}
{
PyObject *tmp_assign_source_20;
PyObject *tmp_import_name_from_9;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_9 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_9)) {
tmp_assign_source_20 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_tornado$util,
mod_consts[110],
mod_consts[22]
);
} else {
tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[110]);
}
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[110], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_import_name_from_10;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_10 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_10)) {
tmp_assign_source_21 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_10,
(PyObject *)moduledict_tornado$util,
mod_consts[61],
mod_consts[22]
);
} else {
tmp_assign_source_21 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[61]);
}
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[61], tmp_assign_source_21);
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_import_name_from_11;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_11 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_11)) {
tmp_assign_source_22 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_11,
(PyObject *)moduledict_tornado$util,
mod_consts[111],
mod_consts[22]
);
} else {
tmp_assign_source_22 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[111]);
}
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 22;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[111], tmp_assign_source_22);
}
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_23;
tmp_assign_source_23 = (PyObject *)&PyBytes_Type;
UPDATE_STRING_DICT0(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[112], tmp_assign_source_23);
}
{
PyObject *tmp_assign_source_24;
tmp_assign_source_24 = (PyObject *)&PyUnicode_Type;
UPDATE_STRING_DICT0(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[113], tmp_assign_source_24);
}
{
PyObject *tmp_assign_source_25;
tmp_assign_source_25 = (PyObject *)&PyUnicode_Type;
UPDATE_STRING_DICT0(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[114], tmp_assign_source_25);
}
// Tried code:
{
PyObject *tmp_assign_source_26;
PyObject *tmp_import_name_from_12;
tmp_import_name_from_12 = IMPORT_HARD_SYS();
assert(!(tmp_import_name_from_12 == NULL));
if (PyModule_Check(tmp_import_name_from_12)) {
tmp_assign_source_26 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_12,
(PyObject *)moduledict_tornado$util,
mod_consts[5],
mod_consts[22]
);
} else {
tmp_assign_source_26 = IMPORT_NAME(tmp_import_name_from_12, mod_consts[5]);
}
if (tmp_assign_source_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 51;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_26);
}
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;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_2 == NULL) {
exception_keeper_tb_2 = MAKE_TRACEBACK(frame_ee62287b968f650e4db318c1251a8562, exception_keeper_lineno_2);
} else if (exception_keeper_lineno_2 != 0) {
exception_keeper_tb_2 = ADD_TRACEBACK(exception_keeper_tb_2, frame_ee62287b968f650e4db318c1251a8562, exception_keeper_lineno_2);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_2, &exception_keeper_value_2, &exception_keeper_tb_2);
// Tried code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_1 = PyExc_ImportError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_1 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_27;
PyObject *tmp_annotations_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
tmp_dict_key_1 = mod_consts[115];
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
assert(!(tmp_expression_value_1 == NULL));
tmp_subscript_value_1 = DEEP_COPY_TUPLE_GUIDED(mod_consts[116], "li");
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_1, tmp_subscript_value_1);
Py_DECREF(tmp_subscript_value_1);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 54;
goto try_except_handler_3;
}
tmp_annotations_1 = _PyDict_NewPresized( 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));
tmp_assign_source_27 = MAKE_FUNCTION_tornado$util$$$function__1__get_emulated_is_finalizing(tmp_annotations_1);
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[117], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
PyObject *tmp_called_value_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[117]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[117]);
}
assert(!(tmp_called_value_1 == NULL));
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 64;
tmp_assign_source_28 = CALL_FUNCTION_NO_ARGS(tmp_called_value_1);
if (tmp_assign_source_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 64;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[5], tmp_assign_source_28);
}
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 50;
}
if (exception_tb && exception_tb->tb_frame == &frame_ee62287b968f650e4db318c1251a8562->m_frame) frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_3;
branch_end_1:;
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;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_end_2;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_2:;
{
PyObject *tmp_assign_source_29;
PyObject *tmp_expression_value_2;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[98]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[98]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 69;
goto frame_exception_exit_1;
}
tmp_assign_source_29 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[118]);
if (tmp_assign_source_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 69;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[118], tmp_assign_source_29);
}
// Tried code:
{
PyObject *tmp_assign_source_30;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_2;
PyObject *tmp_tuple_element_2;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[105]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[105]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto try_except_handler_4;
}
tmp_tuple_element_2 = (PyObject *)&PyUnicode_Type;
tmp_subscript_value_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_2, 0, tmp_tuple_element_2);
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_subscript_value_2, 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_subscript_value_2);
goto try_except_handler_4;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_tuple_element_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_3, tmp_subscript_value_2);
Py_DECREF(tmp_subscript_value_2);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto try_except_handler_4;
}
tmp_assign_source_30 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_assign_source_30, 0, tmp_tuple_element_1);
assert(tmp_class_creation_1__bases_orig == NULL);
tmp_class_creation_1__bases_orig = tmp_assign_source_30;
}
{
PyObject *tmp_assign_source_31;
PyObject *tmp_dircall_arg1_1;
CHECK_OBJECT(tmp_class_creation_1__bases_orig);
tmp_dircall_arg1_1 = tmp_class_creation_1__bases_orig;
Py_INCREF(tmp_dircall_arg1_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1};
tmp_assign_source_31 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto try_except_handler_4;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_31;
}
{
PyObject *tmp_assign_source_32;
tmp_assign_source_32 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_32;
}
{
PyObject *tmp_assign_source_33;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_2;
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_3;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_expression_value_4;
PyObject *tmp_subscript_value_3;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[119];
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_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != 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[119];
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 = 72;
goto try_except_handler_4;
}
tmp_condition_result_3 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_3 == 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_4 = tmp_class_creation_1__bases;
tmp_subscript_value_3 = mod_consts[22];
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_4, tmp_subscript_value_3, 0);
if (tmp_type_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto try_except_handler_4;
}
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 = 72;
goto try_except_handler_4;
}
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_33 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto try_except_handler_4;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_33;
}
{
bool tmp_condition_result_4;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[119];
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_4 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = mod_consts[119];
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 = 72;
goto try_except_handler_4;
}
branch_no_2:;
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_expression_value_5;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_5 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_5, mod_consts[120]);
tmp_condition_result_5 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_34;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_3;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_6 = tmp_class_creation_1__metaclass;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[120]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto try_except_handler_4;
}
tmp_tuple_element_3 = mod_consts[121];
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_1, 0, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_3 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_1, 1, tmp_tuple_element_3);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_1 = tmp_class_creation_1__class_decl_dict;
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 72;
tmp_assign_source_34 = CALL_FUNCTION(tmp_called_value_2, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_value_1);
if (tmp_assign_source_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto try_except_handler_4;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_34;
}
{
bool tmp_condition_result_6;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_7 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_7, mod_consts[122]);
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 = 72;
goto try_except_handler_4;
}
tmp_condition_result_6 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
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_4;
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[123];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[124];
tmp_getattr_default_1 = mod_consts[125];
tmp_tuple_element_4 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto try_except_handler_4;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_8;
PyObject *tmp_type_arg_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_4);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_expression_value_8 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_8 == NULL));
tmp_tuple_element_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[124]);
Py_DECREF(tmp_expression_value_8);
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_4);
}
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_mod_expr_right_1);
goto try_except_handler_4;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
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 = 72;
goto try_except_handler_4;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 72;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_4;
}
branch_no_4:;
goto branch_end_3;
branch_no_3:;
{
PyObject *tmp_assign_source_35;
tmp_assign_source_35 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_35;
}
branch_end_3:;
{
PyObject *tmp_assign_source_36;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_tornado$util$$$class__1_ObjectDict_72 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[126];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__1_ObjectDict_72, mod_consts[127], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto try_except_handler_6;
}
tmp_dictset_value = mod_consts[128];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__1_ObjectDict_72, mod_consts[91], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto try_except_handler_6;
}
tmp_dictset_value = mod_consts[121];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__1_ObjectDict_72, mod_consts[129], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto try_except_handler_6;
}
if (isFrameUnusable(cache_frame_615f4b673a00193d1787b5833f143f17_2)) {
Py_XDECREF(cache_frame_615f4b673a00193d1787b5833f143f17_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_615f4b673a00193d1787b5833f143f17_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_615f4b673a00193d1787b5833f143f17_2 = MAKE_CLASS_FRAME(codeobj_615f4b673a00193d1787b5833f143f17, module_tornado$util, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_615f4b673a00193d1787b5833f143f17_2->m_type_description == NULL);
frame_615f4b673a00193d1787b5833f143f17_2 = cache_frame_615f4b673a00193d1787b5833f143f17_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_615f4b673a00193d1787b5833f143f17_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_615f4b673a00193d1787b5833f143f17_2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_2;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
tmp_dict_key_2 = mod_consts[71];
tmp_dict_value_2 = PyObject_GetItem(locals_tornado$util$$$class__1_ObjectDict_72, mod_consts[130]);
if (tmp_dict_value_2 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_2 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_2);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_2 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[115];
tmp_dict_value_2 = PyObject_GetItem(locals_tornado$util$$$class__1_ObjectDict_72, mod_consts[103]);
if (tmp_dict_value_2 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_dict_value_2 == NULL)) {
tmp_dict_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_dict_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 75;
type_description_2 = "o";
goto dict_build_exception_1;
}
Py_INCREF(tmp_dict_value_2);
} else {
goto dict_build_exception_1;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_2, tmp_dict_value_2);
Py_DECREF(tmp_dict_value_2);
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_2);
goto frame_exception_exit_2;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
tmp_dictset_value = MAKE_FUNCTION_tornado$util$$$function__2___getattr__(tmp_annotations_2);
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__1_ObjectDict_72, mod_consts[131], 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 = 75;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_annotations_3;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
tmp_dict_key_3 = mod_consts[71];
tmp_dict_value_3 = PyObject_GetItem(locals_tornado$util$$$class__1_ObjectDict_72, mod_consts[130]);
if (tmp_dict_value_3 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_3 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_3);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_3 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_3, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[133];
tmp_dict_value_3 = PyObject_GetItem(locals_tornado$util$$$class__1_ObjectDict_72, mod_consts[103]);
if (tmp_dict_value_3 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_dict_value_3 == NULL)) {
tmp_dict_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 81;
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_3, tmp_dict_key_3, tmp_dict_value_3);
Py_DECREF(tmp_dict_value_3);
assert(!(tmp_res != 0));
tmp_dict_key_3 = mod_consts[115];
tmp_dict_value_3 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_3, 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_3);
goto frame_exception_exit_2;
// Finished with no exception for dict_build:
dict_build_noexception_2:;
tmp_dictset_value = MAKE_FUNCTION_tornado$util$$$function__3___setattr__(tmp_annotations_3);
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__1_ObjectDict_72, mod_consts[134], 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 = 81;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_615f4b673a00193d1787b5833f143f17_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_615f4b673a00193d1787b5833f143f17_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_615f4b673a00193d1787b5833f143f17_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_615f4b673a00193d1787b5833f143f17_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_615f4b673a00193d1787b5833f143f17_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_615f4b673a00193d1787b5833f143f17_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_615f4b673a00193d1787b5833f143f17_2 == cache_frame_615f4b673a00193d1787b5833f143f17_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_615f4b673a00193d1787b5833f143f17_2);
cache_frame_615f4b673a00193d1787b5833f143f17_2 = NULL;
}
assertFrameObject(frame_615f4b673a00193d1787b5833f143f17_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_6;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_cmp_expr_left_2 = tmp_class_creation_1__bases;
CHECK_OBJECT(tmp_class_creation_1__bases_orig);
tmp_cmp_expr_right_2 = tmp_class_creation_1__bases_orig;
tmp_condition_result_7 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_7 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto try_except_handler_6;
}
if (tmp_condition_result_7 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
CHECK_OBJECT(tmp_class_creation_1__bases_orig);
tmp_dictset_value = tmp_class_creation_1__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__1_ObjectDict_72, mod_consts[136], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto try_except_handler_6;
}
branch_no_5:;
{
PyObject *tmp_assign_source_37;
PyObject *tmp_called_value_3;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_5;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_3 = tmp_class_creation_1__metaclass;
tmp_tuple_element_5 = mod_consts[121];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_5 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_5);
tmp_tuple_element_5 = locals_tornado$util$$$class__1_ObjectDict_72;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 72;
tmp_assign_source_37 = CALL_FUNCTION(tmp_called_value_3, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 72;
goto try_except_handler_6;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_37;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_36 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_36);
goto try_return_handler_6;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_6:;
Py_DECREF(locals_tornado$util$$$class__1_ObjectDict_72);
locals_tornado$util$$$class__1_ObjectDict_72 = NULL;
goto try_return_handler_5;
// Exception handler code:
try_except_handler_6:;
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_DECREF(locals_tornado$util$$$class__1_ObjectDict_72);
locals_tornado$util$$$class__1_ObjectDict_72 = 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 try_except_handler_5;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_5:;
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_5:;
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;
// 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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 72;
goto try_except_handler_4;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[121], tmp_assign_source_36);
}
goto try_end_4;
// Exception handler code:
try_except_handler_4:;
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_class_creation_1__bases_orig);
tmp_class_creation_1__bases_orig = NULL;
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_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_4:;
CHECK_OBJECT(tmp_class_creation_1__bases_orig);
Py_DECREF(tmp_class_creation_1__bases_orig);
tmp_class_creation_1__bases_orig = NULL;
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;
// Tried code:
{
PyObject *tmp_assign_source_38;
PyObject *tmp_dircall_arg1_2;
tmp_dircall_arg1_2 = mod_consts[137];
Py_INCREF(tmp_dircall_arg1_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_38 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_7;
}
assert(tmp_class_creation_2__bases == NULL);
tmp_class_creation_2__bases = tmp_assign_source_38;
}
{
PyObject *tmp_assign_source_39;
tmp_assign_source_39 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__class_decl_dict == NULL);
tmp_class_creation_2__class_decl_dict = tmp_assign_source_39;
}
{
PyObject *tmp_assign_source_40;
PyObject *tmp_metaclass_value_2;
bool tmp_condition_result_8;
PyObject *tmp_key_value_4;
PyObject *tmp_dict_arg_value_4;
PyObject *tmp_dict_arg_value_5;
PyObject *tmp_key_value_5;
nuitka_bool tmp_condition_result_9;
int tmp_truth_name_2;
PyObject *tmp_type_arg_3;
PyObject *tmp_expression_value_9;
PyObject *tmp_subscript_value_4;
PyObject *tmp_bases_value_2;
tmp_key_value_4 = mod_consts[119];
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_4 = tmp_class_creation_2__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_4, tmp_key_value_4);
assert(!(tmp_res == -1));
tmp_condition_result_8 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_8 != false) {
goto condexpr_true_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_5 = tmp_class_creation_2__class_decl_dict;
tmp_key_value_5 = mod_consts[119];
tmp_metaclass_value_2 = DICT_GET_ITEM0(tmp_dict_arg_value_5, tmp_key_value_5);
if (tmp_metaclass_value_2 == NULL) {
tmp_metaclass_value_2 = Py_None;
}
assert(!(tmp_metaclass_value_2 == NULL));
Py_INCREF(tmp_metaclass_value_2);
goto condexpr_end_3;
condexpr_false_3:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_truth_name_2 = CHECK_IF_TRUE(tmp_class_creation_2__bases);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_7;
}
tmp_condition_result_9 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_expression_value_9 = tmp_class_creation_2__bases;
tmp_subscript_value_4 = mod_consts[22];
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_9, tmp_subscript_value_4, 0);
if (tmp_type_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_7;
}
tmp_metaclass_value_2 = BUILTIN_TYPE1(tmp_type_arg_3);
Py_DECREF(tmp_type_arg_3);
if (tmp_metaclass_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_7;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_metaclass_value_2 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_2);
condexpr_end_4:;
condexpr_end_3:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_bases_value_2 = tmp_class_creation_2__bases;
tmp_assign_source_40 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2);
Py_DECREF(tmp_metaclass_value_2);
if (tmp_assign_source_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_7;
}
assert(tmp_class_creation_2__metaclass == NULL);
tmp_class_creation_2__metaclass = tmp_assign_source_40;
}
{
bool tmp_condition_result_10;
PyObject *tmp_key_value_6;
PyObject *tmp_dict_arg_value_6;
tmp_key_value_6 = mod_consts[119];
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dict_arg_value_6 = tmp_class_creation_2__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_6, tmp_key_value_6);
assert(!(tmp_res == -1));
tmp_condition_result_10 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_10 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
tmp_dictdel_key = mod_consts[119];
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 = 85;
goto try_except_handler_7;
}
branch_no_6:;
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_expression_value_10;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_10 = tmp_class_creation_2__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_10, mod_consts[120]);
tmp_condition_result_11 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_assign_source_41;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_11;
PyObject *tmp_args_value_3;
PyObject *tmp_tuple_element_6;
PyObject *tmp_kwargs_value_3;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_11 = tmp_class_creation_2__metaclass;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[120]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_7;
}
tmp_tuple_element_6 = mod_consts[138];
tmp_args_value_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_3, 0, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_6 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_3, 1, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 85;
tmp_assign_source_41 = CALL_FUNCTION(tmp_called_value_4, tmp_args_value_3, tmp_kwargs_value_3);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_value_3);
if (tmp_assign_source_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_7;
}
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_41;
}
{
bool tmp_condition_result_12;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_12;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_expression_value_12 = tmp_class_creation_2__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_12, mod_consts[122]);
tmp_operand_value_2 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_7;
}
tmp_condition_result_12 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_12 != false) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_2;
PyObject *tmp_mod_expr_left_2;
PyObject *tmp_mod_expr_right_2;
PyObject *tmp_tuple_element_7;
PyObject *tmp_getattr_target_2;
PyObject *tmp_getattr_attr_2;
PyObject *tmp_getattr_default_2;
tmp_raise_type_2 = PyExc_TypeError;
tmp_mod_expr_left_2 = mod_consts[123];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[124];
tmp_getattr_default_2 = mod_consts[125];
tmp_tuple_element_7 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_7;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_13;
PyObject *tmp_type_arg_4;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_7);
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_type_arg_4 = tmp_class_creation_2__prepared;
tmp_expression_value_13 = BUILTIN_TYPE1(tmp_type_arg_4);
assert(!(tmp_expression_value_13 == NULL));
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[124]);
Py_DECREF(tmp_expression_value_13);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_7);
}
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_mod_expr_right_2);
goto try_except_handler_7;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
tmp_raise_value_2 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_2, tmp_mod_expr_right_2);
Py_DECREF(tmp_mod_expr_right_2);
if (tmp_raise_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_7;
}
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_2;
exception_lineno = 85;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_7;
}
branch_no_8:;
goto branch_end_7;
branch_no_7:;
{
PyObject *tmp_assign_source_42;
tmp_assign_source_42 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_42;
}
branch_end_7:;
{
PyObject *tmp_assign_source_43;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_tornado$util$$$class__2_GzipDecompressor_85 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[126];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[127], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_9;
}
tmp_dictset_value = mod_consts[139];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[91], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_9;
}
tmp_dictset_value = mod_consts[138];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[129], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_9;
}
if (isFrameUnusable(cache_frame_c0034b127ac13076a027128e469216d7_3)) {
Py_XDECREF(cache_frame_c0034b127ac13076a027128e469216d7_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_c0034b127ac13076a027128e469216d7_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c0034b127ac13076a027128e469216d7_3 = MAKE_CLASS_FRAME(codeobj_c0034b127ac13076a027128e469216d7, module_tornado$util, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c0034b127ac13076a027128e469216d7_3->m_type_description == NULL);
frame_c0034b127ac13076a027128e469216d7_3 = cache_frame_c0034b127ac13076a027128e469216d7_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_c0034b127ac13076a027128e469216d7_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c0034b127ac13076a027128e469216d7_3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_4;
tmp_annotations_4 = DICT_COPY(mod_consts[140]);
tmp_dictset_value = MAKE_FUNCTION_tornado$util$$$function__4___init__(tmp_annotations_4);
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[141], 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 = 92;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_defaults_1;
PyObject *tmp_annotations_5;
PyObject *tmp_dict_key_4;
PyObject *tmp_dict_value_4;
tmp_defaults_1 = mod_consts[143];
tmp_dict_key_4 = mod_consts[133];
tmp_dict_value_4 = PyObject_GetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[144]);
if (tmp_dict_value_4 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_4 = (PyObject *)&PyBytes_Type;
Py_INCREF(tmp_dict_value_4);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_5 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[145];
tmp_dict_value_4 = PyObject_GetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[146]);
if (tmp_dict_value_4 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_4 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_4);
} else {
goto frame_exception_exit_3;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
tmp_dict_key_4 = mod_consts[115];
tmp_dict_value_4 = PyObject_GetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[144]);
if (tmp_dict_value_4 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_4 = (PyObject *)&PyBytes_Type;
Py_INCREF(tmp_dict_value_4);
} else {
goto frame_exception_exit_3;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_5, tmp_dict_key_4, tmp_dict_value_4);
Py_DECREF(tmp_dict_value_4);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_1);
tmp_dictset_value = MAKE_FUNCTION_tornado$util$$$function__5_decompress(tmp_defaults_1, tmp_annotations_5);
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[14], 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 = 98;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_1;
PyObject *tmp_annotations_6;
PyObject *tmp_dict_key_5;
PyObject *tmp_dict_value_5;
PyObject *tmp_called_value_6;
PyObject *tmp_args_element_value_2;
PyObject *tmp_annotations_7;
PyObject *tmp_dict_key_6;
PyObject *tmp_dict_value_6;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[148]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_condition_result_13 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) {
goto condexpr_true_5;
} else {
goto condexpr_false_5;
}
condexpr_true_5:;
tmp_called_value_5 = PyObject_GetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[148]);
if (unlikely(tmp_called_value_5 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[148]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 111;
type_description_2 = "o";
goto frame_exception_exit_3;
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_dict_key_5 = mod_consts[115];
tmp_dict_value_5 = PyObject_GetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[144]);
if (tmp_dict_value_5 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_5 = (PyObject *)&PyBytes_Type;
Py_INCREF(tmp_dict_value_5);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_6 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_6, tmp_dict_key_5, tmp_dict_value_5);
Py_DECREF(tmp_dict_value_5);
assert(!(tmp_res != 0));
tmp_args_element_value_1 = MAKE_FUNCTION_tornado$util$$$function__6_unconsumed_tail(tmp_annotations_6);
frame_c0034b127ac13076a027128e469216d7_3->m_frame.f_lineno = 111;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_1);
Py_DECREF(tmp_called_value_5);
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 = 111;
type_description_2 = "o";
goto frame_exception_exit_3;
}
goto condexpr_end_5;
condexpr_false_5:;
tmp_called_value_6 = (PyObject *)&PyProperty_Type;
tmp_dict_key_6 = mod_consts[115];
tmp_dict_value_6 = PyObject_GetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[144]);
if (tmp_dict_value_6 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_6 = (PyObject *)&PyBytes_Type;
Py_INCREF(tmp_dict_value_6);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_7 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_7, tmp_dict_key_6, tmp_dict_value_6);
Py_DECREF(tmp_dict_value_6);
assert(!(tmp_res != 0));
tmp_args_element_value_2 = MAKE_FUNCTION_tornado$util$$$function__6_unconsumed_tail(tmp_annotations_7);
frame_c0034b127ac13076a027128e469216d7_3->m_frame.f_lineno = 111;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_2);
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 = 111;
type_description_2 = "o";
goto frame_exception_exit_3;
}
condexpr_end_5:;
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[16], 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 = 112;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
{
PyObject *tmp_annotations_8;
PyObject *tmp_dict_key_7;
PyObject *tmp_dict_value_7;
tmp_dict_key_7 = mod_consts[115];
tmp_dict_value_7 = PyObject_GetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[144]);
if (tmp_dict_value_7 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_7 = (PyObject *)&PyBytes_Type;
Py_INCREF(tmp_dict_value_7);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_8 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_annotations_8, tmp_dict_key_7, tmp_dict_value_7);
Py_DECREF(tmp_dict_value_7);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$util$$$function__7_flush(tmp_annotations_8);
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[18], 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 = 116;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c0034b127ac13076a027128e469216d7_3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_2;
frame_exception_exit_3:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c0034b127ac13076a027128e469216d7_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c0034b127ac13076a027128e469216d7_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c0034b127ac13076a027128e469216d7_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c0034b127ac13076a027128e469216d7_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c0034b127ac13076a027128e469216d7_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame if used for exception.
if (frame_c0034b127ac13076a027128e469216d7_3 == cache_frame_c0034b127ac13076a027128e469216d7_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c0034b127ac13076a027128e469216d7_3);
cache_frame_c0034b127ac13076a027128e469216d7_3 = NULL;
}
assertFrameObject(frame_c0034b127ac13076a027128e469216d7_3);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_2;
frame_no_exception_2:;
goto skip_nested_handling_2;
nested_frame_exit_2:;
goto try_except_handler_9;
skip_nested_handling_2:;
{
nuitka_bool tmp_condition_result_14;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_cmp_expr_left_3 = tmp_class_creation_2__bases;
tmp_cmp_expr_right_3 = mod_consts[137];
tmp_condition_result_14 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_14 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_9;
}
if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
tmp_dictset_value = mod_consts[137];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__2_GzipDecompressor_85, mod_consts[136], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_9;
}
branch_no_9:;
{
PyObject *tmp_assign_source_44;
PyObject *tmp_called_value_7;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_8;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_7 = tmp_class_creation_2__metaclass;
tmp_tuple_element_8 = mod_consts[138];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_8 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_8);
tmp_tuple_element_8 = locals_tornado$util$$$class__2_GzipDecompressor_85;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_8);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 85;
tmp_assign_source_44 = CALL_FUNCTION(tmp_called_value_7, tmp_args_value_4, tmp_kwargs_value_4);
Py_DECREF(tmp_args_value_4);
if (tmp_assign_source_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 85;
goto try_except_handler_9;
}
assert(outline_1_var___class__ == NULL);
outline_1_var___class__ = tmp_assign_source_44;
}
CHECK_OBJECT(outline_1_var___class__);
tmp_assign_source_43 = outline_1_var___class__;
Py_INCREF(tmp_assign_source_43);
goto try_return_handler_9;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_9:;
Py_DECREF(locals_tornado$util$$$class__2_GzipDecompressor_85);
locals_tornado$util$$$class__2_GzipDecompressor_85 = NULL;
goto try_return_handler_8;
// Exception handler code:
try_except_handler_9:;
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;
Py_DECREF(locals_tornado$util$$$class__2_GzipDecompressor_85);
locals_tornado$util$$$class__2_GzipDecompressor_85 = NULL;
// Re-raise.
exception_type = exception_keeper_type_7;
exception_value = exception_keeper_value_7;
exception_tb = exception_keeper_tb_7;
exception_lineno = exception_keeper_lineno_7;
goto try_except_handler_8;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_8:;
CHECK_OBJECT(outline_1_var___class__);
Py_DECREF(outline_1_var___class__);
outline_1_var___class__ = NULL;
goto outline_result_2;
// Exception handler code:
try_except_handler_8:;
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;
// 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 outline_exception_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_2:;
exception_lineno = 85;
goto try_except_handler_7;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[138], tmp_assign_source_43);
}
goto try_end_5;
// Exception handler code:
try_except_handler_7:;
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;
Py_XDECREF(tmp_class_creation_2__bases);
tmp_class_creation_2__bases = NULL;
Py_XDECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
Py_XDECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
CHECK_OBJECT(tmp_class_creation_2__bases);
Py_DECREF(tmp_class_creation_2__bases);
tmp_class_creation_2__bases = NULL;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
Py_DECREF(tmp_class_creation_2__class_decl_dict);
tmp_class_creation_2__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
Py_DECREF(tmp_class_creation_2__metaclass);
tmp_class_creation_2__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_2__prepared);
Py_DECREF(tmp_class_creation_2__prepared);
tmp_class_creation_2__prepared = NULL;
{
PyObject *tmp_assign_source_45;
PyObject *tmp_annotations_9;
PyObject *tmp_dict_key_8;
PyObject *tmp_dict_value_8;
tmp_dict_key_8 = mod_consts[71];
tmp_dict_value_8 = (PyObject *)&PyUnicode_Type;
tmp_annotations_9 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_8, tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dict_key_8 = mod_consts[115];
tmp_dict_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_dict_value_8 == NULL)) {
tmp_dict_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_dict_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 125;
goto dict_build_exception_3;
}
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_8, tmp_dict_value_8);
assert(!(tmp_res != 0));
goto dict_build_noexception_3;
// Exception handling pass through code for dict_build:
dict_build_exception_3:;
Py_DECREF(tmp_annotations_9);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_3:;
tmp_assign_source_45 = MAKE_FUNCTION_tornado$util$$$function__8_import_object(tmp_annotations_9);
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[62], tmp_assign_source_45);
}
{
PyObject *tmp_assign_source_46;
PyObject *tmp_defaults_2;
PyObject *tmp_annotations_10;
PyObject *tmp_dict_key_9;
PyObject *tmp_dict_value_9;
tmp_defaults_2 = mod_consts[9];
tmp_dict_key_9 = mod_consts[31];
tmp_dict_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_dict_value_9 == NULL)) {
tmp_dict_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_dict_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto frame_exception_exit_1;
}
tmp_annotations_10 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_14;
PyObject *tmp_subscript_value_5;
PyObject *tmp_tuple_element_9;
PyObject *tmp_expression_value_15;
PyObject *tmp_subscript_value_6;
PyObject *tmp_expression_value_16;
PyObject *tmp_subscript_value_7;
PyObject *tmp_expression_value_17;
PyObject *tmp_subscript_value_8;
PyObject *tmp_tuple_element_10;
tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_9, tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[32];
tmp_expression_value_14 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[105]);
if (unlikely(tmp_expression_value_14 == NULL)) {
tmp_expression_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[105]);
}
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto dict_build_exception_4;
}
tmp_tuple_element_9 = (PyObject *)&PyUnicode_Type;
tmp_subscript_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_5, 0, tmp_tuple_element_9);
tmp_tuple_element_9 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_tuple_element_9 == NULL)) {
tmp_tuple_element_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_tuple_element_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto tuple_build_exception_4;
}
PyTuple_SET_ITEM0(tmp_subscript_value_5, 1, tmp_tuple_element_9);
goto tuple_build_noexception_4;
// Exception handling pass through code for tuple_build:
tuple_build_exception_4:;
Py_DECREF(tmp_subscript_value_5);
goto dict_build_exception_4;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
tmp_dict_value_9 = LOOKUP_SUBSCRIPT(tmp_expression_value_14, tmp_subscript_value_5);
Py_DECREF(tmp_subscript_value_5);
if (tmp_dict_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto dict_build_exception_4;
}
tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[33];
tmp_expression_value_15 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_expression_value_15 == NULL)) {
tmp_expression_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
if (tmp_expression_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto dict_build_exception_4;
}
tmp_expression_value_16 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_expression_value_16 == NULL)) {
tmp_expression_value_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
if (tmp_expression_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto dict_build_exception_4;
}
tmp_expression_value_17 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[106]);
if (unlikely(tmp_expression_value_17 == NULL)) {
tmp_expression_value_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[106]);
}
if (tmp_expression_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto dict_build_exception_4;
}
tmp_tuple_element_10 = (PyObject *)&PyUnicode_Type;
tmp_subscript_value_8 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_8, 0, tmp_tuple_element_10);
tmp_tuple_element_10 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_tuple_element_10 == NULL)) {
tmp_tuple_element_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_tuple_element_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto tuple_build_exception_5;
}
PyTuple_SET_ITEM0(tmp_subscript_value_8, 1, tmp_tuple_element_10);
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_subscript_value_8);
goto dict_build_exception_4;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
tmp_subscript_value_7 = LOOKUP_SUBSCRIPT(tmp_expression_value_17, tmp_subscript_value_8);
Py_DECREF(tmp_subscript_value_8);
if (tmp_subscript_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto dict_build_exception_4;
}
tmp_subscript_value_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_16, tmp_subscript_value_7);
Py_DECREF(tmp_subscript_value_7);
if (tmp_subscript_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto dict_build_exception_4;
}
tmp_dict_value_9 = LOOKUP_SUBSCRIPT(tmp_expression_value_15, tmp_subscript_value_6);
Py_DECREF(tmp_subscript_value_6);
if (tmp_dict_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 155;
goto dict_build_exception_4;
}
tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[115];
tmp_dict_value_9 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_10, tmp_dict_key_9, tmp_dict_value_9);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_4;
// Exception handling pass through code for dict_build:
dict_build_exception_4:;
Py_DECREF(tmp_annotations_10);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_4:;
Py_INCREF(tmp_defaults_2);
tmp_assign_source_46 = MAKE_FUNCTION_tornado$util$$$function__9_exec_in(tmp_defaults_2, tmp_annotations_10);
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[151], tmp_assign_source_46);
}
{
PyObject *tmp_assign_source_47;
PyObject *tmp_annotations_11;
PyObject *tmp_dict_key_10;
PyObject *tmp_dict_value_10;
PyObject *tmp_expression_value_18;
PyObject *tmp_subscript_value_9;
PyObject *tmp_tuple_element_11;
PyObject *tmp_expression_value_19;
PyObject *tmp_subscript_value_10;
tmp_dict_key_10 = mod_consts[152];
tmp_expression_value_18 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[108]);
if (unlikely(tmp_expression_value_18 == NULL)) {
tmp_expression_value_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[108]);
}
if (tmp_expression_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
goto frame_exception_exit_1;
}
tmp_expression_value_19 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_expression_value_19 == NULL)) {
tmp_expression_value_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
if (tmp_expression_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
goto frame_exception_exit_1;
}
tmp_subscript_value_10 = (PyObject *)&PyType_Type;
tmp_tuple_element_11 = LOOKUP_SUBSCRIPT(tmp_expression_value_19, tmp_subscript_value_10);
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
goto frame_exception_exit_1;
}
tmp_subscript_value_9 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_20;
PyObject *tmp_subscript_value_11;
PyObject *tmp_expression_value_21;
PyObject *tmp_subscript_value_12;
PyTuple_SET_ITEM(tmp_subscript_value_9, 0, tmp_tuple_element_11);
tmp_expression_value_20 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_expression_value_20 == NULL)) {
tmp_expression_value_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
if (tmp_expression_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
goto tuple_build_exception_6;
}
tmp_subscript_value_11 = PyExc_BaseException;
tmp_tuple_element_11 = LOOKUP_SUBSCRIPT(tmp_expression_value_20, tmp_subscript_value_11);
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_subscript_value_9, 1, tmp_tuple_element_11);
tmp_expression_value_21 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_expression_value_21 == NULL)) {
tmp_expression_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
if (tmp_expression_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
goto tuple_build_exception_6;
}
tmp_subscript_value_12 = mod_consts[153];
tmp_tuple_element_11 = LOOKUP_SUBSCRIPT(tmp_expression_value_21, tmp_subscript_value_12);
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_subscript_value_9, 2, tmp_tuple_element_11);
}
goto tuple_build_noexception_6;
// Exception handling pass through code for tuple_build:
tuple_build_exception_6:;
Py_DECREF(tmp_subscript_value_9);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_6:;
tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_value_18, tmp_subscript_value_9);
Py_DECREF(tmp_subscript_value_9);
if (tmp_dict_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
goto frame_exception_exit_1;
}
tmp_annotations_11 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_22;
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dict_key_10 = mod_consts[115];
tmp_expression_value_22 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[59]);
if (unlikely(tmp_expression_value_22 == NULL)) {
tmp_expression_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[59]);
}
assert(!(tmp_expression_value_22 == NULL));
tmp_dict_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_22, mod_consts[154]);
if (tmp_dict_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
goto dict_build_exception_5;
}
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_5;
// Exception handling pass through code for dict_build:
dict_build_exception_5:;
Py_DECREF(tmp_annotations_11);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_5:;
tmp_assign_source_47 = MAKE_FUNCTION_tornado$util$$$function__10_raise_exc_info(tmp_annotations_11);
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[155], tmp_assign_source_47);
}
{
PyObject *tmp_assign_source_48;
PyObject *tmp_annotations_12;
PyObject *tmp_dict_key_11;
PyObject *tmp_dict_value_11;
tmp_dict_key_11 = mod_consts[156];
tmp_dict_value_11 = PyExc_BaseException;
tmp_annotations_12 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_23;
PyObject *tmp_subscript_value_13;
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_11, tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[115];
tmp_expression_value_23 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[104]);
if (unlikely(tmp_expression_value_23 == NULL)) {
tmp_expression_value_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[104]);
}
if (tmp_expression_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
goto dict_build_exception_6;
}
tmp_subscript_value_13 = (PyObject *)&PyLong_Type;
tmp_dict_value_11 = LOOKUP_SUBSCRIPT(tmp_expression_value_23, tmp_subscript_value_13);
if (tmp_dict_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 178;
goto dict_build_exception_6;
}
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_6;
// Exception handling pass through code for dict_build:
dict_build_exception_6:;
Py_DECREF(tmp_annotations_12);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_6:;
tmp_assign_source_48 = MAKE_FUNCTION_tornado$util$$$function__11_errno_from_exception(tmp_annotations_12);
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[157], tmp_assign_source_48);
}
{
PyObject *tmp_assign_source_49;
tmp_assign_source_49 = mod_consts[158];
UPDATE_STRING_DICT0(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[43], tmp_assign_source_49);
}
{
PyObject *tmp_assign_source_50;
PyObject *tmp_annotations_13;
PyObject *tmp_dict_key_12;
PyObject *tmp_dict_value_12;
PyObject *tmp_expression_value_24;
PyObject *tmp_subscript_value_14;
tmp_dict_key_12 = mod_consts[159];
tmp_expression_value_24 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[109]);
if (unlikely(tmp_expression_value_24 == NULL)) {
tmp_expression_value_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[109]);
}
if (tmp_expression_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 199;
goto frame_exception_exit_1;
}
tmp_subscript_value_14 = (PyObject *)&PyUnicode_Type;
tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_value_24, tmp_subscript_value_14);
if (tmp_dict_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 199;
goto frame_exception_exit_1;
}
tmp_annotations_13 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_12, tmp_dict_value_12);
Py_DECREF(tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dict_key_12 = mod_consts[115];
tmp_dict_value_12 = (PyObject *)&PyUnicode_Type;
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_12, tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_assign_source_50 = MAKE_FUNCTION_tornado$util$$$function__12__re_unescape_replacement(tmp_annotations_13);
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[47], tmp_assign_source_50);
}
{
PyObject *tmp_assign_source_51;
PyObject *tmp_called_value_8;
PyObject *tmp_expression_value_25;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_26;
tmp_expression_value_25 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[102]);
if (unlikely(tmp_expression_value_25 == NULL)) {
tmp_expression_value_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[102]);
}
if (tmp_expression_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 206;
goto frame_exception_exit_1;
}
tmp_called_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_25, mod_consts[160]);
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 206;
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = mod_consts[161];
tmp_expression_value_26 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[102]);
if (unlikely(tmp_expression_value_26 == NULL)) {
tmp_expression_value_26 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[102]);
}
if (tmp_expression_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 206;
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[162]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_8);
exception_lineno = 206;
goto frame_exception_exit_1;
}
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 206;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4};
tmp_assign_source_51 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_8, call_args);
}
Py_DECREF(tmp_called_value_8);
Py_DECREF(tmp_args_element_value_4);
if (tmp_assign_source_51 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 206;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[45], tmp_assign_source_51);
}
{
PyObject *tmp_assign_source_52;
PyObject *tmp_annotations_14;
tmp_annotations_14 = DICT_COPY(mod_consts[163]);
tmp_assign_source_52 = MAKE_FUNCTION_tornado$util$$$function__13_re_unescape(tmp_annotations_14);
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[164], tmp_assign_source_52);
}
// Tried code:
{
PyObject *tmp_assign_source_53;
PyObject *tmp_dircall_arg1_3;
tmp_dircall_arg1_3 = mod_consts[137];
Py_INCREF(tmp_dircall_arg1_3);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_53 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_10;
}
assert(tmp_class_creation_3__bases == NULL);
tmp_class_creation_3__bases = tmp_assign_source_53;
}
{
PyObject *tmp_assign_source_54;
tmp_assign_source_54 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__class_decl_dict == NULL);
tmp_class_creation_3__class_decl_dict = tmp_assign_source_54;
}
{
PyObject *tmp_assign_source_55;
PyObject *tmp_metaclass_value_3;
bool tmp_condition_result_15;
PyObject *tmp_key_value_7;
PyObject *tmp_dict_arg_value_7;
PyObject *tmp_dict_arg_value_8;
PyObject *tmp_key_value_8;
nuitka_bool tmp_condition_result_16;
int tmp_truth_name_3;
PyObject *tmp_type_arg_5;
PyObject *tmp_expression_value_27;
PyObject *tmp_subscript_value_15;
PyObject *tmp_bases_value_3;
tmp_key_value_7 = mod_consts[119];
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dict_arg_value_7 = tmp_class_creation_3__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_7, tmp_key_value_7);
assert(!(tmp_res == -1));
tmp_condition_result_15 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_15 != false) {
goto condexpr_true_6;
} else {
goto condexpr_false_6;
}
condexpr_true_6:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dict_arg_value_8 = tmp_class_creation_3__class_decl_dict;
tmp_key_value_8 = mod_consts[119];
tmp_metaclass_value_3 = DICT_GET_ITEM0(tmp_dict_arg_value_8, tmp_key_value_8);
if (tmp_metaclass_value_3 == NULL) {
tmp_metaclass_value_3 = Py_None;
}
assert(!(tmp_metaclass_value_3 == NULL));
Py_INCREF(tmp_metaclass_value_3);
goto condexpr_end_6;
condexpr_false_6:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_truth_name_3 = CHECK_IF_TRUE(tmp_class_creation_3__bases);
if (tmp_truth_name_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_10;
}
tmp_condition_result_16 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_16 == NUITKA_BOOL_TRUE) {
goto condexpr_true_7;
} else {
goto condexpr_false_7;
}
condexpr_true_7:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_expression_value_27 = tmp_class_creation_3__bases;
tmp_subscript_value_15 = mod_consts[22];
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_27, tmp_subscript_value_15, 0);
if (tmp_type_arg_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_10;
}
tmp_metaclass_value_3 = BUILTIN_TYPE1(tmp_type_arg_5);
Py_DECREF(tmp_type_arg_5);
if (tmp_metaclass_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_10;
}
goto condexpr_end_7;
condexpr_false_7:;
tmp_metaclass_value_3 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_3);
condexpr_end_7:;
condexpr_end_6:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_bases_value_3 = tmp_class_creation_3__bases;
tmp_assign_source_55 = SELECT_METACLASS(tmp_metaclass_value_3, tmp_bases_value_3);
Py_DECREF(tmp_metaclass_value_3);
if (tmp_assign_source_55 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_10;
}
assert(tmp_class_creation_3__metaclass == NULL);
tmp_class_creation_3__metaclass = tmp_assign_source_55;
}
{
bool tmp_condition_result_17;
PyObject *tmp_key_value_9;
PyObject *tmp_dict_arg_value_9;
tmp_key_value_9 = mod_consts[119];
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dict_arg_value_9 = tmp_class_creation_3__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_9, tmp_key_value_9);
assert(!(tmp_res == -1));
tmp_condition_result_17 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_17 != false) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
tmp_dictdel_key = mod_consts[119];
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 = 221;
goto try_except_handler_10;
}
branch_no_10:;
{
nuitka_bool tmp_condition_result_18;
PyObject *tmp_expression_value_28;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_28 = tmp_class_creation_3__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_28, mod_consts[120]);
tmp_condition_result_18 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_assign_source_56;
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_29;
PyObject *tmp_args_value_5;
PyObject *tmp_tuple_element_12;
PyObject *tmp_kwargs_value_5;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_29 = tmp_class_creation_3__metaclass;
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_29, mod_consts[120]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_10;
}
tmp_tuple_element_12 = mod_consts[54];
tmp_args_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_5, 0, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_12 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_5, 1, tmp_tuple_element_12);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_5 = tmp_class_creation_3__class_decl_dict;
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 221;
tmp_assign_source_56 = CALL_FUNCTION(tmp_called_value_9, tmp_args_value_5, tmp_kwargs_value_5);
Py_DECREF(tmp_called_value_9);
Py_DECREF(tmp_args_value_5);
if (tmp_assign_source_56 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_10;
}
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_56;
}
{
bool tmp_condition_result_19;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_30;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_expression_value_30 = tmp_class_creation_3__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_30, mod_consts[122]);
tmp_operand_value_3 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_10;
}
tmp_condition_result_19 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_19 != false) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
PyObject *tmp_raise_type_3;
PyObject *tmp_raise_value_3;
PyObject *tmp_mod_expr_left_3;
PyObject *tmp_mod_expr_right_3;
PyObject *tmp_tuple_element_13;
PyObject *tmp_getattr_target_3;
PyObject *tmp_getattr_attr_3;
PyObject *tmp_getattr_default_3;
tmp_raise_type_3 = PyExc_TypeError;
tmp_mod_expr_left_3 = mod_consts[123];
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = mod_consts[124];
tmp_getattr_default_3 = mod_consts[125];
tmp_tuple_element_13 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3);
if (tmp_tuple_element_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_10;
}
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_31;
PyObject *tmp_type_arg_6;
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 0, tmp_tuple_element_13);
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_type_arg_6 = tmp_class_creation_3__prepared;
tmp_expression_value_31 = BUILTIN_TYPE1(tmp_type_arg_6);
assert(!(tmp_expression_value_31 == NULL));
tmp_tuple_element_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_31, mod_consts[124]);
Py_DECREF(tmp_expression_value_31);
if (tmp_tuple_element_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto tuple_build_exception_7;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 1, tmp_tuple_element_13);
}
goto tuple_build_noexception_7;
// Exception handling pass through code for tuple_build:
tuple_build_exception_7:;
Py_DECREF(tmp_mod_expr_right_3);
goto try_except_handler_10;
// Finished with no exception for tuple_build:
tuple_build_noexception_7:;
tmp_raise_value_3 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_3, tmp_mod_expr_right_3);
Py_DECREF(tmp_mod_expr_right_3);
if (tmp_raise_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_10;
}
exception_type = tmp_raise_type_3;
Py_INCREF(tmp_raise_type_3);
exception_value = tmp_raise_value_3;
exception_lineno = 221;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_10;
}
branch_no_12:;
goto branch_end_11;
branch_no_11:;
{
PyObject *tmp_assign_source_57;
tmp_assign_source_57 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_57;
}
branch_end_11:;
{
PyObject *tmp_assign_source_58;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_tornado$util$$$class__3_Configurable_221 = tmp_set_locals_3;
Py_INCREF(tmp_set_locals_3);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[126];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[127], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_12;
}
tmp_dictset_value = mod_consts[165];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[91], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_12;
}
tmp_dictset_value = mod_consts[54];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[129], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_12;
}
if (isFrameUnusable(cache_frame_ad0a5402d2edd7019e4057613206542b_4)) {
Py_XDECREF(cache_frame_ad0a5402d2edd7019e4057613206542b_4);
#if _DEBUG_REFCOUNTS
if (cache_frame_ad0a5402d2edd7019e4057613206542b_4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ad0a5402d2edd7019e4057613206542b_4 = MAKE_CLASS_FRAME(codeobj_ad0a5402d2edd7019e4057613206542b, module_tornado$util, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ad0a5402d2edd7019e4057613206542b_4->m_type_description == NULL);
frame_ad0a5402d2edd7019e4057613206542b_4 = cache_frame_ad0a5402d2edd7019e4057613206542b_4;
// Push the new frame as the currently active one.
pushFrameStack(frame_ad0a5402d2edd7019e4057613206542b_4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ad0a5402d2edd7019e4057613206542b_4) == 2); // Frame stack
// Framed code:
tmp_dictset_value = Py_None;
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[64], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 256;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_dictset_value = Py_None;
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[51], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 257;
type_description_2 = "o";
goto frame_exception_exit_4;
}
{
PyObject *tmp_annotations_15;
PyObject *tmp_dict_key_13;
PyObject *tmp_dict_value_13;
tmp_dict_key_13 = mod_consts[39];
tmp_dict_value_13 = PyObject_GetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[103]);
if (tmp_dict_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_dict_value_13 == NULL)) {
tmp_dict_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_dict_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 259;
type_description_2 = "o";
goto frame_exception_exit_4;
}
Py_INCREF(tmp_dict_value_13);
} else {
goto frame_exception_exit_4;
}
}
tmp_annotations_15 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dict_key_13 = mod_consts[80];
tmp_dict_value_13 = PyObject_GetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[103]);
if (tmp_dict_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_dict_value_13 == NULL)) {
tmp_dict_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_dict_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 259;
type_description_2 = "o";
goto dict_build_exception_7;
}
Py_INCREF(tmp_dict_value_13);
} else {
goto dict_build_exception_7;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dict_key_13 = mod_consts[115];
tmp_dict_value_13 = PyObject_GetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[103]);
if (tmp_dict_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_dict_value_13 == NULL)) {
tmp_dict_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_dict_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 259;
type_description_2 = "o";
goto dict_build_exception_7;
}
Py_INCREF(tmp_dict_value_13);
} else {
goto dict_build_exception_7;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_15, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
goto dict_build_noexception_7;
// Exception handling pass through code for dict_build:
dict_build_exception_7:;
Py_DECREF(tmp_annotations_15);
goto frame_exception_exit_4;
// Finished with no exception for dict_build:
dict_build_noexception_7:;
tmp_dictset_value = MAKE_FUNCTION_tornado$util$$$function__14___new__(tmp_annotations_15);
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[55], 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 = 259;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
nuitka_bool tmp_condition_result_20;
PyObject *tmp_called_value_10;
PyObject *tmp_args_element_value_5;
PyObject *tmp_classmethod_arg_1;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$util$$$class__3_Configurable_221, mod_consts[167]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 279;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_20 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_20 == NUITKA_BOOL_TRUE) {
goto condexpr_true_8;
} else {
goto condexpr_false_8;
}
condexpr_true_8:;
tmp_called_value_10 = PyObject_GetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[167]);
if (unlikely(tmp_called_value_10 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[167]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 279;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 279;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_args_element_value_5 = MAKE_FUNCTION_tornado$util$$$function__15_configurable_base();
frame_ad0a5402d2edd7019e4057613206542b_4->m_frame.f_lineno = 279;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_10, tmp_args_element_value_5);
Py_DECREF(tmp_called_value_10);
Py_DECREF(tmp_args_element_value_5);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 279;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_8;
condexpr_false_8:;
tmp_classmethod_arg_1 = MAKE_FUNCTION_tornado$util$$$function__15_configurable_base();
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_1);
Py_DECREF(tmp_classmethod_arg_1);
assert(!(tmp_dictset_value == NULL));
condexpr_end_8:;
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[49], 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 = 280;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
nuitka_bool tmp_condition_result_21;
PyObject *tmp_called_value_11;
PyObject *tmp_args_element_value_6;
PyObject *tmp_classmethod_arg_2;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$util$$$class__3_Configurable_221, mod_consts[167]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 291;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_21 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_21 == NUITKA_BOOL_TRUE) {
goto condexpr_true_9;
} else {
goto condexpr_false_9;
}
condexpr_true_9:;
tmp_called_value_11 = PyObject_GetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[167]);
if (unlikely(tmp_called_value_11 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[167]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 291;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 291;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_args_element_value_6 = MAKE_FUNCTION_tornado$util$$$function__16_configurable_default();
frame_ad0a5402d2edd7019e4057613206542b_4->m_frame.f_lineno = 291;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_11, tmp_args_element_value_6);
Py_DECREF(tmp_called_value_11);
Py_DECREF(tmp_args_element_value_6);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 291;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_9;
condexpr_false_9:;
tmp_classmethod_arg_2 = MAKE_FUNCTION_tornado$util$$$function__16_configurable_default();
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_2);
Py_DECREF(tmp_classmethod_arg_2);
assert(!(tmp_dictset_value == NULL));
condexpr_end_9:;
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[68], 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 = 292;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
PyObject *tmp_annotations_16;
tmp_annotations_16 = DICT_COPY(mod_consts[140]);
tmp_dictset_value = MAKE_FUNCTION_tornado$util$$$function__17__initialize(tmp_annotations_16);
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[170], 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 = 297;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
tmp_dictset_value = PyObject_GetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[170]);
if (unlikely(tmp_dictset_value == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[170]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 300;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[56], 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 = 300;
type_description_2 = "o";
goto frame_exception_exit_4;
}
{
nuitka_bool tmp_condition_result_22;
PyObject *tmp_called_value_12;
PyObject *tmp_args_element_value_7;
PyObject *tmp_classmethod_arg_3;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$util$$$class__3_Configurable_221, mod_consts[167]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 309;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_22 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_22 == NUITKA_BOOL_TRUE) {
goto condexpr_true_10;
} else {
goto condexpr_false_10;
}
condexpr_true_10:;
tmp_called_value_12 = PyObject_GetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[167]);
if (unlikely(tmp_called_value_12 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[167]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 309;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 309;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_args_element_value_7 = MAKE_FUNCTION_tornado$util$$$function__18_configure();
frame_ad0a5402d2edd7019e4057613206542b_4->m_frame.f_lineno = 309;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_12, tmp_args_element_value_7);
Py_DECREF(tmp_called_value_12);
Py_DECREF(tmp_args_element_value_7);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 309;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_10;
condexpr_false_10:;
tmp_classmethod_arg_3 = MAKE_FUNCTION_tornado$util$$$function__18_configure();
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_3);
Py_DECREF(tmp_classmethod_arg_3);
assert(!(tmp_dictset_value == NULL));
condexpr_end_10:;
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[172], 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 = 310;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
nuitka_bool tmp_condition_result_23;
PyObject *tmp_called_value_13;
PyObject *tmp_args_element_value_8;
PyObject *tmp_classmethod_arg_4;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$util$$$class__3_Configurable_221, mod_consts[167]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 326;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_23 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_23 == NUITKA_BOOL_TRUE) {
goto condexpr_true_11;
} else {
goto condexpr_false_11;
}
condexpr_true_11:;
tmp_called_value_13 = PyObject_GetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[167]);
if (unlikely(tmp_called_value_13 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[167]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 326;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 326;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_args_element_value_8 = MAKE_FUNCTION_tornado$util$$$function__19_configured_class();
frame_ad0a5402d2edd7019e4057613206542b_4->m_frame.f_lineno = 326;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_13, tmp_args_element_value_8);
Py_DECREF(tmp_called_value_13);
Py_DECREF(tmp_args_element_value_8);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 326;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_11;
condexpr_false_11:;
tmp_classmethod_arg_4 = MAKE_FUNCTION_tornado$util$$$function__19_configured_class();
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_4);
Py_DECREF(tmp_classmethod_arg_4);
assert(!(tmp_dictset_value == NULL));
condexpr_end_11:;
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[50], 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 = 327;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
nuitka_bool tmp_condition_result_24;
PyObject *tmp_called_value_14;
PyObject *tmp_args_element_value_9;
PyObject *tmp_classmethod_arg_5;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$util$$$class__3_Configurable_221, mod_consts[167]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 342;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_24 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_24 == NUITKA_BOOL_TRUE) {
goto condexpr_true_12;
} else {
goto condexpr_false_12;
}
condexpr_true_12:;
tmp_called_value_14 = PyObject_GetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[167]);
if (unlikely(tmp_called_value_14 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[167]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 342;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 342;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_args_element_value_9 = MAKE_FUNCTION_tornado$util$$$function__20__save_configuration();
frame_ad0a5402d2edd7019e4057613206542b_4->m_frame.f_lineno = 342;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_14, tmp_args_element_value_9);
Py_DECREF(tmp_called_value_14);
Py_DECREF(tmp_args_element_value_9);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 342;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_12;
condexpr_false_12:;
tmp_classmethod_arg_5 = MAKE_FUNCTION_tornado$util$$$function__20__save_configuration();
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_5);
Py_DECREF(tmp_classmethod_arg_5);
assert(!(tmp_dictset_value == NULL));
condexpr_end_12:;
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[175], 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 = 343;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
{
nuitka_bool tmp_condition_result_25;
PyObject *tmp_called_value_15;
PyObject *tmp_args_element_value_10;
PyObject *tmp_classmethod_arg_6;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$util$$$class__3_Configurable_221, mod_consts[167]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_condition_result_25 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_25 == NUITKA_BOOL_TRUE) {
goto condexpr_true_13;
} else {
goto condexpr_false_13;
}
condexpr_true_13:;
tmp_called_value_15 = PyObject_GetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[167]);
if (unlikely(tmp_called_value_15 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[167]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 348;
type_description_2 = "o";
goto frame_exception_exit_4;
}
if (tmp_called_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_args_element_value_10 = MAKE_FUNCTION_tornado$util$$$function__21__restore_configuration();
frame_ad0a5402d2edd7019e4057613206542b_4->m_frame.f_lineno = 348;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_15, tmp_args_element_value_10);
Py_DECREF(tmp_called_value_15);
Py_DECREF(tmp_args_element_value_10);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_2 = "o";
goto frame_exception_exit_4;
}
goto condexpr_end_13;
condexpr_false_13:;
tmp_classmethod_arg_6 = MAKE_FUNCTION_tornado$util$$$function__21__restore_configuration();
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_6);
Py_DECREF(tmp_classmethod_arg_6);
assert(!(tmp_dictset_value == NULL));
condexpr_end_13:;
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[177], 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 = 349;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ad0a5402d2edd7019e4057613206542b_4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_3;
frame_exception_exit_4:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ad0a5402d2edd7019e4057613206542b_4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ad0a5402d2edd7019e4057613206542b_4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ad0a5402d2edd7019e4057613206542b_4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ad0a5402d2edd7019e4057613206542b_4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ad0a5402d2edd7019e4057613206542b_4,
type_description_2,
outline_2_var___class__
);
// Release cached frame if used for exception.
if (frame_ad0a5402d2edd7019e4057613206542b_4 == cache_frame_ad0a5402d2edd7019e4057613206542b_4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ad0a5402d2edd7019e4057613206542b_4);
cache_frame_ad0a5402d2edd7019e4057613206542b_4 = NULL;
}
assertFrameObject(frame_ad0a5402d2edd7019e4057613206542b_4);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_3;
frame_no_exception_3:;
goto skip_nested_handling_3;
nested_frame_exit_3:;
goto try_except_handler_12;
skip_nested_handling_3:;
{
nuitka_bool tmp_condition_result_26;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_cmp_expr_left_4 = tmp_class_creation_3__bases;
tmp_cmp_expr_right_4 = mod_consts[137];
tmp_condition_result_26 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_condition_result_26 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_12;
}
if (tmp_condition_result_26 == NUITKA_BOOL_TRUE) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
tmp_dictset_value = mod_consts[137];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__3_Configurable_221, mod_consts[136], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_12;
}
branch_no_13:;
{
PyObject *tmp_assign_source_59;
PyObject *tmp_called_value_16;
PyObject *tmp_args_value_6;
PyObject *tmp_tuple_element_14;
PyObject *tmp_kwargs_value_6;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_called_value_16 = tmp_class_creation_3__metaclass;
tmp_tuple_element_14 = mod_consts[54];
tmp_args_value_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_6, 0, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_14 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_6, 1, tmp_tuple_element_14);
tmp_tuple_element_14 = locals_tornado$util$$$class__3_Configurable_221;
PyTuple_SET_ITEM0(tmp_args_value_6, 2, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_6 = tmp_class_creation_3__class_decl_dict;
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 221;
tmp_assign_source_59 = CALL_FUNCTION(tmp_called_value_16, tmp_args_value_6, tmp_kwargs_value_6);
Py_DECREF(tmp_args_value_6);
if (tmp_assign_source_59 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
goto try_except_handler_12;
}
assert(outline_2_var___class__ == NULL);
outline_2_var___class__ = tmp_assign_source_59;
}
CHECK_OBJECT(outline_2_var___class__);
tmp_assign_source_58 = outline_2_var___class__;
Py_INCREF(tmp_assign_source_58);
goto try_return_handler_12;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_12:;
Py_DECREF(locals_tornado$util$$$class__3_Configurable_221);
locals_tornado$util$$$class__3_Configurable_221 = NULL;
goto try_return_handler_11;
// Exception handler code:
try_except_handler_12:;
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_DECREF(locals_tornado$util$$$class__3_Configurable_221);
locals_tornado$util$$$class__3_Configurable_221 = NULL;
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto try_except_handler_11;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_11:;
CHECK_OBJECT(outline_2_var___class__);
Py_DECREF(outline_2_var___class__);
outline_2_var___class__ = NULL;
goto outline_result_3;
// Exception handler code:
try_except_handler_11:;
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;
// 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 outline_exception_3;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_3:;
exception_lineno = 221;
goto try_except_handler_10;
outline_result_3:;
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[54], tmp_assign_source_58);
}
goto try_end_6;
// Exception handler code:
try_except_handler_10:;
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(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
Py_XDECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
Py_XDECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = 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 frame_exception_exit_1;
// End of try:
try_end_6:;
CHECK_OBJECT(tmp_class_creation_3__bases);
Py_DECREF(tmp_class_creation_3__bases);
tmp_class_creation_3__bases = NULL;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
Py_DECREF(tmp_class_creation_3__class_decl_dict);
tmp_class_creation_3__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
Py_DECREF(tmp_class_creation_3__metaclass);
tmp_class_creation_3__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_3__prepared);
Py_DECREF(tmp_class_creation_3__prepared);
tmp_class_creation_3__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_60;
PyObject *tmp_dircall_arg1_4;
tmp_dircall_arg1_4 = mod_consts[137];
Py_INCREF(tmp_dircall_arg1_4);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_4};
tmp_assign_source_60 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_60 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_13;
}
assert(tmp_class_creation_4__bases == NULL);
tmp_class_creation_4__bases = tmp_assign_source_60;
}
{
PyObject *tmp_assign_source_61;
tmp_assign_source_61 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__class_decl_dict == NULL);
tmp_class_creation_4__class_decl_dict = tmp_assign_source_61;
}
{
PyObject *tmp_assign_source_62;
PyObject *tmp_metaclass_value_4;
bool tmp_condition_result_27;
PyObject *tmp_key_value_10;
PyObject *tmp_dict_arg_value_10;
PyObject *tmp_dict_arg_value_11;
PyObject *tmp_key_value_11;
nuitka_bool tmp_condition_result_28;
int tmp_truth_name_4;
PyObject *tmp_type_arg_7;
PyObject *tmp_expression_value_32;
PyObject *tmp_subscript_value_16;
PyObject *tmp_bases_value_4;
tmp_key_value_10 = mod_consts[119];
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dict_arg_value_10 = tmp_class_creation_4__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_10, tmp_key_value_10);
assert(!(tmp_res == -1));
tmp_condition_result_27 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_27 != false) {
goto condexpr_true_14;
} else {
goto condexpr_false_14;
}
condexpr_true_14:;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dict_arg_value_11 = tmp_class_creation_4__class_decl_dict;
tmp_key_value_11 = mod_consts[119];
tmp_metaclass_value_4 = DICT_GET_ITEM0(tmp_dict_arg_value_11, tmp_key_value_11);
if (tmp_metaclass_value_4 == NULL) {
tmp_metaclass_value_4 = Py_None;
}
assert(!(tmp_metaclass_value_4 == NULL));
Py_INCREF(tmp_metaclass_value_4);
goto condexpr_end_14;
condexpr_false_14:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_truth_name_4 = CHECK_IF_TRUE(tmp_class_creation_4__bases);
if (tmp_truth_name_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_13;
}
tmp_condition_result_28 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_28 == NUITKA_BOOL_TRUE) {
goto condexpr_true_15;
} else {
goto condexpr_false_15;
}
condexpr_true_15:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_expression_value_32 = tmp_class_creation_4__bases;
tmp_subscript_value_16 = mod_consts[22];
tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_32, tmp_subscript_value_16, 0);
if (tmp_type_arg_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_13;
}
tmp_metaclass_value_4 = BUILTIN_TYPE1(tmp_type_arg_7);
Py_DECREF(tmp_type_arg_7);
if (tmp_metaclass_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_13;
}
goto condexpr_end_15;
condexpr_false_15:;
tmp_metaclass_value_4 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_4);
condexpr_end_15:;
condexpr_end_14:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_bases_value_4 = tmp_class_creation_4__bases;
tmp_assign_source_62 = SELECT_METACLASS(tmp_metaclass_value_4, tmp_bases_value_4);
Py_DECREF(tmp_metaclass_value_4);
if (tmp_assign_source_62 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_13;
}
assert(tmp_class_creation_4__metaclass == NULL);
tmp_class_creation_4__metaclass = tmp_assign_source_62;
}
{
bool tmp_condition_result_29;
PyObject *tmp_key_value_12;
PyObject *tmp_dict_arg_value_12;
tmp_key_value_12 = mod_consts[119];
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dict_arg_value_12 = tmp_class_creation_4__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_12, tmp_key_value_12);
assert(!(tmp_res == -1));
tmp_condition_result_29 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_29 != false) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict;
tmp_dictdel_key = mod_consts[119];
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 = 356;
goto try_except_handler_13;
}
branch_no_14:;
{
nuitka_bool tmp_condition_result_30;
PyObject *tmp_expression_value_33;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_33 = tmp_class_creation_4__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_33, mod_consts[120]);
tmp_condition_result_30 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
{
PyObject *tmp_assign_source_63;
PyObject *tmp_called_value_17;
PyObject *tmp_expression_value_34;
PyObject *tmp_args_value_7;
PyObject *tmp_tuple_element_15;
PyObject *tmp_kwargs_value_7;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_34 = tmp_class_creation_4__metaclass;
tmp_called_value_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_34, mod_consts[120]);
if (tmp_called_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_13;
}
tmp_tuple_element_15 = mod_consts[179];
tmp_args_value_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_7, 0, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_15 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_7, 1, tmp_tuple_element_15);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_7 = tmp_class_creation_4__class_decl_dict;
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 356;
tmp_assign_source_63 = CALL_FUNCTION(tmp_called_value_17, tmp_args_value_7, tmp_kwargs_value_7);
Py_DECREF(tmp_called_value_17);
Py_DECREF(tmp_args_value_7);
if (tmp_assign_source_63 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_13;
}
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_63;
}
{
bool tmp_condition_result_31;
PyObject *tmp_operand_value_4;
PyObject *tmp_expression_value_35;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_expression_value_35 = tmp_class_creation_4__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_35, mod_consts[122]);
tmp_operand_value_4 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_13;
}
tmp_condition_result_31 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_31 != false) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
{
PyObject *tmp_raise_type_4;
PyObject *tmp_raise_value_4;
PyObject *tmp_mod_expr_left_4;
PyObject *tmp_mod_expr_right_4;
PyObject *tmp_tuple_element_16;
PyObject *tmp_getattr_target_4;
PyObject *tmp_getattr_attr_4;
PyObject *tmp_getattr_default_4;
tmp_raise_type_4 = PyExc_TypeError;
tmp_mod_expr_left_4 = mod_consts[123];
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_getattr_target_4 = tmp_class_creation_4__metaclass;
tmp_getattr_attr_4 = mod_consts[124];
tmp_getattr_default_4 = mod_consts[125];
tmp_tuple_element_16 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4);
if (tmp_tuple_element_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_13;
}
tmp_mod_expr_right_4 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_36;
PyObject *tmp_type_arg_8;
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 0, tmp_tuple_element_16);
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_type_arg_8 = tmp_class_creation_4__prepared;
tmp_expression_value_36 = BUILTIN_TYPE1(tmp_type_arg_8);
assert(!(tmp_expression_value_36 == NULL));
tmp_tuple_element_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_36, mod_consts[124]);
Py_DECREF(tmp_expression_value_36);
if (tmp_tuple_element_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto tuple_build_exception_8;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 1, tmp_tuple_element_16);
}
goto tuple_build_noexception_8;
// Exception handling pass through code for tuple_build:
tuple_build_exception_8:;
Py_DECREF(tmp_mod_expr_right_4);
goto try_except_handler_13;
// Finished with no exception for tuple_build:
tuple_build_noexception_8:;
tmp_raise_value_4 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_4, tmp_mod_expr_right_4);
Py_DECREF(tmp_mod_expr_right_4);
if (tmp_raise_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_13;
}
exception_type = tmp_raise_type_4;
Py_INCREF(tmp_raise_type_4);
exception_value = tmp_raise_value_4;
exception_lineno = 356;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_13;
}
branch_no_16:;
goto branch_end_15;
branch_no_15:;
{
PyObject *tmp_assign_source_64;
tmp_assign_source_64 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_64;
}
branch_end_15:;
{
PyObject *tmp_assign_source_65;
{
PyObject *tmp_set_locals_4;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_set_locals_4 = tmp_class_creation_4__prepared;
locals_tornado$util$$$class__4_ArgReplacer_356 = tmp_set_locals_4;
Py_INCREF(tmp_set_locals_4);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[126];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[127], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_15;
}
tmp_dictset_value = mod_consts[180];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[91], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_15;
}
tmp_dictset_value = mod_consts[179];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[129], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_15;
}
if (isFrameUnusable(cache_frame_533938284035b958521dbd34c2cee97c_5)) {
Py_XDECREF(cache_frame_533938284035b958521dbd34c2cee97c_5);
#if _DEBUG_REFCOUNTS
if (cache_frame_533938284035b958521dbd34c2cee97c_5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_533938284035b958521dbd34c2cee97c_5 = MAKE_CLASS_FRAME(codeobj_533938284035b958521dbd34c2cee97c, module_tornado$util, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_533938284035b958521dbd34c2cee97c_5->m_type_description == NULL);
frame_533938284035b958521dbd34c2cee97c_5 = cache_frame_533938284035b958521dbd34c2cee97c_5;
// Push the new frame as the currently active one.
pushFrameStack(frame_533938284035b958521dbd34c2cee97c_5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_533938284035b958521dbd34c2cee97c_5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_17;
PyObject *tmp_dict_key_14;
PyObject *tmp_dict_value_14;
tmp_dict_key_14 = mod_consts[181];
tmp_dict_value_14 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[110]);
if (tmp_dict_value_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_14 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_dict_value_14 == NULL)) {
tmp_dict_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_dict_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 364;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_dict_value_14);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_17 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_17, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dict_key_14 = mod_consts[71];
tmp_dict_value_14 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[130]);
if (tmp_dict_value_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_14 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_14);
} else {
goto frame_exception_exit_5;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_17, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dict_key_14 = mod_consts[115];
tmp_dict_value_14 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_17, tmp_dict_key_14, tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$util$$$function__22___init__(tmp_annotations_17);
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[141], 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 = 364;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_18;
PyObject *tmp_dict_key_15;
PyObject *tmp_dict_value_15;
tmp_dict_key_15 = mod_consts[181];
tmp_dict_value_15 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[110]);
if (tmp_dict_value_15 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_15 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[110]);
if (unlikely(tmp_dict_value_15 == NULL)) {
tmp_dict_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[110]);
}
if (tmp_dict_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 372;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_dict_value_15);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_18 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_37;
PyObject *tmp_subscript_value_17;
tmp_res = PyDict_SetItem(tmp_annotations_18, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
assert(!(tmp_res != 0));
tmp_dict_key_15 = mod_consts[115];
tmp_expression_value_37 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[107]);
if (tmp_expression_value_37 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_37 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[107]);
if (unlikely(tmp_expression_value_37 == NULL)) {
tmp_expression_value_37 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[107]);
}
if (tmp_expression_value_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 372;
type_description_2 = "o";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_37);
} else {
goto dict_build_exception_8;
}
}
tmp_subscript_value_17 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[130]);
if (tmp_subscript_value_17 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_17 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_subscript_value_17);
} else {
goto dict_build_exception_8;
}
}
tmp_dict_value_15 = LOOKUP_SUBSCRIPT(tmp_expression_value_37, tmp_subscript_value_17);
Py_DECREF(tmp_expression_value_37);
Py_DECREF(tmp_subscript_value_17);
if (tmp_dict_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 372;
type_description_2 = "o";
goto dict_build_exception_8;
}
tmp_res = PyDict_SetItem(tmp_annotations_18, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_8;
// Exception handling pass through code for dict_build:
dict_build_exception_8:;
Py_DECREF(tmp_annotations_18);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_8:;
tmp_dictset_value = MAKE_FUNCTION_tornado$util$$$function__23__getargnames(tmp_annotations_18);
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[72], 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 = 372;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_defaults_3;
PyObject *tmp_annotations_19;
PyObject *tmp_dict_key_16;
PyObject *tmp_dict_value_16;
PyObject *tmp_expression_value_38;
PyObject *tmp_subscript_value_18;
tmp_defaults_3 = mod_consts[9];
tmp_dict_key_16 = mod_consts[39];
tmp_expression_value_38 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[111]);
if (tmp_expression_value_38 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_38 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[111]);
if (unlikely(tmp_expression_value_38 == NULL)) {
tmp_expression_value_38 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[111]);
}
if (tmp_expression_value_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_38);
} else {
goto frame_exception_exit_5;
}
}
tmp_subscript_value_18 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[103]);
if (tmp_subscript_value_18 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_18 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_subscript_value_18 == NULL)) {
tmp_subscript_value_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_subscript_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_38);
exception_lineno = 388;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_subscript_value_18);
} else {
goto frame_exception_exit_5;
}
}
tmp_dict_value_16 = LOOKUP_SUBSCRIPT(tmp_expression_value_38, tmp_subscript_value_18);
Py_DECREF(tmp_expression_value_38);
Py_DECREF(tmp_subscript_value_18);
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_annotations_19 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_39;
PyObject *tmp_subscript_value_19;
PyObject *tmp_tuple_element_17;
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[80];
tmp_expression_value_39 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[105]);
if (tmp_expression_value_39 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_39 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[105]);
if (unlikely(tmp_expression_value_39 == NULL)) {
tmp_expression_value_39 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[105]);
}
if (tmp_expression_value_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_2 = "o";
goto dict_build_exception_9;
}
Py_INCREF(tmp_expression_value_39);
} else {
goto dict_build_exception_9;
}
}
tmp_tuple_element_17 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[130]);
if (tmp_tuple_element_17 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_17 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_17);
} else {
goto dict_build_exception_9;
}
}
tmp_subscript_value_19 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_19, 0, tmp_tuple_element_17);
tmp_tuple_element_17 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[103]);
if (tmp_tuple_element_17 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_17 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_tuple_element_17 == NULL)) {
tmp_tuple_element_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_tuple_element_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_2 = "o";
goto tuple_build_exception_9;
}
Py_INCREF(tmp_tuple_element_17);
} else {
goto tuple_build_exception_9;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_19, 1, tmp_tuple_element_17);
goto tuple_build_noexception_9;
// Exception handling pass through code for tuple_build:
tuple_build_exception_9:;
Py_DECREF(tmp_expression_value_39);
Py_DECREF(tmp_subscript_value_19);
goto dict_build_exception_9;
// Finished with no exception for tuple_build:
tuple_build_noexception_9:;
tmp_dict_value_16 = LOOKUP_SUBSCRIPT(tmp_expression_value_39, tmp_subscript_value_19);
Py_DECREF(tmp_expression_value_39);
Py_DECREF(tmp_subscript_value_19);
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_2 = "o";
goto dict_build_exception_9;
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[184];
tmp_dict_value_16 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[103]);
if (tmp_dict_value_16 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_16 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_dict_value_16 == NULL)) {
tmp_dict_value_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
type_description_2 = "o";
goto dict_build_exception_9;
}
Py_INCREF(tmp_dict_value_16);
} else {
goto dict_build_exception_9;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[115];
tmp_dict_value_16 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[103]);
if (tmp_dict_value_16 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_16 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_dict_value_16 == NULL)) {
tmp_dict_value_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 389;
type_description_2 = "o";
goto dict_build_exception_9;
}
Py_INCREF(tmp_dict_value_16);
} else {
goto dict_build_exception_9;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_9;
// Exception handling pass through code for dict_build:
dict_build_exception_9:;
Py_DECREF(tmp_annotations_19);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_9:;
Py_INCREF(tmp_defaults_3);
tmp_dictset_value = MAKE_FUNCTION_tornado$util$$$function__24_get_old_value(tmp_defaults_3, tmp_annotations_19);
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[185], 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 = 387;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_20;
PyObject *tmp_dict_key_17;
PyObject *tmp_dict_value_17;
tmp_dict_key_17 = mod_consts[187];
tmp_dict_value_17 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[103]);
if (tmp_dict_value_17 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_17 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_dict_value_17 == NULL)) {
tmp_dict_value_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_dict_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_dict_value_17);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_20 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_40;
PyObject *tmp_subscript_value_20;
PyObject *tmp_expression_value_41;
PyObject *tmp_subscript_value_21;
PyObject *tmp_tuple_element_18;
PyObject *tmp_expression_value_42;
PyObject *tmp_subscript_value_22;
PyObject *tmp_tuple_element_19;
tmp_res = PyDict_SetItem(tmp_annotations_20, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[39];
tmp_expression_value_40 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[111]);
if (tmp_expression_value_40 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_40 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[111]);
if (unlikely(tmp_expression_value_40 == NULL)) {
tmp_expression_value_40 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[111]);
}
if (tmp_expression_value_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_2 = "o";
goto dict_build_exception_10;
}
Py_INCREF(tmp_expression_value_40);
} else {
goto dict_build_exception_10;
}
}
tmp_subscript_value_20 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[103]);
if (tmp_subscript_value_20 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_20 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_subscript_value_20 == NULL)) {
tmp_subscript_value_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_subscript_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_40);
exception_lineno = 400;
type_description_2 = "o";
goto dict_build_exception_10;
}
Py_INCREF(tmp_subscript_value_20);
} else {
goto dict_build_exception_10;
}
}
tmp_dict_value_17 = LOOKUP_SUBSCRIPT(tmp_expression_value_40, tmp_subscript_value_20);
Py_DECREF(tmp_expression_value_40);
Py_DECREF(tmp_subscript_value_20);
if (tmp_dict_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_2 = "o";
goto dict_build_exception_10;
}
tmp_res = PyDict_SetItem(tmp_annotations_20, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[80];
tmp_expression_value_41 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[105]);
if (tmp_expression_value_41 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_41 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[105]);
if (unlikely(tmp_expression_value_41 == NULL)) {
tmp_expression_value_41 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[105]);
}
if (tmp_expression_value_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_2 = "o";
goto dict_build_exception_10;
}
Py_INCREF(tmp_expression_value_41);
} else {
goto dict_build_exception_10;
}
}
tmp_tuple_element_18 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[130]);
if (tmp_tuple_element_18 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_18 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_18);
} else {
goto dict_build_exception_10;
}
}
tmp_subscript_value_21 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_21, 0, tmp_tuple_element_18);
tmp_tuple_element_18 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[103]);
if (tmp_tuple_element_18 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_18 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_tuple_element_18 == NULL)) {
tmp_tuple_element_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_2 = "o";
goto tuple_build_exception_10;
}
Py_INCREF(tmp_tuple_element_18);
} else {
goto tuple_build_exception_10;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_21, 1, tmp_tuple_element_18);
goto tuple_build_noexception_10;
// Exception handling pass through code for tuple_build:
tuple_build_exception_10:;
Py_DECREF(tmp_expression_value_41);
Py_DECREF(tmp_subscript_value_21);
goto dict_build_exception_10;
// Finished with no exception for tuple_build:
tuple_build_noexception_10:;
tmp_dict_value_17 = LOOKUP_SUBSCRIPT(tmp_expression_value_41, tmp_subscript_value_21);
Py_DECREF(tmp_expression_value_41);
Py_DECREF(tmp_subscript_value_21);
if (tmp_dict_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 400;
type_description_2 = "o";
goto dict_build_exception_10;
}
tmp_res = PyDict_SetItem(tmp_annotations_20, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[115];
tmp_expression_value_42 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[108]);
if (tmp_expression_value_42 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_42 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[108]);
if (unlikely(tmp_expression_value_42 == NULL)) {
tmp_expression_value_42 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[108]);
}
if (tmp_expression_value_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
type_description_2 = "o";
goto dict_build_exception_10;
}
Py_INCREF(tmp_expression_value_42);
} else {
goto dict_build_exception_10;
}
}
tmp_tuple_element_19 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[103]);
if (tmp_tuple_element_19 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_19 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_tuple_element_19 == NULL)) {
tmp_tuple_element_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_42);
exception_lineno = 401;
type_description_2 = "o";
goto dict_build_exception_10;
}
Py_INCREF(tmp_tuple_element_19);
} else {
goto dict_build_exception_10;
}
}
tmp_subscript_value_22 = MAKE_TUPLE_EMPTY(3);
{
PyObject *tmp_expression_value_43;
PyObject *tmp_subscript_value_23;
PyObject *tmp_expression_value_44;
PyObject *tmp_subscript_value_24;
PyObject *tmp_tuple_element_20;
PyTuple_SET_ITEM(tmp_subscript_value_22, 0, tmp_tuple_element_19);
tmp_expression_value_43 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[111]);
if (tmp_expression_value_43 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_43 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[111]);
if (unlikely(tmp_expression_value_43 == NULL)) {
tmp_expression_value_43 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[111]);
}
if (tmp_expression_value_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
type_description_2 = "o";
goto tuple_build_exception_11;
}
Py_INCREF(tmp_expression_value_43);
} else {
goto tuple_build_exception_11;
}
}
tmp_subscript_value_23 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[103]);
if (tmp_subscript_value_23 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_subscript_value_23 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_subscript_value_23 == NULL)) {
tmp_subscript_value_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_subscript_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_43);
exception_lineno = 401;
type_description_2 = "o";
goto tuple_build_exception_11;
}
Py_INCREF(tmp_subscript_value_23);
} else {
goto tuple_build_exception_11;
}
}
tmp_tuple_element_19 = LOOKUP_SUBSCRIPT(tmp_expression_value_43, tmp_subscript_value_23);
Py_DECREF(tmp_expression_value_43);
Py_DECREF(tmp_subscript_value_23);
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
type_description_2 = "o";
goto tuple_build_exception_11;
}
PyTuple_SET_ITEM(tmp_subscript_value_22, 1, tmp_tuple_element_19);
tmp_expression_value_44 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[105]);
if (tmp_expression_value_44 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_44 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[105]);
if (unlikely(tmp_expression_value_44 == NULL)) {
tmp_expression_value_44 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[105]);
}
if (tmp_expression_value_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
type_description_2 = "o";
goto tuple_build_exception_11;
}
Py_INCREF(tmp_expression_value_44);
} else {
goto tuple_build_exception_11;
}
}
tmp_tuple_element_20 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[130]);
if (tmp_tuple_element_20 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_20 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_tuple_element_20);
} else {
goto tuple_build_exception_11;
}
}
tmp_subscript_value_24 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_24, 0, tmp_tuple_element_20);
tmp_tuple_element_20 = PyObject_GetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[103]);
if (tmp_tuple_element_20 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_20 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[103]);
if (unlikely(tmp_tuple_element_20 == NULL)) {
tmp_tuple_element_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[103]);
}
if (tmp_tuple_element_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
type_description_2 = "o";
goto tuple_build_exception_12;
}
Py_INCREF(tmp_tuple_element_20);
} else {
goto tuple_build_exception_12;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_24, 1, tmp_tuple_element_20);
goto tuple_build_noexception_11;
// Exception handling pass through code for tuple_build:
tuple_build_exception_12:;
Py_DECREF(tmp_expression_value_44);
Py_DECREF(tmp_subscript_value_24);
goto tuple_build_exception_11;
// Finished with no exception for tuple_build:
tuple_build_noexception_11:;
tmp_tuple_element_19 = LOOKUP_SUBSCRIPT(tmp_expression_value_44, tmp_subscript_value_24);
Py_DECREF(tmp_expression_value_44);
Py_DECREF(tmp_subscript_value_24);
if (tmp_tuple_element_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
type_description_2 = "o";
goto tuple_build_exception_11;
}
PyTuple_SET_ITEM(tmp_subscript_value_22, 2, tmp_tuple_element_19);
}
goto tuple_build_noexception_12;
// Exception handling pass through code for tuple_build:
tuple_build_exception_11:;
Py_DECREF(tmp_expression_value_42);
Py_DECREF(tmp_subscript_value_22);
goto dict_build_exception_10;
// Finished with no exception for tuple_build:
tuple_build_noexception_12:;
tmp_dict_value_17 = LOOKUP_SUBSCRIPT(tmp_expression_value_42, tmp_subscript_value_22);
Py_DECREF(tmp_expression_value_42);
Py_DECREF(tmp_subscript_value_22);
if (tmp_dict_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
type_description_2 = "o";
goto dict_build_exception_10;
}
tmp_res = PyDict_SetItem(tmp_annotations_20, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_10;
// Exception handling pass through code for dict_build:
dict_build_exception_10:;
Py_DECREF(tmp_annotations_20);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_10:;
tmp_dictset_value = MAKE_FUNCTION_tornado$util$$$function__25_replace(tmp_annotations_20);
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[188], 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 = 399;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_533938284035b958521dbd34c2cee97c_5);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_4;
frame_exception_exit_5:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_533938284035b958521dbd34c2cee97c_5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_533938284035b958521dbd34c2cee97c_5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_533938284035b958521dbd34c2cee97c_5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_533938284035b958521dbd34c2cee97c_5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_533938284035b958521dbd34c2cee97c_5,
type_description_2,
outline_3_var___class__
);
// Release cached frame if used for exception.
if (frame_533938284035b958521dbd34c2cee97c_5 == cache_frame_533938284035b958521dbd34c2cee97c_5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_533938284035b958521dbd34c2cee97c_5);
cache_frame_533938284035b958521dbd34c2cee97c_5 = NULL;
}
assertFrameObject(frame_533938284035b958521dbd34c2cee97c_5);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_4;
frame_no_exception_4:;
goto skip_nested_handling_4;
nested_frame_exit_4:;
goto try_except_handler_15;
skip_nested_handling_4:;
{
nuitka_bool tmp_condition_result_32;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_cmp_expr_left_5 = tmp_class_creation_4__bases;
tmp_cmp_expr_right_5 = mod_consts[137];
tmp_condition_result_32 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_condition_result_32 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_15;
}
if (tmp_condition_result_32 == NUITKA_BOOL_TRUE) {
goto branch_yes_17;
} else {
goto branch_no_17;
}
}
branch_yes_17:;
tmp_dictset_value = mod_consts[137];
tmp_res = PyObject_SetItem(locals_tornado$util$$$class__4_ArgReplacer_356, mod_consts[136], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_15;
}
branch_no_17:;
{
PyObject *tmp_assign_source_66;
PyObject *tmp_called_value_18;
PyObject *tmp_args_value_8;
PyObject *tmp_tuple_element_21;
PyObject *tmp_kwargs_value_8;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_called_value_18 = tmp_class_creation_4__metaclass;
tmp_tuple_element_21 = mod_consts[179];
tmp_args_value_8 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_8, 0, tmp_tuple_element_21);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_21 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_8, 1, tmp_tuple_element_21);
tmp_tuple_element_21 = locals_tornado$util$$$class__4_ArgReplacer_356;
PyTuple_SET_ITEM0(tmp_args_value_8, 2, tmp_tuple_element_21);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_8 = tmp_class_creation_4__class_decl_dict;
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 356;
tmp_assign_source_66 = CALL_FUNCTION(tmp_called_value_18, tmp_args_value_8, tmp_kwargs_value_8);
Py_DECREF(tmp_args_value_8);
if (tmp_assign_source_66 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 356;
goto try_except_handler_15;
}
assert(outline_3_var___class__ == NULL);
outline_3_var___class__ = tmp_assign_source_66;
}
CHECK_OBJECT(outline_3_var___class__);
tmp_assign_source_65 = outline_3_var___class__;
Py_INCREF(tmp_assign_source_65);
goto try_return_handler_15;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_15:;
Py_DECREF(locals_tornado$util$$$class__4_ArgReplacer_356);
locals_tornado$util$$$class__4_ArgReplacer_356 = NULL;
goto try_return_handler_14;
// Exception handler code:
try_except_handler_15:;
exception_keeper_type_13 = exception_type;
exception_keeper_value_13 = exception_value;
exception_keeper_tb_13 = exception_tb;
exception_keeper_lineno_13 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$util$$$class__4_ArgReplacer_356);
locals_tornado$util$$$class__4_ArgReplacer_356 = NULL;
// Re-raise.
exception_type = exception_keeper_type_13;
exception_value = exception_keeper_value_13;
exception_tb = exception_keeper_tb_13;
exception_lineno = exception_keeper_lineno_13;
goto try_except_handler_14;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_14:;
CHECK_OBJECT(outline_3_var___class__);
Py_DECREF(outline_3_var___class__);
outline_3_var___class__ = NULL;
goto outline_result_4;
// Exception handler code:
try_except_handler_14:;
exception_keeper_type_14 = exception_type;
exception_keeper_value_14 = exception_value;
exception_keeper_tb_14 = exception_tb;
exception_keeper_lineno_14 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_14;
exception_value = exception_keeper_value_14;
exception_tb = exception_keeper_tb_14;
exception_lineno = exception_keeper_lineno_14;
goto outline_exception_4;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_4:;
exception_lineno = 356;
goto try_except_handler_13;
outline_result_4:;
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[179], tmp_assign_source_65);
}
goto try_end_7;
// Exception handler code:
try_except_handler_13:;
exception_keeper_type_15 = exception_type;
exception_keeper_value_15 = exception_value;
exception_keeper_tb_15 = exception_tb;
exception_keeper_lineno_15 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_4__bases);
tmp_class_creation_4__bases = NULL;
Py_XDECREF(tmp_class_creation_4__class_decl_dict);
tmp_class_creation_4__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_4__metaclass);
tmp_class_creation_4__metaclass = NULL;
Py_XDECREF(tmp_class_creation_4__prepared);
tmp_class_creation_4__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_15;
exception_value = exception_keeper_value_15;
exception_tb = exception_keeper_tb_15;
exception_lineno = exception_keeper_lineno_15;
goto frame_exception_exit_1;
// End of try:
try_end_7:;
CHECK_OBJECT(tmp_class_creation_4__bases);
Py_DECREF(tmp_class_creation_4__bases);
tmp_class_creation_4__bases = NULL;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
Py_DECREF(tmp_class_creation_4__class_decl_dict);
tmp_class_creation_4__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
Py_DECREF(tmp_class_creation_4__metaclass);
tmp_class_creation_4__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_4__prepared);
Py_DECREF(tmp_class_creation_4__prepared);
tmp_class_creation_4__prepared = NULL;
{
PyObject *tmp_assign_source_67;
tmp_assign_source_67 = MAKE_FUNCTION_tornado$util$$$function__26_timedelta_to_seconds();
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[190], tmp_assign_source_67);
}
{
PyObject *tmp_assign_source_68;
PyObject *tmp_annotations_21;
tmp_annotations_21 = DICT_COPY(mod_consts[191]);
tmp_assign_source_68 = MAKE_FUNCTION_tornado$util$$$function__27__websocket_mask_python(tmp_annotations_21);
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[192], tmp_assign_source_68);
}
{
nuitka_bool tmp_condition_result_33;
int tmp_or_left_truth_1;
nuitka_bool tmp_or_left_value_1;
nuitka_bool tmp_or_right_value_1;
PyObject *tmp_called_value_19;
PyObject *tmp_expression_value_45;
PyObject *tmp_expression_value_46;
PyObject *tmp_call_result_1;
int tmp_truth_name_5;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
PyObject *tmp_called_value_20;
PyObject *tmp_expression_value_47;
PyObject *tmp_expression_value_48;
tmp_expression_value_46 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[101]);
if (unlikely(tmp_expression_value_46 == NULL)) {
tmp_expression_value_46 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[101]);
}
assert(!(tmp_expression_value_46 == NULL));
tmp_expression_value_45 = LOOKUP_ATTRIBUTE(tmp_expression_value_46, mod_consts[193]);
if (tmp_expression_value_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
goto frame_exception_exit_1;
}
tmp_called_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_45, mod_consts[66]);
Py_DECREF(tmp_expression_value_45);
if (tmp_called_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
goto frame_exception_exit_1;
}
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 445;
tmp_call_result_1 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_19, mod_consts[194]);
Py_DECREF(tmp_called_value_19);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
goto frame_exception_exit_1;
}
tmp_truth_name_5 = CHECK_IF_TRUE(tmp_call_result_1);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_1);
exception_lineno = 445;
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_1);
tmp_or_left_truth_1 = tmp_or_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_or_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
goto frame_exception_exit_1;
}
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
tmp_expression_value_48 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[101]);
if (unlikely(tmp_expression_value_48 == NULL)) {
tmp_expression_value_48 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[101]);
}
assert(!(tmp_expression_value_48 == NULL));
tmp_expression_value_47 = LOOKUP_ATTRIBUTE(tmp_expression_value_48, mod_consts[193]);
if (tmp_expression_value_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
goto frame_exception_exit_1;
}
tmp_called_value_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_47, mod_consts[66]);
Py_DECREF(tmp_expression_value_47);
if (tmp_called_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
goto frame_exception_exit_1;
}
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 445;
tmp_cmp_expr_left_6 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_20, mod_consts[195]);
Py_DECREF(tmp_called_value_20);
if (tmp_cmp_expr_left_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_6 = mod_consts[196];
tmp_or_right_value_1 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
Py_DECREF(tmp_cmp_expr_left_6);
if (tmp_or_right_value_1 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 445;
goto frame_exception_exit_1;
}
tmp_condition_result_33 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_33 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_33 == NUITKA_BOOL_TRUE) {
goto branch_yes_18;
} else {
goto branch_no_18;
}
}
branch_yes_18:;
{
PyObject *tmp_assign_source_69;
tmp_assign_source_69 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[192]);
if (unlikely(tmp_assign_source_69 == NULL)) {
tmp_assign_source_69 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[192]);
}
if (tmp_assign_source_69 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 448;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT0(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[197], tmp_assign_source_69);
}
goto branch_end_18;
branch_no_18:;
// Tried code:
{
PyObject *tmp_assign_source_70;
PyObject *tmp_import_name_from_13;
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[198];
tmp_globals_arg_value_7 = (PyObject *)moduledict_tornado$util;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = mod_consts[199];
tmp_level_value_7 = mod_consts[22];
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 451;
tmp_import_name_from_13 = 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_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 451;
goto try_except_handler_16;
}
if (PyModule_Check(tmp_import_name_from_13)) {
tmp_assign_source_70 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_13,
(PyObject *)moduledict_tornado$util,
mod_consts[200],
mod_consts[22]
);
} else {
tmp_assign_source_70 = IMPORT_NAME(tmp_import_name_from_13, mod_consts[200]);
}
Py_DECREF(tmp_import_name_from_13);
if (tmp_assign_source_70 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 451;
goto try_except_handler_16;
}
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[197], tmp_assign_source_70);
}
goto try_end_8;
// Exception handler code:
try_except_handler_16:;
exception_keeper_type_16 = exception_type;
exception_keeper_value_16 = exception_value;
exception_keeper_tb_16 = exception_tb;
exception_keeper_lineno_16 = 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_16 == NULL) {
exception_keeper_tb_16 = MAKE_TRACEBACK(frame_ee62287b968f650e4db318c1251a8562, exception_keeper_lineno_16);
} else if (exception_keeper_lineno_16 != 0) {
exception_keeper_tb_16 = ADD_TRACEBACK(exception_keeper_tb_16, frame_ee62287b968f650e4db318c1251a8562, exception_keeper_lineno_16);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_16, &exception_keeper_value_16, &exception_keeper_tb_16);
// Tried code:
{
bool tmp_condition_result_34;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
tmp_cmp_expr_left_7 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_7 = PyExc_ImportError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
assert(!(tmp_res == -1));
tmp_condition_result_34 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_34 != false) {
goto branch_yes_19;
} else {
goto branch_no_19;
}
}
branch_yes_19:;
{
nuitka_bool tmp_condition_result_35;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
PyObject *tmp_called_value_21;
PyObject *tmp_expression_value_49;
PyObject *tmp_expression_value_50;
tmp_expression_value_50 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[101]);
if (unlikely(tmp_expression_value_50 == NULL)) {
tmp_expression_value_50 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[101]);
}
assert(!(tmp_expression_value_50 == NULL));
tmp_expression_value_49 = LOOKUP_ATTRIBUTE(tmp_expression_value_50, mod_consts[193]);
if (tmp_expression_value_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_17;
}
tmp_called_value_21 = LOOKUP_ATTRIBUTE(tmp_expression_value_49, mod_consts[66]);
Py_DECREF(tmp_expression_value_49);
if (tmp_called_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_17;
}
frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = 453;
tmp_cmp_expr_left_8 = CALL_FUNCTION_WITH_POSARGS1(tmp_called_value_21, mod_consts[195]);
Py_DECREF(tmp_called_value_21);
if (tmp_cmp_expr_left_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_17;
}
tmp_cmp_expr_right_8 = mod_consts[201];
tmp_condition_result_35 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_8, tmp_cmp_expr_right_8);
Py_DECREF(tmp_cmp_expr_left_8);
if (tmp_condition_result_35 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 453;
goto try_except_handler_17;
}
if (tmp_condition_result_35 == NUITKA_BOOL_TRUE) {
goto branch_yes_20;
} else {
goto branch_no_20;
}
}
branch_yes_20:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 454;
}
if (exception_tb && exception_tb->tb_frame == &frame_ee62287b968f650e4db318c1251a8562->m_frame) frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_17;
branch_no_20:;
{
PyObject *tmp_assign_source_71;
tmp_assign_source_71 = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[192]);
if (unlikely(tmp_assign_source_71 == NULL)) {
tmp_assign_source_71 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[192]);
}
if (tmp_assign_source_71 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 455;
goto try_except_handler_17;
}
UPDATE_STRING_DICT0(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[197], tmp_assign_source_71);
}
goto branch_end_19;
branch_no_19:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 450;
}
if (exception_tb && exception_tb->tb_frame == &frame_ee62287b968f650e4db318c1251a8562->m_frame) frame_ee62287b968f650e4db318c1251a8562->m_frame.f_lineno = exception_tb->tb_lineno;
goto try_except_handler_17;
branch_end_19:;
goto try_end_9;
// Exception handler code:
try_except_handler_17:;
exception_keeper_type_17 = exception_type;
exception_keeper_value_17 = exception_value;
exception_keeper_tb_17 = exception_tb;
exception_keeper_lineno_17 = 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_17;
exception_value = exception_keeper_value_17;
exception_tb = exception_keeper_tb_17;
exception_lineno = exception_keeper_lineno_17;
goto frame_exception_exit_1;
// End of try:
try_end_9:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_8;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_8:;
branch_end_18:;
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_ee62287b968f650e4db318c1251a8562);
#endif
popFrameStack();
goto frame_no_exception_5;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ee62287b968f650e4db318c1251a8562);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ee62287b968f650e4db318c1251a8562, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ee62287b968f650e4db318c1251a8562->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ee62287b968f650e4db318c1251a8562, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_5:;
{
PyObject *tmp_assign_source_72;
tmp_assign_source_72 = MAKE_FUNCTION_tornado$util$$$function__28_doctests();
UPDATE_STRING_DICT1(moduledict_tornado$util, (Nuitka_StringObject *)mod_consts[202], tmp_assign_source_72);
}
// Report to PGO about leaving the module without error.
PGO_onModuleExit("tornado.util", false);
Py_INCREF(module_tornado$util);
return module_tornado$util;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$util, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("tornado$util", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}