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.netutil'
* 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$netutil" 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$netutil;
PyDictObject *moduledict_tornado$netutil;
/* The declarations of module constants used, if any. */
static PyObject *mod_consts[281];
#ifndef __NUITKA_NO_ASSERT__
static Py_hash_t mod_consts_hash[281];
#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.netutil"));
constants_created = true;
#ifndef __NUITKA_NO_ASSERT__
for (int i = 0; i < 281; 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$netutil(void) {
// The module may not have been used at all, then ignore this.
if (constants_created == false) return;
for (int i = 0; i < 281; 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_d13a3639587f44ba644dd57ae5567b8a;
static PyCodeObject *codeobj_e6a6643122ae4d529e8346cdc512ae1c;
static PyCodeObject *codeobj_ef0e9d45da047ced72a024a849043205;
static PyCodeObject *codeobj_bc3fb5253e72b8601432a771bfa86454;
static PyCodeObject *codeobj_2bc406de1b699eece85499d0248709cc;
static PyCodeObject *codeobj_aab5efb99285a4ca81e45e3b1da26b28;
static PyCodeObject *codeobj_03fa49e8cfcb4de7d7b38b1b0a8ef955;
static PyCodeObject *codeobj_e7b7a215bc903988804ded8f724442cb;
static PyCodeObject *codeobj_34e0df0ec9a5ff15429354001f3fa2d8;
static PyCodeObject *codeobj_29d32c3a26613a6a4f27fde4f2ff7633;
static PyCodeObject *codeobj_1bc1d254f7b99494bc4b72fe86e75e5e;
static PyCodeObject *codeobj_d18921740ff6b6cbe818cdb834d28df6;
static PyCodeObject *codeobj_d9c4f15532b7e3a8f96a2cf8908e3c20;
static PyCodeObject *codeobj_ac660d6ebc5cc3c2e2fa08fa87a514e6;
static PyCodeObject *codeobj_c5d69c3a147b71e4a7088b97cf0f1c17;
static PyCodeObject *codeobj_04b2e4efea221072a102c2f979b9bddc;
static PyCodeObject *codeobj_931f2a11e8ac5b12fac53912ec63492d;
static PyCodeObject *codeobj_965d1418c6a6c12afb518874eb9224aa;
static PyCodeObject *codeobj_c4ce0b032a2cae763e9bc36b94c5b3e4;
static PyCodeObject *codeobj_6ebbde4f41d11f61fe2a0241390dc402;
static PyCodeObject *codeobj_595f647d13f344b12bbeb7ba17aca4a1;
static PyCodeObject *codeobj_233a6c49e69d574b34c40cd9821c113f;
static PyCodeObject *codeobj_ceb794182175544632c2cf09b15a7b7a;
static PyCodeObject *codeobj_bc6a4c0e1ff66864564b0fcdd371fae7;
static PyCodeObject *codeobj_582cb577d1a8caceabdd04570933d541;
static PyCodeObject *codeobj_6acf685c9c94410d13b92c29150a767a;
static PyCodeObject *codeobj_5bbc237a8571050707bb4e0320a75c5a;
static PyCodeObject *codeobj_de22646eb1e0d220f952dd99ad5cb6c3;
static PyCodeObject *codeobj_b50f5f2d8d9fe9bc03a0e93b0477a046;
static PyCodeObject *codeobj_7e974fd2daacfda1ac32ef865ff8c9e4;
static PyCodeObject *codeobj_cef73c49d4b6a168ee51ac568defb5e2;
static PyCodeObject *codeobj_04dc15ca51c6d74e7a12656c7854d2c4;
static PyCodeObject *codeobj_3c4e664ac6dac984d28e07234cdc43ea;
static PyCodeObject *codeobj_dd57a8bcabfa10e5ec172df6e1c738cd;
static PyCodeObject *codeobj_8724f35f2941d9226e2034e9d5dd8cfd;
static void createModuleCodeObjects(void) {
module_filename_obj = mod_consts[156]; CHECK_OBJECT(module_filename_obj);
codeobj_d13a3639587f44ba644dd57ae5567b8a = MAKE_CODE_OBJECT(module_filename_obj, 612, CO_GENERATOR | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[145], mod_consts[145], mod_consts[255], NULL, 1, 0, 0);
codeobj_e6a6643122ae4d529e8346cdc512ae1c = MAKE_CODE_OBJECT(module_filename_obj, 106, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[12], mod_consts[12], mod_consts[256], NULL, 1, 0, 0);
codeobj_ef0e9d45da047ced72a024a849043205 = MAKE_CODE_OBJECT(module_filename_obj, 431, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[257], mod_consts[257], mod_consts[258], NULL, 1, 0, 0);
codeobj_bc3fb5253e72b8601432a771bfa86454 = MAKE_CODE_OBJECT(module_filename_obj, 1, CO_NOFREE, mod_consts[259], mod_consts[259], NULL, NULL, 0, 0, 0);
codeobj_2bc406de1b699eece85499d0248709cc = MAKE_CODE_OBJECT(module_filename_obj, 481, CO_NOFREE, mod_consts[234], mod_consts[234], mod_consts[260], NULL, 0, 0, 0);
codeobj_aab5efb99285a4ca81e45e3b1da26b28 = MAKE_CODE_OBJECT(module_filename_obj, 401, CO_NOFREE, mod_consts[223], mod_consts[223], mod_consts[260], NULL, 0, 0, 0);
codeobj_03fa49e8cfcb4de7d7b38b1b0a8ef955 = MAKE_CODE_OBJECT(module_filename_obj, 420, CO_NOFREE, mod_consts[91], mod_consts[91], mod_consts[260], NULL, 0, 0, 0);
codeobj_e7b7a215bc903988804ded8f724442cb = MAKE_CODE_OBJECT(module_filename_obj, 439, CO_NOFREE, mod_consts[226], mod_consts[226], mod_consts[260], NULL, 0, 0, 0);
codeobj_34e0df0ec9a5ff15429354001f3fa2d8 = MAKE_CODE_OBJECT(module_filename_obj, 539, CO_NOFREE, mod_consts[242], mod_consts[242], mod_consts[260], NULL, 0, 0, 0);
codeobj_29d32c3a26613a6a4f27fde4f2ff7633 = MAKE_CODE_OBJECT(module_filename_obj, 314, CO_NOFREE, mod_consts[90], mod_consts[90], mod_consts[260], NULL, 0, 0, 0);
codeobj_1bc1d254f7b99494bc4b72fe86e75e5e = MAKE_CODE_OBJECT(module_filename_obj, 496, CO_NOFREE, mod_consts[111], mod_consts[111], mod_consts[260], NULL, 0, 0, 0);
codeobj_d18921740ff6b6cbe818cdb834d28df6 = MAKE_CODE_OBJECT(module_filename_obj, 525, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[112], mod_consts[112], mod_consts[261], NULL, 2, 0, 0);
codeobj_d9c4f15532b7e3a8f96a2cf8908e3c20 = MAKE_CODE_OBJECT(module_filename_obj, 386, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[95], mod_consts[95], mod_consts[262], NULL, 3, 0, 0);
codeobj_ac660d6ebc5cc3c2e2fa08fa87a514e6 = MAKE_CODE_OBJECT(module_filename_obj, 250, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[71], mod_consts[71], mod_consts[263], mod_consts[264], 2, 0, 0);
codeobj_c5d69c3a147b71e4a7088b97cf0f1c17 = MAKE_CODE_OBJECT(module_filename_obj, 227, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[199], mod_consts[199], mod_consts[265], NULL, 2, 0, 0);
codeobj_04b2e4efea221072a102c2f979b9bddc = MAKE_CODE_OBJECT(module_filename_obj, 56, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[194], mod_consts[194], mod_consts[266], NULL, 6, 0, 0);
codeobj_931f2a11e8ac5b12fac53912ec63492d = MAKE_CODE_OBJECT(module_filename_obj, 192, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[197], mod_consts[197], mod_consts[267], NULL, 3, 0, 0);
codeobj_965d1418c6a6c12afb518874eb9224aa = MAKE_CODE_OBJECT(module_filename_obj, 377, CO_NOFREE, mod_consts[48], mod_consts[48], mod_consts[268], NULL, 1, 0, 0);
codeobj_c4ce0b032a2cae763e9bc36b94c5b3e4 = MAKE_CODE_OBJECT(module_filename_obj, 469, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[48], mod_consts[48], mod_consts[268], NULL, 1, 0, 0);
codeobj_6ebbde4f41d11f61fe2a0241390dc402 = MAKE_CODE_OBJECT(module_filename_obj, 566, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[48], mod_consts[48], mod_consts[268], NULL, 1, 0, 0);
codeobj_595f647d13f344b12bbeb7ba17aca4a1 = MAKE_CODE_OBJECT(module_filename_obj, 344, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[213], mod_consts[213], mod_consts[269], NULL, 1, 0, 0);
codeobj_233a6c49e69d574b34c40cd9821c113f = MAKE_CODE_OBJECT(module_filename_obj, 348, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[215], mod_consts[215], mod_consts[269], NULL, 1, 0, 0);
codeobj_ceb794182175544632c2cf09b15a7b7a = MAKE_CODE_OBJECT(module_filename_obj, 492, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[110], mod_consts[110], mod_consts[270], mod_consts[260], 1, 0, 0);
codeobj_bc6a4c0e1ff66864564b0fcdd371fae7 = MAKE_CODE_OBJECT(module_filename_obj, 457, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[110], mod_consts[110], mod_consts[271], NULL, 3, 0, 0);
codeobj_582cb577d1a8caceabdd04570933d541 = MAKE_CODE_OBJECT(module_filename_obj, 520, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[110], mod_consts[110], mod_consts[272], mod_consts[260], 2, 0, 0);
codeobj_6acf685c9c94410d13b92c29150a767a = MAKE_CODE_OBJECT(module_filename_obj, 562, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[110], mod_consts[110], mod_consts[273], NULL, 3, 0, 0);
codeobj_5bbc237a8571050707bb4e0320a75c5a = MAKE_CODE_OBJECT(module_filename_obj, 287, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[201], mod_consts[201], mod_consts[274], NULL, 1, 0, 0);
codeobj_de22646eb1e0d220f952dd99ad5cb6c3 = MAKE_CODE_OBJECT(module_filename_obj, 279, CO_OPTIMIZED | CO_NEWLOCALS, mod_consts[74], mod_consts[74], mod_consts[275], mod_consts[276], 0, 0, 0);
codeobj_b50f5f2d8d9fe9bc03a0e93b0477a046 = MAKE_CODE_OBJECT(module_filename_obj, 423, CO_COROUTINE | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[99], mod_consts[99], mod_consts[277], NULL, 4, 0, 0);
codeobj_7e974fd2daacfda1ac32ef865ff8c9e4 = MAKE_CODE_OBJECT(module_filename_obj, 411, CO_COROUTINE | CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[99], mod_consts[99], mod_consts[278], NULL, 4, 0, 0);
codeobj_cef73c49d4b6a168ee51ac568defb5e2 = MAKE_CODE_OBJECT(module_filename_obj, 351, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[99], mod_consts[99], mod_consts[277], NULL, 4, 0, 0);
codeobj_04dc15ca51c6d74e7a12656c7854d2c4 = MAKE_CODE_OBJECT(module_filename_obj, 475, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[99], mod_consts[99], mod_consts[277], NULL, 4, 0, 0);
codeobj_3c4e664ac6dac984d28e07234cdc43ea = MAKE_CODE_OBJECT(module_filename_obj, 569, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[99], mod_consts[99], mod_consts[277], NULL, 4, 0, 0);
codeobj_dd57a8bcabfa10e5ec172df6e1c738cd = MAKE_CODE_OBJECT(module_filename_obj, 589, CO_OPTIMIZED | CO_NEWLOCALS | CO_NOFREE, mod_consts[147], mod_consts[147], mod_consts[279], NULL, 2, 0, 0);
codeobj_8724f35f2941d9226e2034e9d5dd8cfd = MAKE_CODE_OBJECT(module_filename_obj, 644, CO_OPTIMIZED | CO_NEWLOCALS | CO_VARKEYWORDS | CO_NOFREE, mod_consts[254], mod_consts[254], mod_consts[280], NULL, 4, 0, 0);
}
// The module function declarations.
static PyObject *MAKE_COROUTINE_tornado$netutil$$$function__10_resolve$$$coroutine__1_resolve(struct Nuitka_CellObject **closure);
static PyObject *MAKE_COROUTINE_tornado$netutil$$$function__11_resolve$$$coroutine__1_resolve(struct Nuitka_CellObject **closure);
static PyObject *MAKE_GENERATOR_tornado$netutil$$$function__21_ssl_options_to_context$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__1__mro_entries_conversion(PyObject **python_pars);
NUITKA_CROSS_MODULE PyObject *impl___main__$$$function__10_complex_call_helper_pos_keywords_star_dict(PyObject **python_pars);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__10_resolve(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__11_resolve(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__12_initialize(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__13_close(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__14_resolve(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__15_initialize(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__16_initialize(PyObject *defaults, PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__17__create_threadpool(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__18_initialize(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__19_close(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__1_bind_sockets(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__1_bind_sockets$$$function__1_lambda();
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__20_resolve(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__21_ssl_options_to_context(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__22_ssl_wrap_socket(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__2_bind_unix_socket(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__3_add_accept_handler(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__3_add_accept_handler$$$function__1_accept_handler(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__3_add_accept_handler$$$function__2_remove_handler(PyObject *annotations, struct Nuitka_CellObject **closure);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__4_is_valid_ip(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__5_configurable_base(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__6_configurable_default(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__7_resolve(PyObject *defaults, PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__8_close(PyObject *annotations);
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__9__resolve_addr(PyObject *defaults, PyObject *annotations);
// The module function definitions.
static PyObject *impl_tornado$netutil$$$function__1_bind_sockets(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_port = python_pars[0];
PyObject *par_address = python_pars[1];
PyObject *par_family = python_pars[2];
PyObject *par_backlog = python_pars[3];
PyObject *par_flags = python_pars[4];
PyObject *par_reuse_port = python_pars[5];
PyObject *var_sockets = NULL;
PyObject *var_bound_port = NULL;
PyObject *var_unique_addresses = NULL;
PyObject *var_res = NULL;
PyObject *var_af = NULL;
PyObject *var_socktype = NULL;
PyObject *var_proto = NULL;
PyObject *var_canonname = NULL;
PyObject *var_sockaddr = NULL;
PyObject *var_sock = NULL;
PyObject *var_e = NULL;
PyObject *var_host = NULL;
PyObject *var_requested_port = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__element_3 = NULL;
PyObject *tmp_tuple_unpack_1__element_4 = NULL;
PyObject *tmp_tuple_unpack_1__element_5 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
PyObject *tmp_tuple_unpack_2__element_1 = NULL;
PyObject *tmp_tuple_unpack_2__element_2 = NULL;
PyObject *tmp_tuple_unpack_2__source_iter = NULL;
struct Nuitka_FrameObject *frame_04b2e4efea221072a102c2f979b9bddc;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_1;
bool tmp_result;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
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;
struct Nuitka_ExceptionStackItem exception_preserved_2;
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 *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;
struct Nuitka_ExceptionStackItem exception_preserved_3;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
PyObject *exception_keeper_type_13;
PyObject *exception_keeper_value_13;
PyTracebackObject *exception_keeper_tb_13;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_13;
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 *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_04b2e4efea221072a102c2f979b9bddc = NULL;
PyObject *exception_keeper_type_15;
PyObject *exception_keeper_value_15;
PyTracebackObject *exception_keeper_tb_15;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_15;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_04b2e4efea221072a102c2f979b9bddc)) {
Py_XDECREF(cache_frame_04b2e4efea221072a102c2f979b9bddc);
#if _DEBUG_REFCOUNTS
if (cache_frame_04b2e4efea221072a102c2f979b9bddc == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_04b2e4efea221072a102c2f979b9bddc = MAKE_FUNCTION_FRAME(codeobj_04b2e4efea221072a102c2f979b9bddc, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_04b2e4efea221072a102c2f979b9bddc->m_type_description == NULL);
frame_04b2e4efea221072a102c2f979b9bddc = cache_frame_04b2e4efea221072a102c2f979b9bddc;
// Push the new frame as the currently active one.
pushFrameStack(frame_04b2e4efea221072a102c2f979b9bddc);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_04b2e4efea221072a102c2f979b9bddc) == 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;
int tmp_truth_name_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
CHECK_OBJECT(par_reuse_port);
tmp_truth_name_1 = CHECK_IF_TRUE(par_reuse_port);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
tmp_and_left_truth_1 = tmp_and_left_value_1 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_and_left_truth_1 == 1) {
goto and_right_1;
} else {
goto and_left_1;
}
and_right_1:;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 87;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = mod_consts[1];
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 = 87;
type_description_1 = "ooooooooooooooooooo";
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 = 87;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_1 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
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_raise_type_1;
PyObject *tmp_make_exception_arg_1;
tmp_make_exception_arg_1 = mod_consts[2];
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 88;
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 = 88;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
branch_no_1:;
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = MAKE_LIST_EMPTY(0);
assert(var_sockets == NULL);
var_sockets = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_address);
tmp_cmp_expr_left_1 = par_address;
tmp_cmp_expr_right_1 = mod_consts[3];
tmp_condition_result_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 91;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = Py_None;
{
PyObject *old = par_address;
assert(old != NULL);
par_address = tmp_assign_source_2;
Py_INCREF(par_address);
Py_DECREF(old);
}
}
branch_no_2:;
{
nuitka_bool tmp_condition_result_3;
int tmp_and_left_truth_2;
nuitka_bool tmp_and_left_value_2;
nuitka_bool tmp_and_right_value_2;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_expression_value_3;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 93;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_operand_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[4]);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 93;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 93;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_left_value_2 = (tmp_res == 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_and_left_truth_2 = tmp_and_left_value_2 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_2 == 1) {
goto and_right_2;
} else {
goto and_left_2;
}
and_right_2:;
CHECK_OBJECT(par_family);
tmp_cmp_expr_left_2 = par_family;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 93;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[5]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 93;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_and_right_value_2 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_and_right_value_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 93;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = tmp_and_right_value_2;
goto and_end_2;
and_left_2:;
tmp_condition_result_3 = tmp_and_left_value_2;
and_end_2:;
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_4;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 99;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[6]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 99;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_family;
assert(old != NULL);
par_family = tmp_assign_source_3;
Py_DECREF(old);
}
}
branch_no_3:;
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(par_flags);
tmp_cmp_expr_left_3 = par_flags;
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_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_5;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[7]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 101;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_flags;
assert(old != NULL);
par_flags = tmp_assign_source_4;
Py_DECREF(old);
}
}
branch_no_4:;
{
PyObject *tmp_assign_source_5;
tmp_assign_source_5 = Py_None;
assert(var_bound_port == NULL);
Py_INCREF(tmp_assign_source_5);
var_bound_port = tmp_assign_source_5;
}
{
PyObject *tmp_assign_source_6;
tmp_assign_source_6 = PySet_New(NULL);
assert(var_unique_addresses == NULL);
var_unique_addresses = tmp_assign_source_6;
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_iter_arg_1;
PyObject *tmp_called_value_1;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_7;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_kw_call_dict_value_0_1;
tmp_called_value_1 = LOOKUP_BUILTIN(mod_consts[8]);
assert(tmp_called_value_1 != NULL);
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 105;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[9]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 105;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_address);
tmp_args_element_value_1 = par_address;
CHECK_OBJECT(par_port);
tmp_args_element_value_2 = par_port;
CHECK_OBJECT(par_family);
tmp_args_element_value_3 = par_family;
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 105;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[10]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 105;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = mod_consts[11];
CHECK_OBJECT(par_flags);
tmp_args_element_value_6 = par_flags;
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 105;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5, tmp_args_element_value_6};
tmp_kw_call_arg_value_0_1 = CALL_FUNCTION_WITH_ARGS6(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_4);
if (tmp_kw_call_arg_value_0_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 105;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_kw_call_dict_value_0_1 = MAKE_FUNCTION_tornado$netutil$$$function__1_bind_sockets$$$function__1_lambda();
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 104;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_iter_arg_1 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[14]);
}
Py_DECREF(tmp_kw_call_arg_value_0_1);
Py_DECREF(tmp_kw_call_dict_value_0_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_assign_source_7 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_7;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_8 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_8 == 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 = "ooooooooooooooooooo";
exception_lineno = 104;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_9;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_9 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_res;
var_res = tmp_assign_source_9;
Py_INCREF(var_res);
Py_XDECREF(old);
}
}
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(var_res);
tmp_cmp_expr_left_4 = var_res;
if (var_unique_addresses == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[15]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 108;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_4 = var_unique_addresses;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_4, tmp_cmp_expr_left_4);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 108;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_condition_result_5 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
goto loop_start_1;
branch_no_5:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_7;
if (var_unique_addresses == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[15]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 111;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_called_instance_1 = var_unique_addresses;
CHECK_OBJECT(var_res);
tmp_args_element_value_7 = var_res;
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 111;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[16], tmp_args_element_value_7);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 111;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
// Tried code:
{
PyObject *tmp_assign_source_10;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(var_res);
tmp_iter_arg_2 = var_res;
tmp_assign_source_10 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 113;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_10;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_11;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_11 = UNPACK_NEXT(tmp_unpack_1, 0, 5);
if (tmp_assign_source_11 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooooooooooooooooo";
exception_lineno = 113;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_11;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_12;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_12 = UNPACK_NEXT(tmp_unpack_2, 1, 5);
if (tmp_assign_source_12 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooooooooooooooooo";
exception_lineno = 113;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_12;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_13;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_13 = UNPACK_NEXT(tmp_unpack_3, 2, 5);
if (tmp_assign_source_13 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooooooooooooooooo";
exception_lineno = 113;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_3;
tmp_tuple_unpack_1__element_3 = tmp_assign_source_13;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_14;
PyObject *tmp_unpack_4;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_4 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_14 = UNPACK_NEXT(tmp_unpack_4, 3, 5);
if (tmp_assign_source_14 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooooooooooooooooo";
exception_lineno = 113;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_4;
tmp_tuple_unpack_1__element_4 = tmp_assign_source_14;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_15;
PyObject *tmp_unpack_5;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_5 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_15 = UNPACK_NEXT(tmp_unpack_5, 4, 5);
if (tmp_assign_source_15 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooooooooooooooooo";
exception_lineno = 113;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_5;
tmp_tuple_unpack_1__element_5 = tmp_assign_source_15;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooooooooooooo";
exception_lineno = 113;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[17];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooooooooooooooooo";
exception_lineno = 113;
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_3;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_4);
tmp_tuple_unpack_1__element_4 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_5);
tmp_tuple_unpack_1__element_5 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_2;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_16;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_16 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_af;
var_af = tmp_assign_source_16;
Py_INCREF(var_af);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_17;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_17 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_socktype;
var_socktype = tmp_assign_source_17;
Py_INCREF(var_socktype);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_18;
CHECK_OBJECT(tmp_tuple_unpack_1__element_3);
tmp_assign_source_18 = tmp_tuple_unpack_1__element_3;
{
PyObject *old = var_proto;
var_proto = tmp_assign_source_18;
Py_INCREF(var_proto);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
{
PyObject *tmp_assign_source_19;
CHECK_OBJECT(tmp_tuple_unpack_1__element_4);
tmp_assign_source_19 = tmp_tuple_unpack_1__element_4;
{
PyObject *old = var_canonname;
var_canonname = tmp_assign_source_19;
Py_INCREF(var_canonname);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_4);
tmp_tuple_unpack_1__element_4 = NULL;
{
PyObject *tmp_assign_source_20;
CHECK_OBJECT(tmp_tuple_unpack_1__element_5);
tmp_assign_source_20 = tmp_tuple_unpack_1__element_5;
{
PyObject *old = var_sockaddr;
var_sockaddr = tmp_assign_source_20;
Py_INCREF(var_sockaddr);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_5);
tmp_tuple_unpack_1__element_5 = NULL;
{
nuitka_bool tmp_condition_result_6;
int tmp_and_left_truth_3;
nuitka_bool tmp_and_left_value_3;
nuitka_bool tmp_and_right_value_3;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
PyObject *tmp_expression_value_8;
int tmp_and_left_truth_4;
nuitka_bool tmp_and_left_value_4;
nuitka_bool tmp_and_right_value_4;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
int tmp_and_left_truth_5;
nuitka_bool tmp_and_left_value_5;
nuitka_bool tmp_and_right_value_5;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
PyObject *tmp_expression_value_9;
PyObject *tmp_cmp_expr_left_8;
PyObject *tmp_cmp_expr_right_8;
PyObject *tmp_expression_value_10;
PyObject *tmp_subscript_value_1;
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[18]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[18]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_left_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[19]);
if (tmp_cmp_expr_left_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_5 = mod_consts[20];
tmp_and_left_value_3 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
Py_DECREF(tmp_cmp_expr_left_5);
if (tmp_and_left_value_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_and_left_truth_3 = tmp_and_left_value_3 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_3 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 115;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
if (tmp_and_left_truth_3 == 1) {
goto and_right_3;
} else {
goto and_left_3;
}
and_right_3:;
CHECK_OBJECT(par_address);
tmp_cmp_expr_left_6 = par_address;
tmp_cmp_expr_right_6 = mod_consts[21];
tmp_and_left_value_4 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
if (tmp_and_left_value_4 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_and_left_truth_4 = tmp_and_left_value_4 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_4 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 116;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
if (tmp_and_left_truth_4 == 1) {
goto and_right_4;
} else {
goto and_left_4;
}
and_right_4:;
CHECK_OBJECT(var_af);
tmp_cmp_expr_left_7 = var_af;
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 117;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[22]);
if (tmp_cmp_expr_right_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 117;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_and_left_value_5 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
Py_DECREF(tmp_cmp_expr_right_7);
if (tmp_and_left_value_5 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 117;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_and_left_truth_5 = tmp_and_left_value_5 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 117;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
if (tmp_and_left_truth_5 == 1) {
goto and_right_5;
} else {
goto and_left_5;
}
and_right_5:;
CHECK_OBJECT(var_sockaddr);
tmp_expression_value_10 = var_sockaddr;
tmp_subscript_value_1 = mod_consts[23];
tmp_cmp_expr_left_8 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_10, tmp_subscript_value_1, 3);
if (tmp_cmp_expr_left_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 118;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_8 = mod_consts[11];
tmp_and_right_value_5 = RICH_COMPARE_NE_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_8, tmp_cmp_expr_right_8);
Py_DECREF(tmp_cmp_expr_left_8);
if (tmp_and_right_value_5 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 118;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_and_right_value_4 = tmp_and_right_value_5;
goto and_end_5;
and_left_5:;
tmp_and_right_value_4 = tmp_and_left_value_5;
and_end_5:;
tmp_and_right_value_3 = tmp_and_right_value_4;
goto and_end_4;
and_left_4:;
tmp_and_right_value_3 = tmp_and_left_value_4;
and_end_4:;
tmp_condition_result_6 = tmp_and_right_value_3;
goto and_end_3;
and_left_3:;
tmp_condition_result_6 = tmp_and_left_value_3;
and_end_3:;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
goto loop_start_1;
branch_no_6:;
// Tried code:
{
PyObject *tmp_assign_source_21;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_8;
PyObject *tmp_args_element_value_9;
PyObject *tmp_args_element_value_10;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_5;
}
CHECK_OBJECT(var_af);
tmp_args_element_value_8 = var_af;
CHECK_OBJECT(var_socktype);
tmp_args_element_value_9 = var_socktype;
CHECK_OBJECT(var_proto);
tmp_args_element_value_10 = var_proto;
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 128;
{
PyObject *call_args[] = {tmp_args_element_value_8, tmp_args_element_value_9, tmp_args_element_value_10};
tmp_assign_source_21 = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_2,
mod_consts[0],
call_args
);
}
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 128;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_5;
}
{
PyObject *old = var_sock;
var_sock = tmp_assign_source_21;
Py_XDECREF(old);
}
}
goto try_end_3;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_04b2e4efea221072a102c2f979b9bddc, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_04b2e4efea221072a102c2f979b9bddc, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
// Tried code:
{
bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_9;
PyObject *tmp_cmp_expr_right_9;
PyObject *tmp_expression_value_11;
tmp_cmp_expr_left_9 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_6;
}
tmp_cmp_expr_right_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[24]);
if (tmp_cmp_expr_right_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_6;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_9, tmp_cmp_expr_right_9);
Py_DECREF(tmp_cmp_expr_right_9);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 129;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_6;
}
tmp_condition_result_7 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
PyObject *tmp_assign_source_22;
tmp_assign_source_22 = EXC_VALUE(PyThreadState_GET());
{
PyObject *old = var_e;
var_e = tmp_assign_source_22;
Py_INCREF(var_e);
Py_XDECREF(old);
}
}
// Tried code:
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_cmp_expr_left_10;
PyObject *tmp_cmp_expr_right_10;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_11;
PyObject *tmp_expression_value_12;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[25]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[25]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_7;
}
CHECK_OBJECT(var_e);
tmp_args_element_value_11 = var_e;
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 130;
tmp_cmp_expr_left_10 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_11);
if (tmp_cmp_expr_left_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_7;
}
tmp_expression_value_12 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[26]);
if (unlikely(tmp_expression_value_12 == NULL)) {
tmp_expression_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[26]);
}
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_10);
exception_lineno = 130;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_7;
}
tmp_cmp_expr_right_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[27]);
if (tmp_cmp_expr_right_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_10);
exception_lineno = 130;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_7;
}
tmp_condition_result_8 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_10, tmp_cmp_expr_right_10);
Py_DECREF(tmp_cmp_expr_left_10);
Py_DECREF(tmp_cmp_expr_right_10);
if (tmp_condition_result_8 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 130;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_7;
}
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
goto try_continue_handler_7;
branch_no_8:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 132;
}
if (exception_tb && exception_tb->tb_frame == &frame_04b2e4efea221072a102c2f979b9bddc->m_frame) frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_7;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_7:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_e);
var_e = 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_6;
// try continue handler code:
try_continue_handler_7:;
Py_XDECREF(var_e);
var_e = NULL;
goto try_continue_handler_6;
// End of try:
goto branch_end_7;
branch_no_7:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 127;
}
if (exception_tb && exception_tb->tb_frame == &frame_04b2e4efea221072a102c2f979b9bddc->m_frame) frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_6;
branch_end_7:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto try_except_handler_2;
// try continue handler code:
try_continue_handler_6:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto loop_start_1;
// End of try:
// End of try:
try_end_3:;
{
nuitka_bool tmp_condition_result_9;
PyObject *tmp_cmp_expr_left_11;
PyObject *tmp_cmp_expr_right_11;
PyObject *tmp_expression_value_13;
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[28]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]);
}
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 133;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_left_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[29]);
if (tmp_cmp_expr_left_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 133;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_11 = mod_consts[30];
tmp_condition_result_9 = RICH_COMPARE_NE_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_11, tmp_cmp_expr_right_11);
Py_DECREF(tmp_cmp_expr_left_11);
if (tmp_condition_result_9 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 133;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
// Tried code:
{
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_14;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_12;
PyObject *tmp_expression_value_15;
PyObject *tmp_args_element_value_13;
PyObject *tmp_expression_value_16;
PyObject *tmp_args_element_value_14;
CHECK_OBJECT(var_sock);
tmp_expression_value_14 = var_sock;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[31]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_8;
}
tmp_expression_value_15 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_15 == NULL)) {
tmp_expression_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 135;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_8;
}
tmp_args_element_value_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[32]);
if (tmp_args_element_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 135;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_8;
}
tmp_expression_value_16 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_16 == NULL)) {
tmp_expression_value_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_12);
exception_lineno = 135;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_8;
}
tmp_args_element_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_16, mod_consts[33]);
if (tmp_args_element_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_12);
exception_lineno = 135;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_8;
}
tmp_args_element_value_14 = mod_consts[34];
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 135;
{
PyObject *call_args[] = {tmp_args_element_value_12, tmp_args_element_value_13, tmp_args_element_value_14};
tmp_call_result_2 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_4, call_args);
}
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_12);
Py_DECREF(tmp_args_element_value_13);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 135;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_8;
}
Py_DECREF(tmp_call_result_2);
}
goto try_end_4;
// Exception handler code:
try_except_handler_8:;
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;
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_6 == NULL) {
exception_keeper_tb_6 = MAKE_TRACEBACK(frame_04b2e4efea221072a102c2f979b9bddc, exception_keeper_lineno_6);
} else if (exception_keeper_lineno_6 != 0) {
exception_keeper_tb_6 = ADD_TRACEBACK(exception_keeper_tb_6, frame_04b2e4efea221072a102c2f979b9bddc, exception_keeper_lineno_6);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_6, &exception_keeper_value_6, &exception_keeper_tb_6);
// Tried code:
{
bool tmp_condition_result_10;
PyObject *tmp_cmp_expr_left_12;
PyObject *tmp_cmp_expr_right_12;
PyObject *tmp_expression_value_17;
tmp_cmp_expr_left_12 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_17 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_17 == NULL)) {
tmp_expression_value_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_9;
}
tmp_cmp_expr_right_12 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[24]);
if (tmp_cmp_expr_right_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_9;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_12, tmp_cmp_expr_right_12);
Py_DECREF(tmp_cmp_expr_right_12);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 136;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_9;
}
tmp_condition_result_10 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_10 != false) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_assign_source_23;
tmp_assign_source_23 = EXC_VALUE(PyThreadState_GET());
{
PyObject *old = var_e;
var_e = tmp_assign_source_23;
Py_INCREF(var_e);
Py_XDECREF(old);
}
}
// Tried code:
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_cmp_expr_left_13;
PyObject *tmp_cmp_expr_right_13;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_15;
PyObject *tmp_expression_value_18;
tmp_called_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[25]);
if (unlikely(tmp_called_value_5 == NULL)) {
tmp_called_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[25]);
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_10;
}
CHECK_OBJECT(var_e);
tmp_args_element_value_15 = var_e;
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 137;
tmp_cmp_expr_left_13 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_15);
if (tmp_cmp_expr_left_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_10;
}
tmp_expression_value_18 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[26]);
if (unlikely(tmp_expression_value_18 == NULL)) {
tmp_expression_value_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[26]);
}
if (tmp_expression_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_13);
exception_lineno = 137;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_10;
}
tmp_cmp_expr_right_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[35]);
if (tmp_cmp_expr_right_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_13);
exception_lineno = 137;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_10;
}
tmp_condition_result_11 = RICH_COMPARE_NE_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_13, tmp_cmp_expr_right_13);
Py_DECREF(tmp_cmp_expr_left_13);
Py_DECREF(tmp_cmp_expr_right_13);
if (tmp_condition_result_11 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 137;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_10;
}
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 139;
}
if (exception_tb && exception_tb->tb_frame == &frame_04b2e4efea221072a102c2f979b9bddc->m_frame) frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_10;
branch_no_11:;
goto try_end_5;
// Exception handler code:
try_except_handler_10:;
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_XDECREF(var_e);
var_e = 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_9;
// End of try:
try_end_5:;
Py_XDECREF(var_e);
var_e = NULL;
goto branch_end_10;
branch_no_10:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 134;
}
if (exception_tb && exception_tb->tb_frame == &frame_04b2e4efea221072a102c2f979b9bddc->m_frame) frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_9;
branch_end_10:;
goto try_end_6;
// Exception handler code:
try_except_handler_9:;
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;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto try_except_handler_2;
// End of try:
try_end_6:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_4;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_4:;
branch_no_9:;
{
nuitka_bool tmp_condition_result_12;
int tmp_truth_name_2;
CHECK_OBJECT(par_reuse_port);
tmp_truth_name_2 = CHECK_IF_TRUE(par_reuse_port);
if (tmp_truth_name_2 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 140;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_condition_result_12 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_19;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_16;
PyObject *tmp_expression_value_20;
PyObject *tmp_args_element_value_17;
PyObject *tmp_expression_value_21;
PyObject *tmp_args_element_value_18;
if (var_sock == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[36]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 141;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_19 = var_sock;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[31]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_20 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_20 == NULL)) {
tmp_expression_value_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 141;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[32]);
if (tmp_args_element_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 141;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_21 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_21 == NULL)) {
tmp_expression_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_16);
exception_lineno = 141;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_17 = LOOKUP_ATTRIBUTE(tmp_expression_value_21, mod_consts[1]);
if (tmp_args_element_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_16);
exception_lineno = 141;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_18 = mod_consts[34];
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 141;
{
PyObject *call_args[] = {tmp_args_element_value_16, tmp_args_element_value_17, tmp_args_element_value_18};
tmp_call_result_3 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_6, call_args);
}
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_16);
Py_DECREF(tmp_args_element_value_17);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 141;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_12:;
{
nuitka_bool tmp_condition_result_13;
PyObject *tmp_cmp_expr_left_14;
PyObject *tmp_cmp_expr_right_14;
PyObject *tmp_expression_value_22;
CHECK_OBJECT(var_af);
tmp_cmp_expr_left_14 = var_af;
tmp_expression_value_22 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_22 == NULL)) {
tmp_expression_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_right_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_22, mod_consts[22]);
if (tmp_cmp_expr_right_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_condition_result_13 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_14, tmp_cmp_expr_right_14);
Py_DECREF(tmp_cmp_expr_right_14);
if (tmp_condition_result_13 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 142;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
if (tmp_condition_result_13 == NUITKA_BOOL_TRUE) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
{
nuitka_bool tmp_condition_result_14;
PyObject *tmp_expression_value_23;
PyObject *tmp_attribute_value_2;
tmp_expression_value_23 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_23 == NULL)) {
tmp_expression_value_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_attribute_value_2 = mod_consts[37];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_23, tmp_attribute_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 151;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_condition_result_14 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
{
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_24;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_19;
PyObject *tmp_expression_value_25;
PyObject *tmp_args_element_value_20;
PyObject *tmp_expression_value_26;
PyObject *tmp_args_element_value_21;
if (var_sock == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[36]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 152;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_24 = var_sock;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_24, mod_consts[31]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_25 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_25 == NULL)) {
tmp_expression_value_25 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 152;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_25, mod_consts[37]);
if (tmp_args_element_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
exception_lineno = 152;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_26 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_26 == NULL)) {
tmp_expression_value_26 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_19);
exception_lineno = 152;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[38]);
if (tmp_args_element_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_19);
exception_lineno = 152;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_21 = mod_consts[34];
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 152;
{
PyObject *call_args[] = {tmp_args_element_value_19, tmp_args_element_value_20, tmp_args_element_value_21};
tmp_call_result_4 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_7, call_args);
}
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_element_value_19);
Py_DECREF(tmp_args_element_value_20);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 152;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_4);
}
branch_no_14:;
branch_no_13:;
// Tried code:
{
PyObject *tmp_assign_source_24;
PyObject *tmp_iter_arg_3;
PyObject *tmp_expression_value_27;
PyObject *tmp_subscript_value_2;
CHECK_OBJECT(var_sockaddr);
tmp_expression_value_27 = var_sockaddr;
tmp_subscript_value_2 = mod_consts[39];
tmp_iter_arg_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_27, tmp_subscript_value_2);
if (tmp_iter_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_11;
}
tmp_assign_source_24 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_3);
Py_DECREF(tmp_iter_arg_3);
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 156;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_11;
}
{
PyObject *old = tmp_tuple_unpack_2__source_iter;
tmp_tuple_unpack_2__source_iter = tmp_assign_source_24;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_25;
PyObject *tmp_unpack_6;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_6 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_25 = UNPACK_NEXT(tmp_unpack_6, 0, 2);
if (tmp_assign_source_25 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooooooooooooooooo";
exception_lineno = 156;
goto try_except_handler_12;
}
{
PyObject *old = tmp_tuple_unpack_2__element_1;
tmp_tuple_unpack_2__element_1 = tmp_assign_source_25;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_26;
PyObject *tmp_unpack_7;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_7 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_26 = UNPACK_NEXT(tmp_unpack_7, 1, 2);
if (tmp_assign_source_26 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "ooooooooooooooooooo";
exception_lineno = 156;
goto try_except_handler_12;
}
{
PyObject *old = tmp_tuple_unpack_2__element_2;
tmp_tuple_unpack_2__element_2 = tmp_assign_source_26;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_2;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_2); assert(HAS_ITERNEXT(tmp_iterator_name_2));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_2)->tp_iternext)(tmp_iterator_name_2);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "ooooooooooooooooooo";
exception_lineno = 156;
goto try_except_handler_12;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[40];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "ooooooooooooooooooo";
exception_lineno = 156;
goto try_except_handler_12;
}
}
goto try_end_7;
// Exception handler code:
try_except_handler_12:;
exception_keeper_type_9 = exception_type;
exception_keeper_value_9 = exception_value;
exception_keeper_tb_9 = exception_tb;
exception_keeper_lineno_9 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
Py_DECREF(tmp_tuple_unpack_2__source_iter);
tmp_tuple_unpack_2__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto try_except_handler_11;
// End of try:
try_end_7:;
goto try_end_8;
// Exception handler code:
try_except_handler_11:;
exception_keeper_type_10 = exception_type;
exception_keeper_value_10 = exception_value;
exception_keeper_tb_10 = exception_tb;
exception_keeper_lineno_10 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_10;
exception_value = exception_keeper_value_10;
exception_tb = exception_keeper_tb_10;
exception_lineno = exception_keeper_lineno_10;
goto try_except_handler_2;
// End of try:
try_end_8:;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
Py_DECREF(tmp_tuple_unpack_2__source_iter);
tmp_tuple_unpack_2__source_iter = NULL;
{
PyObject *tmp_assign_source_27;
CHECK_OBJECT(tmp_tuple_unpack_2__element_1);
tmp_assign_source_27 = tmp_tuple_unpack_2__element_1;
{
PyObject *old = var_host;
var_host = tmp_assign_source_27;
Py_INCREF(var_host);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
{
PyObject *tmp_assign_source_28;
CHECK_OBJECT(tmp_tuple_unpack_2__element_2);
tmp_assign_source_28 = tmp_tuple_unpack_2__element_2;
{
PyObject *old = var_requested_port;
var_requested_port = tmp_assign_source_28;
Py_INCREF(var_requested_port);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = NULL;
{
nuitka_bool tmp_condition_result_15;
int tmp_and_left_truth_6;
nuitka_bool tmp_and_left_value_6;
nuitka_bool tmp_and_right_value_6;
PyObject *tmp_cmp_expr_left_15;
PyObject *tmp_cmp_expr_right_15;
PyObject *tmp_cmp_expr_left_16;
PyObject *tmp_cmp_expr_right_16;
CHECK_OBJECT(var_requested_port);
tmp_cmp_expr_left_15 = var_requested_port;
tmp_cmp_expr_right_15 = mod_consts[11];
tmp_and_left_value_6 = RICH_COMPARE_EQ_NBOOL_OBJECT_LONG(tmp_cmp_expr_left_15, tmp_cmp_expr_right_15);
if (tmp_and_left_value_6 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 157;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_and_left_truth_6 = tmp_and_left_value_6 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 157;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
if (tmp_and_left_truth_6 == 1) {
goto and_right_6;
} else {
goto and_left_6;
}
and_right_6:;
if (var_bound_port == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[41]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 157;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_cmp_expr_left_16 = var_bound_port;
tmp_cmp_expr_right_16 = Py_None;
tmp_and_right_value_6 = (tmp_cmp_expr_left_16 != tmp_cmp_expr_right_16) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
tmp_condition_result_15 = tmp_and_right_value_6;
goto and_end_6;
and_left_6:;
tmp_condition_result_15 = tmp_and_left_value_6;
and_end_6:;
if (tmp_condition_result_15 == NUITKA_BOOL_TRUE) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
{
PyObject *tmp_assign_source_29;
PyObject *tmp_tuple_arg_1;
PyObject *tmp_add_expr_left_1;
PyObject *tmp_add_expr_right_1;
PyObject *tmp_list_element_1;
PyObject *tmp_list_arg_1;
PyObject *tmp_expression_value_28;
PyObject *tmp_subscript_value_3;
CHECK_OBJECT(var_host);
tmp_list_element_1 = var_host;
tmp_add_expr_left_1 = MAKE_LIST_EMPTY(2);
PyList_SET_ITEM0(tmp_add_expr_left_1, 0, tmp_list_element_1);
if (var_bound_port == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[41]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 158;
type_description_1 = "ooooooooooooooooooo";
goto list_build_exception_1;
}
tmp_list_element_1 = var_bound_port;
PyList_SET_ITEM0(tmp_add_expr_left_1, 1, tmp_list_element_1);
goto list_build_noexception_1;
// Exception handling pass through code for list_build:
list_build_exception_1:;
Py_DECREF(tmp_add_expr_left_1);
goto try_except_handler_2;
// Finished with no exception for list_build:
list_build_noexception_1:;
CHECK_OBJECT(var_sockaddr);
tmp_expression_value_28 = var_sockaddr;
tmp_subscript_value_3 = mod_consts[42];
tmp_list_arg_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_28, tmp_subscript_value_3);
if (tmp_list_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_add_expr_left_1);
exception_lineno = 158;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_add_expr_right_1 = MAKE_LIST(tmp_list_arg_1);
Py_DECREF(tmp_list_arg_1);
if (tmp_add_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_add_expr_left_1);
exception_lineno = 158;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_tuple_arg_1 = BINARY_OPERATION_ADD_OBJECT_LIST_LIST(tmp_add_expr_left_1, tmp_add_expr_right_1);
Py_DECREF(tmp_add_expr_left_1);
Py_DECREF(tmp_add_expr_right_1);
assert(!(tmp_tuple_arg_1 == NULL));
tmp_assign_source_29 = PySequence_Tuple(tmp_tuple_arg_1);
Py_DECREF(tmp_tuple_arg_1);
if (tmp_assign_source_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 158;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_sockaddr;
assert(old != NULL);
var_sockaddr = tmp_assign_source_29;
Py_DECREF(old);
}
}
branch_no_15:;
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_5;
if (var_sock == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[36]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 160;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_called_instance_3 = var_sock;
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 160;
tmp_call_result_5 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_3,
mod_consts[43],
PyTuple_GET_ITEM(mod_consts[44], 0)
);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 160;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_5);
}
// Tried code:
{
PyObject *tmp_called_instance_4;
PyObject *tmp_call_result_6;
PyObject *tmp_args_element_value_22;
if (var_sock == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[36]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 162;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_13;
}
tmp_called_instance_4 = var_sock;
CHECK_OBJECT(var_sockaddr);
tmp_args_element_value_22 = var_sockaddr;
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 162;
tmp_call_result_6 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_4, mod_consts[45], tmp_args_element_value_22);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 162;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_13;
}
Py_DECREF(tmp_call_result_6);
}
goto try_end_9;
// Exception handler code:
try_except_handler_13:;
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;
// Preserve existing published exception id 3.
exception_preserved_3 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_11 == NULL) {
exception_keeper_tb_11 = MAKE_TRACEBACK(frame_04b2e4efea221072a102c2f979b9bddc, exception_keeper_lineno_11);
} else if (exception_keeper_lineno_11 != 0) {
exception_keeper_tb_11 = ADD_TRACEBACK(exception_keeper_tb_11, frame_04b2e4efea221072a102c2f979b9bddc, exception_keeper_lineno_11);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_11, &exception_keeper_value_11, &exception_keeper_tb_11);
// Tried code:
{
bool tmp_condition_result_16;
PyObject *tmp_cmp_expr_left_17;
PyObject *tmp_cmp_expr_right_17;
tmp_cmp_expr_left_17 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_17 = PyExc_OSError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_17, tmp_cmp_expr_right_17);
assert(!(tmp_res == -1));
tmp_condition_result_16 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_16 != false) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
{
PyObject *tmp_assign_source_30;
tmp_assign_source_30 = EXC_VALUE(PyThreadState_GET());
{
PyObject *old = var_e;
var_e = tmp_assign_source_30;
Py_INCREF(var_e);
Py_XDECREF(old);
}
}
// Tried code:
{
nuitka_bool tmp_condition_result_17;
int tmp_and_left_truth_7;
nuitka_bool tmp_and_left_value_7;
nuitka_bool tmp_and_right_value_7;
PyObject *tmp_cmp_expr_left_18;
PyObject *tmp_cmp_expr_right_18;
PyObject *tmp_called_value_8;
PyObject *tmp_args_element_value_23;
PyObject *tmp_expression_value_29;
int tmp_and_left_truth_8;
nuitka_bool tmp_and_left_value_8;
nuitka_bool tmp_and_right_value_8;
PyObject *tmp_cmp_expr_left_19;
PyObject *tmp_cmp_expr_right_19;
PyObject *tmp_cmp_expr_left_20;
PyObject *tmp_cmp_expr_right_20;
PyObject *tmp_expression_value_30;
PyObject *tmp_subscript_value_4;
tmp_called_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[25]);
if (unlikely(tmp_called_value_8 == NULL)) {
tmp_called_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[25]);
}
if (tmp_called_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_15;
}
CHECK_OBJECT(var_e);
tmp_args_element_value_23 = var_e;
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 165;
tmp_cmp_expr_left_18 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_8, tmp_args_element_value_23);
if (tmp_cmp_expr_left_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_15;
}
tmp_expression_value_29 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[26]);
if (unlikely(tmp_expression_value_29 == NULL)) {
tmp_expression_value_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[26]);
}
if (tmp_expression_value_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_18);
exception_lineno = 165;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_15;
}
tmp_cmp_expr_right_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_29, mod_consts[46]);
if (tmp_cmp_expr_right_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_18);
exception_lineno = 165;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_15;
}
tmp_and_left_value_7 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_18, tmp_cmp_expr_right_18);
Py_DECREF(tmp_cmp_expr_left_18);
Py_DECREF(tmp_cmp_expr_right_18);
if (tmp_and_left_value_7 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_15;
}
tmp_and_left_truth_7 = tmp_and_left_value_7 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_7 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 165;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_15;
}
if (tmp_and_left_truth_7 == 1) {
goto and_right_7;
} else {
goto and_left_7;
}
and_right_7:;
CHECK_OBJECT(par_address);
tmp_cmp_expr_left_19 = par_address;
tmp_cmp_expr_right_19 = mod_consts[21];
tmp_and_left_value_8 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_19, tmp_cmp_expr_right_19);
if (tmp_and_left_value_8 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_15;
}
tmp_and_left_truth_8 = tmp_and_left_value_8 == NUITKA_BOOL_TRUE ? 1 : 0;
if (tmp_and_left_truth_8 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 166;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_15;
}
if (tmp_and_left_truth_8 == 1) {
goto and_right_8;
} else {
goto and_left_8;
}
and_right_8:;
CHECK_OBJECT(var_sockaddr);
tmp_expression_value_30 = var_sockaddr;
tmp_subscript_value_4 = mod_consts[11];
tmp_cmp_expr_left_20 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_30, tmp_subscript_value_4, 0);
if (tmp_cmp_expr_left_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 167;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_15;
}
tmp_cmp_expr_right_20 = mod_consts[47];
tmp_and_right_value_8 = RICH_COMPARE_EQ_NBOOL_OBJECT_UNICODE(tmp_cmp_expr_left_20, tmp_cmp_expr_right_20);
Py_DECREF(tmp_cmp_expr_left_20);
if (tmp_and_right_value_8 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 167;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_15;
}
tmp_and_right_value_7 = tmp_and_right_value_8;
goto and_end_8;
and_left_8:;
tmp_and_right_value_7 = tmp_and_left_value_8;
and_end_8:;
tmp_condition_result_17 = tmp_and_right_value_7;
goto and_end_7;
and_left_7:;
tmp_condition_result_17 = tmp_and_left_value_7;
and_end_7:;
if (tmp_condition_result_17 == NUITKA_BOOL_TRUE) {
goto branch_yes_17;
} else {
goto branch_no_17;
}
}
branch_yes_17:;
{
PyObject *tmp_called_instance_5;
PyObject *tmp_call_result_7;
if (var_sock == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[36]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 180;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_15;
}
tmp_called_instance_5 = var_sock;
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 180;
tmp_call_result_7 = CALL_METHOD_NO_ARGS(tmp_called_instance_5, mod_consts[48]);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 180;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_15;
}
Py_DECREF(tmp_call_result_7);
}
goto try_continue_handler_15;
goto branch_end_17;
branch_no_17:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 183;
}
if (exception_tb && exception_tb->tb_frame == &frame_04b2e4efea221072a102c2f979b9bddc->m_frame) frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_15;
branch_end_17:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_15:;
exception_keeper_type_12 = exception_type;
exception_keeper_value_12 = exception_value;
exception_keeper_tb_12 = exception_tb;
exception_keeper_lineno_12 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_e);
var_e = NULL;
// Re-raise.
exception_type = exception_keeper_type_12;
exception_value = exception_keeper_value_12;
exception_tb = exception_keeper_tb_12;
exception_lineno = exception_keeper_lineno_12;
goto try_except_handler_14;
// try continue handler code:
try_continue_handler_15:;
Py_XDECREF(var_e);
var_e = NULL;
goto try_continue_handler_14;
// End of try:
goto branch_end_16;
branch_no_16:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 161;
}
if (exception_tb && exception_tb->tb_frame == &frame_04b2e4efea221072a102c2f979b9bddc->m_frame) frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_14;
branch_end_16:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Exception handler code:
try_except_handler_14:;
exception_keeper_type_13 = exception_type;
exception_keeper_value_13 = exception_value;
exception_keeper_tb_13 = exception_tb;
exception_keeper_lineno_13 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&exception_preserved_3);
// 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_2;
// try continue handler code:
try_continue_handler_14:;
// Restore previous exception id 3.
SET_CURRENT_EXCEPTION(&exception_preserved_3);
goto loop_start_1;
// End of try:
// End of try:
try_end_9:;
{
PyObject *tmp_assign_source_31;
PyObject *tmp_expression_value_31;
PyObject *tmp_called_instance_6;
PyObject *tmp_subscript_value_5;
if (var_sock == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[36]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 184;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_called_instance_6 = var_sock;
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 184;
tmp_expression_value_31 = CALL_METHOD_NO_ARGS(tmp_called_instance_6, mod_consts[49]);
if (tmp_expression_value_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_subscript_value_5 = mod_consts[34];
tmp_assign_source_31 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_31, tmp_subscript_value_5, 1);
Py_DECREF(tmp_expression_value_31);
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 184;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
{
PyObject *old = var_bound_port;
var_bound_port = tmp_assign_source_31;
Py_XDECREF(old);
}
}
{
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_32;
PyObject *tmp_call_result_8;
PyObject *tmp_args_element_value_24;
if (var_sock == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[36]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 185;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_32 = var_sock;
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_32, mod_consts[50]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
if (par_backlog == NULL) {
Py_DECREF(tmp_called_value_9);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[51]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 185;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_24 = par_backlog;
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 185;
tmp_call_result_8 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_9, tmp_args_element_value_24);
Py_DECREF(tmp_called_value_9);
if (tmp_call_result_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 185;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_8);
}
{
PyObject *tmp_called_value_10;
PyObject *tmp_expression_value_33;
PyObject *tmp_call_result_9;
PyObject *tmp_args_element_value_25;
if (var_sockets == 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 = 186;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_expression_value_33 = var_sockets;
tmp_called_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_33, mod_consts[53]);
if (tmp_called_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 186;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
if (var_sock == NULL) {
Py_DECREF(tmp_called_value_10);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[36]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 186;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
tmp_args_element_value_25 = var_sock;
frame_04b2e4efea221072a102c2f979b9bddc->m_frame.f_lineno = 186;
tmp_call_result_9 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_10, tmp_args_element_value_25);
Py_DECREF(tmp_called_value_10);
if (tmp_call_result_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 186;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_9);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 104;
type_description_1 = "ooooooooooooooooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_10;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_14 = exception_type;
exception_keeper_value_14 = exception_value;
exception_keeper_tb_14 = exception_tb;
exception_keeper_lineno_14 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(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_14;
exception_value = exception_keeper_value_14;
exception_tb = exception_keeper_tb_14;
exception_lineno = exception_keeper_lineno_14;
goto frame_exception_exit_1;
// End of try:
try_end_10:;
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;
if (var_sockets == 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 = 187;
type_description_1 = "ooooooooooooooooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_sockets;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_04b2e4efea221072a102c2f979b9bddc);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_04b2e4efea221072a102c2f979b9bddc);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_04b2e4efea221072a102c2f979b9bddc);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_04b2e4efea221072a102c2f979b9bddc, exception_lineno);
} else if (exception_tb->tb_frame != &frame_04b2e4efea221072a102c2f979b9bddc->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_04b2e4efea221072a102c2f979b9bddc, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_04b2e4efea221072a102c2f979b9bddc,
type_description_1,
par_port,
par_address,
par_family,
par_backlog,
par_flags,
par_reuse_port,
var_sockets,
var_bound_port,
var_unique_addresses,
var_res,
var_af,
var_socktype,
var_proto,
var_canonname,
var_sockaddr,
var_sock,
var_e,
var_host,
var_requested_port
);
// Release cached frame if used for exception.
if (frame_04b2e4efea221072a102c2f979b9bddc == cache_frame_04b2e4efea221072a102c2f979b9bddc) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_04b2e4efea221072a102c2f979b9bddc);
cache_frame_04b2e4efea221072a102c2f979b9bddc = NULL;
}
assertFrameObject(frame_04b2e4efea221072a102c2f979b9bddc);
// 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(par_address);
Py_DECREF(par_address);
par_address = NULL;
CHECK_OBJECT(par_family);
Py_DECREF(par_family);
par_family = NULL;
CHECK_OBJECT(par_flags);
Py_DECREF(par_flags);
par_flags = NULL;
Py_XDECREF(var_sockets);
var_sockets = NULL;
Py_XDECREF(var_bound_port);
var_bound_port = NULL;
Py_XDECREF(var_unique_addresses);
var_unique_addresses = NULL;
Py_XDECREF(var_res);
var_res = NULL;
Py_XDECREF(var_af);
var_af = NULL;
Py_XDECREF(var_socktype);
var_socktype = NULL;
Py_XDECREF(var_proto);
var_proto = NULL;
Py_XDECREF(var_canonname);
var_canonname = NULL;
Py_XDECREF(var_sockaddr);
var_sockaddr = NULL;
Py_XDECREF(var_sock);
var_sock = NULL;
Py_XDECREF(var_e);
var_e = NULL;
Py_XDECREF(var_host);
var_host = NULL;
Py_XDECREF(var_requested_port);
var_requested_port = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
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(par_address);
par_address = NULL;
Py_XDECREF(par_family);
par_family = NULL;
Py_XDECREF(par_flags);
par_flags = NULL;
Py_XDECREF(var_sockets);
var_sockets = NULL;
Py_XDECREF(var_bound_port);
var_bound_port = NULL;
Py_XDECREF(var_unique_addresses);
var_unique_addresses = NULL;
Py_XDECREF(var_res);
var_res = NULL;
Py_XDECREF(var_af);
var_af = NULL;
Py_XDECREF(var_socktype);
var_socktype = NULL;
Py_XDECREF(var_proto);
var_proto = NULL;
Py_XDECREF(var_canonname);
var_canonname = NULL;
Py_XDECREF(var_sockaddr);
var_sockaddr = NULL;
Py_XDECREF(var_sock);
var_sock = NULL;
Py_XDECREF(var_e);
var_e = NULL;
Py_XDECREF(var_host);
var_host = NULL;
Py_XDECREF(var_requested_port);
var_requested_port = 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 function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
CHECK_OBJECT(par_backlog);
Py_DECREF(par_backlog);
CHECK_OBJECT(par_reuse_port);
Py_DECREF(par_reuse_port);
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_port);
Py_DECREF(par_port);
CHECK_OBJECT(par_backlog);
Py_DECREF(par_backlog);
CHECK_OBJECT(par_reuse_port);
Py_DECREF(par_reuse_port);
// 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$netutil$$$function__1_bind_sockets$$$function__1_lambda(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_x = python_pars[0];
struct Nuitka_FrameObject *frame_e6a6643122ae4d529e8346cdc512ae1c;
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_e6a6643122ae4d529e8346cdc512ae1c = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_e6a6643122ae4d529e8346cdc512ae1c)) {
Py_XDECREF(cache_frame_e6a6643122ae4d529e8346cdc512ae1c);
#if _DEBUG_REFCOUNTS
if (cache_frame_e6a6643122ae4d529e8346cdc512ae1c == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e6a6643122ae4d529e8346cdc512ae1c = MAKE_FUNCTION_FRAME(codeobj_e6a6643122ae4d529e8346cdc512ae1c, module_tornado$netutil, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e6a6643122ae4d529e8346cdc512ae1c->m_type_description == NULL);
frame_e6a6643122ae4d529e8346cdc512ae1c = cache_frame_e6a6643122ae4d529e8346cdc512ae1c;
// Push the new frame as the currently active one.
pushFrameStack(frame_e6a6643122ae4d529e8346cdc512ae1c);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e6a6643122ae4d529e8346cdc512ae1c) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
CHECK_OBJECT(par_x);
tmp_expression_value_1 = par_x;
tmp_subscript_value_1 = mod_consts[11];
tmp_return_value = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 0);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 106;
type_description_1 = "o";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_e6a6643122ae4d529e8346cdc512ae1c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e6a6643122ae4d529e8346cdc512ae1c);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_e6a6643122ae4d529e8346cdc512ae1c);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e6a6643122ae4d529e8346cdc512ae1c, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e6a6643122ae4d529e8346cdc512ae1c->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e6a6643122ae4d529e8346cdc512ae1c, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e6a6643122ae4d529e8346cdc512ae1c,
type_description_1,
par_x
);
// Release cached frame if used for exception.
if (frame_e6a6643122ae4d529e8346cdc512ae1c == cache_frame_e6a6643122ae4d529e8346cdc512ae1c) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e6a6643122ae4d529e8346cdc512ae1c);
cache_frame_e6a6643122ae4d529e8346cdc512ae1c = NULL;
}
assertFrameObject(frame_e6a6643122ae4d529e8346cdc512ae1c);
// 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_x);
Py_DECREF(par_x);
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_x);
Py_DECREF(par_x);
// 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$netutil$$$function__2_bind_unix_socket(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_file = python_pars[0];
PyObject *par_mode = python_pars[1];
PyObject *par_backlog = python_pars[2];
PyObject *var_sock = NULL;
PyObject *var_e = NULL;
PyObject *var_st = NULL;
nuitka_bool tmp_try_except_1__unhandled_indicator = NUITKA_BOOL_UNASSIGNED;
struct Nuitka_FrameObject *frame_931f2a11e8ac5b12fac53912ec63492d;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
struct Nuitka_ExceptionStackItem exception_preserved_2;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
static struct Nuitka_FrameObject *cache_frame_931f2a11e8ac5b12fac53912ec63492d = NULL;
PyObject *tmp_return_value = NULL;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_931f2a11e8ac5b12fac53912ec63492d)) {
Py_XDECREF(cache_frame_931f2a11e8ac5b12fac53912ec63492d);
#if _DEBUG_REFCOUNTS
if (cache_frame_931f2a11e8ac5b12fac53912ec63492d == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_931f2a11e8ac5b12fac53912ec63492d = MAKE_FUNCTION_FRAME(codeobj_931f2a11e8ac5b12fac53912ec63492d, module_tornado$netutil, 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_931f2a11e8ac5b12fac53912ec63492d->m_type_description == NULL);
frame_931f2a11e8ac5b12fac53912ec63492d = cache_frame_931f2a11e8ac5b12fac53912ec63492d;
// Push the new frame as the currently active one.
pushFrameStack(frame_931f2a11e8ac5b12fac53912ec63492d);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_931f2a11e8ac5b12fac53912ec63492d) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_3;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 204;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[0]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 204;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
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 = 204;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[55]);
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 = 204;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_3 == 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 = 204;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[10]);
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 = 204;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_931f2a11e8ac5b12fac53912ec63492d->m_frame.f_lineno = 204;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_1);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 204;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_sock == NULL);
var_sock = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_5;
CHECK_OBJECT(var_sock);
tmp_expression_value_4 = var_sock;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[31]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 206;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 206;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[32]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 206;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
exception_lineno = 206;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[33]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
exception_lineno = 206;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
tmp_args_element_value_5 = mod_consts[34];
frame_931f2a11e8ac5b12fac53912ec63492d->m_frame.f_lineno = 206;
{
PyObject *call_args[] = {tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_4);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 206;
type_description_1 = "oooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_1 == NULL) {
exception_keeper_tb_1 = MAKE_TRACEBACK(frame_931f2a11e8ac5b12fac53912ec63492d, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_931f2a11e8ac5b12fac53912ec63492d, 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;
PyObject *tmp_expression_value_7;
tmp_cmp_expr_left_1 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 207;
type_description_1 = "oooooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[24]);
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 207;
type_description_1 = "oooooo";
goto try_except_handler_3;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 207;
type_description_1 = "oooooo";
goto try_except_handler_3;
}
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_2;
tmp_assign_source_2 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_2);
var_e = tmp_assign_source_2;
}
// Tried code:
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_called_value_3;
PyObject *tmp_args_element_value_6;
PyObject *tmp_expression_value_8;
tmp_called_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[25]);
if (unlikely(tmp_called_value_3 == NULL)) {
tmp_called_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[25]);
}
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 208;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
CHECK_OBJECT(var_e);
tmp_args_element_value_6 = var_e;
frame_931f2a11e8ac5b12fac53912ec63492d->m_frame.f_lineno = 208;
tmp_cmp_expr_left_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_3, tmp_args_element_value_6);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 208;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[26]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[26]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_2);
exception_lineno = 208;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[35]);
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 = 208;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
tmp_condition_result_2 = RICH_COMPARE_NE_NBOOL_OBJECT_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_condition_result_2 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 208;
type_description_1 = "oooooo";
goto try_except_handler_4;
}
if (tmp_condition_result_2 == NUITKA_BOOL_TRUE) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 210;
}
if (exception_tb && exception_tb->tb_frame == &frame_931f2a11e8ac5b12fac53912ec63492d->m_frame) frame_931f2a11e8ac5b12fac53912ec63492d->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooo";
goto try_except_handler_4;
branch_no_2:;
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_e);
var_e = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
try_end_2:;
Py_XDECREF(var_e);
var_e = NULL;
goto branch_end_1;
branch_no_1:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 205;
}
if (exception_tb && exception_tb->tb_frame == &frame_931f2a11e8ac5b12fac53912ec63492d->m_frame) frame_931f2a11e8ac5b12fac53912ec63492d->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooo";
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_1;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_2;
CHECK_OBJECT(var_sock);
tmp_called_instance_1 = var_sock;
frame_931f2a11e8ac5b12fac53912ec63492d->m_frame.f_lineno = 211;
tmp_call_result_2 = CALL_METHOD_WITH_SINGLE_ARG(
tmp_called_instance_1,
mod_consts[43],
PyTuple_GET_ITEM(mod_consts[44], 0)
);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 211;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
{
nuitka_bool tmp_assign_source_3;
tmp_assign_source_3 = NUITKA_BOOL_TRUE;
tmp_try_except_1__unhandled_indicator = tmp_assign_source_3;
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_called_instance_2;
PyObject *tmp_args_element_value_7;
tmp_called_instance_2 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[28]);
if (unlikely(tmp_called_instance_2 == NULL)) {
tmp_called_instance_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]);
}
assert(!(tmp_called_instance_2 == NULL));
CHECK_OBJECT(par_file);
tmp_args_element_value_7 = par_file;
frame_931f2a11e8ac5b12fac53912ec63492d->m_frame.f_lineno = 213;
tmp_assign_source_4 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[56], tmp_args_element_value_7);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 213;
type_description_1 = "oooooo";
goto try_except_handler_5;
}
assert(var_st == NULL);
var_st = tmp_assign_source_4;
}
goto try_end_4;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
{
nuitka_bool tmp_assign_source_5;
tmp_assign_source_5 = NUITKA_BOOL_FALSE;
tmp_try_except_1__unhandled_indicator = tmp_assign_source_5;
}
// Preserve existing published exception id 2.
exception_preserved_2 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_4 == NULL) {
exception_keeper_tb_4 = MAKE_TRACEBACK(frame_931f2a11e8ac5b12fac53912ec63492d, exception_keeper_lineno_4);
} else if (exception_keeper_lineno_4 != 0) {
exception_keeper_tb_4 = ADD_TRACEBACK(exception_keeper_tb_4, frame_931f2a11e8ac5b12fac53912ec63492d, exception_keeper_lineno_4);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_4, &exception_keeper_value_4, &exception_keeper_tb_4);
// Tried code:
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_3 = PyExc_FileNotFoundError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 212;
}
if (exception_tb && exception_tb->tb_frame == &frame_931f2a11e8ac5b12fac53912ec63492d->m_frame) frame_931f2a11e8ac5b12fac53912ec63492d->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooo";
goto try_except_handler_6;
branch_no_3:;
goto try_end_5;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
// Restore previous exception id 2.
SET_CURRENT_EXCEPTION(&exception_preserved_2);
goto try_end_4;
NUITKA_CANNOT_GET_HERE("exception handler codes exits in all cases");
return NULL;
// End of try:
try_end_4:;
{
bool tmp_condition_result_4;
nuitka_bool tmp_cmp_expr_left_4;
nuitka_bool tmp_cmp_expr_right_4;
assert(tmp_try_except_1__unhandled_indicator != NUITKA_BOOL_UNASSIGNED);
tmp_cmp_expr_left_4 = tmp_try_except_1__unhandled_indicator;
tmp_cmp_expr_right_4 = NUITKA_BOOL_TRUE;
tmp_condition_result_4 = (tmp_cmp_expr_left_4 == tmp_cmp_expr_right_4) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
nuitka_bool tmp_condition_result_5;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_9;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_8;
PyObject *tmp_expression_value_10;
int tmp_truth_name_1;
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[56]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[56]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 217;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[57]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 217;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
if (var_st == NULL) {
Py_DECREF(tmp_called_value_4);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[58]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 217;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_expression_value_10 = var_st;
tmp_args_element_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[59]);
if (tmp_args_element_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 217;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
frame_931f2a11e8ac5b12fac53912ec63492d->m_frame.f_lineno = 217;
tmp_call_result_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_8);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_8);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 217;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_call_result_3);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_call_result_3);
exception_lineno = 217;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_condition_result_5 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_call_result_3);
if (tmp_condition_result_5 == NUITKA_BOOL_TRUE) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_11;
PyObject *tmp_call_result_4;
PyObject *tmp_args_element_value_9;
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[28]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[60]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
if (par_file == NULL) {
Py_DECREF(tmp_called_value_5);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[61]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 218;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_9 = par_file;
frame_931f2a11e8ac5b12fac53912ec63492d->m_frame.f_lineno = 218;
tmp_call_result_4 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_9);
Py_DECREF(tmp_called_value_5);
if (tmp_call_result_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 218;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_4);
}
goto branch_end_5;
branch_no_5:;
{
PyObject *tmp_raise_type_1;
PyObject *tmp_make_exception_arg_1;
PyObject *tmp_make_exception_arg_2;
tmp_make_exception_arg_1 = mod_consts[62];
if (par_file == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[61]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 220;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_make_exception_arg_2 = par_file;
frame_931f2a11e8ac5b12fac53912ec63492d->m_frame.f_lineno = 220;
{
PyObject *call_args[] = {tmp_make_exception_arg_1, tmp_make_exception_arg_2};
tmp_raise_type_1 = CALL_FUNCTION_WITH_ARGS2(PyExc_ValueError, call_args);
}
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 220;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
branch_end_5:;
branch_no_4:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_12;
PyObject *tmp_call_result_5;
PyObject *tmp_args_element_value_10;
CHECK_OBJECT(var_sock);
tmp_expression_value_12 = var_sock;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[45]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
if (par_file == NULL) {
Py_DECREF(tmp_called_value_6);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[61]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 221;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_10 = par_file;
frame_931f2a11e8ac5b12fac53912ec63492d->m_frame.f_lineno = 221;
tmp_call_result_5 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_10);
Py_DECREF(tmp_called_value_6);
if (tmp_call_result_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 221;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_5);
}
{
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_13;
PyObject *tmp_call_result_6;
PyObject *tmp_args_element_value_11;
PyObject *tmp_args_element_value_12;
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[28]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]);
}
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 222;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[63]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 222;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
if (par_file == NULL) {
Py_DECREF(tmp_called_value_7);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[61]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 222;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_11 = par_file;
CHECK_OBJECT(par_mode);
tmp_args_element_value_12 = par_mode;
frame_931f2a11e8ac5b12fac53912ec63492d->m_frame.f_lineno = 222;
{
PyObject *call_args[] = {tmp_args_element_value_11, tmp_args_element_value_12};
tmp_call_result_6 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_7, call_args);
}
Py_DECREF(tmp_called_value_7);
if (tmp_call_result_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 222;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_6);
}
{
PyObject *tmp_called_instance_3;
PyObject *tmp_call_result_7;
PyObject *tmp_args_element_value_13;
CHECK_OBJECT(var_sock);
tmp_called_instance_3 = var_sock;
CHECK_OBJECT(par_backlog);
tmp_args_element_value_13 = par_backlog;
frame_931f2a11e8ac5b12fac53912ec63492d->m_frame.f_lineno = 223;
tmp_call_result_7 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_3, mod_consts[50], tmp_args_element_value_13);
if (tmp_call_result_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 223;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_7);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_931f2a11e8ac5b12fac53912ec63492d);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_931f2a11e8ac5b12fac53912ec63492d);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_931f2a11e8ac5b12fac53912ec63492d, exception_lineno);
} else if (exception_tb->tb_frame != &frame_931f2a11e8ac5b12fac53912ec63492d->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_931f2a11e8ac5b12fac53912ec63492d, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_931f2a11e8ac5b12fac53912ec63492d,
type_description_1,
par_file,
par_mode,
par_backlog,
var_sock,
var_e,
var_st
);
// Release cached frame if used for exception.
if (frame_931f2a11e8ac5b12fac53912ec63492d == cache_frame_931f2a11e8ac5b12fac53912ec63492d) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_931f2a11e8ac5b12fac53912ec63492d);
cache_frame_931f2a11e8ac5b12fac53912ec63492d = NULL;
}
assertFrameObject(frame_931f2a11e8ac5b12fac53912ec63492d);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_sock);
tmp_return_value = var_sock;
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_sock);
Py_DECREF(var_sock);
var_sock = NULL;
Py_XDECREF(var_st);
var_st = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
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(var_sock);
var_sock = NULL;
Py_XDECREF(var_st);
var_st = 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 function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_file);
Py_DECREF(par_file);
CHECK_OBJECT(par_mode);
Py_DECREF(par_mode);
CHECK_OBJECT(par_backlog);
Py_DECREF(par_backlog);
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_file);
Py_DECREF(par_file);
CHECK_OBJECT(par_mode);
Py_DECREF(par_mode);
CHECK_OBJECT(par_backlog);
Py_DECREF(par_backlog);
// 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$netutil$$$function__3_add_accept_handler(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
struct Nuitka_CellObject *par_sock = Nuitka_Cell_New1(python_pars[0]);
struct Nuitka_CellObject *par_callback = Nuitka_Cell_New1(python_pars[1]);
struct Nuitka_CellObject *var_io_loop = Nuitka_Cell_Empty();
struct Nuitka_CellObject *var_removed = Nuitka_Cell_Empty();
PyObject *var_accept_handler = NULL;
PyObject *var_remove_handler = NULL;
struct Nuitka_FrameObject *frame_c5d69c3a147b71e4a7088b97cf0f1c17;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_c5d69c3a147b71e4a7088b97cf0f1c17 = 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_c5d69c3a147b71e4a7088b97cf0f1c17)) {
Py_XDECREF(cache_frame_c5d69c3a147b71e4a7088b97cf0f1c17);
#if _DEBUG_REFCOUNTS
if (cache_frame_c5d69c3a147b71e4a7088b97cf0f1c17 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c5d69c3a147b71e4a7088b97cf0f1c17 = MAKE_FUNCTION_FRAME(codeobj_c5d69c3a147b71e4a7088b97cf0f1c17, module_tornado$netutil, 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_c5d69c3a147b71e4a7088b97cf0f1c17->m_type_description == NULL);
frame_c5d69c3a147b71e4a7088b97cf0f1c17 = cache_frame_c5d69c3a147b71e4a7088b97cf0f1c17;
// Push the new frame as the currently active one.
pushFrameStack(frame_c5d69c3a147b71e4a7088b97cf0f1c17);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c5d69c3a147b71e4a7088b97cf0f1c17) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[65]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[65]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "ccccoo";
goto frame_exception_exit_1;
}
frame_c5d69c3a147b71e4a7088b97cf0f1c17->m_frame.f_lineno = 247;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[66]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 247;
type_description_1 = "ccccoo";
goto frame_exception_exit_1;
}
assert(Nuitka_Cell_GET(var_io_loop) == NULL);
PyCell_SET(var_io_loop, tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = LIST_COPY(mod_consts[67]);
assert(Nuitka_Cell_GET(var_removed) == NULL);
PyCell_SET(var_removed, tmp_assign_source_2);
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_annotations_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_expression_value_1;
struct Nuitka_CellObject *tmp_closure_1[3];
tmp_dict_key_1 = mod_consts[68];
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 250;
type_description_1 = "ccccoo";
goto frame_exception_exit_1;
}
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[0]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 250;
type_description_1 = "ccccoo";
goto frame_exception_exit_1;
}
tmp_annotations_1 = _PyDict_NewPresized( 3 );
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_dict_key_1 = mod_consts[69];
tmp_dict_value_1 = (PyObject *)&PyLong_Type;
tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[70];
tmp_dict_value_1 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_closure_1[0] = par_callback;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = var_removed;
Py_INCREF(tmp_closure_1[1]);
tmp_closure_1[2] = par_sock;
Py_INCREF(tmp_closure_1[2]);
tmp_assign_source_3 = MAKE_FUNCTION_tornado$netutil$$$function__3_add_accept_handler$$$function__1_accept_handler(tmp_annotations_1, tmp_closure_1);
assert(var_accept_handler == NULL);
var_accept_handler = tmp_assign_source_3;
}
{
PyObject *tmp_assign_source_4;
PyObject *tmp_annotations_2;
struct Nuitka_CellObject *tmp_closure_2[3];
tmp_annotations_2 = DICT_COPY(mod_consts[73]);
tmp_closure_2[0] = var_io_loop;
Py_INCREF(tmp_closure_2[0]);
tmp_closure_2[1] = var_removed;
Py_INCREF(tmp_closure_2[1]);
tmp_closure_2[2] = par_sock;
Py_INCREF(tmp_closure_2[2]);
tmp_assign_source_4 = MAKE_FUNCTION_tornado$netutil$$$function__3_add_accept_handler$$$function__2_remove_handler(tmp_annotations_2, tmp_closure_2);
assert(var_remove_handler == NULL);
var_remove_handler = tmp_assign_source_4;
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_3;
CHECK_OBJECT(Nuitka_Cell_GET(var_io_loop));
tmp_expression_value_2 = Nuitka_Cell_GET(var_io_loop);
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[76]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 283;
type_description_1 = "ccccoo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(Nuitka_Cell_GET(par_sock));
tmp_args_element_value_1 = Nuitka_Cell_GET(par_sock);
CHECK_OBJECT(var_accept_handler);
tmp_args_element_value_2 = var_accept_handler;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[65]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[65]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 283;
type_description_1 = "ccccoo";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[77]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 283;
type_description_1 = "ccccoo";
goto frame_exception_exit_1;
}
frame_c5d69c3a147b71e4a7088b97cf0f1c17->m_frame.f_lineno = 283;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_3);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 283;
type_description_1 = "ccccoo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c5d69c3a147b71e4a7088b97cf0f1c17);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c5d69c3a147b71e4a7088b97cf0f1c17);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c5d69c3a147b71e4a7088b97cf0f1c17, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c5d69c3a147b71e4a7088b97cf0f1c17->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c5d69c3a147b71e4a7088b97cf0f1c17, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c5d69c3a147b71e4a7088b97cf0f1c17,
type_description_1,
par_sock,
par_callback,
var_io_loop,
var_removed,
var_accept_handler,
var_remove_handler
);
// Release cached frame if used for exception.
if (frame_c5d69c3a147b71e4a7088b97cf0f1c17 == cache_frame_c5d69c3a147b71e4a7088b97cf0f1c17) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c5d69c3a147b71e4a7088b97cf0f1c17);
cache_frame_c5d69c3a147b71e4a7088b97cf0f1c17 = NULL;
}
assertFrameObject(frame_c5d69c3a147b71e4a7088b97cf0f1c17);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(var_remove_handler);
tmp_return_value = var_remove_handler;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_io_loop);
Py_DECREF(var_io_loop);
var_io_loop = NULL;
CHECK_OBJECT(var_removed);
Py_DECREF(var_removed);
var_removed = NULL;
CHECK_OBJECT(var_accept_handler);
Py_DECREF(var_accept_handler);
var_accept_handler = NULL;
CHECK_OBJECT(var_remove_handler);
Py_DECREF(var_remove_handler);
var_remove_handler = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(var_io_loop);
Py_DECREF(var_io_loop);
var_io_loop = NULL;
CHECK_OBJECT(var_removed);
Py_DECREF(var_removed);
var_removed = NULL;
Py_XDECREF(var_accept_handler);
var_accept_handler = NULL;
Py_XDECREF(var_remove_handler);
var_remove_handler = 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_sock);
Py_DECREF(par_sock);
CHECK_OBJECT(par_callback);
Py_DECREF(par_callback);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_sock);
Py_DECREF(par_sock);
CHECK_OBJECT(par_callback);
Py_DECREF(par_callback);
// Actual function exit with return value, making sure we did not make
// the error status worse despite non-NULL return.
CHECK_OBJECT(tmp_return_value);
assert(had_error || !ERROR_OCCURRED());
return tmp_return_value;
}
static PyObject *impl_tornado$netutil$$$function__3_add_accept_handler$$$function__1_accept_handler(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_fd = python_pars[0];
PyObject *par_events = python_pars[1];
PyObject *var_i = NULL;
PyObject *var_connection = NULL;
PyObject *var_address = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_ac660d6ebc5cc3c2e2fa08fa87a514e6;
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 *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
struct Nuitka_ExceptionStackItem exception_preserved_1;
int tmp_res;
bool tmp_result;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
static struct Nuitka_FrameObject *cache_frame_ac660d6ebc5cc3c2e2fa08fa87a514e6 = NULL;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_ac660d6ebc5cc3c2e2fa08fa87a514e6)) {
Py_XDECREF(cache_frame_ac660d6ebc5cc3c2e2fa08fa87a514e6);
#if _DEBUG_REFCOUNTS
if (cache_frame_ac660d6ebc5cc3c2e2fa08fa87a514e6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ac660d6ebc5cc3c2e2fa08fa87a514e6 = MAKE_FUNCTION_FRAME(codeobj_ac660d6ebc5cc3c2e2fa08fa87a514e6, module_tornado$netutil, 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_ac660d6ebc5cc3c2e2fa08fa87a514e6->m_type_description == NULL);
frame_ac660d6ebc5cc3c2e2fa08fa87a514e6 = cache_frame_ac660d6ebc5cc3c2e2fa08fa87a514e6;
// Push the new frame as the currently active one.
pushFrameStack(frame_ac660d6ebc5cc3c2e2fa08fa87a514e6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ac660d6ebc5cc3c2e2fa08fa87a514e6) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_xrange_low_1;
tmp_xrange_low_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_xrange_low_1 == NULL)) {
tmp_xrange_low_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_xrange_low_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_1 = "oooooccc";
goto frame_exception_exit_1;
}
tmp_iter_arg_1 = BUILTIN_XRANGE1(tmp_xrange_low_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_1 = "oooooccc";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_1 = "oooooccc";
goto frame_exception_exit_1;
}
assert(tmp_for_loop_1__for_iterator == NULL);
tmp_for_loop_1__for_iterator = tmp_assign_source_1;
}
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_2;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
tmp_next_source_1 = tmp_for_loop_1__for_iterator;
tmp_assign_source_2 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_2 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooccc";
exception_lineno = 262;
goto try_except_handler_2;
}
}
{
PyObject *old = tmp_for_loop_1__iter_value;
tmp_for_loop_1__iter_value = tmp_assign_source_2;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_3;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_assign_source_3 = tmp_for_loop_1__iter_value;
{
PyObject *old = var_i;
var_i = tmp_assign_source_3;
Py_INCREF(var_i);
Py_XDECREF(old);
}
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_subscript_value_1;
PyObject *tmp_subscript_result_1;
int tmp_truth_name_1;
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_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 = 263;
type_description_1 = "oooooccc";
goto try_except_handler_2;
}
tmp_expression_value_1 = Nuitka_Cell_GET(self->m_closure[1]);
tmp_subscript_value_1 = mod_consts[11];
tmp_subscript_result_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_1, tmp_subscript_value_1, 0);
if (tmp_subscript_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 263;
type_description_1 = "oooooccc";
goto try_except_handler_2;
}
tmp_truth_name_1 = CHECK_IF_TRUE(tmp_subscript_result_1);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_subscript_result_1);
exception_lineno = 263;
type_description_1 = "oooooccc";
goto try_except_handler_2;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_subscript_result_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_2;
branch_no_1:;
// Tried code:
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_2;
PyObject *tmp_called_instance_1;
if (Nuitka_Cell_GET(self->m_closure[2]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[36]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 267;
type_description_1 = "oooooccc";
goto try_except_handler_4;
}
tmp_called_instance_1 = Nuitka_Cell_GET(self->m_closure[2]);
frame_ac660d6ebc5cc3c2e2fa08fa87a514e6->m_frame.f_lineno = 267;
tmp_iter_arg_2 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[81]);
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 267;
type_description_1 = "oooooccc";
goto try_except_handler_4;
}
tmp_assign_source_4 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 267;
type_description_1 = "oooooccc";
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_4;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_5 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooccc";
exception_lineno = 267;
goto try_except_handler_5;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_6 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooccc";
exception_lineno = 267;
goto try_except_handler_5;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooccc";
exception_lineno = 267;
goto try_except_handler_5;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[40];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooccc";
exception_lineno = 267;
goto try_except_handler_5;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_4;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
try_end_2:;
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Preserve existing published exception id 1.
exception_preserved_1 = GET_CURRENT_EXCEPTION();
if (exception_keeper_tb_3 == NULL) {
exception_keeper_tb_3 = MAKE_TRACEBACK(frame_ac660d6ebc5cc3c2e2fa08fa87a514e6, exception_keeper_lineno_3);
} else if (exception_keeper_lineno_3 != 0) {
exception_keeper_tb_3 = ADD_TRACEBACK(exception_keeper_tb_3, frame_ac660d6ebc5cc3c2e2fa08fa87a514e6, exception_keeper_lineno_3);
}
PUBLISH_CURRENT_EXCEPTION(&exception_keeper_type_3, &exception_keeper_value_3, &exception_keeper_tb_3);
// Tried code:
{
bool tmp_condition_result_2;
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_BlockingIOError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
assert(!(tmp_res == -1));
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_6;
goto branch_end_2;
branch_no_2:;
{
bool tmp_condition_result_3;
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_ConnectionAbortedError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
goto try_continue_handler_6;
goto branch_end_3;
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 266;
}
if (exception_tb && exception_tb->tb_frame == &frame_ac660d6ebc5cc3c2e2fa08fa87a514e6->m_frame) frame_ac660d6ebc5cc3c2e2fa08fa87a514e6->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "oooooccc";
goto try_except_handler_6;
branch_end_3:;
branch_end_2:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_6:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto try_return_handler_2;
// 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;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto try_except_handler_2;
// try continue handler code:
try_continue_handler_6:;
// Restore previous exception id 1.
SET_CURRENT_EXCEPTION(&exception_preserved_1);
goto loop_start_1;
// End of try:
// End of try:
try_end_3:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_7;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_7 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_connection;
var_connection = tmp_assign_source_7;
Py_INCREF(var_connection);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_8;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_8 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_address;
var_address = tmp_assign_source_8;
Py_INCREF(var_address);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_called_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[82]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 277;
type_description_1 = "oooooccc";
goto try_except_handler_2;
}
tmp_called_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(var_connection);
tmp_args_element_value_1 = var_connection;
CHECK_OBJECT(var_address);
tmp_args_element_value_2 = var_address;
frame_ac660d6ebc5cc3c2e2fa08fa87a514e6->m_frame.f_lineno = 277;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_1, call_args);
}
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 277;
type_description_1 = "oooooccc";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 262;
type_description_1 = "oooooccc";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_4;
// Return handler code:
try_return_handler_2:;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
Py_DECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
goto frame_return_exit_1;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_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_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ac660d6ebc5cc3c2e2fa08fa87a514e6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ac660d6ebc5cc3c2e2fa08fa87a514e6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ac660d6ebc5cc3c2e2fa08fa87a514e6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ac660d6ebc5cc3c2e2fa08fa87a514e6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ac660d6ebc5cc3c2e2fa08fa87a514e6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ac660d6ebc5cc3c2e2fa08fa87a514e6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ac660d6ebc5cc3c2e2fa08fa87a514e6,
type_description_1,
par_fd,
par_events,
var_i,
var_connection,
var_address,
self->m_closure[1],
self->m_closure[2],
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_ac660d6ebc5cc3c2e2fa08fa87a514e6 == cache_frame_ac660d6ebc5cc3c2e2fa08fa87a514e6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ac660d6ebc5cc3c2e2fa08fa87a514e6);
cache_frame_ac660d6ebc5cc3c2e2fa08fa87a514e6 = NULL;
}
assertFrameObject(frame_ac660d6ebc5cc3c2e2fa08fa87a514e6);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
Py_XDECREF(tmp_for_loop_1__iter_value);
tmp_for_loop_1__iter_value = NULL;
CHECK_OBJECT(tmp_for_loop_1__for_iterator);
Py_DECREF(tmp_for_loop_1__for_iterator);
tmp_for_loop_1__for_iterator = NULL;
tmp_return_value = Py_None;
Py_INCREF(tmp_return_value);
goto try_return_handler_1;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(var_i);
var_i = NULL;
Py_XDECREF(var_connection);
var_connection = NULL;
Py_XDECREF(var_address);
var_address = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
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(var_i);
var_i = NULL;
Py_XDECREF(var_connection);
var_connection = NULL;
Py_XDECREF(var_address);
var_address = 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 function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_fd);
Py_DECREF(par_fd);
CHECK_OBJECT(par_events);
Py_DECREF(par_events);
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_fd);
Py_DECREF(par_fd);
CHECK_OBJECT(par_events);
Py_DECREF(par_events);
// 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$netutil$$$function__3_add_accept_handler$$$function__2_remove_handler(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_de22646eb1e0d220f952dd99ad5cb6c3;
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_de22646eb1e0d220f952dd99ad5cb6c3 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_de22646eb1e0d220f952dd99ad5cb6c3)) {
Py_XDECREF(cache_frame_de22646eb1e0d220f952dd99ad5cb6c3);
#if _DEBUG_REFCOUNTS
if (cache_frame_de22646eb1e0d220f952dd99ad5cb6c3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_de22646eb1e0d220f952dd99ad5cb6c3 = MAKE_FUNCTION_FRAME(codeobj_de22646eb1e0d220f952dd99ad5cb6c3, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_de22646eb1e0d220f952dd99ad5cb6c3->m_type_description == NULL);
frame_de22646eb1e0d220f952dd99ad5cb6c3 = cache_frame_de22646eb1e0d220f952dd99ad5cb6c3;
// Push the new frame as the currently active one.
pushFrameStack(frame_de22646eb1e0d220f952dd99ad5cb6c3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_de22646eb1e0d220f952dd99ad5cb6c3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[83]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 280;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[74]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 280;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(self->m_closure[2]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[36]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 280;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = Nuitka_Cell_GET(self->m_closure[2]);
frame_de22646eb1e0d220f952dd99ad5cb6c3->m_frame.f_lineno = 280;
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 = 280;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
{
PyObject *tmp_ass_subvalue_1;
PyObject *tmp_ass_subscribed_1;
PyObject *tmp_ass_subscript_1;
int tmp_ass_subscript_res_1;
tmp_ass_subvalue_1 = Py_True;
if (Nuitka_Cell_GET(self->m_closure[1]) == NULL) {
FORMAT_UNBOUND_CLOSURE_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 = 281;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
tmp_ass_subscribed_1 = Nuitka_Cell_GET(self->m_closure[1]);
tmp_ass_subscript_1 = mod_consts[11];
tmp_ass_subscript_res_1 = SET_SUBSCRIPT_CONST(tmp_ass_subscribed_1, tmp_ass_subscript_1, 0, tmp_ass_subvalue_1);
if (tmp_ass_subscript_res_1 == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 281;
type_description_1 = "ccc";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_de22646eb1e0d220f952dd99ad5cb6c3);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_de22646eb1e0d220f952dd99ad5cb6c3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_de22646eb1e0d220f952dd99ad5cb6c3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_de22646eb1e0d220f952dd99ad5cb6c3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_de22646eb1e0d220f952dd99ad5cb6c3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_de22646eb1e0d220f952dd99ad5cb6c3,
type_description_1,
self->m_closure[0],
self->m_closure[2],
self->m_closure[1]
);
// Release cached frame if used for exception.
if (frame_de22646eb1e0d220f952dd99ad5cb6c3 == cache_frame_de22646eb1e0d220f952dd99ad5cb6c3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_de22646eb1e0d220f952dd99ad5cb6c3);
cache_frame_de22646eb1e0d220f952dd99ad5cb6c3 = NULL;
}
assertFrameObject(frame_de22646eb1e0d220f952dd99ad5cb6c3);
// 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:
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$netutil$$$function__4_is_valid_ip(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_ip = python_pars[0];
PyObject *var_res = NULL;
PyObject *var_e = NULL;
struct Nuitka_FrameObject *frame_5bbc237a8571050707bb4e0320a75c5a;
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;
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;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
static struct Nuitka_FrameObject *cache_frame_5bbc237a8571050707bb4e0320a75c5a = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_5bbc237a8571050707bb4e0320a75c5a)) {
Py_XDECREF(cache_frame_5bbc237a8571050707bb4e0320a75c5a);
#if _DEBUG_REFCOUNTS
if (cache_frame_5bbc237a8571050707bb4e0320a75c5a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_5bbc237a8571050707bb4e0320a75c5a = MAKE_FUNCTION_FRAME(codeobj_5bbc237a8571050707bb4e0320a75c5a, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_5bbc237a8571050707bb4e0320a75c5a->m_type_description == NULL);
frame_5bbc237a8571050707bb4e0320a75c5a = cache_frame_5bbc237a8571050707bb4e0320a75c5a;
// Push the new frame as the currently active one.
pushFrameStack(frame_5bbc237a8571050707bb4e0320a75c5a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_5bbc237a8571050707bb4e0320a75c5a) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
int tmp_or_left_truth_1;
bool tmp_or_left_value_1;
bool tmp_or_right_value_1;
PyObject *tmp_operand_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_ip);
tmp_operand_value_1 = par_ip;
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 = 292;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_or_left_value_1 = (tmp_res == 0) ? true : false;
tmp_or_left_truth_1 = tmp_or_left_value_1 != false ? 1 : 0;
if (tmp_or_left_truth_1 == 1) {
goto or_left_1;
} else {
goto or_right_1;
}
or_right_1:;
tmp_cmp_expr_left_1 = mod_consts[84];
CHECK_OBJECT(par_ip);
tmp_cmp_expr_right_1 = par_ip;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 292;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_or_right_value_1 = (tmp_res == 1) ? true : false;
tmp_condition_result_1 = tmp_or_right_value_1;
goto or_end_1;
or_left_1:;
tmp_condition_result_1 = tmp_or_left_value_1;
or_end_1:;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
tmp_return_value = Py_False;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_expression_value_2;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_5;
PyObject *tmp_args_element_value_6;
PyObject *tmp_expression_value_4;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 297;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[9]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 297;
type_description_1 = "ooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_ip);
tmp_args_element_value_1 = par_ip;
tmp_args_element_value_2 = mod_consts[11];
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
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 = 298;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_args_element_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[5]);
if (tmp_args_element_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 298;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_3 == 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_3);
exception_lineno = 298;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[10]);
if (tmp_args_element_value_4 == 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_3);
exception_lineno = 298;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_args_element_value_5 = mod_consts[11];
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_4 == 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_3);
Py_DECREF(tmp_args_element_value_4);
exception_lineno = 298;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_args_element_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[85]);
if (tmp_args_element_value_6 == 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_3);
Py_DECREF(tmp_args_element_value_4);
exception_lineno = 298;
type_description_1 = "ooo";
goto try_except_handler_2;
}
frame_5bbc237a8571050707bb4e0320a75c5a->m_frame.f_lineno = 297;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5, tmp_args_element_value_6};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS6(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_3);
Py_DECREF(tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_6);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 297;
type_description_1 = "ooo";
goto try_except_handler_2;
}
assert(var_res == NULL);
var_res = tmp_assign_source_1;
}
{
PyObject *tmp_value_value_1;
CHECK_OBJECT(var_res);
tmp_value_value_1 = var_res;
tmp_res = CHECK_IF_TRUE(tmp_value_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 300;
type_description_1 = "ooo";
goto try_except_handler_2;
}
tmp_return_value = (tmp_res != 0) ? Py_True : Py_False;
Py_INCREF(tmp_return_value);
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_5bbc237a8571050707bb4e0320a75c5a, exception_keeper_lineno_1);
} else if (exception_keeper_lineno_1 != 0) {
exception_keeper_tb_1 = ADD_TRACEBACK(exception_keeper_tb_1, frame_5bbc237a8571050707bb4e0320a75c5a, 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;
PyObject *tmp_expression_value_5;
tmp_cmp_expr_left_2 = EXC_TYPE(PyThreadState_GET());
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "ooo";
goto try_except_handler_3;
}
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[86]);
if (tmp_cmp_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "ooo";
goto try_except_handler_3;
}
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 301;
type_description_1 = "ooo";
goto try_except_handler_3;
}
tmp_condition_result_2 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = EXC_VALUE(PyThreadState_GET());
assert(var_e == NULL);
Py_INCREF(tmp_assign_source_2);
var_e = tmp_assign_source_2;
}
// Tried code:
{
nuitka_bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_6;
PyObject *tmp_expression_value_7;
PyObject *tmp_subscript_value_1;
PyObject *tmp_expression_value_8;
CHECK_OBJECT(var_e);
tmp_expression_value_7 = var_e;
tmp_expression_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[87]);
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 302;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_subscript_value_1 = mod_consts[11];
tmp_cmp_expr_left_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_6, tmp_subscript_value_1, 0);
Py_DECREF(tmp_expression_value_6);
if (tmp_cmp_expr_left_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 302;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_3);
exception_lineno = 302;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_cmp_expr_right_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[88]);
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_3);
exception_lineno = 302;
type_description_1 = "ooo";
goto try_except_handler_4;
}
tmp_condition_result_3 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
Py_DECREF(tmp_cmp_expr_left_3);
Py_DECREF(tmp_cmp_expr_right_3);
if (tmp_condition_result_3 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 302;
type_description_1 = "ooo";
goto try_except_handler_4;
}
if (tmp_condition_result_3 == NUITKA_BOOL_TRUE) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
tmp_return_value = Py_False;
Py_INCREF(tmp_return_value);
goto try_return_handler_4;
branch_no_3:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 304;
}
if (exception_tb && exception_tb->tb_frame == &frame_5bbc237a8571050707bb4e0320a75c5a->m_frame) frame_5bbc237a8571050707bb4e0320a75c5a->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_4;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_4:;
Py_XDECREF(var_e);
var_e = NULL;
goto try_return_handler_3;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_e);
var_e = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_3;
// End of try:
goto branch_end_2;
branch_no_2:;
{
bool tmp_condition_result_4;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
tmp_cmp_expr_left_4 = EXC_TYPE(PyThreadState_GET());
tmp_cmp_expr_right_4 = PyExc_UnicodeError;
tmp_res = EXCEPTION_MATCH_BOOL(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
assert(!(tmp_res == -1));
tmp_condition_result_4 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_4 != false) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
tmp_return_value = Py_False;
Py_INCREF(tmp_return_value);
goto try_return_handler_3;
goto branch_end_4;
branch_no_4:;
tmp_result = RERAISE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
if (unlikely(tmp_result == false)) {
exception_lineno = 296;
}
if (exception_tb && exception_tb->tb_frame == &frame_5bbc237a8571050707bb4e0320a75c5a->m_frame) frame_5bbc237a8571050707bb4e0320a75c5a->m_frame.f_lineno = exception_tb->tb_lineno;
type_description_1 = "ooo";
goto try_except_handler_3;
branch_end_4:;
branch_end_2:;
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_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:
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(frame_5bbc237a8571050707bb4e0320a75c5a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5bbc237a8571050707bb4e0320a75c5a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_5bbc237a8571050707bb4e0320a75c5a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_5bbc237a8571050707bb4e0320a75c5a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_5bbc237a8571050707bb4e0320a75c5a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_5bbc237a8571050707bb4e0320a75c5a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_5bbc237a8571050707bb4e0320a75c5a,
type_description_1,
par_ip,
var_res,
var_e
);
// Release cached frame if used for exception.
if (frame_5bbc237a8571050707bb4e0320a75c5a == cache_frame_5bbc237a8571050707bb4e0320a75c5a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_5bbc237a8571050707bb4e0320a75c5a);
cache_frame_5bbc237a8571050707bb4e0320a75c5a = NULL;
}
assertFrameObject(frame_5bbc237a8571050707bb4e0320a75c5a);
// 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_res);
var_res = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_res);
var_res = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_ip);
Py_DECREF(par_ip);
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_ip);
Py_DECREF(par_ip);
// 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$netutil$$$function__5_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_595f647d13f344b12bbeb7ba17aca4a1;
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_595f647d13f344b12bbeb7ba17aca4a1 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_595f647d13f344b12bbeb7ba17aca4a1)) {
Py_XDECREF(cache_frame_595f647d13f344b12bbeb7ba17aca4a1);
#if _DEBUG_REFCOUNTS
if (cache_frame_595f647d13f344b12bbeb7ba17aca4a1 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_595f647d13f344b12bbeb7ba17aca4a1 = MAKE_FUNCTION_FRAME(codeobj_595f647d13f344b12bbeb7ba17aca4a1, module_tornado$netutil, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_595f647d13f344b12bbeb7ba17aca4a1->m_type_description == NULL);
frame_595f647d13f344b12bbeb7ba17aca4a1 = cache_frame_595f647d13f344b12bbeb7ba17aca4a1;
// Push the new frame as the currently active one.
pushFrameStack(frame_595f647d13f344b12bbeb7ba17aca4a1);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_595f647d13f344b12bbeb7ba17aca4a1) == 2); // Frame stack
// Framed code:
tmp_return_value = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[90]);
if (unlikely(tmp_return_value == NULL)) {
tmp_return_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[90]);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 345;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_595f647d13f344b12bbeb7ba17aca4a1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_595f647d13f344b12bbeb7ba17aca4a1);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_595f647d13f344b12bbeb7ba17aca4a1);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_595f647d13f344b12bbeb7ba17aca4a1, exception_lineno);
} else if (exception_tb->tb_frame != &frame_595f647d13f344b12bbeb7ba17aca4a1->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_595f647d13f344b12bbeb7ba17aca4a1, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_595f647d13f344b12bbeb7ba17aca4a1,
type_description_1,
par_cls
);
// Release cached frame if used for exception.
if (frame_595f647d13f344b12bbeb7ba17aca4a1 == cache_frame_595f647d13f344b12bbeb7ba17aca4a1) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_595f647d13f344b12bbeb7ba17aca4a1);
cache_frame_595f647d13f344b12bbeb7ba17aca4a1 = NULL;
}
assertFrameObject(frame_595f647d13f344b12bbeb7ba17aca4a1);
// 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;
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$netutil$$$function__6_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_233a6c49e69d574b34c40cd9821c113f;
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_233a6c49e69d574b34c40cd9821c113f = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_233a6c49e69d574b34c40cd9821c113f)) {
Py_XDECREF(cache_frame_233a6c49e69d574b34c40cd9821c113f);
#if _DEBUG_REFCOUNTS
if (cache_frame_233a6c49e69d574b34c40cd9821c113f == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_233a6c49e69d574b34c40cd9821c113f = MAKE_FUNCTION_FRAME(codeobj_233a6c49e69d574b34c40cd9821c113f, module_tornado$netutil, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_233a6c49e69d574b34c40cd9821c113f->m_type_description == NULL);
frame_233a6c49e69d574b34c40cd9821c113f = cache_frame_233a6c49e69d574b34c40cd9821c113f;
// Push the new frame as the currently active one.
pushFrameStack(frame_233a6c49e69d574b34c40cd9821c113f);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_233a6c49e69d574b34c40cd9821c113f) == 2); // Frame stack
// Framed code:
tmp_return_value = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[91]);
if (unlikely(tmp_return_value == NULL)) {
tmp_return_value = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[91]);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 349;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_233a6c49e69d574b34c40cd9821c113f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_233a6c49e69d574b34c40cd9821c113f);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_233a6c49e69d574b34c40cd9821c113f);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_233a6c49e69d574b34c40cd9821c113f, exception_lineno);
} else if (exception_tb->tb_frame != &frame_233a6c49e69d574b34c40cd9821c113f->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_233a6c49e69d574b34c40cd9821c113f, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_233a6c49e69d574b34c40cd9821c113f,
type_description_1,
par_cls
);
// Release cached frame if used for exception.
if (frame_233a6c49e69d574b34c40cd9821c113f == cache_frame_233a6c49e69d574b34c40cd9821c113f) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_233a6c49e69d574b34c40cd9821c113f);
cache_frame_233a6c49e69d574b34c40cd9821c113f = NULL;
}
assertFrameObject(frame_233a6c49e69d574b34c40cd9821c113f);
// 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;
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$netutil$$$function__7_resolve(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_host = python_pars[1];
PyObject *par_port = python_pars[2];
PyObject *par_family = python_pars[3];
struct Nuitka_FrameObject *frame_cef73c49d4b6a168ee51ac568defb5e2;
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_cef73c49d4b6a168ee51ac568defb5e2 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_cef73c49d4b6a168ee51ac568defb5e2)) {
Py_XDECREF(cache_frame_cef73c49d4b6a168ee51ac568defb5e2);
#if _DEBUG_REFCOUNTS
if (cache_frame_cef73c49d4b6a168ee51ac568defb5e2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_cef73c49d4b6a168ee51ac568defb5e2 = MAKE_FUNCTION_FRAME(codeobj_cef73c49d4b6a168ee51ac568defb5e2, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_cef73c49d4b6a168ee51ac568defb5e2->m_type_description == NULL);
frame_cef73c49d4b6a168ee51ac568defb5e2 = cache_frame_cef73c49d4b6a168ee51ac568defb5e2;
// Push the new frame as the currently active one.
pushFrameStack(frame_cef73c49d4b6a168ee51ac568defb5e2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_cef73c49d4b6a168ee51ac568defb5e2) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_raise_type_1;
frame_cef73c49d4b6a168ee51ac568defb5e2->m_frame.f_lineno = 375;
tmp_raise_type_1 = CALL_FUNCTION_NO_ARGS(PyExc_NotImplementedError);
assert(!(tmp_raise_type_1 == NULL));
exception_type = tmp_raise_type_1;
exception_lineno = 375;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_cef73c49d4b6a168ee51ac568defb5e2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_cef73c49d4b6a168ee51ac568defb5e2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_cef73c49d4b6a168ee51ac568defb5e2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_cef73c49d4b6a168ee51ac568defb5e2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_cef73c49d4b6a168ee51ac568defb5e2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_cef73c49d4b6a168ee51ac568defb5e2,
type_description_1,
par_self,
par_host,
par_port,
par_family
);
// Release cached frame if used for exception.
if (frame_cef73c49d4b6a168ee51ac568defb5e2 == cache_frame_cef73c49d4b6a168ee51ac568defb5e2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_cef73c49d4b6a168ee51ac568defb5e2);
cache_frame_cef73c49d4b6a168ee51ac568defb5e2 = NULL;
}
assertFrameObject(frame_cef73c49d4b6a168ee51ac568defb5e2);
// 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_host);
Py_DECREF(par_host);
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
CHECK_OBJECT(par_family);
Py_DECREF(par_family);
assert(exception_type);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}
static PyObject *impl_tornado$netutil$$$function__9__resolve_addr(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_host = python_pars[0];
PyObject *par_port = python_pars[1];
PyObject *par_family = python_pars[2];
PyObject *var_addrinfo = NULL;
PyObject *var_results = NULL;
PyObject *var_fam = NULL;
PyObject *var_socktype = NULL;
PyObject *var_proto = NULL;
PyObject *var_canonname = NULL;
PyObject *var_address = NULL;
PyObject *tmp_for_loop_1__for_iterator = NULL;
PyObject *tmp_for_loop_1__iter_value = NULL;
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__element_3 = NULL;
PyObject *tmp_tuple_unpack_1__element_4 = NULL;
PyObject *tmp_tuple_unpack_1__element_5 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
struct Nuitka_FrameObject *frame_d9c4f15532b7e3a8f96a2cf8908e3c20;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
PyObject *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_d9c4f15532b7e3a8f96a2cf8908e3c20 = NULL;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_4;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_d9c4f15532b7e3a8f96a2cf8908e3c20)) {
Py_XDECREF(cache_frame_d9c4f15532b7e3a8f96a2cf8908e3c20);
#if _DEBUG_REFCOUNTS
if (cache_frame_d9c4f15532b7e3a8f96a2cf8908e3c20 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d9c4f15532b7e3a8f96a2cf8908e3c20 = MAKE_FUNCTION_FRAME(codeobj_d9c4f15532b7e3a8f96a2cf8908e3c20, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d9c4f15532b7e3a8f96a2cf8908e3c20->m_type_description == NULL);
frame_d9c4f15532b7e3a8f96a2cf8908e3c20 = cache_frame_d9c4f15532b7e3a8f96a2cf8908e3c20;
// Push the new frame as the currently active one.
pushFrameStack(frame_d9c4f15532b7e3a8f96a2cf8908e3c20);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d9c4f15532b7e3a8f96a2cf8908e3c20) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_2;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 394;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[9]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 394;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_host);
tmp_args_element_value_1 = par_host;
CHECK_OBJECT(par_port);
tmp_args_element_value_2 = par_port;
CHECK_OBJECT(par_family);
tmp_args_element_value_3 = par_family;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
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 = 394;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[10]);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 394;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
frame_d9c4f15532b7e3a8f96a2cf8908e3c20->m_frame.f_lineno = 394;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS4(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_args_element_value_4);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 394;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
assert(var_addrinfo == NULL);
var_addrinfo = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_LIST_EMPTY(0);
assert(var_results == NULL);
var_results = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(var_addrinfo);
tmp_iter_arg_1 = var_addrinfo;
tmp_assign_source_3 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooooooooo";
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 = "oooooooooo";
exception_lineno = 396;
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);
}
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(tmp_for_loop_1__iter_value);
tmp_iter_arg_2 = tmp_for_loop_1__iter_value;
tmp_assign_source_5 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooooooooo";
goto try_except_handler_3;
}
{
PyObject *old = tmp_tuple_unpack_1__source_iter;
tmp_tuple_unpack_1__source_iter = tmp_assign_source_5;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_1, 0, 5);
if (tmp_assign_source_6 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooo";
exception_lineno = 396;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_1;
tmp_tuple_unpack_1__element_1 = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_7 = UNPACK_NEXT(tmp_unpack_2, 1, 5);
if (tmp_assign_source_7 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooo";
exception_lineno = 396;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_2;
tmp_tuple_unpack_1__element_2 = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_8 = UNPACK_NEXT(tmp_unpack_3, 2, 5);
if (tmp_assign_source_8 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooo";
exception_lineno = 396;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_3;
tmp_tuple_unpack_1__element_3 = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_unpack_4;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_4 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_9 = UNPACK_NEXT(tmp_unpack_4, 3, 5);
if (tmp_assign_source_9 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooo";
exception_lineno = 396;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_4;
tmp_tuple_unpack_1__element_4 = tmp_assign_source_9;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_unpack_5;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_5 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_10 = UNPACK_NEXT(tmp_unpack_5, 4, 5);
if (tmp_assign_source_10 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooooooooo";
exception_lineno = 396;
goto try_except_handler_4;
}
{
PyObject *old = tmp_tuple_unpack_1__element_5;
tmp_tuple_unpack_1__element_5 = tmp_assign_source_10;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooooooooo";
exception_lineno = 396;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[17];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooooooooo";
exception_lineno = 396;
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_3;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_4);
tmp_tuple_unpack_1__element_4 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_5);
tmp_tuple_unpack_1__element_5 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto try_except_handler_2;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_11;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_11 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = var_fam;
var_fam = tmp_assign_source_11;
Py_INCREF(var_fam);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_12;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_12 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = var_socktype;
var_socktype = tmp_assign_source_12;
Py_INCREF(var_socktype);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_13;
CHECK_OBJECT(tmp_tuple_unpack_1__element_3);
tmp_assign_source_13 = tmp_tuple_unpack_1__element_3;
{
PyObject *old = var_proto;
var_proto = tmp_assign_source_13;
Py_INCREF(var_proto);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_3);
tmp_tuple_unpack_1__element_3 = NULL;
{
PyObject *tmp_assign_source_14;
CHECK_OBJECT(tmp_tuple_unpack_1__element_4);
tmp_assign_source_14 = tmp_tuple_unpack_1__element_4;
{
PyObject *old = var_canonname;
var_canonname = tmp_assign_source_14;
Py_INCREF(var_canonname);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_4);
tmp_tuple_unpack_1__element_4 = NULL;
{
PyObject *tmp_assign_source_15;
CHECK_OBJECT(tmp_tuple_unpack_1__element_5);
tmp_assign_source_15 = tmp_tuple_unpack_1__element_5;
{
PyObject *old = var_address;
var_address = tmp_assign_source_15;
Py_INCREF(var_address);
Py_XDECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_5);
tmp_tuple_unpack_1__element_5 = NULL;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_5;
PyObject *tmp_tuple_element_1;
if (var_results == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[93]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 397;
type_description_1 = "oooooooooo";
goto try_except_handler_2;
}
tmp_called_instance_1 = var_results;
CHECK_OBJECT(var_fam);
tmp_tuple_element_1 = var_fam;
tmp_args_element_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_element_value_5, 0, tmp_tuple_element_1);
CHECK_OBJECT(var_address);
tmp_tuple_element_1 = var_address;
PyTuple_SET_ITEM0(tmp_args_element_value_5, 1, tmp_tuple_element_1);
frame_d9c4f15532b7e3a8f96a2cf8908e3c20->m_frame.f_lineno = 397;
tmp_call_result_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[53], tmp_args_element_value_5);
Py_DECREF(tmp_args_element_value_5);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 397;
type_description_1 = "oooooooooo";
goto try_except_handler_2;
}
Py_DECREF(tmp_call_result_1);
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 396;
type_description_1 = "oooooooooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_3;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
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_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:;
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;
if (var_results == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[93]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 398;
type_description_1 = "oooooooooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_results;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d9c4f15532b7e3a8f96a2cf8908e3c20);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d9c4f15532b7e3a8f96a2cf8908e3c20);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d9c4f15532b7e3a8f96a2cf8908e3c20);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d9c4f15532b7e3a8f96a2cf8908e3c20, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d9c4f15532b7e3a8f96a2cf8908e3c20->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d9c4f15532b7e3a8f96a2cf8908e3c20, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d9c4f15532b7e3a8f96a2cf8908e3c20,
type_description_1,
par_host,
par_port,
par_family,
var_addrinfo,
var_results,
var_fam,
var_socktype,
var_proto,
var_canonname,
var_address
);
// Release cached frame if used for exception.
if (frame_d9c4f15532b7e3a8f96a2cf8908e3c20 == cache_frame_d9c4f15532b7e3a8f96a2cf8908e3c20) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d9c4f15532b7e3a8f96a2cf8908e3c20);
cache_frame_d9c4f15532b7e3a8f96a2cf8908e3c20 = NULL;
}
assertFrameObject(frame_d9c4f15532b7e3a8f96a2cf8908e3c20);
// 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_addrinfo);
Py_DECREF(var_addrinfo);
var_addrinfo = NULL;
Py_XDECREF(var_results);
var_results = NULL;
Py_XDECREF(var_fam);
var_fam = NULL;
Py_XDECREF(var_socktype);
var_socktype = NULL;
Py_XDECREF(var_proto);
var_proto = NULL;
Py_XDECREF(var_canonname);
var_canonname = NULL;
Py_XDECREF(var_address);
var_address = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_addrinfo);
var_addrinfo = NULL;
Py_XDECREF(var_results);
var_results = NULL;
Py_XDECREF(var_fam);
var_fam = NULL;
Py_XDECREF(var_socktype);
var_socktype = NULL;
Py_XDECREF(var_proto);
var_proto = NULL;
Py_XDECREF(var_canonname);
var_canonname = NULL;
Py_XDECREF(var_address);
var_address = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_host);
Py_DECREF(par_host);
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
CHECK_OBJECT(par_family);
Py_DECREF(par_family);
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_host);
Py_DECREF(par_host);
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
CHECK_OBJECT(par_family);
Py_DECREF(par_family);
// 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$netutil$$$function__10_resolve(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_CellObject *par_host = Nuitka_Cell_New1(python_pars[1]);
struct Nuitka_CellObject *par_port = Nuitka_Cell_New1(python_pars[2]);
struct Nuitka_CellObject *par_family = Nuitka_Cell_New1(python_pars[3]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[3];
tmp_closure_1[0] = par_family;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = par_host;
Py_INCREF(tmp_closure_1[1]);
tmp_closure_1[2] = par_port;
Py_INCREF(tmp_closure_1[2]);
tmp_return_value = MAKE_COROUTINE_tornado$netutil$$$function__10_resolve$$$coroutine__1_resolve(tmp_closure_1);
goto function_return_exit;
}
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_host);
Py_DECREF(par_host);
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
CHECK_OBJECT(par_family);
Py_DECREF(par_family);
// 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;
}
struct tornado$netutil$$$function__10_resolve$$$coroutine__1_resolve_locals {
PyObject *var_result;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
PyObject *tmp_return_value;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
};
static PyObject *tornado$netutil$$$function__10_resolve$$$coroutine__1_resolve_context(struct Nuitka_CoroutineObject *coroutine, PyObject *yield_return_value) {
CHECK_OBJECT(coroutine);
assert(Nuitka_Coroutine_Check((PyObject *)coroutine));
// Heap access if used.
struct tornado$netutil$$$function__10_resolve$$$coroutine__1_resolve_locals *coroutine_heap = (struct tornado$netutil$$$function__10_resolve$$$coroutine__1_resolve_locals *)coroutine->m_heap_storage;
// Dispatch to yield based on return label index:
switch(coroutine->m_yield_return_index) {
case 1: goto yield_return_1;
}
// Local variable initialization
static struct Nuitka_FrameObject *cache_m_frame = NULL;
coroutine_heap->var_result = NULL;
coroutine_heap->type_description_1 = NULL;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
coroutine_heap->tmp_return_value = NULL;
// Actual coroutine body.
// Tried code:
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_7e974fd2daacfda1ac32ef865ff8c9e4, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
coroutine->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(coroutine->m_frame);
assert(Py_REFCNT(coroutine->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(coroutine->m_frame, (PyObject *)coroutine);
#endif
assert(coroutine->m_frame->m_frame.f_back == NULL);
pushFrameStack(coroutine->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(coroutine->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(coroutine) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(coroutine) == Py_None) EXC_TYPE_F(coroutine) = NULL;
Py_XINCREF(EXC_TYPE_F(coroutine));
#endif
EXC_VALUE_F(coroutine) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(coroutine, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(coroutine));
#endif
}
#endif
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
PyObject *tmp_args_element_value_4;
PyObject *tmp_args_element_value_5;
coroutine->m_frame->m_frame.f_lineno = 414;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[65]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[65]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 414;
coroutine_heap->type_description_1 = "Nccco";
goto frame_exception_exit_1;
}
coroutine->m_frame->m_frame.f_lineno = 414;
tmp_expression_value_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[66]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 414;
coroutine_heap->type_description_1 = "Nccco";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[94]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 414;
coroutine_heap->type_description_1 = "Nccco";
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = Py_None;
tmp_args_element_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[95]);
if (unlikely(tmp_args_element_value_2 == NULL)) {
tmp_args_element_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[95]);
}
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_1);
coroutine_heap->exception_lineno = 415;
coroutine_heap->type_description_1 = "Nccco";
goto frame_exception_exit_1;
}
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[96]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 415;
coroutine_heap->type_description_1 = "Nccco";
goto frame_exception_exit_1;
}
tmp_args_element_value_3 = Nuitka_Cell_GET(coroutine->m_closure[1]);
if (Nuitka_Cell_GET(coroutine->m_closure[2]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[97]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 415;
coroutine_heap->type_description_1 = "Nccco";
goto frame_exception_exit_1;
}
tmp_args_element_value_4 = Nuitka_Cell_GET(coroutine->m_closure[2]);
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[98]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 415;
coroutine_heap->type_description_1 = "Nccco";
goto frame_exception_exit_1;
}
tmp_args_element_value_5 = Nuitka_Cell_GET(coroutine->m_closure[0]);
coroutine->m_frame->m_frame.f_lineno = 414;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3, tmp_args_element_value_4, tmp_args_element_value_5};
tmp_expression_value_2 = CALL_FUNCTION_WITH_ARGS5(tmp_called_value_1, call_args);
}
Py_DECREF(tmp_called_value_1);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 414;
coroutine_heap->type_description_1 = "Nccco";
goto frame_exception_exit_1;
}
tmp_expression_value_1 = ASYNC_AWAIT(tmp_expression_value_2, await_normal);
Py_DECREF(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 414;
coroutine_heap->type_description_1 = "Nccco";
goto frame_exception_exit_1;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_expression_value_2, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_3, sizeof(PyObject *), &tmp_called_instance_1, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_args_element_value_2, sizeof(PyObject *), &tmp_args_element_value_3, sizeof(PyObject *), &tmp_args_element_value_4, sizeof(PyObject *), &tmp_args_element_value_5, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 1;
coroutine->m_yieldfrom = tmp_expression_value_1;
coroutine->m_awaiting = true;
return NULL;
yield_return_1:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_expression_value_2, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_3, sizeof(PyObject *), &tmp_called_instance_1, sizeof(PyObject *), &tmp_args_element_value_1, sizeof(PyObject *), &tmp_args_element_value_2, sizeof(PyObject *), &tmp_args_element_value_3, sizeof(PyObject *), &tmp_args_element_value_4, sizeof(PyObject *), &tmp_args_element_value_5, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 414;
coroutine_heap->type_description_1 = "Nccco";
goto frame_exception_exit_1;
}
tmp_assign_source_1 = yield_return_value;
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 414;
coroutine_heap->type_description_1 = "Nccco";
goto frame_exception_exit_1;
}
assert(coroutine_heap->var_result == NULL);
coroutine_heap->var_result = tmp_assign_source_1;
}
Nuitka_Frame_MarkAsNotExecuting(coroutine->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(coroutine->m_frame);
goto frame_no_exception_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(coroutine_heap->exception_type)) {
if (coroutine_heap->exception_tb == NULL) {
coroutine_heap->exception_tb = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_lineno);
} else if (coroutine_heap->exception_tb->tb_frame != &coroutine->m_frame->m_frame) {
coroutine_heap->exception_tb = ADD_TRACEBACK(coroutine_heap->exception_tb, coroutine->m_frame, coroutine_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
coroutine->m_frame,
coroutine_heap->type_description_1,
NULL,
coroutine->m_closure[1],
coroutine->m_closure[2],
coroutine->m_closure[0],
coroutine_heap->var_result
);
// Release cached frame if used for exception.
if (coroutine->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(coroutine->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
Py_DECREF(coroutine->m_frame);
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
CHECK_OBJECT(coroutine_heap->var_result);
coroutine_heap->tmp_return_value = coroutine_heap->var_result;
Py_INCREF(coroutine_heap->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(coroutine_heap->var_result);
Py_DECREF(coroutine_heap->var_result);
coroutine_heap->var_result = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
coroutine_heap->exception_keeper_type_1 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_1 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_1 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_1 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_1;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_1;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_1;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must be present");
function_exception_exit:
assert(coroutine_heap->exception_type);
RESTORE_ERROR_OCCURRED(coroutine_heap->exception_type, coroutine_heap->exception_value, coroutine_heap->exception_tb);
return NULL;
function_return_exit:;
coroutine->m_returned = coroutine_heap->tmp_return_value;
return NULL;
}
static PyObject *MAKE_COROUTINE_tornado$netutil$$$function__10_resolve$$$coroutine__1_resolve(struct Nuitka_CellObject **closure) {
return Nuitka_Coroutine_New(
tornado$netutil$$$function__10_resolve$$$coroutine__1_resolve_context,
module_tornado$netutil,
mod_consts[99],
mod_consts[100],
codeobj_7e974fd2daacfda1ac32ef865ff8c9e4,
closure,
3,
sizeof(struct tornado$netutil$$$function__10_resolve$$$coroutine__1_resolve_locals)
);
}
static PyObject *impl_tornado$netutil$$$function__11_resolve(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_CellObject *par_host = Nuitka_Cell_New1(python_pars[1]);
struct Nuitka_CellObject *par_port = Nuitka_Cell_New1(python_pars[2]);
struct Nuitka_CellObject *par_family = Nuitka_Cell_New1(python_pars[3]);
PyObject *tmp_return_value = NULL;
// Actual function body.
{
struct Nuitka_CellObject *tmp_closure_1[3];
tmp_closure_1[0] = par_family;
Py_INCREF(tmp_closure_1[0]);
tmp_closure_1[1] = par_host;
Py_INCREF(tmp_closure_1[1]);
tmp_closure_1[2] = par_port;
Py_INCREF(tmp_closure_1[2]);
tmp_return_value = MAKE_COROUTINE_tornado$netutil$$$function__11_resolve$$$coroutine__1_resolve(tmp_closure_1);
goto function_return_exit;
}
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_return_exit:
// Function cleanup code if any.
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_host);
Py_DECREF(par_host);
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
CHECK_OBJECT(par_family);
Py_DECREF(par_family);
// 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;
}
struct tornado$netutil$$$function__11_resolve$$$coroutine__1_resolve_locals {
PyObject *outline_0_var_fam;
PyObject *outline_0_var__;
PyObject *outline_0_var_address;
PyObject *tmp_listcomp$tuple_unpack_1__element_1;
PyObject *tmp_listcomp$tuple_unpack_1__element_2;
PyObject *tmp_listcomp$tuple_unpack_1__element_3;
PyObject *tmp_listcomp$tuple_unpack_1__element_4;
PyObject *tmp_listcomp$tuple_unpack_1__element_5;
PyObject *tmp_listcomp$tuple_unpack_1__source_iter;
PyObject *tmp_listcomp_1__$0;
PyObject *tmp_listcomp_1__contraction;
PyObject *tmp_listcomp_1__iter_value_0;
char const *type_description_1;
PyObject *tmp_return_value;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
char yield_tmps[1024];
struct Nuitka_FrameObject *frame_ef0e9d45da047ced72a024a849043205_2;
char const *type_description_2;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
bool tmp_result;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
int exception_keeper_lineno_3;
PyObject *exception_keeper_type_4;
PyObject *exception_keeper_value_4;
PyTracebackObject *exception_keeper_tb_4;
int exception_keeper_lineno_4;
};
static PyObject *tornado$netutil$$$function__11_resolve$$$coroutine__1_resolve_context(struct Nuitka_CoroutineObject *coroutine, PyObject *yield_return_value) {
CHECK_OBJECT(coroutine);
assert(Nuitka_Coroutine_Check((PyObject *)coroutine));
// Heap access if used.
struct tornado$netutil$$$function__11_resolve$$$coroutine__1_resolve_locals *coroutine_heap = (struct tornado$netutil$$$function__11_resolve$$$coroutine__1_resolve_locals *)coroutine->m_heap_storage;
// Dispatch to yield based on return label index:
switch(coroutine->m_yield_return_index) {
case 1: goto yield_return_1;
}
// Local variable initialization
static struct Nuitka_FrameObject *cache_frame_ef0e9d45da047ced72a024a849043205_2 = NULL;
static struct Nuitka_FrameObject *cache_m_frame = NULL;
coroutine_heap->outline_0_var_fam = NULL;
coroutine_heap->outline_0_var__ = NULL;
coroutine_heap->outline_0_var_address = NULL;
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_1 = NULL;
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_2 = NULL;
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_3 = NULL;
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_4 = NULL;
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_5 = NULL;
coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter = NULL;
coroutine_heap->tmp_listcomp_1__$0 = NULL;
coroutine_heap->tmp_listcomp_1__contraction = NULL;
coroutine_heap->tmp_listcomp_1__iter_value_0 = NULL;
coroutine_heap->type_description_1 = NULL;
coroutine_heap->tmp_return_value = NULL;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
coroutine_heap->type_description_2 = NULL;
// Actual coroutine body.
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_b50f5f2d8d9fe9bc03a0e93b0477a046, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
coroutine->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(coroutine->m_frame);
assert(Py_REFCNT(coroutine->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(coroutine->m_frame, (PyObject *)coroutine);
#endif
assert(coroutine->m_frame->m_frame.f_back == NULL);
pushFrameStack(coroutine->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(coroutine->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(coroutine) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(coroutine) == Py_None) EXC_TYPE_F(coroutine) = NULL;
Py_XINCREF(EXC_TYPE_F(coroutine));
#endif
EXC_VALUE_F(coroutine) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(coroutine, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(coroutine));
#endif
}
#endif
// Framed code:
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_3;
PyObject *tmp_called_instance_1;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_arg_value_1_1;
PyObject *tmp_kw_call_dict_value_0_1;
PyObject *tmp_kw_call_dict_value_1_1;
PyObject *tmp_expression_value_4;
coroutine->m_frame->m_frame.f_lineno = 433;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[101]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[101]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 433;
coroutine_heap->type_description_1 = "Nccc";
goto try_except_handler_1;
}
coroutine->m_frame->m_frame.f_lineno = 433;
tmp_expression_value_3 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[102]);
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 433;
coroutine_heap->type_description_1 = "Nccc";
goto try_except_handler_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[9]);
Py_DECREF(tmp_expression_value_3);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 433;
coroutine_heap->type_description_1 = "Nccc";
goto try_except_handler_1;
}
if (Nuitka_Cell_GET(coroutine->m_closure[1]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[96]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 434;
coroutine_heap->type_description_1 = "Nccc";
goto try_except_handler_1;
}
tmp_kw_call_arg_value_0_1 = Nuitka_Cell_GET(coroutine->m_closure[1]);
if (Nuitka_Cell_GET(coroutine->m_closure[2]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[97]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 434;
coroutine_heap->type_description_1 = "Nccc";
goto try_except_handler_1;
}
tmp_kw_call_arg_value_1_1 = Nuitka_Cell_GET(coroutine->m_closure[2]);
if (Nuitka_Cell_GET(coroutine->m_closure[0]) == NULL) {
Py_DECREF(tmp_called_value_1);
FORMAT_UNBOUND_CLOSURE_ERROR(&coroutine_heap->exception_type, &coroutine_heap->exception_value, mod_consts[98]);
coroutine_heap->exception_tb = NULL;
NORMALIZE_EXCEPTION(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
CHAIN_EXCEPTION(coroutine_heap->exception_value);
coroutine_heap->exception_lineno = 434;
coroutine_heap->type_description_1 = "Nccc";
goto try_except_handler_1;
}
tmp_kw_call_dict_value_0_1 = Nuitka_Cell_GET(coroutine->m_closure[0]);
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_1);
coroutine_heap->exception_lineno = 434;
coroutine_heap->type_description_1 = "Nccc";
goto try_except_handler_1;
}
tmp_kw_call_dict_value_1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[10]);
if (tmp_kw_call_dict_value_1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
Py_DECREF(tmp_called_value_1);
coroutine_heap->exception_lineno = 434;
coroutine_heap->type_description_1 = "Nccc";
goto try_except_handler_1;
}
coroutine->m_frame->m_frame.f_lineno = 433;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1, tmp_kw_call_arg_value_1_1};
PyObject *kw_values[2] = {tmp_kw_call_dict_value_0_1, tmp_kw_call_dict_value_1_1};
tmp_expression_value_2 = CALL_FUNCTION_WITH_ARGS2_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[103]);
}
Py_DECREF(tmp_called_value_1);
Py_DECREF(tmp_kw_call_dict_value_1_1);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 433;
coroutine_heap->type_description_1 = "Nccc";
goto try_except_handler_1;
}
tmp_expression_value_1 = ASYNC_AWAIT(tmp_expression_value_2, await_normal);
Py_DECREF(tmp_expression_value_2);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 433;
coroutine_heap->type_description_1 = "Nccc";
goto try_except_handler_1;
}
Nuitka_PreserveHeap(coroutine_heap->yield_tmps, &tmp_assign_source_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_3, sizeof(PyObject *), &tmp_called_instance_1, sizeof(PyObject *), &tmp_kw_call_arg_value_0_1, sizeof(PyObject *), &tmp_kw_call_arg_value_1_1, sizeof(PyObject *), &tmp_kw_call_dict_value_0_1, sizeof(PyObject *), &tmp_kw_call_dict_value_1_1, sizeof(PyObject *), &tmp_expression_value_4, sizeof(PyObject *), NULL);
coroutine->m_yield_return_index = 1;
coroutine->m_yieldfrom = tmp_expression_value_1;
coroutine->m_awaiting = true;
return NULL;
yield_return_1:
Nuitka_RestoreHeap(coroutine_heap->yield_tmps, &tmp_assign_source_1, sizeof(PyObject *), &tmp_expression_value_2, sizeof(PyObject *), &tmp_called_value_1, sizeof(PyObject *), &tmp_expression_value_3, sizeof(PyObject *), &tmp_called_instance_1, sizeof(PyObject *), &tmp_kw_call_arg_value_0_1, sizeof(PyObject *), &tmp_kw_call_arg_value_1_1, sizeof(PyObject *), &tmp_kw_call_dict_value_0_1, sizeof(PyObject *), &tmp_kw_call_dict_value_1_1, sizeof(PyObject *), &tmp_expression_value_4, sizeof(PyObject *), NULL);
coroutine->m_awaiting = false;
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 433;
coroutine_heap->type_description_1 = "Nccc";
goto try_except_handler_1;
}
tmp_iter_arg_1 = yield_return_value;
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 433;
coroutine_heap->type_description_1 = "Nccc";
goto try_except_handler_1;
}
tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 431;
coroutine_heap->type_description_1 = "Nccc";
goto try_except_handler_1;
}
assert(coroutine_heap->tmp_listcomp_1__$0 == NULL);
coroutine_heap->tmp_listcomp_1__$0 = tmp_assign_source_1;
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = MAKE_LIST_EMPTY(0);
assert(coroutine_heap->tmp_listcomp_1__contraction == NULL);
coroutine_heap->tmp_listcomp_1__contraction = tmp_assign_source_2;
}
if (isFrameUnusable(cache_frame_ef0e9d45da047ced72a024a849043205_2)) {
Py_XDECREF(cache_frame_ef0e9d45da047ced72a024a849043205_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_ef0e9d45da047ced72a024a849043205_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ef0e9d45da047ced72a024a849043205_2 = MAKE_FUNCTION_FRAME(codeobj_ef0e9d45da047ced72a024a849043205, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ef0e9d45da047ced72a024a849043205_2->m_type_description == NULL);
coroutine_heap->frame_ef0e9d45da047ced72a024a849043205_2 = cache_frame_ef0e9d45da047ced72a024a849043205_2;
// Push the new frame as the currently active one.
pushFrameStack(coroutine_heap->frame_ef0e9d45da047ced72a024a849043205_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(coroutine_heap->frame_ef0e9d45da047ced72a024a849043205_2) == 2); // Frame stack
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_3;
CHECK_OBJECT(coroutine_heap->tmp_listcomp_1__$0);
tmp_next_source_1 = coroutine_heap->tmp_listcomp_1__$0;
tmp_assign_source_3 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_3 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->type_description_2 = "ooo";
coroutine_heap->exception_lineno = 431;
goto try_except_handler_2;
}
}
{
PyObject *old = coroutine_heap->tmp_listcomp_1__iter_value_0;
coroutine_heap->tmp_listcomp_1__iter_value_0 = tmp_assign_source_3;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_4;
PyObject *tmp_iter_arg_2;
CHECK_OBJECT(coroutine_heap->tmp_listcomp_1__iter_value_0);
tmp_iter_arg_2 = coroutine_heap->tmp_listcomp_1__iter_value_0;
tmp_assign_source_4 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 431;
coroutine_heap->type_description_2 = "ooo";
goto try_except_handler_3;
}
{
PyObject *old = coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter;
coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter = tmp_assign_source_4;
Py_XDECREF(old);
}
}
// Tried code:
{
PyObject *tmp_assign_source_5;
PyObject *tmp_unpack_1;
CHECK_OBJECT(coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter);
tmp_unpack_1 = coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter;
tmp_assign_source_5 = UNPACK_NEXT(tmp_unpack_1, 0, 5);
if (tmp_assign_source_5 == NULL) {
if (!ERROR_OCCURRED()) {
coroutine_heap->exception_type = PyExc_StopIteration;
Py_INCREF(coroutine_heap->exception_type);
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
}
coroutine_heap->type_description_2 = "ooo";
coroutine_heap->exception_lineno = 431;
goto try_except_handler_4;
}
{
PyObject *old = coroutine_heap->tmp_listcomp$tuple_unpack_1__element_1;
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_1 = tmp_assign_source_5;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_6;
PyObject *tmp_unpack_2;
CHECK_OBJECT(coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter);
tmp_unpack_2 = coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter;
tmp_assign_source_6 = UNPACK_NEXT(tmp_unpack_2, 1, 5);
if (tmp_assign_source_6 == NULL) {
if (!ERROR_OCCURRED()) {
coroutine_heap->exception_type = PyExc_StopIteration;
Py_INCREF(coroutine_heap->exception_type);
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
}
coroutine_heap->type_description_2 = "ooo";
coroutine_heap->exception_lineno = 431;
goto try_except_handler_4;
}
{
PyObject *old = coroutine_heap->tmp_listcomp$tuple_unpack_1__element_2;
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_2 = tmp_assign_source_6;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_7;
PyObject *tmp_unpack_3;
CHECK_OBJECT(coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter);
tmp_unpack_3 = coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter;
tmp_assign_source_7 = UNPACK_NEXT(tmp_unpack_3, 2, 5);
if (tmp_assign_source_7 == NULL) {
if (!ERROR_OCCURRED()) {
coroutine_heap->exception_type = PyExc_StopIteration;
Py_INCREF(coroutine_heap->exception_type);
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
}
coroutine_heap->type_description_2 = "ooo";
coroutine_heap->exception_lineno = 431;
goto try_except_handler_4;
}
{
PyObject *old = coroutine_heap->tmp_listcomp$tuple_unpack_1__element_3;
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_3 = tmp_assign_source_7;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_unpack_4;
CHECK_OBJECT(coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter);
tmp_unpack_4 = coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter;
tmp_assign_source_8 = UNPACK_NEXT(tmp_unpack_4, 3, 5);
if (tmp_assign_source_8 == NULL) {
if (!ERROR_OCCURRED()) {
coroutine_heap->exception_type = PyExc_StopIteration;
Py_INCREF(coroutine_heap->exception_type);
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
}
coroutine_heap->type_description_2 = "ooo";
coroutine_heap->exception_lineno = 431;
goto try_except_handler_4;
}
{
PyObject *old = coroutine_heap->tmp_listcomp$tuple_unpack_1__element_4;
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_4 = tmp_assign_source_8;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_unpack_5;
CHECK_OBJECT(coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter);
tmp_unpack_5 = coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter;
tmp_assign_source_9 = UNPACK_NEXT(tmp_unpack_5, 4, 5);
if (tmp_assign_source_9 == NULL) {
if (!ERROR_OCCURRED()) {
coroutine_heap->exception_type = PyExc_StopIteration;
Py_INCREF(coroutine_heap->exception_type);
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
}
coroutine_heap->type_description_2 = "ooo";
coroutine_heap->exception_lineno = 431;
goto try_except_handler_4;
}
{
PyObject *old = coroutine_heap->tmp_listcomp$tuple_unpack_1__element_5;
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_5 = tmp_assign_source_9;
Py_XDECREF(old);
}
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter);
tmp_iterator_name_1 = coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
coroutine_heap->tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(coroutine_heap->tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->type_description_2 = "ooo";
coroutine_heap->exception_lineno = 431;
goto try_except_handler_4;
}
}
} else {
Py_DECREF(coroutine_heap->tmp_iterator_attempt);
coroutine_heap->exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
coroutine_heap->exception_value = mod_consts[17];
Py_INCREF(coroutine_heap->exception_value);
coroutine_heap->exception_tb = NULL;
coroutine_heap->type_description_2 = "ooo";
coroutine_heap->exception_lineno = 431;
goto try_except_handler_4;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_4:;
coroutine_heap->exception_keeper_type_1 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_1 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_1 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_1 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
CHECK_OBJECT(coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter);
Py_DECREF(coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter);
coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_1;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_1;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_1;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_1;
goto try_except_handler_3;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_3:;
coroutine_heap->exception_keeper_type_2 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_2 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_2 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_2 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_1);
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_1 = NULL;
Py_XDECREF(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_2);
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_2 = NULL;
Py_XDECREF(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_3);
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_3 = NULL;
Py_XDECREF(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_4);
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_4 = NULL;
Py_XDECREF(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_5);
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_5 = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_2;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_2;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_2;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_2;
goto try_except_handler_2;
// End of try:
try_end_2:;
CHECK_OBJECT(coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter);
Py_DECREF(coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter);
coroutine_heap->tmp_listcomp$tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_10;
CHECK_OBJECT(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_1);
tmp_assign_source_10 = coroutine_heap->tmp_listcomp$tuple_unpack_1__element_1;
{
PyObject *old = coroutine_heap->outline_0_var_fam;
coroutine_heap->outline_0_var_fam = tmp_assign_source_10;
Py_INCREF(coroutine_heap->outline_0_var_fam);
Py_XDECREF(old);
}
}
Py_XDECREF(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_1);
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_11;
CHECK_OBJECT(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_2);
tmp_assign_source_11 = coroutine_heap->tmp_listcomp$tuple_unpack_1__element_2;
{
PyObject *old = coroutine_heap->outline_0_var__;
coroutine_heap->outline_0_var__ = tmp_assign_source_11;
Py_INCREF(coroutine_heap->outline_0_var__);
Py_XDECREF(old);
}
}
Py_XDECREF(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_2);
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_2 = NULL;
{
PyObject *tmp_assign_source_12;
CHECK_OBJECT(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_3);
tmp_assign_source_12 = coroutine_heap->tmp_listcomp$tuple_unpack_1__element_3;
{
PyObject *old = coroutine_heap->outline_0_var__;
assert(old != NULL);
coroutine_heap->outline_0_var__ = tmp_assign_source_12;
Py_INCREF(coroutine_heap->outline_0_var__);
Py_DECREF(old);
}
}
Py_XDECREF(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_3);
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_3 = NULL;
{
PyObject *tmp_assign_source_13;
CHECK_OBJECT(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_4);
tmp_assign_source_13 = coroutine_heap->tmp_listcomp$tuple_unpack_1__element_4;
{
PyObject *old = coroutine_heap->outline_0_var__;
assert(old != NULL);
coroutine_heap->outline_0_var__ = tmp_assign_source_13;
Py_INCREF(coroutine_heap->outline_0_var__);
Py_DECREF(old);
}
}
Py_XDECREF(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_4);
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_4 = NULL;
{
PyObject *tmp_assign_source_14;
CHECK_OBJECT(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_5);
tmp_assign_source_14 = coroutine_heap->tmp_listcomp$tuple_unpack_1__element_5;
{
PyObject *old = coroutine_heap->outline_0_var_address;
coroutine_heap->outline_0_var_address = tmp_assign_source_14;
Py_INCREF(coroutine_heap->outline_0_var_address);
Py_XDECREF(old);
}
}
Py_XDECREF(coroutine_heap->tmp_listcomp$tuple_unpack_1__element_5);
coroutine_heap->tmp_listcomp$tuple_unpack_1__element_5 = NULL;
{
PyObject *tmp_append_list_1;
PyObject *tmp_append_value_1;
PyObject *tmp_tuple_element_1;
CHECK_OBJECT(coroutine_heap->tmp_listcomp_1__contraction);
tmp_append_list_1 = coroutine_heap->tmp_listcomp_1__contraction;
CHECK_OBJECT(coroutine_heap->outline_0_var_fam);
tmp_tuple_element_1 = coroutine_heap->outline_0_var_fam;
tmp_append_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_append_value_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(coroutine_heap->outline_0_var_address);
tmp_tuple_element_1 = coroutine_heap->outline_0_var_address;
PyTuple_SET_ITEM0(tmp_append_value_1, 1, tmp_tuple_element_1);
assert(PyList_Check(tmp_append_list_1));
coroutine_heap->tmp_result = LIST_APPEND1(tmp_append_list_1, tmp_append_value_1);
if (coroutine_heap->tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 431;
coroutine_heap->type_description_2 = "ooo";
goto try_except_handler_2;
}
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&coroutine_heap->exception_type, &coroutine_heap->exception_value, &coroutine_heap->exception_tb);
coroutine_heap->exception_lineno = 431;
coroutine_heap->type_description_2 = "ooo";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
CHECK_OBJECT(coroutine_heap->tmp_listcomp_1__contraction);
coroutine_heap->tmp_return_value = coroutine_heap->tmp_listcomp_1__contraction;
Py_INCREF(coroutine_heap->tmp_return_value);
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(coroutine_heap->tmp_listcomp_1__$0);
Py_DECREF(coroutine_heap->tmp_listcomp_1__$0);
coroutine_heap->tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(coroutine_heap->tmp_listcomp_1__contraction);
Py_DECREF(coroutine_heap->tmp_listcomp_1__contraction);
coroutine_heap->tmp_listcomp_1__contraction = NULL;
Py_XDECREF(coroutine_heap->tmp_listcomp_1__iter_value_0);
coroutine_heap->tmp_listcomp_1__iter_value_0 = NULL;
goto frame_return_exit_2;
// Exception handler code:
try_except_handler_2:;
coroutine_heap->exception_keeper_type_3 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_3 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_3 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_3 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
CHECK_OBJECT(coroutine_heap->tmp_listcomp_1__$0);
Py_DECREF(coroutine_heap->tmp_listcomp_1__$0);
coroutine_heap->tmp_listcomp_1__$0 = NULL;
CHECK_OBJECT(coroutine_heap->tmp_listcomp_1__contraction);
Py_DECREF(coroutine_heap->tmp_listcomp_1__contraction);
coroutine_heap->tmp_listcomp_1__contraction = NULL;
Py_XDECREF(coroutine_heap->tmp_listcomp_1__iter_value_0);
coroutine_heap->tmp_listcomp_1__iter_value_0 = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_3;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_3;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_3;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_3;
goto frame_exception_exit_2;
// End of try:
#if 0
RESTORE_FRAME_EXCEPTION(coroutine_heap->frame_ef0e9d45da047ced72a024a849043205_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(coroutine_heap->frame_ef0e9d45da047ced72a024a849043205_2);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_2:;
#if 0
RESTORE_FRAME_EXCEPTION(coroutine_heap->frame_ef0e9d45da047ced72a024a849043205_2);
#endif
if (coroutine_heap->exception_tb == NULL) {
coroutine_heap->exception_tb = MAKE_TRACEBACK(coroutine_heap->frame_ef0e9d45da047ced72a024a849043205_2, coroutine_heap->exception_lineno);
} else if (coroutine_heap->exception_tb->tb_frame != &coroutine_heap->frame_ef0e9d45da047ced72a024a849043205_2->m_frame) {
coroutine_heap->exception_tb = ADD_TRACEBACK(coroutine_heap->exception_tb, coroutine_heap->frame_ef0e9d45da047ced72a024a849043205_2, coroutine_heap->exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
coroutine_heap->frame_ef0e9d45da047ced72a024a849043205_2,
coroutine_heap->type_description_2,
coroutine_heap->outline_0_var_fam,
coroutine_heap->outline_0_var__,
coroutine_heap->outline_0_var_address
);
// Release cached frame if used for exception.
if (coroutine_heap->frame_ef0e9d45da047ced72a024a849043205_2 == cache_frame_ef0e9d45da047ced72a024a849043205_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ef0e9d45da047ced72a024a849043205_2);
cache_frame_ef0e9d45da047ced72a024a849043205_2 = NULL;
}
assertFrameObject(coroutine_heap->frame_ef0e9d45da047ced72a024a849043205_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:;
coroutine_heap->type_description_1 = "Nccc";
goto try_except_handler_1;
skip_nested_handling_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
Py_XDECREF(coroutine_heap->outline_0_var_fam);
coroutine_heap->outline_0_var_fam = NULL;
Py_XDECREF(coroutine_heap->outline_0_var__);
coroutine_heap->outline_0_var__ = NULL;
Py_XDECREF(coroutine_heap->outline_0_var_address);
coroutine_heap->outline_0_var_address = NULL;
goto outline_result_1;
// Exception handler code:
try_except_handler_1:;
coroutine_heap->exception_keeper_type_4 = coroutine_heap->exception_type;
coroutine_heap->exception_keeper_value_4 = coroutine_heap->exception_value;
coroutine_heap->exception_keeper_tb_4 = coroutine_heap->exception_tb;
coroutine_heap->exception_keeper_lineno_4 = coroutine_heap->exception_lineno;
coroutine_heap->exception_type = NULL;
coroutine_heap->exception_value = NULL;
coroutine_heap->exception_tb = NULL;
coroutine_heap->exception_lineno = 0;
Py_XDECREF(coroutine_heap->outline_0_var_fam);
coroutine_heap->outline_0_var_fam = NULL;
Py_XDECREF(coroutine_heap->outline_0_var__);
coroutine_heap->outline_0_var__ = NULL;
Py_XDECREF(coroutine_heap->outline_0_var_address);
coroutine_heap->outline_0_var_address = NULL;
// Re-raise.
coroutine_heap->exception_type = coroutine_heap->exception_keeper_type_4;
coroutine_heap->exception_value = coroutine_heap->exception_keeper_value_4;
coroutine_heap->exception_tb = coroutine_heap->exception_keeper_tb_4;
coroutine_heap->exception_lineno = coroutine_heap->exception_keeper_lineno_4;
goto outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
coroutine_heap->exception_lineno = 431;
goto frame_exception_exit_1;
outline_result_1:;
goto frame_return_exit_1;
Nuitka_Frame_MarkAsNotExecuting(coroutine->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(coroutine->m_frame);
goto frame_no_exception_2;
frame_return_exit_1:;
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
Py_DECREF(coroutine->m_frame);
goto function_return_exit;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(coroutine_heap->exception_type)) {
if (coroutine_heap->exception_tb == NULL) {
coroutine_heap->exception_tb = MAKE_TRACEBACK(coroutine->m_frame, coroutine_heap->exception_lineno);
} else if (coroutine_heap->exception_tb->tb_frame != &coroutine->m_frame->m_frame) {
coroutine_heap->exception_tb = ADD_TRACEBACK(coroutine_heap->exception_tb, coroutine->m_frame, coroutine_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
coroutine->m_frame,
coroutine_heap->type_description_1,
NULL,
coroutine->m_closure[1],
coroutine->m_closure[2],
coroutine->m_closure[0]
);
// Release cached frame if used for exception.
if (coroutine->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(coroutine->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(coroutine));
#endif
Py_CLEAR(EXC_VALUE_F(coroutine));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(coroutine));
#endif
#endif
Py_DECREF(coroutine->m_frame);
// Return the error.
goto function_exception_exit;
frame_no_exception_2:;
NUITKA_CANNOT_GET_HERE("Return statement must be present");
function_exception_exit:
assert(coroutine_heap->exception_type);
RESTORE_ERROR_OCCURRED(coroutine_heap->exception_type, coroutine_heap->exception_value, coroutine_heap->exception_tb);
return NULL;
function_return_exit:;
coroutine->m_returned = coroutine_heap->tmp_return_value;
return NULL;
}
static PyObject *MAKE_COROUTINE_tornado$netutil$$$function__11_resolve$$$coroutine__1_resolve(struct Nuitka_CellObject **closure) {
return Nuitka_Coroutine_New(
tornado$netutil$$$function__11_resolve$$$coroutine__1_resolve_context,
module_tornado$netutil,
mod_consts[99],
mod_consts[104],
codeobj_b50f5f2d8d9fe9bc03a0e93b0477a046,
closure,
3,
sizeof(struct tornado$netutil$$$function__11_resolve$$$coroutine__1_resolve_locals)
);
}
static PyObject *impl_tornado$netutil$$$function__12_initialize(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_executor = python_pars[1];
PyObject *par_close_executor = python_pars[2];
struct Nuitka_FrameObject *frame_bc6a4c0e1ff66864564b0fcdd371fae7;
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_bc6a4c0e1ff66864564b0fcdd371fae7 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_bc6a4c0e1ff66864564b0fcdd371fae7)) {
Py_XDECREF(cache_frame_bc6a4c0e1ff66864564b0fcdd371fae7);
#if _DEBUG_REFCOUNTS
if (cache_frame_bc6a4c0e1ff66864564b0fcdd371fae7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_bc6a4c0e1ff66864564b0fcdd371fae7 = MAKE_FUNCTION_FRAME(codeobj_bc6a4c0e1ff66864564b0fcdd371fae7, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_bc6a4c0e1ff66864564b0fcdd371fae7->m_type_description == NULL);
frame_bc6a4c0e1ff66864564b0fcdd371fae7 = cache_frame_bc6a4c0e1ff66864564b0fcdd371fae7;
// Push the new frame as the currently active one.
pushFrameStack(frame_bc6a4c0e1ff66864564b0fcdd371fae7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_bc6a4c0e1ff66864564b0fcdd371fae7) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_executor);
tmp_cmp_expr_left_1 = par_executor;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_executor);
tmp_assattr_value_1 = par_executor;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[105], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 463;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_close_executor);
tmp_assattr_value_2 = par_close_executor;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[106], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 464;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
goto branch_end_1;
branch_no_1:;
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
tmp_assattr_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[107]);
if (unlikely(tmp_assattr_value_3 == NULL)) {
tmp_assattr_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[107]);
}
if (tmp_assattr_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 466;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_self);
tmp_assattr_target_3 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[105], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 466;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
tmp_assattr_value_4 = Py_False;
CHECK_OBJECT(par_self);
tmp_assattr_target_4 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[106], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 467;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
branch_end_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bc6a4c0e1ff66864564b0fcdd371fae7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bc6a4c0e1ff66864564b0fcdd371fae7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bc6a4c0e1ff66864564b0fcdd371fae7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bc6a4c0e1ff66864564b0fcdd371fae7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bc6a4c0e1ff66864564b0fcdd371fae7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_bc6a4c0e1ff66864564b0fcdd371fae7,
type_description_1,
par_self,
par_executor,
par_close_executor
);
// Release cached frame if used for exception.
if (frame_bc6a4c0e1ff66864564b0fcdd371fae7 == cache_frame_bc6a4c0e1ff66864564b0fcdd371fae7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_bc6a4c0e1ff66864564b0fcdd371fae7);
cache_frame_bc6a4c0e1ff66864564b0fcdd371fae7 = NULL;
}
assertFrameObject(frame_bc6a4c0e1ff66864564b0fcdd371fae7);
// 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_executor);
Py_DECREF(par_executor);
CHECK_OBJECT(par_close_executor);
Py_DECREF(par_close_executor);
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_executor);
Py_DECREF(par_executor);
CHECK_OBJECT(par_close_executor);
Py_DECREF(par_close_executor);
// 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$netutil$$$function__13_close(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_c4ce0b032a2cae763e9bc36b94c5b3e4;
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;
bool tmp_result;
static struct Nuitka_FrameObject *cache_frame_c4ce0b032a2cae763e9bc36b94c5b3e4 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_c4ce0b032a2cae763e9bc36b94c5b3e4)) {
Py_XDECREF(cache_frame_c4ce0b032a2cae763e9bc36b94c5b3e4);
#if _DEBUG_REFCOUNTS
if (cache_frame_c4ce0b032a2cae763e9bc36b94c5b3e4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_c4ce0b032a2cae763e9bc36b94c5b3e4 = MAKE_FUNCTION_FRAME(codeobj_c4ce0b032a2cae763e9bc36b94c5b3e4, module_tornado$netutil, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_c4ce0b032a2cae763e9bc36b94c5b3e4->m_type_description == NULL);
frame_c4ce0b032a2cae763e9bc36b94c5b3e4 = cache_frame_c4ce0b032a2cae763e9bc36b94c5b3e4;
// Push the new frame as the currently active one.
pushFrameStack(frame_c4ce0b032a2cae763e9bc36b94c5b3e4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_c4ce0b032a2cae763e9bc36b94c5b3e4) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[106]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 470;
type_description_1 = "o";
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 = 470;
type_description_1 = "o";
goto frame_exception_exit_1;
}
tmp_condition_result_1 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
Py_DECREF(tmp_attribute_value_1);
if (tmp_condition_result_1 == NUITKA_BOOL_TRUE) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_expression_value_2 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[105]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 471;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_c4ce0b032a2cae763e9bc36b94c5b3e4->m_frame.f_lineno = 471;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[108]);
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 471;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_1:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_None;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[105], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 472;
type_description_1 = "o";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_c4ce0b032a2cae763e9bc36b94c5b3e4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_c4ce0b032a2cae763e9bc36b94c5b3e4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_c4ce0b032a2cae763e9bc36b94c5b3e4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_c4ce0b032a2cae763e9bc36b94c5b3e4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_c4ce0b032a2cae763e9bc36b94c5b3e4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_c4ce0b032a2cae763e9bc36b94c5b3e4,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_c4ce0b032a2cae763e9bc36b94c5b3e4 == cache_frame_c4ce0b032a2cae763e9bc36b94c5b3e4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_c4ce0b032a2cae763e9bc36b94c5b3e4);
cache_frame_c4ce0b032a2cae763e9bc36b94c5b3e4 = NULL;
}
assertFrameObject(frame_c4ce0b032a2cae763e9bc36b94c5b3e4);
// 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$netutil$$$function__14_resolve(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_host = python_pars[1];
PyObject *par_port = python_pars[2];
PyObject *par_family = python_pars[3];
struct Nuitka_FrameObject *frame_04dc15ca51c6d74e7a12656c7854d2c4;
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_04dc15ca51c6d74e7a12656c7854d2c4 = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_04dc15ca51c6d74e7a12656c7854d2c4)) {
Py_XDECREF(cache_frame_04dc15ca51c6d74e7a12656c7854d2c4);
#if _DEBUG_REFCOUNTS
if (cache_frame_04dc15ca51c6d74e7a12656c7854d2c4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_04dc15ca51c6d74e7a12656c7854d2c4 = MAKE_FUNCTION_FRAME(codeobj_04dc15ca51c6d74e7a12656c7854d2c4, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_04dc15ca51c6d74e7a12656c7854d2c4->m_type_description == NULL);
frame_04dc15ca51c6d74e7a12656c7854d2c4 = cache_frame_04dc15ca51c6d74e7a12656c7854d2c4;
// Push the new frame as the currently active one.
pushFrameStack(frame_04dc15ca51c6d74e7a12656c7854d2c4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_04dc15ca51c6d74e7a12656c7854d2c4) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[95]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[95]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 478;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_host);
tmp_args_element_value_1 = par_host;
CHECK_OBJECT(par_port);
tmp_args_element_value_2 = par_port;
CHECK_OBJECT(par_family);
tmp_args_element_value_3 = par_family;
frame_04dc15ca51c6d74e7a12656c7854d2c4->m_frame.f_lineno = 478;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_return_value = CALL_FUNCTION_WITH_ARGS3(tmp_called_value_1, call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 478;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_04dc15ca51c6d74e7a12656c7854d2c4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_04dc15ca51c6d74e7a12656c7854d2c4);
#endif
// Put the previous frame back on top.
popFrameStack();
goto function_return_exit;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_04dc15ca51c6d74e7a12656c7854d2c4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_04dc15ca51c6d74e7a12656c7854d2c4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_04dc15ca51c6d74e7a12656c7854d2c4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_04dc15ca51c6d74e7a12656c7854d2c4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_04dc15ca51c6d74e7a12656c7854d2c4,
type_description_1,
par_self,
par_host,
par_port,
par_family
);
// Release cached frame if used for exception.
if (frame_04dc15ca51c6d74e7a12656c7854d2c4 == cache_frame_04dc15ca51c6d74e7a12656c7854d2c4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_04dc15ca51c6d74e7a12656c7854d2c4);
cache_frame_04dc15ca51c6d74e7a12656c7854d2c4 = NULL;
}
assertFrameObject(frame_04dc15ca51c6d74e7a12656c7854d2c4);
// 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_host);
Py_DECREF(par_host);
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
CHECK_OBJECT(par_family);
Py_DECREF(par_family);
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_host);
Py_DECREF(par_host);
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
CHECK_OBJECT(par_family);
Py_DECREF(par_family);
// 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$netutil$$$function__15_initialize(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
struct Nuitka_FrameObject *frame_ceb794182175544632c2cf09b15a7b7a;
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_ceb794182175544632c2cf09b15a7b7a = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_ceb794182175544632c2cf09b15a7b7a)) {
Py_XDECREF(cache_frame_ceb794182175544632c2cf09b15a7b7a);
#if _DEBUG_REFCOUNTS
if (cache_frame_ceb794182175544632c2cf09b15a7b7a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_ceb794182175544632c2cf09b15a7b7a = MAKE_FUNCTION_FRAME(codeobj_ceb794182175544632c2cf09b15a7b7a, module_tornado$netutil, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_ceb794182175544632c2cf09b15a7b7a->m_type_description == NULL);
frame_ceb794182175544632c2cf09b15a7b7a = cache_frame_ceb794182175544632c2cf09b15a7b7a;
// Push the new frame as the currently active one.
pushFrameStack(frame_ceb794182175544632c2cf09b15a7b7a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_ceb794182175544632c2cf09b15a7b7a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[109]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 493;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
tmp_type_arg_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_called_instance_1 = BUILTIN_SUPER0(moduledict_tornado$netutil, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
frame_ceb794182175544632c2cf09b15a7b7a->m_frame.f_lineno = 493;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[110]);
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 493;
type_description_1 = "oc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_ceb794182175544632c2cf09b15a7b7a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_ceb794182175544632c2cf09b15a7b7a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_ceb794182175544632c2cf09b15a7b7a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_ceb794182175544632c2cf09b15a7b7a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_ceb794182175544632c2cf09b15a7b7a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_ceb794182175544632c2cf09b15a7b7a,
type_description_1,
par_self,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_ceb794182175544632c2cf09b15a7b7a == cache_frame_ceb794182175544632c2cf09b15a7b7a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_ceb794182175544632c2cf09b15a7b7a);
cache_frame_ceb794182175544632c2cf09b15a7b7a = NULL;
}
assertFrameObject(frame_ceb794182175544632c2cf09b15a7b7a);
// 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$netutil$$$function__16_initialize(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_num_threads = python_pars[1];
PyObject *var_threadpool = NULL;
struct Nuitka_FrameObject *frame_582cb577d1a8caceabdd04570933d541;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_frame_582cb577d1a8caceabdd04570933d541 = 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_582cb577d1a8caceabdd04570933d541)) {
Py_XDECREF(cache_frame_582cb577d1a8caceabdd04570933d541);
#if _DEBUG_REFCOUNTS
if (cache_frame_582cb577d1a8caceabdd04570933d541 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_582cb577d1a8caceabdd04570933d541 = MAKE_FUNCTION_FRAME(codeobj_582cb577d1a8caceabdd04570933d541, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_582cb577d1a8caceabdd04570933d541->m_type_description == NULL);
frame_582cb577d1a8caceabdd04570933d541 = cache_frame_582cb577d1a8caceabdd04570933d541;
// Push the new frame as the currently active one.
pushFrameStack(frame_582cb577d1a8caceabdd04570933d541);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_582cb577d1a8caceabdd04570933d541) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
PyObject *tmp_args_element_value_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[111]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[111]);
}
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 521;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_num_threads);
tmp_args_element_value_1 = par_num_threads;
frame_582cb577d1a8caceabdd04570933d541->m_frame.f_lineno = 521;
tmp_assign_source_1 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_1, mod_consts[112], tmp_args_element_value_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 521;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
assert(var_threadpool == NULL);
var_threadpool = tmp_assign_source_1;
}
{
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_type_arg_value_1;
PyObject *tmp_object_arg_value_1;
PyObject *tmp_call_result_1;
PyObject *tmp_kw_call_value_0_1;
PyObject *tmp_kw_call_value_1_1;
if (Nuitka_Cell_GET(self->m_closure[0]) == NULL) {
FORMAT_UNBOUND_CLOSURE_ERROR(&exception_type, &exception_value, mod_consts[109]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 522;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
tmp_type_arg_value_1 = Nuitka_Cell_GET(self->m_closure[0]);
CHECK_OBJECT(par_self);
tmp_object_arg_value_1 = par_self;
tmp_expression_value_1 = BUILTIN_SUPER0(moduledict_tornado$netutil, tmp_type_arg_value_1, tmp_object_arg_value_1);
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 522;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[110]);
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 = 522;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_threadpool);
tmp_kw_call_value_0_1 = var_threadpool;
tmp_kw_call_value_1_1 = Py_False;
frame_582cb577d1a8caceabdd04570933d541->m_frame.f_lineno = 522;
{
PyObject *kw_values[2] = {tmp_kw_call_value_0_1, tmp_kw_call_value_1_1};
tmp_call_result_1 = CALL_FUNCTION_WITH_NO_ARGS_KWSPLIT(tmp_called_value_1, kw_values, mod_consts[113]);
}
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 = 522;
type_description_1 = "oooc";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_582cb577d1a8caceabdd04570933d541);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_582cb577d1a8caceabdd04570933d541);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_582cb577d1a8caceabdd04570933d541, exception_lineno);
} else if (exception_tb->tb_frame != &frame_582cb577d1a8caceabdd04570933d541->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_582cb577d1a8caceabdd04570933d541, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_582cb577d1a8caceabdd04570933d541,
type_description_1,
par_self,
par_num_threads,
var_threadpool,
self->m_closure[0]
);
// Release cached frame if used for exception.
if (frame_582cb577d1a8caceabdd04570933d541 == cache_frame_582cb577d1a8caceabdd04570933d541) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_582cb577d1a8caceabdd04570933d541);
cache_frame_582cb577d1a8caceabdd04570933d541 = NULL;
}
assertFrameObject(frame_582cb577d1a8caceabdd04570933d541);
// 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_threadpool);
Py_DECREF(var_threadpool);
var_threadpool = 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_threadpool);
var_threadpool = 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_num_threads);
Py_DECREF(par_num_threads);
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_num_threads);
Py_DECREF(par_num_threads);
// 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$netutil$$$function__17__create_threadpool(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_num_threads = python_pars[1];
PyObject *var_pid = NULL;
struct Nuitka_FrameObject *frame_d18921740ff6b6cbe818cdb834d28df6;
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_d18921740ff6b6cbe818cdb834d28df6 = 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_d18921740ff6b6cbe818cdb834d28df6)) {
Py_XDECREF(cache_frame_d18921740ff6b6cbe818cdb834d28df6);
#if _DEBUG_REFCOUNTS
if (cache_frame_d18921740ff6b6cbe818cdb834d28df6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_d18921740ff6b6cbe818cdb834d28df6 = MAKE_FUNCTION_FRAME(codeobj_d18921740ff6b6cbe818cdb834d28df6, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_d18921740ff6b6cbe818cdb834d28df6->m_type_description == NULL);
frame_d18921740ff6b6cbe818cdb834d28df6 = cache_frame_d18921740ff6b6cbe818cdb834d28df6;
// Push the new frame as the currently active one.
pushFrameStack(frame_d18921740ff6b6cbe818cdb834d28df6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_d18921740ff6b6cbe818cdb834d28df6) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_instance_1;
tmp_called_instance_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[28]);
if (unlikely(tmp_called_instance_1 == NULL)) {
tmp_called_instance_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[28]);
}
assert(!(tmp_called_instance_1 == NULL));
frame_d18921740ff6b6cbe818cdb834d28df6->m_frame.f_lineno = 528;
tmp_assign_source_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[114]);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 528;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
assert(var_pid == NULL);
var_pid = tmp_assign_source_1;
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_cls);
tmp_expression_value_1 = par_cls;
tmp_cmp_expr_left_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[115]);
if (tmp_cmp_expr_left_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 529;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(var_pid);
tmp_cmp_expr_right_1 = var_pid;
tmp_condition_result_1 = RICH_COMPARE_NE_NBOOL_OBJECT_OBJECT(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 = 529;
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_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_None;
CHECK_OBJECT(par_cls);
tmp_assattr_target_1 = par_cls;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[116], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 532;
type_description_1 = "ooo";
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_2;
CHECK_OBJECT(par_cls);
tmp_expression_value_2 = par_cls;
tmp_cmp_expr_left_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[116]);
if (tmp_cmp_expr_left_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 533;
type_description_1 = "ooo";
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_assattr_value_2;
PyObject *tmp_called_instance_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_args_element_value_1;
PyObject *tmp_assattr_target_2;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[117]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[117]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
tmp_called_instance_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[118]);
if (tmp_called_instance_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_num_threads);
tmp_args_element_value_1 = par_num_threads;
frame_d18921740ff6b6cbe818cdb834d28df6->m_frame.f_lineno = 534;
tmp_assattr_value_2 = CALL_METHOD_WITH_SINGLE_ARG(tmp_called_instance_2, mod_consts[119], tmp_args_element_value_1);
Py_DECREF(tmp_called_instance_2);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 534;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_cls);
tmp_assattr_target_2 = par_cls;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[116], 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 = 534;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(var_pid);
tmp_assattr_value_3 = var_pid;
CHECK_OBJECT(par_cls);
tmp_assattr_target_3 = par_cls;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[115], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 535;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
branch_no_2:;
{
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_cls);
tmp_expression_value_4 = par_cls;
tmp_return_value = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[116]);
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 536;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_d18921740ff6b6cbe818cdb834d28df6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d18921740ff6b6cbe818cdb834d28df6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_d18921740ff6b6cbe818cdb834d28df6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_d18921740ff6b6cbe818cdb834d28df6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_d18921740ff6b6cbe818cdb834d28df6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_d18921740ff6b6cbe818cdb834d28df6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_d18921740ff6b6cbe818cdb834d28df6,
type_description_1,
par_cls,
par_num_threads,
var_pid
);
// Release cached frame if used for exception.
if (frame_d18921740ff6b6cbe818cdb834d28df6 == cache_frame_d18921740ff6b6cbe818cdb834d28df6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_d18921740ff6b6cbe818cdb834d28df6);
cache_frame_d18921740ff6b6cbe818cdb834d28df6 = NULL;
}
assertFrameObject(frame_d18921740ff6b6cbe818cdb834d28df6);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_1:;
CHECK_OBJECT(var_pid);
Py_DECREF(var_pid);
var_pid = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(var_pid);
var_pid = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_cls);
Py_DECREF(par_cls);
CHECK_OBJECT(par_num_threads);
Py_DECREF(par_num_threads);
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_num_threads);
Py_DECREF(par_num_threads);
// 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$netutil$$$function__18_initialize(struct Nuitka_FunctionObject const *self, PyObject **python_pars) {
// Preserve error status for checks
#ifndef __NUITKA_NO_ASSERT__
NUITKA_MAY_BE_UNUSED bool had_error = ERROR_OCCURRED();
#endif
// Local variable declarations.
PyObject *par_self = python_pars[0];
PyObject *par_resolver = python_pars[1];
PyObject *par_mapping = python_pars[2];
struct Nuitka_FrameObject *frame_6acf685c9c94410d13b92c29150a767a;
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_6acf685c9c94410d13b92c29150a767a = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_6acf685c9c94410d13b92c29150a767a)) {
Py_XDECREF(cache_frame_6acf685c9c94410d13b92c29150a767a);
#if _DEBUG_REFCOUNTS
if (cache_frame_6acf685c9c94410d13b92c29150a767a == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6acf685c9c94410d13b92c29150a767a = MAKE_FUNCTION_FRAME(codeobj_6acf685c9c94410d13b92c29150a767a, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6acf685c9c94410d13b92c29150a767a->m_type_description == NULL);
frame_6acf685c9c94410d13b92c29150a767a = cache_frame_6acf685c9c94410d13b92c29150a767a;
// Push the new frame as the currently active one.
pushFrameStack(frame_6acf685c9c94410d13b92c29150a767a);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6acf685c9c94410d13b92c29150a767a) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
CHECK_OBJECT(par_resolver);
tmp_assattr_value_1 = par_resolver;
CHECK_OBJECT(par_self);
tmp_assattr_target_1 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[120], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 563;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_mapping);
tmp_assattr_value_2 = par_mapping;
CHECK_OBJECT(par_self);
tmp_assattr_target_2 = par_self;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[121], tmp_assattr_value_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 564;
type_description_1 = "ooo";
goto frame_exception_exit_1;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6acf685c9c94410d13b92c29150a767a);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6acf685c9c94410d13b92c29150a767a);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6acf685c9c94410d13b92c29150a767a, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6acf685c9c94410d13b92c29150a767a->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6acf685c9c94410d13b92c29150a767a, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6acf685c9c94410d13b92c29150a767a,
type_description_1,
par_self,
par_resolver,
par_mapping
);
// Release cached frame if used for exception.
if (frame_6acf685c9c94410d13b92c29150a767a == cache_frame_6acf685c9c94410d13b92c29150a767a) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6acf685c9c94410d13b92c29150a767a);
cache_frame_6acf685c9c94410d13b92c29150a767a = NULL;
}
assertFrameObject(frame_6acf685c9c94410d13b92c29150a767a);
// 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_resolver);
Py_DECREF(par_resolver);
CHECK_OBJECT(par_mapping);
Py_DECREF(par_mapping);
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_resolver);
Py_DECREF(par_resolver);
CHECK_OBJECT(par_mapping);
Py_DECREF(par_mapping);
// 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$netutil$$$function__19_close(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_6ebbde4f41d11f61fe2a0241390dc402;
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_6ebbde4f41d11f61fe2a0241390dc402 = NULL;
PyObject *tmp_return_value = NULL;
// Actual function body.
if (isFrameUnusable(cache_frame_6ebbde4f41d11f61fe2a0241390dc402)) {
Py_XDECREF(cache_frame_6ebbde4f41d11f61fe2a0241390dc402);
#if _DEBUG_REFCOUNTS
if (cache_frame_6ebbde4f41d11f61fe2a0241390dc402 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_6ebbde4f41d11f61fe2a0241390dc402 = MAKE_FUNCTION_FRAME(codeobj_6ebbde4f41d11f61fe2a0241390dc402, module_tornado$netutil, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_6ebbde4f41d11f61fe2a0241390dc402->m_type_description == NULL);
frame_6ebbde4f41d11f61fe2a0241390dc402 = cache_frame_6ebbde4f41d11f61fe2a0241390dc402;
// Push the new frame as the currently active one.
pushFrameStack(frame_6ebbde4f41d11f61fe2a0241390dc402);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_6ebbde4f41d11f61fe2a0241390dc402) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_call_result_1;
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[120]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 567;
type_description_1 = "o";
goto frame_exception_exit_1;
}
frame_6ebbde4f41d11f61fe2a0241390dc402->m_frame.f_lineno = 567;
tmp_call_result_1 = CALL_METHOD_NO_ARGS(tmp_called_instance_1, mod_consts[48]);
Py_DECREF(tmp_called_instance_1);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 567;
type_description_1 = "o";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_6ebbde4f41d11f61fe2a0241390dc402);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_6ebbde4f41d11f61fe2a0241390dc402);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_6ebbde4f41d11f61fe2a0241390dc402, exception_lineno);
} else if (exception_tb->tb_frame != &frame_6ebbde4f41d11f61fe2a0241390dc402->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_6ebbde4f41d11f61fe2a0241390dc402, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_6ebbde4f41d11f61fe2a0241390dc402,
type_description_1,
par_self
);
// Release cached frame if used for exception.
if (frame_6ebbde4f41d11f61fe2a0241390dc402 == cache_frame_6ebbde4f41d11f61fe2a0241390dc402) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_6ebbde4f41d11f61fe2a0241390dc402);
cache_frame_6ebbde4f41d11f61fe2a0241390dc402 = NULL;
}
assertFrameObject(frame_6ebbde4f41d11f61fe2a0241390dc402);
// 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$netutil$$$function__20_resolve(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_host = python_pars[1];
PyObject *par_port = python_pars[2];
PyObject *par_family = python_pars[3];
PyObject *tmp_tuple_unpack_1__element_1 = NULL;
PyObject *tmp_tuple_unpack_1__element_2 = NULL;
PyObject *tmp_tuple_unpack_1__source_iter = NULL;
PyObject *tmp_tuple_unpack_2__element_1 = NULL;
PyObject *tmp_tuple_unpack_2__element_2 = NULL;
PyObject *tmp_tuple_unpack_2__source_iter = NULL;
struct Nuitka_FrameObject *frame_3c4e664ac6dac984d28e07234cdc43ea;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_iterator_attempt;
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_2;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
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 *tmp_return_value = NULL;
static struct Nuitka_FrameObject *cache_frame_3c4e664ac6dac984d28e07234cdc43ea = NULL;
PyObject *exception_keeper_type_5;
PyObject *exception_keeper_value_5;
PyTracebackObject *exception_keeper_tb_5;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_5;
// Actual function body.
// Tried code:
if (isFrameUnusable(cache_frame_3c4e664ac6dac984d28e07234cdc43ea)) {
Py_XDECREF(cache_frame_3c4e664ac6dac984d28e07234cdc43ea);
#if _DEBUG_REFCOUNTS
if (cache_frame_3c4e664ac6dac984d28e07234cdc43ea == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_3c4e664ac6dac984d28e07234cdc43ea = MAKE_FUNCTION_FRAME(codeobj_3c4e664ac6dac984d28e07234cdc43ea, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_3c4e664ac6dac984d28e07234cdc43ea->m_type_description == NULL);
frame_3c4e664ac6dac984d28e07234cdc43ea = cache_frame_3c4e664ac6dac984d28e07234cdc43ea;
// Push the new frame as the currently active one.
pushFrameStack(frame_3c4e664ac6dac984d28e07234cdc43ea);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_3c4e664ac6dac984d28e07234cdc43ea) == 2); // Frame stack
// Framed code:
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_host);
tmp_tuple_element_1 = par_host;
tmp_cmp_expr_left_1 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_cmp_expr_left_1, 0, tmp_tuple_element_1);
CHECK_OBJECT(par_port);
tmp_tuple_element_1 = par_port;
PyTuple_SET_ITEM0(tmp_cmp_expr_left_1, 1, tmp_tuple_element_1);
CHECK_OBJECT(par_family);
tmp_tuple_element_1 = par_family;
PyTuple_SET_ITEM0(tmp_cmp_expr_left_1, 2, tmp_tuple_element_1);
CHECK_OBJECT(par_self);
tmp_expression_value_1 = par_self;
tmp_cmp_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[121]);
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 = 572;
type_description_1 = "oooo";
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);
Py_DECREF(tmp_cmp_expr_right_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 572;
type_description_1 = "oooo";
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:;
// Tried code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_subscript_value_1;
PyObject *tmp_tuple_element_2;
CHECK_OBJECT(par_self);
tmp_expression_value_3 = par_self;
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[121]);
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 573;
type_description_1 = "oooo";
goto try_except_handler_2;
}
CHECK_OBJECT(par_host);
tmp_tuple_element_2 = par_host;
tmp_subscript_value_1 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_subscript_value_1, 0, tmp_tuple_element_2);
CHECK_OBJECT(par_port);
tmp_tuple_element_2 = par_port;
PyTuple_SET_ITEM0(tmp_subscript_value_1, 1, tmp_tuple_element_2);
CHECK_OBJECT(par_family);
tmp_tuple_element_2 = par_family;
PyTuple_SET_ITEM0(tmp_subscript_value_1, 2, tmp_tuple_element_2);
tmp_iter_arg_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_2, tmp_subscript_value_1);
Py_DECREF(tmp_expression_value_2);
Py_DECREF(tmp_subscript_value_1);
if (tmp_iter_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 573;
type_description_1 = "oooo";
goto try_except_handler_2;
}
tmp_assign_source_1 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_1);
Py_DECREF(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 573;
type_description_1 = "oooo";
goto try_except_handler_2;
}
assert(tmp_tuple_unpack_1__source_iter == NULL);
tmp_tuple_unpack_1__source_iter = tmp_assign_source_1;
}
// Tried code:
{
PyObject *tmp_assign_source_2;
PyObject *tmp_unpack_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_1 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_2 = UNPACK_NEXT(tmp_unpack_1, 0, 2);
if (tmp_assign_source_2 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooo";
exception_lineno = 573;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_1 == NULL);
tmp_tuple_unpack_1__element_1 = tmp_assign_source_2;
}
{
PyObject *tmp_assign_source_3;
PyObject *tmp_unpack_2;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_unpack_2 = tmp_tuple_unpack_1__source_iter;
tmp_assign_source_3 = UNPACK_NEXT(tmp_unpack_2, 1, 2);
if (tmp_assign_source_3 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooo";
exception_lineno = 573;
goto try_except_handler_3;
}
assert(tmp_tuple_unpack_1__element_2 == NULL);
tmp_tuple_unpack_1__element_2 = tmp_assign_source_3;
}
{
PyObject *tmp_iterator_name_1;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
tmp_iterator_name_1 = tmp_tuple_unpack_1__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_1); assert(HAS_ITERNEXT(tmp_iterator_name_1));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_1)->tp_iternext)(tmp_iterator_name_1);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 573;
goto try_except_handler_3;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[40];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooo";
exception_lineno = 573;
goto try_except_handler_3;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto try_except_handler_2;
// End of try:
try_end_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_tuple_unpack_1__source_iter);
Py_DECREF(tmp_tuple_unpack_1__source_iter);
tmp_tuple_unpack_1__source_iter = NULL;
{
PyObject *tmp_assign_source_4;
CHECK_OBJECT(tmp_tuple_unpack_1__element_1);
tmp_assign_source_4 = tmp_tuple_unpack_1__element_1;
{
PyObject *old = par_host;
assert(old != NULL);
par_host = tmp_assign_source_4;
Py_INCREF(par_host);
Py_DECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_1);
tmp_tuple_unpack_1__element_1 = NULL;
{
PyObject *tmp_assign_source_5;
CHECK_OBJECT(tmp_tuple_unpack_1__element_2);
tmp_assign_source_5 = tmp_tuple_unpack_1__element_2;
{
PyObject *old = par_port;
assert(old != NULL);
par_port = tmp_assign_source_5;
Py_INCREF(par_port);
Py_DECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_1__element_2);
tmp_tuple_unpack_1__element_2 = NULL;
goto branch_end_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
PyObject *tmp_tuple_element_3;
PyObject *tmp_expression_value_4;
CHECK_OBJECT(par_host);
tmp_tuple_element_3 = par_host;
tmp_cmp_expr_left_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_cmp_expr_left_2, 0, tmp_tuple_element_3);
CHECK_OBJECT(par_port);
tmp_tuple_element_3 = par_port;
PyTuple_SET_ITEM0(tmp_cmp_expr_left_2, 1, tmp_tuple_element_3);
CHECK_OBJECT(par_self);
tmp_expression_value_4 = par_self;
tmp_cmp_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[121]);
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 = 574;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_left_2);
Py_DECREF(tmp_cmp_expr_right_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 574;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
// Tried code:
{
PyObject *tmp_assign_source_6;
PyObject *tmp_iter_arg_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
PyObject *tmp_subscript_value_2;
PyObject *tmp_tuple_element_4;
CHECK_OBJECT(par_self);
tmp_expression_value_6 = par_self;
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[121]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 575;
type_description_1 = "oooo";
goto try_except_handler_4;
}
CHECK_OBJECT(par_host);
tmp_tuple_element_4 = par_host;
tmp_subscript_value_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_2, 0, tmp_tuple_element_4);
CHECK_OBJECT(par_port);
tmp_tuple_element_4 = par_port;
PyTuple_SET_ITEM0(tmp_subscript_value_2, 1, tmp_tuple_element_4);
tmp_iter_arg_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_5, tmp_subscript_value_2);
Py_DECREF(tmp_expression_value_5);
Py_DECREF(tmp_subscript_value_2);
if (tmp_iter_arg_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 575;
type_description_1 = "oooo";
goto try_except_handler_4;
}
tmp_assign_source_6 = MAKE_UNPACK_ITERATOR(tmp_iter_arg_2);
Py_DECREF(tmp_iter_arg_2);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 575;
type_description_1 = "oooo";
goto try_except_handler_4;
}
assert(tmp_tuple_unpack_2__source_iter == NULL);
tmp_tuple_unpack_2__source_iter = tmp_assign_source_6;
}
// Tried code:
{
PyObject *tmp_assign_source_7;
PyObject *tmp_unpack_3;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_3 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_7 = UNPACK_NEXT(tmp_unpack_3, 0, 2);
if (tmp_assign_source_7 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooo";
exception_lineno = 575;
goto try_except_handler_5;
}
assert(tmp_tuple_unpack_2__element_1 == NULL);
tmp_tuple_unpack_2__element_1 = tmp_assign_source_7;
}
{
PyObject *tmp_assign_source_8;
PyObject *tmp_unpack_4;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_unpack_4 = tmp_tuple_unpack_2__source_iter;
tmp_assign_source_8 = UNPACK_NEXT(tmp_unpack_4, 1, 2);
if (tmp_assign_source_8 == NULL) {
if (!ERROR_OCCURRED()) {
exception_type = PyExc_StopIteration;
Py_INCREF(exception_type);
exception_value = NULL;
exception_tb = NULL;
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
}
type_description_1 = "oooo";
exception_lineno = 575;
goto try_except_handler_5;
}
assert(tmp_tuple_unpack_2__element_2 == NULL);
tmp_tuple_unpack_2__element_2 = tmp_assign_source_8;
}
{
PyObject *tmp_iterator_name_2;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
tmp_iterator_name_2 = tmp_tuple_unpack_2__source_iter;
// Check if iterator has left-over elements.
CHECK_OBJECT(tmp_iterator_name_2); assert(HAS_ITERNEXT(tmp_iterator_name_2));
tmp_iterator_attempt = (*Py_TYPE(tmp_iterator_name_2)->tp_iternext)(tmp_iterator_name_2);
if (likely(tmp_iterator_attempt == NULL)) {
PyObject *error = GET_ERROR_OCCURRED();
if (error != NULL) {
if (EXCEPTION_MATCH_BOOL_SINGLE(error, PyExc_StopIteration)) {
CLEAR_ERROR_OCCURRED();
} else {
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
exception_lineno = 575;
goto try_except_handler_5;
}
}
} else {
Py_DECREF(tmp_iterator_attempt);
exception_type = PyExc_ValueError;
Py_INCREF(PyExc_ValueError);
exception_value = mod_consts[40];
Py_INCREF(exception_value);
exception_tb = NULL;
type_description_1 = "oooo";
exception_lineno = 575;
goto try_except_handler_5;
}
}
goto try_end_3;
// Exception handler code:
try_except_handler_5:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
Py_DECREF(tmp_tuple_unpack_2__source_iter);
tmp_tuple_unpack_2__source_iter = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto try_except_handler_4;
// End of try:
try_end_3:;
goto try_end_4;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(tmp_tuple_unpack_2__source_iter);
Py_DECREF(tmp_tuple_unpack_2__source_iter);
tmp_tuple_unpack_2__source_iter = NULL;
{
PyObject *tmp_assign_source_9;
CHECK_OBJECT(tmp_tuple_unpack_2__element_1);
tmp_assign_source_9 = tmp_tuple_unpack_2__element_1;
{
PyObject *old = par_host;
assert(old != NULL);
par_host = tmp_assign_source_9;
Py_INCREF(par_host);
Py_DECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_2__element_1);
tmp_tuple_unpack_2__element_1 = NULL;
{
PyObject *tmp_assign_source_10;
CHECK_OBJECT(tmp_tuple_unpack_2__element_2);
tmp_assign_source_10 = tmp_tuple_unpack_2__element_2;
{
PyObject *old = par_port;
assert(old != NULL);
par_port = tmp_assign_source_10;
Py_INCREF(par_port);
Py_DECREF(old);
}
}
Py_XDECREF(tmp_tuple_unpack_2__element_2);
tmp_tuple_unpack_2__element_2 = NULL;
goto branch_end_2;
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
PyObject *tmp_expression_value_7;
CHECK_OBJECT(par_host);
tmp_cmp_expr_left_3 = par_host;
CHECK_OBJECT(par_self);
tmp_expression_value_7 = par_self;
tmp_cmp_expr_right_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[121]);
if (tmp_cmp_expr_right_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 576;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = PySequence_Contains(tmp_cmp_expr_right_3, tmp_cmp_expr_left_3);
Py_DECREF(tmp_cmp_expr_right_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 576;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_3 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_assign_source_11;
PyObject *tmp_expression_value_8;
PyObject *tmp_expression_value_9;
PyObject *tmp_subscript_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_9 = par_self;
tmp_expression_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[121]);
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_host);
tmp_subscript_value_3 = par_host;
tmp_assign_source_11 = LOOKUP_SUBSCRIPT(tmp_expression_value_8, tmp_subscript_value_3);
Py_DECREF(tmp_expression_value_8);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 577;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = par_host;
assert(old != NULL);
par_host = tmp_assign_source_11;
Py_DECREF(old);
}
}
branch_no_3:;
branch_end_2:;
branch_end_1:;
{
PyObject *tmp_called_instance_1;
PyObject *tmp_expression_value_10;
PyObject *tmp_args_element_value_1;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
CHECK_OBJECT(par_self);
tmp_expression_value_10 = par_self;
tmp_called_instance_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[120]);
if (tmp_called_instance_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 578;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_host);
tmp_args_element_value_1 = par_host;
CHECK_OBJECT(par_port);
tmp_args_element_value_2 = par_port;
CHECK_OBJECT(par_family);
tmp_args_element_value_3 = par_family;
frame_3c4e664ac6dac984d28e07234cdc43ea->m_frame.f_lineno = 578;
{
PyObject *call_args[] = {tmp_args_element_value_1, tmp_args_element_value_2, tmp_args_element_value_3};
tmp_return_value = CALL_METHOD_WITH_ARGS3(
tmp_called_instance_1,
mod_consts[99],
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 = 578;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_3c4e664ac6dac984d28e07234cdc43ea);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3c4e664ac6dac984d28e07234cdc43ea);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_3c4e664ac6dac984d28e07234cdc43ea);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_3c4e664ac6dac984d28e07234cdc43ea, exception_lineno);
} else if (exception_tb->tb_frame != &frame_3c4e664ac6dac984d28e07234cdc43ea->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_3c4e664ac6dac984d28e07234cdc43ea, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_3c4e664ac6dac984d28e07234cdc43ea,
type_description_1,
par_self,
par_host,
par_port,
par_family
);
// Release cached frame if used for exception.
if (frame_3c4e664ac6dac984d28e07234cdc43ea == cache_frame_3c4e664ac6dac984d28e07234cdc43ea) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_3c4e664ac6dac984d28e07234cdc43ea);
cache_frame_3c4e664ac6dac984d28e07234cdc43ea = NULL;
}
assertFrameObject(frame_3c4e664ac6dac984d28e07234cdc43ea);
// 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(par_host);
Py_DECREF(par_host);
par_host = NULL;
CHECK_OBJECT(par_port);
Py_DECREF(par_port);
par_port = NULL;
goto function_return_exit;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_5 = exception_type;
exception_keeper_value_5 = exception_value;
exception_keeper_tb_5 = exception_tb;
exception_keeper_lineno_5 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(par_host);
par_host = NULL;
Py_XDECREF(par_port);
par_port = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto function_exception_exit;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
function_exception_exit:
CHECK_OBJECT(par_self);
Py_DECREF(par_self);
CHECK_OBJECT(par_family);
Py_DECREF(par_family);
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_family);
Py_DECREF(par_family);
// 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$netutil$$$function__21_ssl_options_to_context(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_ssl_options = python_pars[0];
PyObject *par_server_side = python_pars[1];
PyObject *var_default_version = NULL;
PyObject *var_context = NULL;
PyObject *tmp_genexpr_1__$0 = NULL;
PyObject *tmp_inplace_assign_1__value = NULL;
struct Nuitka_FrameObject *frame_dd57a8bcabfa10e5ec172df6e1c738cd;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
int tmp_res;
PyObject *tmp_return_value = NULL;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
bool tmp_result;
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_dd57a8bcabfa10e5ec172df6e1c738cd = 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_dd57a8bcabfa10e5ec172df6e1c738cd)) {
Py_XDECREF(cache_frame_dd57a8bcabfa10e5ec172df6e1c738cd);
#if _DEBUG_REFCOUNTS
if (cache_frame_dd57a8bcabfa10e5ec172df6e1c738cd == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_dd57a8bcabfa10e5ec172df6e1c738cd = MAKE_FUNCTION_FRAME(codeobj_dd57a8bcabfa10e5ec172df6e1c738cd, module_tornado$netutil, sizeof(void *)+sizeof(void *)+sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_dd57a8bcabfa10e5ec172df6e1c738cd->m_type_description == NULL);
frame_dd57a8bcabfa10e5ec172df6e1c738cd = cache_frame_dd57a8bcabfa10e5ec172df6e1c738cd;
// Push the new frame as the currently active one.
pushFrameStack(frame_dd57a8bcabfa10e5ec172df6e1c738cd);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_dd57a8bcabfa10e5ec172df6e1c738cd) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_isinstance_inst_1;
PyObject *tmp_isinstance_cls_1;
PyObject *tmp_expression_value_1;
CHECK_OBJECT(par_ssl_options);
tmp_isinstance_inst_1 = par_ssl_options;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 609;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_isinstance_cls_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[123]);
if (tmp_isinstance_cls_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 609;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_1, tmp_isinstance_cls_1);
Py_DECREF(tmp_isinstance_cls_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 609;
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:;
CHECK_OBJECT(par_ssl_options);
tmp_return_value = par_ssl_options;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
branch_no_1:;
{
bool tmp_condition_result_2;
PyObject *tmp_operand_value_1;
PyObject *tmp_isinstance_inst_2;
PyObject *tmp_isinstance_cls_2;
CHECK_OBJECT(par_ssl_options);
tmp_isinstance_inst_2 = par_ssl_options;
tmp_isinstance_cls_2 = (PyObject *)&PyDict_Type;
tmp_res = PyObject_IsInstance(tmp_isinstance_inst_2, tmp_isinstance_cls_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 611;
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 = 611;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_2 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_2 != false) {
goto branch_yes_2;
} else {
goto branch_no_2;
}
}
branch_yes_2:;
{
PyObject *tmp_raise_type_1;
tmp_raise_type_1 = PyExc_AssertionError;
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_lineno = 611;
RAISE_EXCEPTION_WITH_TYPE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_2:;
{
bool tmp_condition_result_3;
PyObject *tmp_operand_value_2;
PyObject *tmp_all_arg_1;
{
PyObject *tmp_assign_source_1;
PyObject *tmp_iter_arg_1;
CHECK_OBJECT(par_ssl_options);
tmp_iter_arg_1 = par_ssl_options;
tmp_assign_source_1 = MAKE_ITERATOR(tmp_iter_arg_1);
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 612;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_genexpr_1__$0 == NULL);
tmp_genexpr_1__$0 = tmp_assign_source_1;
}
// Tried code:
{
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_closure_1[0] = Nuitka_Cell_New0(tmp_genexpr_1__$0);
tmp_all_arg_1 = MAKE_GENERATOR_tornado$netutil$$$function__21_ssl_options_to_context$$$genexpr__1_genexpr(tmp_closure_1);
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_genexpr_1__$0);
Py_DECREF(tmp_genexpr_1__$0);
tmp_genexpr_1__$0 = NULL;
goto outline_result_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_result_1:;
tmp_operand_value_2 = BUILTIN_ALL(tmp_all_arg_1);
Py_DECREF(tmp_all_arg_1);
if (tmp_operand_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 612;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_res = CHECK_IF_TRUE(tmp_operand_value_2);
Py_DECREF(tmp_operand_value_2);
assert(!(tmp_res == -1));
tmp_condition_result_3 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_3 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
{
PyObject *tmp_raise_type_2;
PyObject *tmp_raise_value_1;
PyObject *tmp_tuple_element_1;
tmp_raise_type_2 = PyExc_AssertionError;
CHECK_OBJECT(par_ssl_options);
tmp_tuple_element_1 = par_ssl_options;
tmp_raise_value_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_raise_value_1, 0, tmp_tuple_element_1);
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_1;
exception_lineno = 612;
RAISE_EXCEPTION_WITH_VALUE(&exception_type, &exception_value, &exception_tb);
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
branch_no_3:;
{
PyObject *tmp_assign_source_2;
PyObject *tmp_expression_value_2;
tmp_expression_value_2 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_2 == NULL)) {
tmp_expression_value_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 615;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[124]);
if (tmp_assign_source_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 615;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_default_version == NULL);
var_default_version = tmp_assign_source_2;
}
{
nuitka_bool tmp_condition_result_4;
int tmp_truth_name_1;
CHECK_OBJECT(par_server_side);
tmp_truth_name_1 = CHECK_IF_TRUE(par_server_side);
if (tmp_truth_name_1 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 616;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_4 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_4 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_3;
PyObject *tmp_expression_value_3;
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[125]);
if (tmp_assign_source_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 617;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_default_version;
assert(old != NULL);
var_default_version = tmp_assign_source_3;
Py_DECREF(old);
}
}
goto branch_end_4;
branch_no_4:;
{
bool tmp_condition_result_5;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_server_side);
tmp_cmp_expr_left_1 = par_server_side;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_5 = (tmp_cmp_expr_left_1 != tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
PyObject *tmp_assign_source_4;
PyObject *tmp_expression_value_4;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 619;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assign_source_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[126]);
if (tmp_assign_source_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 619;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
{
PyObject *old = var_default_version;
assert(old != NULL);
var_default_version = tmp_assign_source_4;
Py_DECREF(old);
}
}
branch_no_5:;
branch_end_4:;
{
PyObject *tmp_assign_source_5;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_5;
PyObject *tmp_args_element_value_1;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_6;
PyObject *tmp_args_element_value_2;
PyObject *tmp_args_element_value_3;
tmp_expression_value_5 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_5 == NULL)) {
tmp_expression_value_5 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 620;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[123]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 620;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_ssl_options);
tmp_expression_value_6 = par_ssl_options;
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[127]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 620;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = mod_consts[128];
CHECK_OBJECT(var_default_version);
tmp_args_element_value_3 = var_default_version;
frame_dd57a8bcabfa10e5ec172df6e1c738cd->m_frame.f_lineno = 620;
{
PyObject *call_args[] = {tmp_args_element_value_2, tmp_args_element_value_3};
tmp_args_element_value_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_2, call_args);
}
Py_DECREF(tmp_called_value_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 = 620;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_dd57a8bcabfa10e5ec172df6e1c738cd->m_frame.f_lineno = 620;
tmp_assign_source_5 = 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_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 620;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(var_context == NULL);
var_context = tmp_assign_source_5;
}
{
bool tmp_condition_result_6;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
tmp_cmp_expr_left_2 = mod_consts[129];
CHECK_OBJECT(par_ssl_options);
tmp_cmp_expr_right_2 = par_ssl_options;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_2, tmp_cmp_expr_left_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 621;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_6 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_6 != false) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
{
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_7;
PyObject *tmp_call_result_1;
PyObject *tmp_args_element_value_4;
PyObject *tmp_expression_value_8;
PyObject *tmp_subscript_value_1;
PyObject *tmp_args_element_value_5;
PyObject *tmp_called_value_4;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(var_context);
tmp_expression_value_7 = var_context;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_7, mod_consts[130]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 622;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_ssl_options);
tmp_expression_value_8 = par_ssl_options;
tmp_subscript_value_1 = mod_consts[129];
tmp_args_element_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_8, tmp_subscript_value_1);
if (tmp_args_element_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
exception_lineno = 623;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_ssl_options);
tmp_expression_value_9 = par_ssl_options;
tmp_called_value_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[127]);
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_4);
exception_lineno = 623;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_dd57a8bcabfa10e5ec172df6e1c738cd->m_frame.f_lineno = 623;
tmp_args_element_value_5 = CALL_FUNCTION_WITH_POSARGS2(tmp_called_value_4, mod_consts[131]);
Py_DECREF(tmp_called_value_4);
if (tmp_args_element_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_4);
exception_lineno = 623;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_dd57a8bcabfa10e5ec172df6e1c738cd->m_frame.f_lineno = 622;
{
PyObject *call_args[] = {tmp_args_element_value_4, tmp_args_element_value_5};
tmp_call_result_1 = CALL_FUNCTION_WITH_ARGS2(tmp_called_value_3, call_args);
}
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_element_value_4);
Py_DECREF(tmp_args_element_value_5);
if (tmp_call_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 622;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_1);
}
branch_no_6:;
{
bool tmp_condition_result_7;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
tmp_cmp_expr_left_3 = mod_consts[132];
CHECK_OBJECT(par_ssl_options);
tmp_cmp_expr_right_3 = par_ssl_options;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_3, tmp_cmp_expr_left_3);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 625;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_7 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
PyObject *tmp_expression_value_10;
PyObject *tmp_subscript_value_2;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(par_ssl_options);
tmp_expression_value_10 = par_ssl_options;
tmp_subscript_value_2 = mod_consts[132];
tmp_cmp_expr_left_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_10, tmp_subscript_value_2);
if (tmp_cmp_expr_left_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 626;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_4);
exception_lineno = 626;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_cmp_expr_right_4 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[133]);
if (tmp_cmp_expr_right_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_cmp_expr_left_4);
exception_lineno = 626;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_8 = RICH_COMPARE_EQ_NBOOL_OBJECT_OBJECT(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
Py_DECREF(tmp_cmp_expr_left_4);
Py_DECREF(tmp_cmp_expr_right_4);
if (tmp_condition_result_8 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 626;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = Py_False;
if (var_context == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[134]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 629;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_1 = var_context;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[135], tmp_assattr_value_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 629;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
branch_no_8:;
{
PyObject *tmp_assattr_value_2;
PyObject *tmp_expression_value_12;
PyObject *tmp_subscript_value_3;
PyObject *tmp_assattr_target_2;
CHECK_OBJECT(par_ssl_options);
tmp_expression_value_12 = par_ssl_options;
tmp_subscript_value_3 = mod_consts[132];
tmp_assattr_value_2 = LOOKUP_SUBSCRIPT(tmp_expression_value_12, tmp_subscript_value_3);
if (tmp_assattr_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 630;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
if (var_context == NULL) {
Py_DECREF(tmp_assattr_value_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[134]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 630;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_assattr_target_2 = var_context;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[136], 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 = 630;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
}
branch_no_7:;
{
bool tmp_condition_result_9;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
tmp_cmp_expr_left_5 = mod_consts[137];
CHECK_OBJECT(par_ssl_options);
tmp_cmp_expr_right_5 = par_ssl_options;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_5, tmp_cmp_expr_left_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 631;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_9 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_9 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
PyObject *tmp_called_value_5;
PyObject *tmp_expression_value_13;
PyObject *tmp_call_result_2;
PyObject *tmp_args_element_value_6;
PyObject *tmp_expression_value_14;
PyObject *tmp_subscript_value_4;
if (var_context == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[134]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 632;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_13 = var_context;
tmp_called_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_13, mod_consts[138]);
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 632;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_ssl_options);
tmp_expression_value_14 = par_ssl_options;
tmp_subscript_value_4 = mod_consts[137];
tmp_args_element_value_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_14, tmp_subscript_value_4);
if (tmp_args_element_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 632;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_dd57a8bcabfa10e5ec172df6e1c738cd->m_frame.f_lineno = 632;
tmp_call_result_2 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_6);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_6);
if (tmp_call_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 632;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_2);
}
branch_no_9:;
{
bool tmp_condition_result_10;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
tmp_cmp_expr_left_6 = mod_consts[139];
CHECK_OBJECT(par_ssl_options);
tmp_cmp_expr_right_6 = par_ssl_options;
tmp_res = PySequence_Contains(tmp_cmp_expr_right_6, tmp_cmp_expr_left_6);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 633;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_10 = (tmp_res == 1) ? true : false;
if (tmp_condition_result_10 != false) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
{
PyObject *tmp_called_value_6;
PyObject *tmp_expression_value_15;
PyObject *tmp_call_result_3;
PyObject *tmp_args_element_value_7;
PyObject *tmp_expression_value_16;
PyObject *tmp_subscript_value_5;
if (var_context == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[134]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 634;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_15 = var_context;
tmp_called_value_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_15, mod_consts[140]);
if (tmp_called_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_ssl_options);
tmp_expression_value_16 = par_ssl_options;
tmp_subscript_value_5 = mod_consts[139];
tmp_args_element_value_7 = LOOKUP_SUBSCRIPT(tmp_expression_value_16, tmp_subscript_value_5);
if (tmp_args_element_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_6);
exception_lineno = 634;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
frame_dd57a8bcabfa10e5ec172df6e1c738cd->m_frame.f_lineno = 634;
tmp_call_result_3 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_6, tmp_args_element_value_7);
Py_DECREF(tmp_called_value_6);
Py_DECREF(tmp_args_element_value_7);
if (tmp_call_result_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 634;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
Py_DECREF(tmp_call_result_3);
}
branch_no_10:;
{
nuitka_bool tmp_condition_result_11;
PyObject *tmp_expression_value_17;
PyObject *tmp_attribute_value_1;
tmp_expression_value_17 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_17 == NULL)) {
tmp_expression_value_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 635;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = mod_consts[141];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_17, tmp_attribute_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 635;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_condition_result_11 = (tmp_res != 0) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_11 == NUITKA_BOOL_TRUE) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
{
PyObject *tmp_assign_source_6;
PyObject *tmp_expression_value_18;
if (var_context == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[134]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 640;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_expression_value_18 = var_context;
tmp_assign_source_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_18, mod_consts[142]);
if (tmp_assign_source_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 640;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
assert(tmp_inplace_assign_1__value == NULL);
tmp_inplace_assign_1__value = tmp_assign_source_6;
}
// Tried code:
{
PyObject *tmp_assign_source_7;
PyObject *tmp_ibitor_expr_left_1;
PyObject *tmp_ibitor_expr_right_1;
PyObject *tmp_expression_value_19;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_ibitor_expr_left_1 = tmp_inplace_assign_1__value;
tmp_expression_value_19 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_19 == NULL)) {
tmp_expression_value_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 640;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_ibitor_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[141]);
if (tmp_ibitor_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 640;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_result = INPLACE_OPERATION_BITOR_OBJECT_OBJECT(&tmp_ibitor_expr_left_1, tmp_ibitor_expr_right_1);
Py_DECREF(tmp_ibitor_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 640;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_assign_source_7 = tmp_ibitor_expr_left_1;
tmp_inplace_assign_1__value = tmp_assign_source_7;
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_assattr_value_3 = tmp_inplace_assign_1__value;
if (var_context == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[134]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 640;
type_description_1 = "oooo";
goto try_except_handler_3;
}
tmp_assattr_target_3 = var_context;
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[142], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 640;
type_description_1 = "oooo";
goto try_except_handler_3;
}
}
goto try_end_1;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__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 frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
branch_no_11:;
if (var_context == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[134]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 641;
type_description_1 = "oooo";
goto frame_exception_exit_1;
}
tmp_return_value = var_context;
Py_INCREF(tmp_return_value);
goto frame_return_exit_1;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dd57a8bcabfa10e5ec172df6e1c738cd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dd57a8bcabfa10e5ec172df6e1c738cd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_dd57a8bcabfa10e5ec172df6e1c738cd);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_dd57a8bcabfa10e5ec172df6e1c738cd, exception_lineno);
} else if (exception_tb->tb_frame != &frame_dd57a8bcabfa10e5ec172df6e1c738cd->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_dd57a8bcabfa10e5ec172df6e1c738cd, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_dd57a8bcabfa10e5ec172df6e1c738cd,
type_description_1,
par_ssl_options,
par_server_side,
var_default_version,
var_context
);
// Release cached frame if used for exception.
if (frame_dd57a8bcabfa10e5ec172df6e1c738cd == cache_frame_dd57a8bcabfa10e5ec172df6e1c738cd) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_dd57a8bcabfa10e5ec172df6e1c738cd);
cache_frame_dd57a8bcabfa10e5ec172df6e1c738cd = NULL;
}
assertFrameObject(frame_dd57a8bcabfa10e5ec172df6e1c738cd);
// 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_default_version);
var_default_version = NULL;
Py_XDECREF(var_context);
var_context = 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_default_version);
var_default_version = NULL;
Py_XDECREF(var_context);
var_context = 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_ssl_options);
Py_DECREF(par_ssl_options);
CHECK_OBJECT(par_server_side);
Py_DECREF(par_server_side);
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_ssl_options);
Py_DECREF(par_ssl_options);
CHECK_OBJECT(par_server_side);
Py_DECREF(par_server_side);
// 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;
}
struct tornado$netutil$$$function__21_ssl_options_to_context$$$genexpr__1_genexpr_locals {
PyObject *var_k;
PyObject *tmp_iter_value_0;
char const *type_description_1;
PyObject *exception_type;
PyObject *exception_value;
PyTracebackObject *exception_tb;
int exception_lineno;
int tmp_res;
char yield_tmps[1024];
PyObject *exception_keeper_type_1;
PyObject *exception_keeper_value_1;
PyTracebackObject *exception_keeper_tb_1;
int exception_keeper_lineno_1;
PyObject *exception_keeper_type_2;
PyObject *exception_keeper_value_2;
PyTracebackObject *exception_keeper_tb_2;
int exception_keeper_lineno_2;
};
static PyObject *tornado$netutil$$$function__21_ssl_options_to_context$$$genexpr__1_genexpr_context(struct Nuitka_GeneratorObject *generator, PyObject *yield_return_value) {
CHECK_OBJECT(generator);
assert(Nuitka_Generator_Check((PyObject *)generator));
CHECK_OBJECT_X(yield_return_value);
// Heap access if used.
struct tornado$netutil$$$function__21_ssl_options_to_context$$$genexpr__1_genexpr_locals *generator_heap = (struct tornado$netutil$$$function__21_ssl_options_to_context$$$genexpr__1_genexpr_locals *)generator->m_heap_storage;
// Dispatch to yield based on return label index:
switch(generator->m_yield_return_index) {
case 1: goto yield_return_1;
}
// Local variable initialization
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
static struct Nuitka_FrameObject *cache_m_frame = NULL;
generator_heap->var_k = NULL;
generator_heap->tmp_iter_value_0 = NULL;
generator_heap->type_description_1 = NULL;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
// Actual generator function body.
// Tried code:
if (isFrameUnusable(cache_m_frame)) {
Py_XDECREF(cache_m_frame);
#if _DEBUG_REFCOUNTS
if (cache_m_frame == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_m_frame = MAKE_FUNCTION_FRAME(codeobj_d13a3639587f44ba644dd57ae5567b8a, module_tornado$netutil, sizeof(void *)+sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
generator->m_frame = cache_m_frame;
// Mark the frame object as in use, ref count 1 will be up for reuse.
Py_INCREF(generator->m_frame);
assert(Py_REFCNT(generator->m_frame) == 2); // Frame stack
#if PYTHON_VERSION >= 0x340
Nuitka_SetFrameGenerator(generator->m_frame, (PyObject *)generator);
#endif
assert(generator->m_frame->m_frame.f_back == NULL);
pushFrameStack(generator->m_frame);
// Taking a reference prevents reuse of generator frame while it is being used.
Py_INCREF(generator->m_frame->m_frame.f_back);
#if PYTHON_VERSION >= 0x300
// Accept currently existing exception as the one to publish again when we
// yield or yield from.
{
PyThreadState *thread_state = PyThreadState_GET();
#if PYTHON_VERSION < 0x3b0
EXC_TYPE_F(generator) = EXC_TYPE(thread_state);
if (EXC_TYPE_F(generator) == Py_None) EXC_TYPE_F(generator) = NULL;
Py_XINCREF(EXC_TYPE_F(generator));
#endif
EXC_VALUE_F(generator) = EXC_VALUE(thread_state);
Py_XINCREF(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
ASSIGN_EXC_TRACEBACK_F(generator, EXC_TRACEBACK(thread_state));
Py_XINCREF(EXC_TRACEBACK_F(generator));
#endif
}
#endif
// Framed code:
// Tried code:
loop_start_1:;
{
PyObject *tmp_next_source_1;
PyObject *tmp_assign_source_1;
CHECK_OBJECT(Nuitka_Cell_GET(generator->m_closure[0]));
tmp_next_source_1 = Nuitka_Cell_GET(generator->m_closure[0]);
tmp_assign_source_1 = ITERATOR_NEXT(tmp_next_source_1);
if (tmp_assign_source_1 == NULL) {
if (CHECK_AND_CLEAR_STOP_ITERATION_OCCURRED()) {
goto loop_end_1;
} else {
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->type_description_1 = "No";
generator_heap->exception_lineno = 612;
goto try_except_handler_2;
}
}
{
PyObject *old = generator_heap->tmp_iter_value_0;
generator_heap->tmp_iter_value_0 = tmp_assign_source_1;
Py_XDECREF(old);
}
}
{
PyObject *tmp_assign_source_2;
CHECK_OBJECT(generator_heap->tmp_iter_value_0);
tmp_assign_source_2 = generator_heap->tmp_iter_value_0;
{
PyObject *old = generator_heap->var_k;
generator_heap->var_k = tmp_assign_source_2;
Py_INCREF(generator_heap->var_k);
Py_XDECREF(old);
}
}
{
PyObject *tmp_expression_value_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
NUITKA_MAY_BE_UNUSED PyObject *tmp_yield_result_1;
CHECK_OBJECT(generator_heap->var_k);
tmp_cmp_expr_left_1 = generator_heap->var_k;
tmp_cmp_expr_right_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[144]);
if (unlikely(tmp_cmp_expr_right_1 == NULL)) {
tmp_cmp_expr_right_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[144]);
}
if (tmp_cmp_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 612;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
generator_heap->tmp_res = PySequence_Contains(tmp_cmp_expr_right_1, tmp_cmp_expr_left_1);
if (generator_heap->tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 612;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
tmp_expression_value_1 = (generator_heap->tmp_res == 1) ? Py_True : Py_False;
Py_INCREF(tmp_expression_value_1);
Nuitka_PreserveHeap(generator_heap->yield_tmps, &tmp_cmp_expr_left_1, sizeof(PyObject *), &tmp_cmp_expr_right_1, sizeof(PyObject *), NULL);
generator->m_yield_return_index = 1;
return tmp_expression_value_1;
yield_return_1:
Nuitka_RestoreHeap(generator_heap->yield_tmps, &tmp_cmp_expr_left_1, sizeof(PyObject *), &tmp_cmp_expr_right_1, sizeof(PyObject *), NULL);
if (yield_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 612;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
tmp_yield_result_1 = yield_return_value;
}
if (CONSIDER_THREADING() == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&generator_heap->exception_type, &generator_heap->exception_value, &generator_heap->exception_tb);
generator_heap->exception_lineno = 612;
generator_heap->type_description_1 = "No";
goto try_except_handler_2;
}
goto loop_start_1;
loop_end_1:;
goto try_end_1;
// Exception handler code:
try_except_handler_2:;
generator_heap->exception_keeper_type_1 = generator_heap->exception_type;
generator_heap->exception_keeper_value_1 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_1 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_1 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_1;
generator_heap->exception_value = generator_heap->exception_keeper_value_1;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_1;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
Nuitka_Frame_MarkAsNotExecuting(generator->m_frame);
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
// Allow re-use of the frame again.
Py_DECREF(generator->m_frame);
goto frame_no_exception_1;
frame_exception_exit_1:;
// If it's not an exit exception, consider and create a traceback for it.
if (!EXCEPTION_MATCH_GENERATOR(generator_heap->exception_type)) {
if (generator_heap->exception_tb == NULL) {
generator_heap->exception_tb = MAKE_TRACEBACK(generator->m_frame, generator_heap->exception_lineno);
} else if (generator_heap->exception_tb->tb_frame != &generator->m_frame->m_frame) {
generator_heap->exception_tb = ADD_TRACEBACK(generator_heap->exception_tb, generator->m_frame, generator_heap->exception_lineno);
}
Nuitka_Frame_AttachLocals(
generator->m_frame,
generator_heap->type_description_1,
NULL,
generator_heap->var_k
);
// Release cached frame if used for exception.
if (generator->m_frame == cache_m_frame) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_m_frame);
cache_m_frame = NULL;
}
assertFrameObject(generator->m_frame);
}
#if PYTHON_VERSION >= 0x300
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TYPE_F(generator));
#endif
Py_CLEAR(EXC_VALUE_F(generator));
#if PYTHON_VERSION < 0x3b0
Py_CLEAR(EXC_TRACEBACK_F(generator));
#endif
#endif
Py_DECREF(generator->m_frame);
// Return the error.
goto try_except_handler_1;
frame_no_exception_1:;
goto try_end_2;
// Exception handler code:
try_except_handler_1:;
generator_heap->exception_keeper_type_2 = generator_heap->exception_type;
generator_heap->exception_keeper_value_2 = generator_heap->exception_value;
generator_heap->exception_keeper_tb_2 = generator_heap->exception_tb;
generator_heap->exception_keeper_lineno_2 = generator_heap->exception_lineno;
generator_heap->exception_type = NULL;
generator_heap->exception_value = NULL;
generator_heap->exception_tb = NULL;
generator_heap->exception_lineno = 0;
Py_XDECREF(generator_heap->var_k);
generator_heap->var_k = NULL;
// Re-raise.
generator_heap->exception_type = generator_heap->exception_keeper_type_2;
generator_heap->exception_value = generator_heap->exception_keeper_value_2;
generator_heap->exception_tb = generator_heap->exception_keeper_tb_2;
generator_heap->exception_lineno = generator_heap->exception_keeper_lineno_2;
goto function_exception_exit;
// End of try:
try_end_2:;
Py_XDECREF(generator_heap->tmp_iter_value_0);
generator_heap->tmp_iter_value_0 = NULL;
Py_XDECREF(generator_heap->var_k);
generator_heap->var_k = NULL;
return NULL;
function_exception_exit:
assert(generator_heap->exception_type);
RESTORE_ERROR_OCCURRED(generator_heap->exception_type, generator_heap->exception_value, generator_heap->exception_tb);
return NULL;
}
static PyObject *MAKE_GENERATOR_tornado$netutil$$$function__21_ssl_options_to_context$$$genexpr__1_genexpr(struct Nuitka_CellObject **closure) {
return Nuitka_Generator_New(
tornado$netutil$$$function__21_ssl_options_to_context$$$genexpr__1_genexpr_context,
module_tornado$netutil,
mod_consts[145],
#if PYTHON_VERSION >= 0x350
mod_consts[146],
#endif
codeobj_d13a3639587f44ba644dd57ae5567b8a,
closure,
1,
sizeof(struct tornado$netutil$$$function__21_ssl_options_to_context$$$genexpr__1_genexpr_locals)
);
}
static PyObject *impl_tornado$netutil$$$function__22_ssl_wrap_socket(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_socket = python_pars[0];
PyObject *par_ssl_options = python_pars[1];
PyObject *par_server_hostname = python_pars[2];
PyObject *par_server_side = python_pars[3];
PyObject *par_kwargs = python_pars[4];
PyObject *var_context = NULL;
struct Nuitka_FrameObject *frame_8724f35f2941d9226e2034e9d5dd8cfd;
NUITKA_MAY_BE_UNUSED char const *type_description_1 = NULL;
PyObject *exception_type = NULL;
PyObject *exception_value = NULL;
PyTracebackObject *exception_tb = NULL;
NUITKA_MAY_BE_UNUSED int exception_lineno = 0;
PyObject *tmp_return_value = NULL;
int tmp_res;
static struct Nuitka_FrameObject *cache_frame_8724f35f2941d9226e2034e9d5dd8cfd = 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_8724f35f2941d9226e2034e9d5dd8cfd)) {
Py_XDECREF(cache_frame_8724f35f2941d9226e2034e9d5dd8cfd);
#if _DEBUG_REFCOUNTS
if (cache_frame_8724f35f2941d9226e2034e9d5dd8cfd == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_8724f35f2941d9226e2034e9d5dd8cfd = MAKE_FUNCTION_FRAME(codeobj_8724f35f2941d9226e2034e9d5dd8cfd, module_tornado$netutil, 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_8724f35f2941d9226e2034e9d5dd8cfd->m_type_description == NULL);
frame_8724f35f2941d9226e2034e9d5dd8cfd = cache_frame_8724f35f2941d9226e2034e9d5dd8cfd;
// Push the new frame as the currently active one.
pushFrameStack(frame_8724f35f2941d9226e2034e9d5dd8cfd);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_8724f35f2941d9226e2034e9d5dd8cfd) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_assign_source_1;
PyObject *tmp_called_value_1;
PyObject *tmp_kw_call_arg_value_0_1;
PyObject *tmp_kw_call_dict_value_0_1;
tmp_called_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[147]);
if (unlikely(tmp_called_value_1 == NULL)) {
tmp_called_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[147]);
}
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 664;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_ssl_options);
tmp_kw_call_arg_value_0_1 = par_ssl_options;
CHECK_OBJECT(par_server_side);
tmp_kw_call_dict_value_0_1 = par_server_side;
frame_8724f35f2941d9226e2034e9d5dd8cfd->m_frame.f_lineno = 664;
{
PyObject *args[] = {tmp_kw_call_arg_value_0_1};
PyObject *kw_values[1] = {tmp_kw_call_dict_value_0_1};
tmp_assign_source_1 = CALL_FUNCTION_WITH_ARGS1_KWSPLIT(tmp_called_value_1, args, kw_values, mod_consts[148]);
}
if (tmp_assign_source_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 664;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
assert(var_context == NULL);
var_context = tmp_assign_source_1;
}
{
bool tmp_condition_result_1;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(par_server_side);
tmp_cmp_expr_left_1 = par_server_side;
tmp_cmp_expr_right_1 = Py_None;
tmp_condition_result_1 = (tmp_cmp_expr_left_1 == tmp_cmp_expr_right_1) ? true : false;
if (tmp_condition_result_1 != false) {
goto branch_yes_1;
} else {
goto branch_no_1;
}
}
branch_yes_1:;
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = Py_False;
{
PyObject *old = par_server_side;
assert(old != NULL);
par_server_side = tmp_assign_source_2;
Py_INCREF(par_server_side);
Py_DECREF(old);
}
}
branch_no_1:;
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_1;
PyObject *tmp_attribute_value_1;
int tmp_truth_name_1;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 667;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[149]);
if (tmp_attribute_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 667;
type_description_1 = "oooooo";
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 = 667;
type_description_1 = "oooooo";
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_dircall_arg1_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_dircall_arg2_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_dircall_arg3_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
PyObject *tmp_dircall_arg4_1;
CHECK_OBJECT(var_context);
tmp_expression_value_2 = var_context;
tmp_dircall_arg1_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[150]);
if (tmp_dircall_arg1_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 673;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_socket);
tmp_tuple_element_1 = par_socket;
tmp_dircall_arg2_1 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_dircall_arg2_1, 0, tmp_tuple_element_1);
tmp_dict_key_1 = mod_consts[151];
CHECK_OBJECT(par_server_hostname);
tmp_dict_value_1 = par_server_hostname;
tmp_dircall_arg3_1 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[152];
if (par_server_side == NULL) {
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[152]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 674;
type_description_1 = "oooooo";
goto dict_build_exception_1;
}
tmp_dict_value_1 = par_server_side;
tmp_res = PyDict_SetItem(tmp_dircall_arg3_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_dircall_arg1_1);
Py_DECREF(tmp_dircall_arg2_1);
Py_DECREF(tmp_dircall_arg3_1);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
CHECK_OBJECT(par_kwargs);
tmp_dircall_arg4_1 = par_kwargs;
Py_INCREF(tmp_dircall_arg4_1);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_1, tmp_dircall_arg2_1, tmp_dircall_arg3_1, tmp_dircall_arg4_1};
tmp_return_value = impl___main__$$$function__10_complex_call_helper_pos_keywords_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 673;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
goto branch_end_2;
branch_no_2:;
{
PyObject *tmp_dircall_arg1_2;
PyObject *tmp_expression_value_3;
PyObject *tmp_dircall_arg2_2;
PyObject *tmp_tuple_element_2;
PyObject *tmp_dircall_arg3_2;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
PyObject *tmp_dircall_arg4_2;
CHECK_OBJECT(var_context);
tmp_expression_value_3 = var_context;
tmp_dircall_arg1_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[150]);
if (tmp_dircall_arg1_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
CHECK_OBJECT(par_socket);
tmp_tuple_element_2 = par_socket;
tmp_dircall_arg2_2 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_dircall_arg2_2, 0, tmp_tuple_element_2);
tmp_dict_key_2 = mod_consts[152];
if (par_server_side == NULL) {
Py_DECREF(tmp_dircall_arg1_2);
Py_DECREF(tmp_dircall_arg2_2);
FORMAT_UNBOUND_LOCAL_ERROR(&exception_type, &exception_value, mod_consts[152]);
exception_tb = NULL;
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 677;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
tmp_dict_value_2 = par_server_side;
tmp_dircall_arg3_2 = _PyDict_NewPresized( 1 );
tmp_res = PyDict_SetItem(tmp_dircall_arg3_2, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
CHECK_OBJECT(par_kwargs);
tmp_dircall_arg4_2 = par_kwargs;
Py_INCREF(tmp_dircall_arg4_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2, tmp_dircall_arg2_2, tmp_dircall_arg3_2, tmp_dircall_arg4_2};
tmp_return_value = impl___main__$$$function__10_complex_call_helper_pos_keywords_star_dict(dir_call_args);
}
if (tmp_return_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 677;
type_description_1 = "oooooo";
goto frame_exception_exit_1;
}
goto frame_return_exit_1;
}
branch_end_2:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8724f35f2941d9226e2034e9d5dd8cfd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_1;
frame_return_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8724f35f2941d9226e2034e9d5dd8cfd);
#endif
// Put the previous frame back on top.
popFrameStack();
goto try_return_handler_1;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_8724f35f2941d9226e2034e9d5dd8cfd);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_8724f35f2941d9226e2034e9d5dd8cfd, exception_lineno);
} else if (exception_tb->tb_frame != &frame_8724f35f2941d9226e2034e9d5dd8cfd->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_8724f35f2941d9226e2034e9d5dd8cfd, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_8724f35f2941d9226e2034e9d5dd8cfd,
type_description_1,
par_socket,
par_ssl_options,
par_server_hostname,
par_server_side,
par_kwargs,
var_context
);
// Release cached frame if used for exception.
if (frame_8724f35f2941d9226e2034e9d5dd8cfd == cache_frame_8724f35f2941d9226e2034e9d5dd8cfd) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_8724f35f2941d9226e2034e9d5dd8cfd);
cache_frame_8724f35f2941d9226e2034e9d5dd8cfd = NULL;
}
assertFrameObject(frame_8724f35f2941d9226e2034e9d5dd8cfd);
// 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_server_side);
par_server_side = NULL;
Py_XDECREF(var_context);
var_context = 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_server_side);
par_server_side = NULL;
Py_XDECREF(var_context);
var_context = 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_socket);
Py_DECREF(par_socket);
CHECK_OBJECT(par_ssl_options);
Py_DECREF(par_ssl_options);
CHECK_OBJECT(par_server_hostname);
Py_DECREF(par_server_hostname);
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_socket);
Py_DECREF(par_socket);
CHECK_OBJECT(par_ssl_options);
Py_DECREF(par_ssl_options);
CHECK_OBJECT(par_server_hostname);
Py_DECREF(par_server_hostname);
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 *MAKE_FUNCTION_tornado$netutil$$$function__10_resolve(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__10_resolve,
mod_consts[99],
#if PYTHON_VERSION >= 0x300
mod_consts[100],
#endif
codeobj_7e974fd2daacfda1ac32ef865ff8c9e4,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__11_resolve(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__11_resolve,
mod_consts[99],
#if PYTHON_VERSION >= 0x300
mod_consts[104],
#endif
codeobj_b50f5f2d8d9fe9bc03a0e93b0477a046,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__12_initialize(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__12_initialize,
mod_consts[110],
#if PYTHON_VERSION >= 0x300
mod_consts[231],
#endif
codeobj_bc6a4c0e1ff66864564b0fcdd371fae7,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__13_close(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__13_close,
mod_consts[48],
#if PYTHON_VERSION >= 0x300
mod_consts[232],
#endif
codeobj_c4ce0b032a2cae763e9bc36b94c5b3e4,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__14_resolve(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__14_resolve,
mod_consts[99],
#if PYTHON_VERSION >= 0x300
mod_consts[233],
#endif
codeobj_04dc15ca51c6d74e7a12656c7854d2c4,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__15_initialize(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__15_initialize,
mod_consts[110],
#if PYTHON_VERSION >= 0x300
mod_consts[236],
#endif
codeobj_ceb794182175544632c2cf09b15a7b7a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__16_initialize(PyObject *defaults, PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__16_initialize,
mod_consts[110],
#if PYTHON_VERSION >= 0x300
mod_consts[240],
#endif
codeobj_582cb577d1a8caceabdd04570933d541,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
closure,
1
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__17__create_threadpool(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__17__create_threadpool,
mod_consts[112],
#if PYTHON_VERSION >= 0x300
mod_consts[241],
#endif
codeobj_d18921740ff6b6cbe818cdb834d28df6,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__18_initialize(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__18_initialize,
mod_consts[110],
#if PYTHON_VERSION >= 0x300
mod_consts[245],
#endif
codeobj_6acf685c9c94410d13b92c29150a767a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__19_close(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__19_close,
mod_consts[48],
#if PYTHON_VERSION >= 0x300
mod_consts[246],
#endif
codeobj_6ebbde4f41d11f61fe2a0241390dc402,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__1_bind_sockets(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__1_bind_sockets,
mod_consts[194],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_04b2e4efea221072a102c2f979b9bddc,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
mod_consts[54],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__1_bind_sockets$$$function__1_lambda() {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__1_bind_sockets$$$function__1_lambda,
mod_consts[12],
#if PYTHON_VERSION >= 0x300
mod_consts[13],
#endif
codeobj_e6a6643122ae4d529e8346cdc512ae1c,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
NULL,
#endif
module_tornado$netutil,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__20_resolve(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__20_resolve,
mod_consts[99],
#if PYTHON_VERSION >= 0x300
mod_consts[247],
#endif
codeobj_3c4e664ac6dac984d28e07234cdc43ea,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__21_ssl_options_to_context(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__21_ssl_options_to_context,
mod_consts[147],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_dd57a8bcabfa10e5ec172df6e1c738cd,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
mod_consts[143],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__22_ssl_wrap_socket(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__22_ssl_wrap_socket,
mod_consts[254],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_8724f35f2941d9226e2034e9d5dd8cfd,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
mod_consts[153],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__2_bind_unix_socket(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__2_bind_unix_socket,
mod_consts[197],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_931f2a11e8ac5b12fac53912ec63492d,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
mod_consts[64],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__3_add_accept_handler(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__3_add_accept_handler,
mod_consts[199],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_c5d69c3a147b71e4a7088b97cf0f1c17,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
mod_consts[78],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__3_add_accept_handler$$$function__1_accept_handler(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__3_add_accept_handler$$$function__1_accept_handler,
mod_consts[71],
#if PYTHON_VERSION >= 0x300
mod_consts[72],
#endif
codeobj_ac660d6ebc5cc3c2e2fa08fa87a514e6,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
closure,
3
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__3_add_accept_handler$$$function__2_remove_handler(PyObject *annotations, struct Nuitka_CellObject **closure) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__3_add_accept_handler$$$function__2_remove_handler,
mod_consts[74],
#if PYTHON_VERSION >= 0x300
mod_consts[75],
#endif
codeobj_de22646eb1e0d220f952dd99ad5cb6c3,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
closure,
3
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__4_is_valid_ip(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__4_is_valid_ip,
mod_consts[201],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_5bbc237a8571050707bb4e0320a75c5a,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
mod_consts[89],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__5_configurable_base(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__5_configurable_base,
mod_consts[213],
#if PYTHON_VERSION >= 0x300
mod_consts[214],
#endif
codeobj_595f647d13f344b12bbeb7ba17aca4a1,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__6_configurable_default(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__6_configurable_default,
mod_consts[215],
#if PYTHON_VERSION >= 0x300
mod_consts[216],
#endif
codeobj_233a6c49e69d574b34c40cd9821c113f,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
NULL,
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__7_resolve(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__7_resolve,
mod_consts[99],
#if PYTHON_VERSION >= 0x300
mod_consts[219],
#endif
codeobj_cef73c49d4b6a168ee51ac568defb5e2,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
mod_consts[92],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__8_close(PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
NULL,
mod_consts[48],
#if PYTHON_VERSION >= 0x300
mod_consts[221],
#endif
codeobj_965d1418c6a6c12afb518874eb9224aa,
NULL,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
mod_consts[220],
NULL,
0
);
return (PyObject *)result;
}
static PyObject *MAKE_FUNCTION_tornado$netutil$$$function__9__resolve_addr(PyObject *defaults, PyObject *annotations) {
struct Nuitka_FunctionObject *result = Nuitka_Function_New(
impl_tornado$netutil$$$function__9__resolve_addr,
mod_consts[95],
#if PYTHON_VERSION >= 0x300
NULL,
#endif
codeobj_d9c4f15532b7e3a8f96a2cf8908e3c20,
defaults,
#if PYTHON_VERSION >= 0x300
NULL,
annotations,
#endif
module_tornado$netutil,
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$netutil[] = {
impl_tornado$netutil$$$function__1_bind_sockets$$$function__1_lambda,
impl_tornado$netutil$$$function__3_add_accept_handler$$$function__1_accept_handler,
impl_tornado$netutil$$$function__3_add_accept_handler$$$function__2_remove_handler,
impl_tornado$netutil$$$function__1_bind_sockets,
impl_tornado$netutil$$$function__2_bind_unix_socket,
impl_tornado$netutil$$$function__3_add_accept_handler,
impl_tornado$netutil$$$function__4_is_valid_ip,
impl_tornado$netutil$$$function__5_configurable_base,
impl_tornado$netutil$$$function__6_configurable_default,
impl_tornado$netutil$$$function__7_resolve,
NULL,
impl_tornado$netutil$$$function__9__resolve_addr,
impl_tornado$netutil$$$function__10_resolve,
impl_tornado$netutil$$$function__11_resolve,
impl_tornado$netutil$$$function__12_initialize,
impl_tornado$netutil$$$function__13_close,
impl_tornado$netutil$$$function__14_resolve,
impl_tornado$netutil$$$function__15_initialize,
impl_tornado$netutil$$$function__16_initialize,
impl_tornado$netutil$$$function__17__create_threadpool,
impl_tornado$netutil$$$function__18_initialize,
impl_tornado$netutil$$$function__19_close,
impl_tornado$netutil$$$function__20_resolve,
impl_tornado$netutil$$$function__21_ssl_options_to_context,
impl_tornado$netutil$$$function__22_ssl_wrap_socket,
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$netutil;
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$netutil) || 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$netutil[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$netutil,
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$netutil(PyObject *module, struct Nuitka_MetaPathBasedLoaderEntry const *loader_entry) {
// Report entry to PGO.
PGO_onModuleEntered("tornado.netutil");
// Store the module for future use.
module_tornado$netutil = 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.netutil: 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.netutil: Calling createModuleConstants().\n");
#endif
createModuleConstants();
/* The code objects used by this module are created now. */
#ifdef _NUITKA_TRACE
PRINT_STRING("tornado.netutil: Calling createModuleCodeObjects().\n");
#endif
createModuleCodeObjects();
init_done = true;
}
// PRINT_STRING("in inittornado$netutil\n");
moduledict_tornado$netutil = MODULE_DICT(module_tornado$netutil);
#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$netutil,
(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$netutil,
(Nuitka_StringObject *)const_str_plain___package__,
mod_consts[3]
);
#elif 0
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)const_str_plain___name__);
UPDATE_STRING_DICT0(
moduledict_tornado$netutil,
(Nuitka_StringObject *)const_str_plain___package__,
module_name
);
#else
#if PYTHON_VERSION < 0x300
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (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$netutil,
(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$netutil, (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$netutil,
(Nuitka_StringObject *)const_str_plain___package__,
PyUnicode_Substring(module_name, 0, dot_index)
);
}
#endif
#endif
}
CHECK_OBJECT(module_tornado$netutil);
// 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$netutil, (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$netutil, (Nuitka_StringObject *)const_str_plain___builtins__, value);
}
#if PYTHON_VERSION >= 0x300
UPDATE_STRING_DICT0(moduledict_tornado$netutil, (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$netutil, (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$netutil);
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$netutil, (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;
struct Nuitka_CellObject *outline_4_var___class__ = Nuitka_Cell_Empty();
struct Nuitka_CellObject *outline_5_var___class__ = Nuitka_Cell_Empty();
PyObject *outline_6_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__bases_orig = 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__bases_orig = 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__bases_orig = 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_class_creation_5__bases = NULL;
PyObject *tmp_class_creation_5__bases_orig = NULL;
PyObject *tmp_class_creation_5__class_decl_dict = NULL;
PyObject *tmp_class_creation_5__metaclass = NULL;
PyObject *tmp_class_creation_5__prepared = NULL;
PyObject *tmp_class_creation_6__bases = NULL;
PyObject *tmp_class_creation_6__bases_orig = NULL;
PyObject *tmp_class_creation_6__class_decl_dict = NULL;
PyObject *tmp_class_creation_6__metaclass = NULL;
PyObject *tmp_class_creation_6__prepared = NULL;
PyObject *tmp_class_creation_7__bases = NULL;
PyObject *tmp_class_creation_7__bases_orig = NULL;
PyObject *tmp_class_creation_7__class_decl_dict = NULL;
PyObject *tmp_class_creation_7__metaclass = NULL;
PyObject *tmp_class_creation_7__prepared = NULL;
PyObject *tmp_import_from_1__module = NULL;
PyObject *tmp_import_from_2__module = NULL;
PyObject *tmp_import_from_3__module = NULL;
PyObject *tmp_inplace_assign_1__value = NULL;
PyObject *tmp_inplace_assign_2__value = NULL;
struct Nuitka_FrameObject *frame_bc3fb5253e72b8601432a771bfa86454;
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;
PyObject *exception_keeper_type_3;
PyObject *exception_keeper_value_3;
PyTracebackObject *exception_keeper_tb_3;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_3;
int tmp_res;
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;
NUITKA_MAY_BE_UNUSED nuitka_void tmp_unused;
PyObject *tmp_dictdel_dict;
PyObject *tmp_dictdel_key;
PyObject *locals_tornado$netutil$$$class__1_Resolver_314 = NULL;
PyObject *tmp_dictset_value;
struct Nuitka_FrameObject *frame_29d32c3a26613a6a4f27fde4f2ff7633_2;
NUITKA_MAY_BE_UNUSED char const *type_description_2 = NULL;
static struct Nuitka_FrameObject *cache_frame_29d32c3a26613a6a4f27fde4f2ff7633_2 = NULL;
PyObject *exception_keeper_type_6;
PyObject *exception_keeper_value_6;
PyTracebackObject *exception_keeper_tb_6;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_6;
PyObject *exception_keeper_type_7;
PyObject *exception_keeper_value_7;
PyTracebackObject *exception_keeper_tb_7;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_7;
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 *locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401 = NULL;
struct Nuitka_FrameObject *frame_aab5efb99285a4ca81e45e3b1da26b28_3;
NUITKA_MAY_BE_UNUSED char const *type_description_3 = NULL;
static struct Nuitka_FrameObject *cache_frame_aab5efb99285a4ca81e45e3b1da26b28_3 = NULL;
PyObject *exception_keeper_type_9;
PyObject *exception_keeper_value_9;
PyTracebackObject *exception_keeper_tb_9;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_9;
PyObject *exception_keeper_type_10;
PyObject *exception_keeper_value_10;
PyTracebackObject *exception_keeper_tb_10;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_10;
PyObject *exception_keeper_type_11;
PyObject *exception_keeper_value_11;
PyTracebackObject *exception_keeper_tb_11;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_11;
PyObject *locals_tornado$netutil$$$class__3_DefaultLoopResolver_420 = NULL;
struct Nuitka_FrameObject *frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4;
NUITKA_MAY_BE_UNUSED char const *type_description_4 = NULL;
static struct Nuitka_FrameObject *cache_frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4 = NULL;
PyObject *exception_keeper_type_12;
PyObject *exception_keeper_value_12;
PyTracebackObject *exception_keeper_tb_12;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_12;
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 *locals_tornado$netutil$$$class__4_ExecutorResolver_439 = NULL;
struct Nuitka_FrameObject *frame_e7b7a215bc903988804ded8f724442cb_5;
NUITKA_MAY_BE_UNUSED char const *type_description_5 = NULL;
static struct Nuitka_FrameObject *cache_frame_e7b7a215bc903988804ded8f724442cb_5 = NULL;
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;
PyObject *exception_keeper_type_17;
PyObject *exception_keeper_value_17;
PyTracebackObject *exception_keeper_tb_17;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_17;
PyObject *locals_tornado$netutil$$$class__5_BlockingResolver_481 = NULL;
struct Nuitka_FrameObject *frame_2bc406de1b699eece85499d0248709cc_6;
NUITKA_MAY_BE_UNUSED char const *type_description_6 = NULL;
static struct Nuitka_FrameObject *cache_frame_2bc406de1b699eece85499d0248709cc_6 = NULL;
PyObject *exception_keeper_type_18;
PyObject *exception_keeper_value_18;
PyTracebackObject *exception_keeper_tb_18;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_18;
PyObject *exception_keeper_type_19;
PyObject *exception_keeper_value_19;
PyTracebackObject *exception_keeper_tb_19;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_19;
PyObject *exception_keeper_type_20;
PyObject *exception_keeper_value_20;
PyTracebackObject *exception_keeper_tb_20;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_20;
PyObject *locals_tornado$netutil$$$class__6_ThreadedResolver_496 = NULL;
struct Nuitka_FrameObject *frame_1bc1d254f7b99494bc4b72fe86e75e5e_7;
NUITKA_MAY_BE_UNUSED char const *type_description_7 = NULL;
static struct Nuitka_FrameObject *cache_frame_1bc1d254f7b99494bc4b72fe86e75e5e_7 = NULL;
PyObject *exception_keeper_type_21;
PyObject *exception_keeper_value_21;
PyTracebackObject *exception_keeper_tb_21;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_21;
PyObject *exception_keeper_type_22;
PyObject *exception_keeper_value_22;
PyTracebackObject *exception_keeper_tb_22;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_22;
PyObject *exception_keeper_type_23;
PyObject *exception_keeper_value_23;
PyTracebackObject *exception_keeper_tb_23;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_23;
PyObject *locals_tornado$netutil$$$class__7_OverrideResolver_539 = NULL;
struct Nuitka_FrameObject *frame_34e0df0ec9a5ff15429354001f3fa2d8_8;
NUITKA_MAY_BE_UNUSED char const *type_description_8 = NULL;
static struct Nuitka_FrameObject *cache_frame_34e0df0ec9a5ff15429354001f3fa2d8_8 = NULL;
PyObject *exception_keeper_type_24;
PyObject *exception_keeper_value_24;
PyTracebackObject *exception_keeper_tb_24;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_24;
PyObject *exception_keeper_type_25;
PyObject *exception_keeper_value_25;
PyTracebackObject *exception_keeper_tb_25;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_25;
PyObject *exception_keeper_type_26;
PyObject *exception_keeper_value_26;
PyTracebackObject *exception_keeper_tb_26;
NUITKA_MAY_BE_UNUSED int exception_keeper_lineno_26;
// Module code.
{
PyObject *tmp_assign_source_1;
tmp_assign_source_1 = mod_consts[154];
UPDATE_STRING_DICT0(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[155], tmp_assign_source_1);
}
{
PyObject *tmp_assign_source_2;
tmp_assign_source_2 = mod_consts[156];
UPDATE_STRING_DICT0(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[157], tmp_assign_source_2);
}
// Frame without reuse.
frame_bc3fb5253e72b8601432a771bfa86454 = MAKE_MODULE_FRAME(codeobj_bc3fb5253e72b8601432a771bfa86454, module_tornado$netutil);
// Push the new frame as the currently active one, and we should be exclusively
// owning it.
pushFrameStack(frame_bc3fb5253e72b8601432a771bfa86454);
assert(Py_REFCNT(frame_bc3fb5253e72b8601432a771bfa86454) == 2);
// Framed code:
{
PyObject *tmp_assattr_value_1;
PyObject *tmp_assattr_target_1;
tmp_assattr_value_1 = mod_consts[156];
tmp_assattr_target_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[158]);
if (unlikely(tmp_assattr_target_1 == NULL)) {
tmp_assattr_target_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[158]);
}
assert(!(tmp_assattr_target_1 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_1, mod_consts[159], 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$netutil, (Nuitka_StringObject *)mod_consts[158]);
if (unlikely(tmp_assattr_target_2 == NULL)) {
tmp_assattr_target_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[158]);
}
assert(!(tmp_assattr_target_2 == NULL));
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_2, mod_consts[160], 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$netutil, (Nuitka_StringObject *)mod_consts[161], 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[101];
tmp_globals_arg_value_1 = (PyObject *)moduledict_tornado$netutil;
tmp_locals_arg_value_1 = Py_None;
tmp_fromlist_value_1 = Py_None;
tmp_level_value_1 = mod_consts[11];
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 18;
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);
if (tmp_assign_source_4 == 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$netutil, (Nuitka_StringObject *)mod_consts[101], 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[162];
tmp_globals_arg_value_2 = (PyObject *)moduledict_tornado$netutil;
tmp_locals_arg_value_2 = Py_None;
tmp_fromlist_value_2 = Py_None;
tmp_level_value_2 = mod_consts[11];
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 19;
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 = 19;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[117], 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[26];
tmp_globals_arg_value_3 = (PyObject *)moduledict_tornado$netutil;
tmp_locals_arg_value_3 = Py_None;
tmp_fromlist_value_3 = Py_None;
tmp_level_value_3 = mod_consts[11];
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 20;
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$netutil, (Nuitka_StringObject *)mod_consts[26], tmp_assign_source_6);
}
{
PyObject *tmp_assign_source_7;
tmp_assign_source_7 = IMPORT_HARD_OS();
assert(!(tmp_assign_source_7 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[28], tmp_assign_source_7);
}
{
PyObject *tmp_assign_source_8;
tmp_assign_source_8 = IMPORT_HARD_SYS();
assert(!(tmp_assign_source_8 == NULL));
UPDATE_STRING_DICT0(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[18], tmp_assign_source_8);
}
{
PyObject *tmp_assign_source_9;
PyObject *tmp_name_value_4;
PyObject *tmp_globals_arg_value_4;
PyObject *tmp_locals_arg_value_4;
PyObject *tmp_fromlist_value_4;
PyObject *tmp_level_value_4;
tmp_name_value_4 = mod_consts[0];
tmp_globals_arg_value_4 = (PyObject *)moduledict_tornado$netutil;
tmp_locals_arg_value_4 = Py_None;
tmp_fromlist_value_4 = Py_None;
tmp_level_value_4 = mod_consts[11];
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 23;
tmp_assign_source_9 = IMPORT_MODULE5(tmp_name_value_4, tmp_globals_arg_value_4, tmp_locals_arg_value_4, tmp_fromlist_value_4, tmp_level_value_4);
if (tmp_assign_source_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 23;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0], tmp_assign_source_9);
}
{
PyObject *tmp_assign_source_10;
PyObject *tmp_name_value_5;
PyObject *tmp_globals_arg_value_5;
PyObject *tmp_locals_arg_value_5;
PyObject *tmp_fromlist_value_5;
PyObject *tmp_level_value_5;
tmp_name_value_5 = mod_consts[122];
tmp_globals_arg_value_5 = (PyObject *)moduledict_tornado$netutil;
tmp_locals_arg_value_5 = Py_None;
tmp_fromlist_value_5 = Py_None;
tmp_level_value_5 = mod_consts[11];
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 24;
tmp_assign_source_10 = 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_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 24;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122], 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[56];
tmp_globals_arg_value_6 = (PyObject *)moduledict_tornado$netutil;
tmp_locals_arg_value_6 = Py_None;
tmp_fromlist_value_6 = Py_None;
tmp_level_value_6 = mod_consts[11];
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 25;
tmp_assign_source_11 = IMPORT_MODULE5(tmp_name_value_6, tmp_globals_arg_value_6, tmp_locals_arg_value_6, tmp_fromlist_value_6, tmp_level_value_6);
if (tmp_assign_source_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 25;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[56], tmp_assign_source_11);
}
{
PyObject *tmp_assign_source_12;
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[163];
tmp_globals_arg_value_7 = (PyObject *)moduledict_tornado$netutil;
tmp_locals_arg_value_7 = Py_None;
tmp_fromlist_value_7 = mod_consts[164];
tmp_level_value_7 = mod_consts[11];
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 27;
tmp_assign_source_12 = 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_assign_source_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 27;
goto frame_exception_exit_1;
}
assert(tmp_import_from_1__module == NULL);
tmp_import_from_1__module = tmp_assign_source_12;
}
// Tried code:
{
PyObject *tmp_assign_source_13;
PyObject *tmp_import_name_from_1;
CHECK_OBJECT(tmp_import_from_1__module);
tmp_import_name_from_1 = tmp_import_from_1__module;
if (PyModule_Check(tmp_import_name_from_1)) {
tmp_assign_source_13 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_1,
(PyObject *)moduledict_tornado$netutil,
mod_consts[107],
mod_consts[11]
);
} else {
tmp_assign_source_13 = IMPORT_NAME(tmp_import_name_from_1, mod_consts[107]);
}
if (tmp_assign_source_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 27;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[107], tmp_assign_source_13);
}
{
PyObject *tmp_assign_source_14;
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_14 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_2,
(PyObject *)moduledict_tornado$netutil,
mod_consts[165],
mod_consts[11]
);
} else {
tmp_assign_source_14 = IMPORT_NAME(tmp_import_name_from_2, mod_consts[165]);
}
if (tmp_assign_source_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 27;
goto try_except_handler_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[165], tmp_assign_source_14);
}
goto try_end_1;
// Exception handler code:
try_except_handler_1:;
exception_keeper_type_1 = exception_type;
exception_keeper_value_1 = exception_value;
exception_keeper_tb_1 = exception_tb;
exception_keeper_lineno_1 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_1;
exception_value = exception_keeper_value_1;
exception_tb = exception_keeper_tb_1;
exception_lineno = exception_keeper_lineno_1;
goto frame_exception_exit_1;
// End of try:
try_end_1:;
CHECK_OBJECT(tmp_import_from_1__module);
Py_DECREF(tmp_import_from_1__module);
tmp_import_from_1__module = NULL;
{
PyObject *tmp_assign_source_15;
PyObject *tmp_import_name_from_3;
PyObject *tmp_name_value_8;
PyObject *tmp_globals_arg_value_8;
PyObject *tmp_locals_arg_value_8;
PyObject *tmp_fromlist_value_8;
PyObject *tmp_level_value_8;
tmp_name_value_8 = mod_consts[166];
tmp_globals_arg_value_8 = (PyObject *)moduledict_tornado$netutil;
tmp_locals_arg_value_8 = Py_None;
tmp_fromlist_value_8 = mod_consts[167];
tmp_level_value_8 = mod_consts[11];
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 28;
tmp_import_name_from_3 = IMPORT_MODULE5(tmp_name_value_8, tmp_globals_arg_value_8, tmp_locals_arg_value_8, tmp_fromlist_value_8, tmp_level_value_8);
if (tmp_import_name_from_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 28;
goto frame_exception_exit_1;
}
if (PyModule_Check(tmp_import_name_from_3)) {
tmp_assign_source_15 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_3,
(PyObject *)moduledict_tornado$netutil,
mod_consts[65],
mod_consts[11]
);
} else {
tmp_assign_source_15 = IMPORT_NAME(tmp_import_name_from_3, mod_consts[65]);
}
Py_DECREF(tmp_import_name_from_3);
if (tmp_assign_source_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 28;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[65], tmp_assign_source_15);
}
{
PyObject *tmp_assign_source_16;
PyObject *tmp_name_value_9;
PyObject *tmp_globals_arg_value_9;
PyObject *tmp_locals_arg_value_9;
PyObject *tmp_fromlist_value_9;
PyObject *tmp_level_value_9;
tmp_name_value_9 = mod_consts[168];
tmp_globals_arg_value_9 = (PyObject *)moduledict_tornado$netutil;
tmp_locals_arg_value_9 = Py_None;
tmp_fromlist_value_9 = mod_consts[169];
tmp_level_value_9 = mod_consts[11];
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 29;
tmp_assign_source_16 = IMPORT_MODULE5(tmp_name_value_9, tmp_globals_arg_value_9, tmp_locals_arg_value_9, tmp_fromlist_value_9, tmp_level_value_9);
if (tmp_assign_source_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto frame_exception_exit_1;
}
assert(tmp_import_from_2__module == NULL);
tmp_import_from_2__module = tmp_assign_source_16;
}
// Tried code:
{
PyObject *tmp_assign_source_17;
PyObject *tmp_import_name_from_4;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_4 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_4)) {
tmp_assign_source_17 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_4,
(PyObject *)moduledict_tornado$netutil,
mod_consts[170],
mod_consts[11]
);
} else {
tmp_assign_source_17 = IMPORT_NAME(tmp_import_name_from_4, mod_consts[170]);
}
if (tmp_assign_source_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[170], tmp_assign_source_17);
}
{
PyObject *tmp_assign_source_18;
PyObject *tmp_import_name_from_5;
CHECK_OBJECT(tmp_import_from_2__module);
tmp_import_name_from_5 = tmp_import_from_2__module;
if (PyModule_Check(tmp_import_name_from_5)) {
tmp_assign_source_18 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_5,
(PyObject *)moduledict_tornado$netutil,
mod_consts[25],
mod_consts[11]
);
} else {
tmp_assign_source_18 = IMPORT_NAME(tmp_import_name_from_5, mod_consts[25]);
}
if (tmp_assign_source_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 29;
goto try_except_handler_2;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[25], tmp_assign_source_18);
}
goto try_end_2;
// Exception handler code:
try_except_handler_2:;
exception_keeper_type_2 = exception_type;
exception_keeper_value_2 = exception_value;
exception_keeper_tb_2 = exception_tb;
exception_keeper_lineno_2 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_2;
exception_value = exception_keeper_value_2;
exception_tb = exception_keeper_tb_2;
exception_lineno = exception_keeper_lineno_2;
goto frame_exception_exit_1;
// End of try:
try_end_2:;
CHECK_OBJECT(tmp_import_from_2__module);
Py_DECREF(tmp_import_from_2__module);
tmp_import_from_2__module = NULL;
{
PyObject *tmp_assign_source_19;
tmp_assign_source_19 = IMPORT_HARD_TYPING();
assert(!(tmp_assign_source_19 == NULL));
assert(tmp_import_from_3__module == NULL);
Py_INCREF(tmp_assign_source_19);
tmp_import_from_3__module = tmp_assign_source_19;
}
// Tried code:
{
PyObject *tmp_assign_source_20;
PyObject *tmp_import_name_from_6;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_6 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_6)) {
tmp_assign_source_20 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_6,
(PyObject *)moduledict_tornado$netutil,
mod_consts[171],
mod_consts[11]
);
} else {
tmp_assign_source_20 = IMPORT_NAME(tmp_import_name_from_6, mod_consts[171]);
}
if (tmp_assign_source_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[171], tmp_assign_source_20);
}
{
PyObject *tmp_assign_source_21;
PyObject *tmp_import_name_from_7;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_7 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_7)) {
tmp_assign_source_21 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_7,
(PyObject *)moduledict_tornado$netutil,
mod_consts[172],
mod_consts[11]
);
} else {
tmp_assign_source_21 = IMPORT_NAME(tmp_import_name_from_7, mod_consts[172]);
}
if (tmp_assign_source_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[172], tmp_assign_source_21);
}
{
PyObject *tmp_assign_source_22;
PyObject *tmp_import_name_from_8;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_8 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_8)) {
tmp_assign_source_22 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_8,
(PyObject *)moduledict_tornado$netutil,
mod_consts[173],
mod_consts[11]
);
} else {
tmp_assign_source_22 = IMPORT_NAME(tmp_import_name_from_8, mod_consts[173]);
}
if (tmp_assign_source_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[173], tmp_assign_source_22);
}
{
PyObject *tmp_assign_source_23;
PyObject *tmp_import_name_from_9;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_9 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_9)) {
tmp_assign_source_23 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_9,
(PyObject *)moduledict_tornado$netutil,
mod_consts[174],
mod_consts[11]
);
} else {
tmp_assign_source_23 = IMPORT_NAME(tmp_import_name_from_9, mod_consts[174]);
}
if (tmp_assign_source_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[174], tmp_assign_source_23);
}
{
PyObject *tmp_assign_source_24;
PyObject *tmp_import_name_from_10;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_10 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_10)) {
tmp_assign_source_24 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_10,
(PyObject *)moduledict_tornado$netutil,
mod_consts[175],
mod_consts[11]
);
} else {
tmp_assign_source_24 = IMPORT_NAME(tmp_import_name_from_10, mod_consts[175]);
}
if (tmp_assign_source_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[175], tmp_assign_source_24);
}
{
PyObject *tmp_assign_source_25;
PyObject *tmp_import_name_from_11;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_11 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_11)) {
tmp_assign_source_25 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_11,
(PyObject *)moduledict_tornado$netutil,
mod_consts[176],
mod_consts[11]
);
} else {
tmp_assign_source_25 = IMPORT_NAME(tmp_import_name_from_11, mod_consts[176]);
}
if (tmp_assign_source_25 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[176], tmp_assign_source_25);
}
{
PyObject *tmp_assign_source_26;
PyObject *tmp_import_name_from_12;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_12 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_12)) {
tmp_assign_source_26 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_12,
(PyObject *)moduledict_tornado$netutil,
mod_consts[177],
mod_consts[11]
);
} else {
tmp_assign_source_26 = IMPORT_NAME(tmp_import_name_from_12, mod_consts[177]);
}
if (tmp_assign_source_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[177], tmp_assign_source_26);
}
{
PyObject *tmp_assign_source_27;
PyObject *tmp_import_name_from_13;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_13 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_13)) {
tmp_assign_source_27 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_13,
(PyObject *)moduledict_tornado$netutil,
mod_consts[178],
mod_consts[11]
);
} else {
tmp_assign_source_27 = IMPORT_NAME(tmp_import_name_from_13, mod_consts[178]);
}
if (tmp_assign_source_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[178], tmp_assign_source_27);
}
{
PyObject *tmp_assign_source_28;
PyObject *tmp_import_name_from_14;
CHECK_OBJECT(tmp_import_from_3__module);
tmp_import_name_from_14 = tmp_import_from_3__module;
if (PyModule_Check(tmp_import_name_from_14)) {
tmp_assign_source_28 = IMPORT_NAME_OR_MODULE(
tmp_import_name_from_14,
(PyObject *)moduledict_tornado$netutil,
mod_consts[179],
mod_consts[11]
);
} else {
tmp_assign_source_28 = IMPORT_NAME(tmp_import_name_from_14, mod_consts[179]);
}
if (tmp_assign_source_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 31;
goto try_except_handler_3;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[179], tmp_assign_source_28);
}
goto try_end_3;
// Exception handler code:
try_except_handler_3:;
exception_keeper_type_3 = exception_type;
exception_keeper_value_3 = exception_value;
exception_keeper_tb_3 = exception_tb;
exception_keeper_lineno_3 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_import_from_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = NULL;
// Re-raise.
exception_type = exception_keeper_type_3;
exception_value = exception_keeper_value_3;
exception_tb = exception_keeper_tb_3;
exception_lineno = exception_keeper_lineno_3;
goto frame_exception_exit_1;
// End of try:
try_end_3:;
CHECK_OBJECT(tmp_import_from_3__module);
Py_DECREF(tmp_import_from_3__module);
tmp_import_from_3__module = NULL;
{
PyObject *tmp_assign_source_29;
PyObject *tmp_called_value_1;
PyObject *tmp_expression_value_1;
PyObject *tmp_args_element_value_1;
PyObject *tmp_expression_value_2;
PyObject *tmp_expression_value_3;
tmp_expression_value_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_1 == NULL)) {
tmp_expression_value_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
goto frame_exception_exit_1;
}
tmp_called_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_1, mod_consts[180]);
if (tmp_called_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
goto frame_exception_exit_1;
}
tmp_expression_value_3 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_3 == NULL)) {
tmp_expression_value_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_1);
exception_lineno = 35;
goto frame_exception_exit_1;
}
tmp_expression_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_3, mod_consts[181]);
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 = 35;
goto frame_exception_exit_1;
}
tmp_args_element_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_2, mod_consts[182]);
Py_DECREF(tmp_expression_value_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 = 35;
goto frame_exception_exit_1;
}
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 35;
tmp_assign_source_29 = 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_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 35;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[183], tmp_assign_source_29);
}
{
PyObject *tmp_assign_source_30;
PyObject *tmp_called_value_2;
PyObject *tmp_expression_value_4;
PyObject *tmp_args_element_value_2;
PyObject *tmp_expression_value_5;
PyObject *tmp_expression_value_6;
tmp_expression_value_4 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_4 == NULL)) {
tmp_expression_value_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 36;
goto frame_exception_exit_1;
}
tmp_called_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_4, mod_consts[180]);
if (tmp_called_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 36;
goto frame_exception_exit_1;
}
tmp_expression_value_6 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_6 == NULL)) {
tmp_expression_value_6 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 36;
goto frame_exception_exit_1;
}
tmp_expression_value_5 = LOOKUP_ATTRIBUTE(tmp_expression_value_6, mod_consts[181]);
if (tmp_expression_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 36;
goto frame_exception_exit_1;
}
tmp_args_element_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_5, mod_consts[184]);
Py_DECREF(tmp_expression_value_5);
if (tmp_args_element_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_2);
exception_lineno = 36;
goto frame_exception_exit_1;
}
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 36;
tmp_assign_source_30 = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_2, tmp_args_element_value_2);
Py_DECREF(tmp_called_value_2);
Py_DECREF(tmp_args_element_value_2);
if (tmp_assign_source_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 36;
goto frame_exception_exit_1;
}
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[185], tmp_assign_source_30);
}
{
nuitka_bool tmp_condition_result_1;
PyObject *tmp_expression_value_7;
PyObject *tmp_attribute_value_1;
tmp_expression_value_7 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_7 == NULL)) {
tmp_expression_value_7 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 37;
goto frame_exception_exit_1;
}
tmp_attribute_value_1 = mod_consts[141];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_7, tmp_attribute_value_1);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 37;
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_31;
PyObject *tmp_expression_value_8;
tmp_expression_value_8 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[183]);
if (unlikely(tmp_expression_value_8 == NULL)) {
tmp_expression_value_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[183]);
}
if (tmp_expression_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto frame_exception_exit_1;
}
tmp_assign_source_31 = LOOKUP_ATTRIBUTE(tmp_expression_value_8, mod_consts[142]);
if (tmp_assign_source_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto frame_exception_exit_1;
}
assert(tmp_inplace_assign_1__value == NULL);
tmp_inplace_assign_1__value = tmp_assign_source_31;
}
// Tried code:
{
PyObject *tmp_assign_source_32;
PyObject *tmp_ibitor_expr_left_1;
PyObject *tmp_ibitor_expr_right_1;
PyObject *tmp_expression_value_9;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_ibitor_expr_left_1 = tmp_inplace_assign_1__value;
tmp_expression_value_9 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_9 == NULL)) {
tmp_expression_value_9 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_4;
}
tmp_ibitor_expr_right_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_9, mod_consts[141]);
if (tmp_ibitor_expr_right_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_4;
}
tmp_result = INPLACE_OPERATION_BITOR_OBJECT_OBJECT(&tmp_ibitor_expr_left_1, tmp_ibitor_expr_right_1);
Py_DECREF(tmp_ibitor_expr_right_1);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_4;
}
tmp_assign_source_32 = tmp_ibitor_expr_left_1;
tmp_inplace_assign_1__value = tmp_assign_source_32;
}
{
PyObject *tmp_assattr_value_3;
PyObject *tmp_assattr_target_3;
CHECK_OBJECT(tmp_inplace_assign_1__value);
tmp_assattr_value_3 = tmp_inplace_assign_1__value;
tmp_assattr_target_3 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[183]);
if (unlikely(tmp_assattr_target_3 == NULL)) {
tmp_assattr_target_3 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[183]);
}
if (tmp_assattr_target_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_4;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_3, mod_consts[142], tmp_assattr_value_3);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 39;
goto try_except_handler_4;
}
}
goto try_end_4;
// Exception handler code:
try_except_handler_4:;
exception_keeper_type_4 = exception_type;
exception_keeper_value_4 = exception_value;
exception_keeper_tb_4 = exception_tb;
exception_keeper_lineno_4 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
// Re-raise.
exception_type = exception_keeper_type_4;
exception_value = exception_keeper_value_4;
exception_tb = exception_keeper_tb_4;
exception_lineno = exception_keeper_lineno_4;
goto frame_exception_exit_1;
// End of try:
try_end_4:;
CHECK_OBJECT(tmp_inplace_assign_1__value);
Py_DECREF(tmp_inplace_assign_1__value);
tmp_inplace_assign_1__value = NULL;
{
PyObject *tmp_assign_source_33;
PyObject *tmp_expression_value_10;
tmp_expression_value_10 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[185]);
if (unlikely(tmp_expression_value_10 == NULL)) {
tmp_expression_value_10 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[185]);
}
if (tmp_expression_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 40;
goto frame_exception_exit_1;
}
tmp_assign_source_33 = LOOKUP_ATTRIBUTE(tmp_expression_value_10, mod_consts[142]);
if (tmp_assign_source_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 40;
goto frame_exception_exit_1;
}
assert(tmp_inplace_assign_2__value == NULL);
tmp_inplace_assign_2__value = tmp_assign_source_33;
}
// Tried code:
{
PyObject *tmp_assign_source_34;
PyObject *tmp_ibitor_expr_left_2;
PyObject *tmp_ibitor_expr_right_2;
PyObject *tmp_expression_value_11;
CHECK_OBJECT(tmp_inplace_assign_2__value);
tmp_ibitor_expr_left_2 = tmp_inplace_assign_2__value;
tmp_expression_value_11 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_11 == NULL)) {
tmp_expression_value_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 40;
goto try_except_handler_5;
}
tmp_ibitor_expr_right_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_11, mod_consts[141]);
if (tmp_ibitor_expr_right_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 40;
goto try_except_handler_5;
}
tmp_result = INPLACE_OPERATION_BITOR_OBJECT_OBJECT(&tmp_ibitor_expr_left_2, tmp_ibitor_expr_right_2);
Py_DECREF(tmp_ibitor_expr_right_2);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 40;
goto try_except_handler_5;
}
tmp_assign_source_34 = tmp_ibitor_expr_left_2;
tmp_inplace_assign_2__value = tmp_assign_source_34;
}
{
PyObject *tmp_assattr_value_4;
PyObject *tmp_assattr_target_4;
CHECK_OBJECT(tmp_inplace_assign_2__value);
tmp_assattr_value_4 = tmp_inplace_assign_2__value;
tmp_assattr_target_4 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[185]);
if (unlikely(tmp_assattr_target_4 == NULL)) {
tmp_assattr_target_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[185]);
}
if (tmp_assattr_target_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 40;
goto try_except_handler_5;
}
tmp_result = SET_ATTRIBUTE(tmp_assattr_target_4, mod_consts[142], tmp_assattr_value_4);
if (tmp_result == false) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 40;
goto try_except_handler_5;
}
}
goto try_end_5;
// 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;
CHECK_OBJECT(tmp_inplace_assign_2__value);
Py_DECREF(tmp_inplace_assign_2__value);
tmp_inplace_assign_2__value = NULL;
// Re-raise.
exception_type = exception_keeper_type_5;
exception_value = exception_keeper_value_5;
exception_tb = exception_keeper_tb_5;
exception_lineno = exception_keeper_lineno_5;
goto frame_exception_exit_1;
// End of try:
try_end_5:;
CHECK_OBJECT(tmp_inplace_assign_2__value);
Py_DECREF(tmp_inplace_assign_2__value);
tmp_inplace_assign_2__value = NULL;
branch_no_1:;
{
PyObject *tmp_str_arg_value_1;
PyObject *tmp_encoding_value_1;
PyObject *tmp_capi_result_1;
tmp_str_arg_value_1 = mod_consts[186];
tmp_encoding_value_1 = mod_consts[187];
tmp_capi_result_1 = UNICODE_ENCODE2(tmp_str_arg_value_1, tmp_encoding_value_1);
if (tmp_capi_result_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 47;
goto frame_exception_exit_1;
}
Py_DECREF(tmp_capi_result_1);
}
{
PyObject *tmp_str_arg_value_2;
PyObject *tmp_encoding_value_2;
PyObject *tmp_capi_result_2;
tmp_str_arg_value_2 = mod_consts[186];
tmp_encoding_value_2 = mod_consts[188];
tmp_capi_result_2 = UNICODE_ENCODE2(tmp_str_arg_value_2, tmp_encoding_value_2);
if (tmp_capi_result_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 50;
goto frame_exception_exit_1;
}
Py_DECREF(tmp_capi_result_2);
}
{
PyObject *tmp_assign_source_35;
tmp_assign_source_35 = mod_consts[189];
UPDATE_STRING_DICT0(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[79], tmp_assign_source_35);
}
{
PyObject *tmp_assign_source_36;
PyObject *tmp_defaults_1;
PyObject *tmp_tuple_element_1;
PyObject *tmp_annotations_1;
PyObject *tmp_dict_key_1;
PyObject *tmp_dict_value_1;
tmp_tuple_element_1 = Py_None;
tmp_defaults_1 = MAKE_TUPLE_EMPTY(5);
{
PyObject *tmp_expression_value_12;
PyTuple_SET_ITEM0(tmp_defaults_1, 0, tmp_tuple_element_1);
tmp_expression_value_12 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_12 == NULL)) {
tmp_expression_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 59;
goto tuple_build_exception_1;
}
tmp_tuple_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_12, mod_consts[5]);
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 59;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM(tmp_defaults_1, 1, tmp_tuple_element_1);
tmp_tuple_element_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_tuple_element_1 == NULL)) {
tmp_tuple_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_tuple_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 60;
goto tuple_build_exception_1;
}
PyTuple_SET_ITEM0(tmp_defaults_1, 2, tmp_tuple_element_1);
tmp_tuple_element_1 = Py_None;
PyTuple_SET_ITEM0(tmp_defaults_1, 3, tmp_tuple_element_1);
tmp_tuple_element_1 = Py_False;
PyTuple_SET_ITEM0(tmp_defaults_1, 4, tmp_tuple_element_1);
}
goto tuple_build_noexception_1;
// Exception handling pass through code for tuple_build:
tuple_build_exception_1:;
Py_DECREF(tmp_defaults_1);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_1:;
tmp_dict_key_1 = mod_consts[97];
tmp_dict_value_1 = (PyObject *)&PyLong_Type;
tmp_annotations_1 = _PyDict_NewPresized( 7 );
{
PyObject *tmp_expression_value_13;
PyObject *tmp_subscript_value_1;
PyObject *tmp_expression_value_14;
PyObject *tmp_expression_value_15;
PyObject *tmp_subscript_value_2;
PyObject *tmp_expression_value_16;
PyObject *tmp_subscript_value_3;
PyObject *tmp_expression_value_17;
tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[190];
tmp_expression_value_13 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[179]);
if (unlikely(tmp_expression_value_13 == NULL)) {
tmp_expression_value_13 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[179]);
}
if (tmp_expression_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 58;
goto dict_build_exception_1;
}
tmp_subscript_value_1 = (PyObject *)&PyUnicode_Type;
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_13, tmp_subscript_value_1);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 58;
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[98];
tmp_expression_value_14 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_14 == NULL)) {
tmp_expression_value_14 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 59;
goto dict_build_exception_1;
}
tmp_dict_value_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_14, mod_consts[191]);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 59;
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[51];
tmp_dict_value_1 = (PyObject *)&PyLong_Type;
tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[192];
tmp_expression_value_15 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[179]);
if (unlikely(tmp_expression_value_15 == NULL)) {
tmp_expression_value_15 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[179]);
}
if (tmp_expression_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 61;
goto dict_build_exception_1;
}
tmp_subscript_value_2 = (PyObject *)&PyLong_Type;
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_15, tmp_subscript_value_2);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 61;
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[193];
tmp_dict_value_1 = (PyObject *)&PyBool_Type;
tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1);
assert(!(tmp_res != 0));
tmp_dict_key_1 = mod_consts[70];
tmp_expression_value_16 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[171]);
if (unlikely(tmp_expression_value_16 == NULL)) {
tmp_expression_value_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[171]);
}
if (tmp_expression_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 63;
goto dict_build_exception_1;
}
tmp_expression_value_17 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_17 == NULL)) {
tmp_expression_value_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 63;
goto dict_build_exception_1;
}
tmp_subscript_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_17, mod_consts[0]);
if (tmp_subscript_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 63;
goto dict_build_exception_1;
}
tmp_dict_value_1 = LOOKUP_SUBSCRIPT(tmp_expression_value_16, tmp_subscript_value_3);
Py_DECREF(tmp_subscript_value_3);
if (tmp_dict_value_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 63;
goto dict_build_exception_1;
}
tmp_res = PyDict_SetItem(tmp_annotations_1, tmp_dict_key_1, tmp_dict_value_1);
Py_DECREF(tmp_dict_value_1);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_1;
// Exception handling pass through code for dict_build:
dict_build_exception_1:;
Py_DECREF(tmp_defaults_1);
Py_DECREF(tmp_annotations_1);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_1:;
tmp_assign_source_36 = MAKE_FUNCTION_tornado$netutil$$$function__1_bind_sockets(tmp_defaults_1, tmp_annotations_1);
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[194], tmp_assign_source_36);
}
{
nuitka_bool tmp_condition_result_2;
PyObject *tmp_expression_value_18;
PyObject *tmp_attribute_value_2;
tmp_expression_value_18 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_18 == NULL)) {
tmp_expression_value_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
goto frame_exception_exit_1;
}
tmp_attribute_value_2 = mod_consts[55];
tmp_res = BUILTIN_HASATTR_BOOL(tmp_expression_value_18, tmp_attribute_value_2);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 190;
goto frame_exception_exit_1;
}
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_37;
PyObject *tmp_defaults_2;
PyObject *tmp_tuple_element_2;
PyObject *tmp_annotations_2;
PyObject *tmp_dict_key_2;
PyObject *tmp_dict_value_2;
tmp_tuple_element_2 = mod_consts[195];
tmp_defaults_2 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_defaults_2, 0, tmp_tuple_element_2);
tmp_tuple_element_2 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[79]);
if (unlikely(tmp_tuple_element_2 == NULL)) {
tmp_tuple_element_2 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[79]);
}
if (tmp_tuple_element_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 193;
goto tuple_build_exception_2;
}
PyTuple_SET_ITEM0(tmp_defaults_2, 1, tmp_tuple_element_2);
goto tuple_build_noexception_2;
// Exception handling pass through code for tuple_build:
tuple_build_exception_2:;
Py_DECREF(tmp_defaults_2);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_2:;
tmp_dict_key_2 = mod_consts[61];
tmp_dict_value_2 = (PyObject *)&PyUnicode_Type;
tmp_annotations_2 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_19;
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[196];
tmp_dict_value_2 = (PyObject *)&PyLong_Type;
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[51];
tmp_dict_value_2 = (PyObject *)&PyLong_Type;
tmp_res = PyDict_SetItem(tmp_annotations_2, tmp_dict_key_2, tmp_dict_value_2);
assert(!(tmp_res != 0));
tmp_dict_key_2 = mod_consts[70];
tmp_expression_value_19 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_19 == NULL)) {
tmp_expression_value_19 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 194;
goto dict_build_exception_2;
}
tmp_dict_value_2 = LOOKUP_ATTRIBUTE(tmp_expression_value_19, mod_consts[0]);
if (tmp_dict_value_2 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 194;
goto dict_build_exception_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));
}
goto dict_build_noexception_2;
// Exception handling pass through code for dict_build:
dict_build_exception_2:;
Py_DECREF(tmp_defaults_2);
Py_DECREF(tmp_annotations_2);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_2:;
tmp_assign_source_37 = MAKE_FUNCTION_tornado$netutil$$$function__2_bind_unix_socket(tmp_defaults_2, tmp_annotations_2);
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[197], tmp_assign_source_37);
}
branch_no_2:;
{
PyObject *tmp_assign_source_38;
PyObject *tmp_annotations_3;
PyObject *tmp_dict_key_3;
PyObject *tmp_dict_value_3;
PyObject *tmp_expression_value_20;
tmp_dict_key_3 = mod_consts[36];
tmp_expression_value_20 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_20 == NULL)) {
tmp_expression_value_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
goto frame_exception_exit_1;
}
tmp_dict_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_20, mod_consts[0]);
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
goto frame_exception_exit_1;
}
tmp_annotations_3 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_21;
PyObject *tmp_subscript_value_4;
PyObject *tmp_tuple_element_3;
PyObject *tmp_list_element_1;
PyObject *tmp_expression_value_22;
PyObject *tmp_expression_value_23;
PyObject *tmp_subscript_value_5;
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[82];
tmp_expression_value_21 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[172]);
if (unlikely(tmp_expression_value_21 == NULL)) {
tmp_expression_value_21 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[172]);
}
if (tmp_expression_value_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
goto dict_build_exception_3;
}
tmp_expression_value_22 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_22 == NULL)) {
tmp_expression_value_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
goto dict_build_exception_3;
}
tmp_list_element_1 = LOOKUP_ATTRIBUTE(tmp_expression_value_22, mod_consts[0]);
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
goto dict_build_exception_3;
}
tmp_tuple_element_3 = MAKE_LIST_EMPTY(2);
PyList_SET_ITEM(tmp_tuple_element_3, 0, tmp_list_element_1);
tmp_list_element_1 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[173]);
if (unlikely(tmp_list_element_1 == NULL)) {
tmp_list_element_1 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[173]);
}
if (tmp_list_element_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
goto list_build_exception_1;
}
PyList_SET_ITEM0(tmp_tuple_element_3, 1, tmp_list_element_1);
goto list_build_noexception_1;
// Exception handling pass through code for list_build:
list_build_exception_1:;
Py_DECREF(tmp_tuple_element_3);
goto dict_build_exception_3;
// Finished with no exception for list_build:
list_build_noexception_1:;
tmp_subscript_value_4 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_4, 0, tmp_tuple_element_3);
tmp_tuple_element_3 = Py_None;
PyTuple_SET_ITEM0(tmp_subscript_value_4, 1, tmp_tuple_element_3);
tmp_dict_value_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_21, tmp_subscript_value_4);
Py_DECREF(tmp_subscript_value_4);
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 228;
goto dict_build_exception_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[70];
tmp_expression_value_23 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[172]);
if (unlikely(tmp_expression_value_23 == NULL)) {
tmp_expression_value_23 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[172]);
}
if (tmp_expression_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto dict_build_exception_3;
}
tmp_subscript_value_5 = DEEP_COPY_TUPLE_GUIDED(mod_consts[198], "li");
tmp_dict_value_3 = LOOKUP_SUBSCRIPT(tmp_expression_value_23, tmp_subscript_value_5);
Py_DECREF(tmp_subscript_value_5);
if (tmp_dict_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 229;
goto dict_build_exception_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));
}
goto dict_build_noexception_3;
// Exception handling pass through code for dict_build:
dict_build_exception_3:;
Py_DECREF(tmp_annotations_3);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_3:;
tmp_assign_source_38 = MAKE_FUNCTION_tornado$netutil$$$function__3_add_accept_handler(tmp_annotations_3);
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[199], tmp_assign_source_38);
}
{
PyObject *tmp_assign_source_39;
PyObject *tmp_annotations_4;
tmp_annotations_4 = DICT_COPY(mod_consts[200]);
tmp_assign_source_39 = MAKE_FUNCTION_tornado$netutil$$$function__4_is_valid_ip(tmp_annotations_4);
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[201], tmp_assign_source_39);
}
// Tried code:
{
PyObject *tmp_assign_source_40;
PyObject *tmp_tuple_element_4;
tmp_tuple_element_4 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[170]);
if (unlikely(tmp_tuple_element_4 == NULL)) {
tmp_tuple_element_4 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[170]);
}
if (tmp_tuple_element_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
goto try_except_handler_6;
}
tmp_assign_source_40 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_40, 0, tmp_tuple_element_4);
assert(tmp_class_creation_1__bases_orig == NULL);
tmp_class_creation_1__bases_orig = tmp_assign_source_40;
}
{
PyObject *tmp_assign_source_41;
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_41 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
goto try_except_handler_6;
}
assert(tmp_class_creation_1__bases == NULL);
tmp_class_creation_1__bases = tmp_assign_source_41;
}
{
PyObject *tmp_assign_source_42;
tmp_assign_source_42 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__class_decl_dict == NULL);
tmp_class_creation_1__class_decl_dict = tmp_assign_source_42;
}
{
PyObject *tmp_assign_source_43;
PyObject *tmp_metaclass_value_1;
bool tmp_condition_result_3;
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_4;
int tmp_truth_name_1;
PyObject *tmp_type_arg_1;
PyObject *tmp_expression_value_24;
PyObject *tmp_subscript_value_6;
PyObject *tmp_bases_value_1;
tmp_key_value_1 = mod_consts[202];
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_3 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_3 != 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[202];
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 = 314;
goto try_except_handler_6;
}
tmp_condition_result_4 = tmp_truth_name_1 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_4 == 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_24 = tmp_class_creation_1__bases;
tmp_subscript_value_6 = mod_consts[11];
tmp_type_arg_1 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_24, tmp_subscript_value_6, 0);
if (tmp_type_arg_1 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
goto try_except_handler_6;
}
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 = 314;
goto try_except_handler_6;
}
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_43 = SELECT_METACLASS(tmp_metaclass_value_1, tmp_bases_value_1);
Py_DECREF(tmp_metaclass_value_1);
if (tmp_assign_source_43 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
goto try_except_handler_6;
}
assert(tmp_class_creation_1__metaclass == NULL);
tmp_class_creation_1__metaclass = tmp_assign_source_43;
}
{
bool tmp_condition_result_5;
PyObject *tmp_key_value_3;
PyObject *tmp_dict_arg_value_3;
tmp_key_value_3 = mod_consts[202];
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_5 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_5 != false) {
goto branch_yes_3;
} else {
goto branch_no_3;
}
}
branch_yes_3:;
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_1__class_decl_dict;
tmp_dictdel_key = mod_consts[202];
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 = 314;
goto try_except_handler_6;
}
branch_no_3:;
{
nuitka_bool tmp_condition_result_6;
PyObject *tmp_expression_value_25;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_25 = tmp_class_creation_1__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_25, mod_consts[203]);
tmp_condition_result_6 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_6 == NUITKA_BOOL_TRUE) {
goto branch_yes_4;
} else {
goto branch_no_4;
}
}
branch_yes_4:;
{
PyObject *tmp_assign_source_44;
PyObject *tmp_called_value_3;
PyObject *tmp_expression_value_26;
PyObject *tmp_args_value_1;
PyObject *tmp_tuple_element_5;
PyObject *tmp_kwargs_value_1;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_expression_value_26 = tmp_class_creation_1__metaclass;
tmp_called_value_3 = LOOKUP_ATTRIBUTE(tmp_expression_value_26, mod_consts[203]);
if (tmp_called_value_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
goto try_except_handler_6;
}
tmp_tuple_element_5 = mod_consts[90];
tmp_args_value_1 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_1, 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_1, 1, tmp_tuple_element_5);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_1 = tmp_class_creation_1__class_decl_dict;
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 314;
tmp_assign_source_44 = CALL_FUNCTION(tmp_called_value_3, tmp_args_value_1, tmp_kwargs_value_1);
Py_DECREF(tmp_called_value_3);
Py_DECREF(tmp_args_value_1);
if (tmp_assign_source_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
goto try_except_handler_6;
}
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_44;
}
{
bool tmp_condition_result_7;
PyObject *tmp_operand_value_1;
PyObject *tmp_expression_value_27;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_expression_value_27 = tmp_class_creation_1__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_27, mod_consts[204]);
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 = 314;
goto try_except_handler_6;
}
tmp_condition_result_7 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_7 != false) {
goto branch_yes_5;
} else {
goto branch_no_5;
}
}
branch_yes_5:;
{
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_6;
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[205];
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_getattr_target_1 = tmp_class_creation_1__metaclass;
tmp_getattr_attr_1 = mod_consts[206];
tmp_getattr_default_1 = mod_consts[207];
tmp_tuple_element_6 = BUILTIN_GETATTR(tmp_getattr_target_1, tmp_getattr_attr_1, tmp_getattr_default_1);
if (tmp_tuple_element_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
goto try_except_handler_6;
}
tmp_mod_expr_right_1 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_28;
PyObject *tmp_type_arg_2;
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 0, tmp_tuple_element_6);
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_type_arg_2 = tmp_class_creation_1__prepared;
tmp_expression_value_28 = BUILTIN_TYPE1(tmp_type_arg_2);
assert(!(tmp_expression_value_28 == NULL));
tmp_tuple_element_6 = LOOKUP_ATTRIBUTE(tmp_expression_value_28, mod_consts[206]);
Py_DECREF(tmp_expression_value_28);
if (tmp_tuple_element_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
goto tuple_build_exception_3;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_1, 1, tmp_tuple_element_6);
}
goto tuple_build_noexception_3;
// Exception handling pass through code for tuple_build:
tuple_build_exception_3:;
Py_DECREF(tmp_mod_expr_right_1);
goto try_except_handler_6;
// Finished with no exception for tuple_build:
tuple_build_noexception_3:;
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 = 314;
goto try_except_handler_6;
}
exception_type = tmp_raise_type_1;
Py_INCREF(tmp_raise_type_1);
exception_value = tmp_raise_value_1;
exception_lineno = 314;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_6;
}
branch_no_5:;
goto branch_end_4;
branch_no_4:;
{
PyObject *tmp_assign_source_45;
tmp_assign_source_45 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_1__prepared == NULL);
tmp_class_creation_1__prepared = tmp_assign_source_45;
}
branch_end_4:;
{
PyObject *tmp_assign_source_46;
{
PyObject *tmp_set_locals_1;
CHECK_OBJECT(tmp_class_creation_1__prepared);
tmp_set_locals_1 = tmp_class_creation_1__prepared;
locals_tornado$netutil$$$class__1_Resolver_314 = tmp_set_locals_1;
Py_INCREF(tmp_set_locals_1);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[208];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[209], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
goto try_except_handler_8;
}
tmp_dictset_value = mod_consts[210];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[155], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
goto try_except_handler_8;
}
tmp_dictset_value = mod_consts[90];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[211], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
goto try_except_handler_8;
}
if (isFrameUnusable(cache_frame_29d32c3a26613a6a4f27fde4f2ff7633_2)) {
Py_XDECREF(cache_frame_29d32c3a26613a6a4f27fde4f2ff7633_2);
#if _DEBUG_REFCOUNTS
if (cache_frame_29d32c3a26613a6a4f27fde4f2ff7633_2 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_29d32c3a26613a6a4f27fde4f2ff7633_2 = MAKE_CLASS_FRAME(codeobj_29d32c3a26613a6a4f27fde4f2ff7633, module_tornado$netutil, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_29d32c3a26613a6a4f27fde4f2ff7633_2->m_type_description == NULL);
frame_29d32c3a26613a6a4f27fde4f2ff7633_2 = cache_frame_29d32c3a26613a6a4f27fde4f2ff7633_2;
// Push the new frame as the currently active one.
pushFrameStack(frame_29d32c3a26613a6a4f27fde4f2ff7633_2);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_29d32c3a26613a6a4f27fde4f2ff7633_2) == 2); // Frame stack
// Framed code:
{
nuitka_bool tmp_condition_result_8;
PyObject *tmp_called_value_4;
PyObject *tmp_args_element_value_3;
PyObject *tmp_annotations_5;
PyObject *tmp_dict_key_4;
PyObject *tmp_dict_value_4;
PyObject *tmp_expression_value_29;
PyObject *tmp_subscript_value_7;
PyObject *tmp_classmethod_arg_1;
PyObject *tmp_annotations_6;
PyObject *tmp_dict_key_5;
PyObject *tmp_dict_value_5;
PyObject *tmp_expression_value_30;
PyObject *tmp_subscript_value_8;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[212]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_condition_result_8 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_8 == NUITKA_BOOL_TRUE) {
goto condexpr_true_3;
} else {
goto condexpr_false_3;
}
condexpr_true_3:;
tmp_called_value_4 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[212]);
if (unlikely(tmp_called_value_4 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[212]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 343;
type_description_2 = "o";
goto frame_exception_exit_2;
}
if (tmp_called_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dict_key_4 = mod_consts[70];
tmp_expression_value_29 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[174]);
if (tmp_expression_value_29 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_29 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[174]);
if (unlikely(tmp_expression_value_29 == NULL)) {
tmp_expression_value_29 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[174]);
}
if (tmp_expression_value_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 344;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_expression_value_29);
} else {
goto frame_exception_exit_2;
}
}
tmp_subscript_value_7 = mod_consts[90];
tmp_dict_value_4 = LOOKUP_SUBSCRIPT(tmp_expression_value_29, tmp_subscript_value_7);
Py_DECREF(tmp_expression_value_29);
if (tmp_dict_value_4 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_4);
exception_lineno = 344;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_annotations_5 = _PyDict_NewPresized( 1 );
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_args_element_value_3 = MAKE_FUNCTION_tornado$netutil$$$function__5_configurable_base(tmp_annotations_5);
frame_29d32c3a26613a6a4f27fde4f2ff7633_2->m_frame.f_lineno = 343;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_4, tmp_args_element_value_3);
Py_DECREF(tmp_called_value_4);
Py_DECREF(tmp_args_element_value_3);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_3;
condexpr_false_3:;
tmp_dict_key_5 = mod_consts[70];
tmp_expression_value_30 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[174]);
if (tmp_expression_value_30 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_30 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[174]);
if (unlikely(tmp_expression_value_30 == NULL)) {
tmp_expression_value_30 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[174]);
}
if (tmp_expression_value_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 344;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_expression_value_30);
} else {
goto frame_exception_exit_2;
}
}
tmp_subscript_value_8 = mod_consts[90];
tmp_dict_value_5 = LOOKUP_SUBSCRIPT(tmp_expression_value_30, tmp_subscript_value_8);
Py_DECREF(tmp_expression_value_30);
if (tmp_dict_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 344;
type_description_2 = "o";
goto frame_exception_exit_2;
}
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_classmethod_arg_1 = MAKE_FUNCTION_tornado$netutil$$$function__5_configurable_base(tmp_annotations_6);
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_1);
Py_DECREF(tmp_classmethod_arg_1);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 343;
type_description_2 = "o";
goto frame_exception_exit_2;
}
condexpr_end_3:;
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[213], 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 = 344;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
nuitka_bool tmp_condition_result_9;
PyObject *tmp_called_value_5;
PyObject *tmp_args_element_value_4;
PyObject *tmp_annotations_7;
PyObject *tmp_dict_key_6;
PyObject *tmp_dict_value_6;
PyObject *tmp_expression_value_31;
PyObject *tmp_subscript_value_9;
PyObject *tmp_classmethod_arg_2;
PyObject *tmp_annotations_8;
PyObject *tmp_dict_key_7;
PyObject *tmp_dict_value_7;
PyObject *tmp_expression_value_32;
PyObject *tmp_subscript_value_10;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[212]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_condition_result_9 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_9 == NUITKA_BOOL_TRUE) {
goto condexpr_true_4;
} else {
goto condexpr_false_4;
}
condexpr_true_4:;
tmp_called_value_5 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[212]);
if (unlikely(tmp_called_value_5 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[212]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 347;
type_description_2 = "o";
goto frame_exception_exit_2;
}
if (tmp_called_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_dict_key_6 = mod_consts[70];
tmp_expression_value_31 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[174]);
if (tmp_expression_value_31 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_31 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[174]);
if (unlikely(tmp_expression_value_31 == NULL)) {
tmp_expression_value_31 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[174]);
}
if (tmp_expression_value_31 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 348;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_expression_value_31);
} else {
goto frame_exception_exit_2;
}
}
tmp_subscript_value_9 = mod_consts[90];
tmp_dict_value_6 = LOOKUP_SUBSCRIPT(tmp_expression_value_31, tmp_subscript_value_9);
Py_DECREF(tmp_expression_value_31);
if (tmp_dict_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_5);
exception_lineno = 348;
type_description_2 = "o";
goto frame_exception_exit_2;
}
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_4 = MAKE_FUNCTION_tornado$netutil$$$function__6_configurable_default(tmp_annotations_7);
frame_29d32c3a26613a6a4f27fde4f2ff7633_2->m_frame.f_lineno = 347;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_5, tmp_args_element_value_4);
Py_DECREF(tmp_called_value_5);
Py_DECREF(tmp_args_element_value_4);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_2 = "o";
goto frame_exception_exit_2;
}
goto condexpr_end_4;
condexpr_false_4:;
tmp_dict_key_7 = mod_consts[70];
tmp_expression_value_32 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[174]);
if (tmp_expression_value_32 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_32 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[174]);
if (unlikely(tmp_expression_value_32 == NULL)) {
tmp_expression_value_32 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[174]);
}
if (tmp_expression_value_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_expression_value_32);
} else {
goto frame_exception_exit_2;
}
}
tmp_subscript_value_10 = mod_consts[90];
tmp_dict_value_7 = LOOKUP_SUBSCRIPT(tmp_expression_value_32, tmp_subscript_value_10);
Py_DECREF(tmp_expression_value_32);
if (tmp_dict_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 348;
type_description_2 = "o";
goto frame_exception_exit_2;
}
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_classmethod_arg_2 = MAKE_FUNCTION_tornado$netutil$$$function__6_configurable_default(tmp_annotations_8);
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_2);
Py_DECREF(tmp_classmethod_arg_2);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 347;
type_description_2 = "o";
goto frame_exception_exit_2;
}
condexpr_end_4:;
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[215], 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 = 348;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_defaults_3;
PyObject *tmp_tuple_element_7;
PyObject *tmp_expression_value_33;
PyObject *tmp_annotations_9;
PyObject *tmp_dict_key_8;
PyObject *tmp_dict_value_8;
tmp_expression_value_33 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[0]);
if (tmp_expression_value_33 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_33 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_33 == NULL)) {
tmp_expression_value_33 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_33 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_2 = "o";
goto frame_exception_exit_2;
}
Py_INCREF(tmp_expression_value_33);
} else {
goto frame_exception_exit_2;
}
}
tmp_tuple_element_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_33, mod_consts[5]);
Py_DECREF(tmp_expression_value_33);
if (tmp_tuple_element_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_2 = "o";
goto frame_exception_exit_2;
}
tmp_defaults_3 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_defaults_3, 0, tmp_tuple_element_7);
tmp_dict_key_8 = mod_consts[96];
tmp_dict_value_8 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[217]);
if (tmp_dict_value_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_8 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_8);
} else {
goto frame_exception_exit_2;
}
}
tmp_annotations_9 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_34;
PyObject *tmp_expression_value_35;
PyObject *tmp_subscript_value_11;
PyObject *tmp_expression_value_36;
PyObject *tmp_subscript_value_12;
PyObject *tmp_expression_value_37;
PyObject *tmp_subscript_value_13;
PyObject *tmp_tuple_element_8;
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dict_key_8 = mod_consts[97];
tmp_dict_value_8 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[218]);
if (tmp_dict_value_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_8 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_8);
} else {
goto dict_build_exception_4;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dict_key_8 = mod_consts[98];
tmp_expression_value_34 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[0]);
if (tmp_expression_value_34 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_34 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_34 == NULL)) {
tmp_expression_value_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_2 = "o";
goto dict_build_exception_4;
}
Py_INCREF(tmp_expression_value_34);
} else {
goto dict_build_exception_4;
}
}
tmp_dict_value_8 = LOOKUP_ATTRIBUTE(tmp_expression_value_34, mod_consts[191]);
Py_DECREF(tmp_expression_value_34);
if (tmp_dict_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 352;
type_description_2 = "o";
goto dict_build_exception_4;
}
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
tmp_dict_key_8 = mod_consts[70];
tmp_expression_value_35 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[178]);
if (tmp_expression_value_35 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_35 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[178]);
if (unlikely(tmp_expression_value_35 == NULL)) {
tmp_expression_value_35 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[178]);
}
if (tmp_expression_value_35 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 353;
type_description_2 = "o";
goto dict_build_exception_4;
}
Py_INCREF(tmp_expression_value_35);
} else {
goto dict_build_exception_4;
}
}
tmp_expression_value_36 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[171]);
if (tmp_expression_value_36 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_36 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[171]);
if (unlikely(tmp_expression_value_36 == NULL)) {
tmp_expression_value_36 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[171]);
}
if (tmp_expression_value_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_35);
exception_lineno = 353;
type_description_2 = "o";
goto dict_build_exception_4;
}
Py_INCREF(tmp_expression_value_36);
} else {
goto dict_build_exception_4;
}
}
tmp_expression_value_37 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[177]);
if (tmp_expression_value_37 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_37 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[177]);
if (unlikely(tmp_expression_value_37 == NULL)) {
tmp_expression_value_37 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[177]);
}
if (tmp_expression_value_37 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_35);
Py_DECREF(tmp_expression_value_36);
exception_lineno = 353;
type_description_2 = "o";
goto dict_build_exception_4;
}
Py_INCREF(tmp_expression_value_37);
} else {
goto dict_build_exception_4;
}
}
tmp_tuple_element_8 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[218]);
if (tmp_tuple_element_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_8 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_tuple_element_8);
} else {
goto dict_build_exception_4;
}
}
tmp_subscript_value_13 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_13, 0, tmp_tuple_element_8);
tmp_tuple_element_8 = PyObject_GetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[173]);
if (tmp_tuple_element_8 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_8 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[173]);
if (unlikely(tmp_tuple_element_8 == NULL)) {
tmp_tuple_element_8 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[173]);
}
if (tmp_tuple_element_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 353;
type_description_2 = "o";
goto tuple_build_exception_4;
}
Py_INCREF(tmp_tuple_element_8);
} else {
goto tuple_build_exception_4;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_13, 1, tmp_tuple_element_8);
goto tuple_build_noexception_4;
// Exception handling pass through code for tuple_build:
tuple_build_exception_4:;
Py_DECREF(tmp_expression_value_35);
Py_DECREF(tmp_expression_value_36);
Py_DECREF(tmp_expression_value_37);
Py_DECREF(tmp_subscript_value_13);
goto dict_build_exception_4;
// Finished with no exception for tuple_build:
tuple_build_noexception_4:;
tmp_subscript_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_value_37, tmp_subscript_value_13);
Py_DECREF(tmp_expression_value_37);
Py_DECREF(tmp_subscript_value_13);
if (tmp_subscript_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_35);
Py_DECREF(tmp_expression_value_36);
exception_lineno = 353;
type_description_2 = "o";
goto dict_build_exception_4;
}
tmp_subscript_value_11 = LOOKUP_SUBSCRIPT(tmp_expression_value_36, tmp_subscript_value_12);
Py_DECREF(tmp_expression_value_36);
Py_DECREF(tmp_subscript_value_12);
if (tmp_subscript_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_35);
exception_lineno = 353;
type_description_2 = "o";
goto dict_build_exception_4;
}
tmp_dict_value_8 = LOOKUP_SUBSCRIPT(tmp_expression_value_35, tmp_subscript_value_11);
Py_DECREF(tmp_expression_value_35);
Py_DECREF(tmp_subscript_value_11);
if (tmp_dict_value_8 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 353;
type_description_2 = "o";
goto dict_build_exception_4;
}
tmp_res = PyDict_SetItem(tmp_annotations_9, tmp_dict_key_8, tmp_dict_value_8);
Py_DECREF(tmp_dict_value_8);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_4;
// Exception handling pass through code for dict_build:
dict_build_exception_4:;
Py_DECREF(tmp_defaults_3);
Py_DECREF(tmp_annotations_9);
goto frame_exception_exit_2;
// Finished with no exception for dict_build:
dict_build_noexception_4:;
tmp_dictset_value = MAKE_FUNCTION_tornado$netutil$$$function__7_resolve(tmp_defaults_3, tmp_annotations_9);
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[99], 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 = 351;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
{
PyObject *tmp_annotations_10;
tmp_annotations_10 = DICT_COPY(mod_consts[73]);
tmp_dictset_value = MAKE_FUNCTION_tornado$netutil$$$function__8_close(tmp_annotations_10);
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[48], 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 = 377;
type_description_2 = "o";
goto frame_exception_exit_2;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_29d32c3a26613a6a4f27fde4f2ff7633_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_29d32c3a26613a6a4f27fde4f2ff7633_2);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_29d32c3a26613a6a4f27fde4f2ff7633_2, exception_lineno);
} else if (exception_tb->tb_frame != &frame_29d32c3a26613a6a4f27fde4f2ff7633_2->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_29d32c3a26613a6a4f27fde4f2ff7633_2, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_29d32c3a26613a6a4f27fde4f2ff7633_2,
type_description_2,
outline_0_var___class__
);
// Release cached frame if used for exception.
if (frame_29d32c3a26613a6a4f27fde4f2ff7633_2 == cache_frame_29d32c3a26613a6a4f27fde4f2ff7633_2) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_29d32c3a26613a6a4f27fde4f2ff7633_2);
cache_frame_29d32c3a26613a6a4f27fde4f2ff7633_2 = NULL;
}
assertFrameObject(frame_29d32c3a26613a6a4f27fde4f2ff7633_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_8;
skip_nested_handling_1:;
{
nuitka_bool tmp_condition_result_10;
PyObject *tmp_cmp_expr_left_1;
PyObject *tmp_cmp_expr_right_1;
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_cmp_expr_left_1 = tmp_class_creation_1__bases;
CHECK_OBJECT(tmp_class_creation_1__bases_orig);
tmp_cmp_expr_right_1 = tmp_class_creation_1__bases_orig;
tmp_condition_result_10 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_1, tmp_cmp_expr_right_1);
if (tmp_condition_result_10 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
goto try_except_handler_8;
}
if (tmp_condition_result_10 == NUITKA_BOOL_TRUE) {
goto branch_yes_6;
} else {
goto branch_no_6;
}
}
branch_yes_6:;
CHECK_OBJECT(tmp_class_creation_1__bases_orig);
tmp_dictset_value = tmp_class_creation_1__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__1_Resolver_314, mod_consts[222], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
goto try_except_handler_8;
}
branch_no_6:;
{
PyObject *tmp_assign_source_47;
PyObject *tmp_called_value_6;
PyObject *tmp_args_value_2;
PyObject *tmp_tuple_element_9;
PyObject *tmp_kwargs_value_2;
CHECK_OBJECT(tmp_class_creation_1__metaclass);
tmp_called_value_6 = tmp_class_creation_1__metaclass;
tmp_tuple_element_9 = mod_consts[90];
tmp_args_value_2 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_2, 0, tmp_tuple_element_9);
CHECK_OBJECT(tmp_class_creation_1__bases);
tmp_tuple_element_9 = tmp_class_creation_1__bases;
PyTuple_SET_ITEM0(tmp_args_value_2, 1, tmp_tuple_element_9);
tmp_tuple_element_9 = locals_tornado$netutil$$$class__1_Resolver_314;
PyTuple_SET_ITEM0(tmp_args_value_2, 2, tmp_tuple_element_9);
CHECK_OBJECT(tmp_class_creation_1__class_decl_dict);
tmp_kwargs_value_2 = tmp_class_creation_1__class_decl_dict;
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 314;
tmp_assign_source_47 = CALL_FUNCTION(tmp_called_value_6, tmp_args_value_2, tmp_kwargs_value_2);
Py_DECREF(tmp_args_value_2);
if (tmp_assign_source_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 314;
goto try_except_handler_8;
}
assert(outline_0_var___class__ == NULL);
outline_0_var___class__ = tmp_assign_source_47;
}
CHECK_OBJECT(outline_0_var___class__);
tmp_assign_source_46 = outline_0_var___class__;
Py_INCREF(tmp_assign_source_46);
goto try_return_handler_8;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_8:;
Py_DECREF(locals_tornado$netutil$$$class__1_Resolver_314);
locals_tornado$netutil$$$class__1_Resolver_314 = NULL;
goto try_return_handler_7;
// Exception handler code:
try_except_handler_8:;
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_DECREF(locals_tornado$netutil$$$class__1_Resolver_314);
locals_tornado$netutil$$$class__1_Resolver_314 = NULL;
// Re-raise.
exception_type = exception_keeper_type_6;
exception_value = exception_keeper_value_6;
exception_tb = exception_keeper_tb_6;
exception_lineno = exception_keeper_lineno_6;
goto try_except_handler_7;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_7:;
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_7:;
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;
// 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 outline_exception_1;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_1:;
exception_lineno = 314;
goto try_except_handler_6;
outline_result_1:;
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[90], tmp_assign_source_46);
}
goto try_end_6;
// Exception handler code:
try_except_handler_6:;
exception_keeper_type_8 = exception_type;
exception_keeper_value_8 = exception_value;
exception_keeper_tb_8 = exception_tb;
exception_keeper_lineno_8 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_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_8;
exception_value = exception_keeper_value_8;
exception_tb = exception_keeper_tb_8;
exception_lineno = exception_keeper_lineno_8;
goto frame_exception_exit_1;
// End of try:
try_end_6:;
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;
{
PyObject *tmp_assign_source_48;
PyObject *tmp_defaults_4;
PyObject *tmp_tuple_element_10;
PyObject *tmp_expression_value_38;
PyObject *tmp_annotations_11;
PyObject *tmp_dict_key_9;
PyObject *tmp_dict_value_9;
tmp_expression_value_38 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_38 == NULL)) {
tmp_expression_value_38 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
goto frame_exception_exit_1;
}
tmp_tuple_element_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_38, mod_consts[5]);
if (tmp_tuple_element_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
goto frame_exception_exit_1;
}
tmp_defaults_4 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_defaults_4, 0, tmp_tuple_element_10);
tmp_dict_key_9 = mod_consts[96];
tmp_dict_value_9 = (PyObject *)&PyUnicode_Type;
tmp_annotations_11 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_39;
PyObject *tmp_expression_value_40;
PyObject *tmp_subscript_value_14;
PyObject *tmp_expression_value_41;
PyObject *tmp_subscript_value_15;
PyObject *tmp_tuple_element_11;
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_9, tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[97];
tmp_dict_value_9 = (PyObject *)&PyLong_Type;
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_9, tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[98];
tmp_expression_value_39 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_39 == NULL)) {
tmp_expression_value_39 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_39 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
goto dict_build_exception_5;
}
tmp_dict_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_39, mod_consts[191]);
if (tmp_dict_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 387;
goto dict_build_exception_5;
}
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
tmp_dict_key_9 = mod_consts[70];
tmp_expression_value_40 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[171]);
if (unlikely(tmp_expression_value_40 == NULL)) {
tmp_expression_value_40 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[171]);
}
if (tmp_expression_value_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
goto dict_build_exception_5;
}
tmp_expression_value_41 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[177]);
if (unlikely(tmp_expression_value_41 == NULL)) {
tmp_expression_value_41 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[177]);
}
if (tmp_expression_value_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
goto dict_build_exception_5;
}
tmp_tuple_element_11 = (PyObject *)&PyLong_Type;
tmp_subscript_value_15 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_15, 0, tmp_tuple_element_11);
tmp_tuple_element_11 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[173]);
if (unlikely(tmp_tuple_element_11 == NULL)) {
tmp_tuple_element_11 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[173]);
}
if (tmp_tuple_element_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
goto tuple_build_exception_5;
}
PyTuple_SET_ITEM0(tmp_subscript_value_15, 1, tmp_tuple_element_11);
goto tuple_build_noexception_5;
// Exception handling pass through code for tuple_build:
tuple_build_exception_5:;
Py_DECREF(tmp_subscript_value_15);
goto dict_build_exception_5;
// Finished with no exception for tuple_build:
tuple_build_noexception_5:;
tmp_subscript_value_14 = LOOKUP_SUBSCRIPT(tmp_expression_value_41, tmp_subscript_value_15);
Py_DECREF(tmp_subscript_value_15);
if (tmp_subscript_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
goto dict_build_exception_5;
}
tmp_dict_value_9 = LOOKUP_SUBSCRIPT(tmp_expression_value_40, tmp_subscript_value_14);
Py_DECREF(tmp_subscript_value_14);
if (tmp_dict_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 388;
goto dict_build_exception_5;
}
tmp_res = PyDict_SetItem(tmp_annotations_11, tmp_dict_key_9, tmp_dict_value_9);
Py_DECREF(tmp_dict_value_9);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_5;
// Exception handling pass through code for dict_build:
dict_build_exception_5:;
Py_DECREF(tmp_defaults_4);
Py_DECREF(tmp_annotations_11);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_5:;
tmp_assign_source_48 = MAKE_FUNCTION_tornado$netutil$$$function__9__resolve_addr(tmp_defaults_4, tmp_annotations_11);
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[95], tmp_assign_source_48);
}
// Tried code:
{
PyObject *tmp_assign_source_49;
PyObject *tmp_tuple_element_12;
tmp_tuple_element_12 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[90]);
if (unlikely(tmp_tuple_element_12 == NULL)) {
tmp_tuple_element_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[90]);
}
if (tmp_tuple_element_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
goto try_except_handler_9;
}
tmp_assign_source_49 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_49, 0, tmp_tuple_element_12);
assert(tmp_class_creation_2__bases_orig == NULL);
tmp_class_creation_2__bases_orig = tmp_assign_source_49;
}
{
PyObject *tmp_assign_source_50;
PyObject *tmp_dircall_arg1_2;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
tmp_dircall_arg1_2 = tmp_class_creation_2__bases_orig;
Py_INCREF(tmp_dircall_arg1_2);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_2};
tmp_assign_source_50 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
goto try_except_handler_9;
}
assert(tmp_class_creation_2__bases == NULL);
tmp_class_creation_2__bases = tmp_assign_source_50;
}
{
PyObject *tmp_assign_source_51;
tmp_assign_source_51 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__class_decl_dict == NULL);
tmp_class_creation_2__class_decl_dict = tmp_assign_source_51;
}
{
PyObject *tmp_assign_source_52;
PyObject *tmp_metaclass_value_2;
bool tmp_condition_result_11;
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_12;
int tmp_truth_name_2;
PyObject *tmp_type_arg_3;
PyObject *tmp_expression_value_42;
PyObject *tmp_subscript_value_16;
PyObject *tmp_bases_value_2;
tmp_key_value_4 = mod_consts[202];
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_11 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_11 != false) {
goto condexpr_true_5;
} else {
goto condexpr_false_5;
}
condexpr_true_5:;
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[202];
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_5;
condexpr_false_5:;
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 = 401;
goto try_except_handler_9;
}
tmp_condition_result_12 = tmp_truth_name_2 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_12 == NUITKA_BOOL_TRUE) {
goto condexpr_true_6;
} else {
goto condexpr_false_6;
}
condexpr_true_6:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_expression_value_42 = tmp_class_creation_2__bases;
tmp_subscript_value_16 = mod_consts[11];
tmp_type_arg_3 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_42, tmp_subscript_value_16, 0);
if (tmp_type_arg_3 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
goto try_except_handler_9;
}
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 = 401;
goto try_except_handler_9;
}
goto condexpr_end_6;
condexpr_false_6:;
tmp_metaclass_value_2 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_2);
condexpr_end_6:;
condexpr_end_5:;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_bases_value_2 = tmp_class_creation_2__bases;
tmp_assign_source_52 = SELECT_METACLASS(tmp_metaclass_value_2, tmp_bases_value_2);
Py_DECREF(tmp_metaclass_value_2);
if (tmp_assign_source_52 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
goto try_except_handler_9;
}
assert(tmp_class_creation_2__metaclass == NULL);
tmp_class_creation_2__metaclass = tmp_assign_source_52;
}
{
bool tmp_condition_result_13;
PyObject *tmp_key_value_6;
PyObject *tmp_dict_arg_value_6;
tmp_key_value_6 = mod_consts[202];
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_13 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_13 != false) {
goto branch_yes_7;
} else {
goto branch_no_7;
}
}
branch_yes_7:;
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_2__class_decl_dict;
tmp_dictdel_key = mod_consts[202];
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 = 401;
goto try_except_handler_9;
}
branch_no_7:;
{
nuitka_bool tmp_condition_result_14;
PyObject *tmp_expression_value_43;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_43 = tmp_class_creation_2__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_43, mod_consts[203]);
tmp_condition_result_14 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_14 == NUITKA_BOOL_TRUE) {
goto branch_yes_8;
} else {
goto branch_no_8;
}
}
branch_yes_8:;
{
PyObject *tmp_assign_source_53;
PyObject *tmp_called_value_7;
PyObject *tmp_expression_value_44;
PyObject *tmp_args_value_3;
PyObject *tmp_tuple_element_13;
PyObject *tmp_kwargs_value_3;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_expression_value_44 = tmp_class_creation_2__metaclass;
tmp_called_value_7 = LOOKUP_ATTRIBUTE(tmp_expression_value_44, mod_consts[203]);
if (tmp_called_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
goto try_except_handler_9;
}
tmp_tuple_element_13 = mod_consts[223];
tmp_args_value_3 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_3, 0, tmp_tuple_element_13);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_13 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_3, 1, tmp_tuple_element_13);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_3 = tmp_class_creation_2__class_decl_dict;
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 401;
tmp_assign_source_53 = CALL_FUNCTION(tmp_called_value_7, tmp_args_value_3, tmp_kwargs_value_3);
Py_DECREF(tmp_called_value_7);
Py_DECREF(tmp_args_value_3);
if (tmp_assign_source_53 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
goto try_except_handler_9;
}
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_53;
}
{
bool tmp_condition_result_15;
PyObject *tmp_operand_value_2;
PyObject *tmp_expression_value_45;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_expression_value_45 = tmp_class_creation_2__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_45, mod_consts[204]);
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 = 401;
goto try_except_handler_9;
}
tmp_condition_result_15 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_15 != false) {
goto branch_yes_9;
} else {
goto branch_no_9;
}
}
branch_yes_9:;
{
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_14;
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[205];
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_getattr_target_2 = tmp_class_creation_2__metaclass;
tmp_getattr_attr_2 = mod_consts[206];
tmp_getattr_default_2 = mod_consts[207];
tmp_tuple_element_14 = BUILTIN_GETATTR(tmp_getattr_target_2, tmp_getattr_attr_2, tmp_getattr_default_2);
if (tmp_tuple_element_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
goto try_except_handler_9;
}
tmp_mod_expr_right_2 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_46;
PyObject *tmp_type_arg_4;
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 0, tmp_tuple_element_14);
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_type_arg_4 = tmp_class_creation_2__prepared;
tmp_expression_value_46 = BUILTIN_TYPE1(tmp_type_arg_4);
assert(!(tmp_expression_value_46 == NULL));
tmp_tuple_element_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_46, mod_consts[206]);
Py_DECREF(tmp_expression_value_46);
if (tmp_tuple_element_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
goto tuple_build_exception_6;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_2, 1, tmp_tuple_element_14);
}
goto tuple_build_noexception_6;
// Exception handling pass through code for tuple_build:
tuple_build_exception_6:;
Py_DECREF(tmp_mod_expr_right_2);
goto try_except_handler_9;
// Finished with no exception for tuple_build:
tuple_build_noexception_6:;
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 = 401;
goto try_except_handler_9;
}
exception_type = tmp_raise_type_2;
Py_INCREF(tmp_raise_type_2);
exception_value = tmp_raise_value_2;
exception_lineno = 401;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_9;
}
branch_no_9:;
goto branch_end_8;
branch_no_8:;
{
PyObject *tmp_assign_source_54;
tmp_assign_source_54 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_2__prepared == NULL);
tmp_class_creation_2__prepared = tmp_assign_source_54;
}
branch_end_8:;
{
PyObject *tmp_assign_source_55;
{
PyObject *tmp_set_locals_2;
CHECK_OBJECT(tmp_class_creation_2__prepared);
tmp_set_locals_2 = tmp_class_creation_2__prepared;
locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401 = tmp_set_locals_2;
Py_INCREF(tmp_set_locals_2);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[208];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401, mod_consts[209], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
goto try_except_handler_11;
}
tmp_dictset_value = mod_consts[224];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401, mod_consts[155], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
goto try_except_handler_11;
}
tmp_dictset_value = mod_consts[223];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401, mod_consts[211], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
goto try_except_handler_11;
}
if (isFrameUnusable(cache_frame_aab5efb99285a4ca81e45e3b1da26b28_3)) {
Py_XDECREF(cache_frame_aab5efb99285a4ca81e45e3b1da26b28_3);
#if _DEBUG_REFCOUNTS
if (cache_frame_aab5efb99285a4ca81e45e3b1da26b28_3 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_aab5efb99285a4ca81e45e3b1da26b28_3 = MAKE_CLASS_FRAME(codeobj_aab5efb99285a4ca81e45e3b1da26b28, module_tornado$netutil, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_aab5efb99285a4ca81e45e3b1da26b28_3->m_type_description == NULL);
frame_aab5efb99285a4ca81e45e3b1da26b28_3 = cache_frame_aab5efb99285a4ca81e45e3b1da26b28_3;
// Push the new frame as the currently active one.
pushFrameStack(frame_aab5efb99285a4ca81e45e3b1da26b28_3);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_aab5efb99285a4ca81e45e3b1da26b28_3) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_5;
PyObject *tmp_tuple_element_15;
PyObject *tmp_expression_value_47;
PyObject *tmp_annotations_12;
PyObject *tmp_dict_key_10;
PyObject *tmp_dict_value_10;
tmp_expression_value_47 = PyObject_GetItem(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401, mod_consts[0]);
if (tmp_expression_value_47 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_47 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_47 == NULL)) {
tmp_expression_value_47 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 412;
type_description_2 = "o";
goto frame_exception_exit_3;
}
Py_INCREF(tmp_expression_value_47);
} else {
goto frame_exception_exit_3;
}
}
tmp_tuple_element_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_47, mod_consts[5]);
Py_DECREF(tmp_expression_value_47);
if (tmp_tuple_element_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 412;
type_description_2 = "o";
goto frame_exception_exit_3;
}
tmp_defaults_5 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_defaults_5, 0, tmp_tuple_element_15);
tmp_dict_key_10 = mod_consts[96];
tmp_dict_value_10 = PyObject_GetItem(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401, mod_consts[217]);
if (tmp_dict_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_10 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_10);
} else {
goto frame_exception_exit_3;
}
}
tmp_annotations_12 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_48;
PyObject *tmp_expression_value_49;
PyObject *tmp_subscript_value_17;
PyObject *tmp_expression_value_50;
PyObject *tmp_subscript_value_18;
PyObject *tmp_tuple_element_16;
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dict_key_10 = mod_consts[97];
tmp_dict_value_10 = PyObject_GetItem(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401, mod_consts[218]);
if (tmp_dict_value_10 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_10 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_10);
} else {
goto dict_build_exception_6;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dict_key_10 = mod_consts[98];
tmp_expression_value_48 = PyObject_GetItem(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401, mod_consts[0]);
if (tmp_expression_value_48 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_48 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_48 == NULL)) {
tmp_expression_value_48 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_48 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 412;
type_description_2 = "o";
goto dict_build_exception_6;
}
Py_INCREF(tmp_expression_value_48);
} else {
goto dict_build_exception_6;
}
}
tmp_dict_value_10 = LOOKUP_ATTRIBUTE(tmp_expression_value_48, mod_consts[191]);
Py_DECREF(tmp_expression_value_48);
if (tmp_dict_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 412;
type_description_2 = "o";
goto dict_build_exception_6;
}
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
tmp_dict_key_10 = mod_consts[70];
tmp_expression_value_49 = PyObject_GetItem(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401, mod_consts[171]);
if (tmp_expression_value_49 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_49 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[171]);
if (unlikely(tmp_expression_value_49 == NULL)) {
tmp_expression_value_49 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[171]);
}
if (tmp_expression_value_49 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 413;
type_description_2 = "o";
goto dict_build_exception_6;
}
Py_INCREF(tmp_expression_value_49);
} else {
goto dict_build_exception_6;
}
}
tmp_expression_value_50 = PyObject_GetItem(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401, mod_consts[177]);
if (tmp_expression_value_50 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_50 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[177]);
if (unlikely(tmp_expression_value_50 == NULL)) {
tmp_expression_value_50 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[177]);
}
if (tmp_expression_value_50 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_49);
exception_lineno = 413;
type_description_2 = "o";
goto dict_build_exception_6;
}
Py_INCREF(tmp_expression_value_50);
} else {
goto dict_build_exception_6;
}
}
tmp_tuple_element_16 = PyObject_GetItem(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401, mod_consts[218]);
if (tmp_tuple_element_16 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_16 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_tuple_element_16);
} else {
goto dict_build_exception_6;
}
}
tmp_subscript_value_18 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_18, 0, tmp_tuple_element_16);
tmp_tuple_element_16 = PyObject_GetItem(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401, mod_consts[173]);
if (tmp_tuple_element_16 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_16 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[173]);
if (unlikely(tmp_tuple_element_16 == NULL)) {
tmp_tuple_element_16 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[173]);
}
if (tmp_tuple_element_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 413;
type_description_2 = "o";
goto tuple_build_exception_7;
}
Py_INCREF(tmp_tuple_element_16);
} else {
goto tuple_build_exception_7;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_18, 1, tmp_tuple_element_16);
goto tuple_build_noexception_7;
// Exception handling pass through code for tuple_build:
tuple_build_exception_7:;
Py_DECREF(tmp_expression_value_49);
Py_DECREF(tmp_expression_value_50);
Py_DECREF(tmp_subscript_value_18);
goto dict_build_exception_6;
// Finished with no exception for tuple_build:
tuple_build_noexception_7:;
tmp_subscript_value_17 = LOOKUP_SUBSCRIPT(tmp_expression_value_50, tmp_subscript_value_18);
Py_DECREF(tmp_expression_value_50);
Py_DECREF(tmp_subscript_value_18);
if (tmp_subscript_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_49);
exception_lineno = 413;
type_description_2 = "o";
goto dict_build_exception_6;
}
tmp_dict_value_10 = LOOKUP_SUBSCRIPT(tmp_expression_value_49, tmp_subscript_value_17);
Py_DECREF(tmp_expression_value_49);
Py_DECREF(tmp_subscript_value_17);
if (tmp_dict_value_10 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 413;
type_description_2 = "o";
goto dict_build_exception_6;
}
tmp_res = PyDict_SetItem(tmp_annotations_12, tmp_dict_key_10, tmp_dict_value_10);
Py_DECREF(tmp_dict_value_10);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_6;
// Exception handling pass through code for dict_build:
dict_build_exception_6:;
Py_DECREF(tmp_defaults_5);
Py_DECREF(tmp_annotations_12);
goto frame_exception_exit_3;
// Finished with no exception for dict_build:
dict_build_noexception_6:;
tmp_dictset_value = MAKE_FUNCTION_tornado$netutil$$$function__10_resolve(tmp_defaults_5, tmp_annotations_12);
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401, mod_consts[99], 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 = 411;
type_description_2 = "o";
goto frame_exception_exit_3;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_aab5efb99285a4ca81e45e3b1da26b28_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_aab5efb99285a4ca81e45e3b1da26b28_3);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_aab5efb99285a4ca81e45e3b1da26b28_3, exception_lineno);
} else if (exception_tb->tb_frame != &frame_aab5efb99285a4ca81e45e3b1da26b28_3->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_aab5efb99285a4ca81e45e3b1da26b28_3, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_aab5efb99285a4ca81e45e3b1da26b28_3,
type_description_2,
outline_1_var___class__
);
// Release cached frame if used for exception.
if (frame_aab5efb99285a4ca81e45e3b1da26b28_3 == cache_frame_aab5efb99285a4ca81e45e3b1da26b28_3) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_aab5efb99285a4ca81e45e3b1da26b28_3);
cache_frame_aab5efb99285a4ca81e45e3b1da26b28_3 = NULL;
}
assertFrameObject(frame_aab5efb99285a4ca81e45e3b1da26b28_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_11;
skip_nested_handling_2:;
{
nuitka_bool tmp_condition_result_16;
PyObject *tmp_cmp_expr_left_2;
PyObject *tmp_cmp_expr_right_2;
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_cmp_expr_left_2 = tmp_class_creation_2__bases;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
tmp_cmp_expr_right_2 = tmp_class_creation_2__bases_orig;
tmp_condition_result_16 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_2, tmp_cmp_expr_right_2);
if (tmp_condition_result_16 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
goto try_except_handler_11;
}
if (tmp_condition_result_16 == NUITKA_BOOL_TRUE) {
goto branch_yes_10;
} else {
goto branch_no_10;
}
}
branch_yes_10:;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
tmp_dictset_value = tmp_class_creation_2__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401, mod_consts[222], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
goto try_except_handler_11;
}
branch_no_10:;
{
PyObject *tmp_assign_source_56;
PyObject *tmp_called_value_8;
PyObject *tmp_args_value_4;
PyObject *tmp_tuple_element_17;
PyObject *tmp_kwargs_value_4;
CHECK_OBJECT(tmp_class_creation_2__metaclass);
tmp_called_value_8 = tmp_class_creation_2__metaclass;
tmp_tuple_element_17 = mod_consts[223];
tmp_args_value_4 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_4, 0, tmp_tuple_element_17);
CHECK_OBJECT(tmp_class_creation_2__bases);
tmp_tuple_element_17 = tmp_class_creation_2__bases;
PyTuple_SET_ITEM0(tmp_args_value_4, 1, tmp_tuple_element_17);
tmp_tuple_element_17 = locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401;
PyTuple_SET_ITEM0(tmp_args_value_4, 2, tmp_tuple_element_17);
CHECK_OBJECT(tmp_class_creation_2__class_decl_dict);
tmp_kwargs_value_4 = tmp_class_creation_2__class_decl_dict;
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 401;
tmp_assign_source_56 = CALL_FUNCTION(tmp_called_value_8, tmp_args_value_4, tmp_kwargs_value_4);
Py_DECREF(tmp_args_value_4);
if (tmp_assign_source_56 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 401;
goto try_except_handler_11;
}
assert(outline_1_var___class__ == NULL);
outline_1_var___class__ = tmp_assign_source_56;
}
CHECK_OBJECT(outline_1_var___class__);
tmp_assign_source_55 = outline_1_var___class__;
Py_INCREF(tmp_assign_source_55);
goto try_return_handler_11;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_11:;
Py_DECREF(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401);
locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401 = NULL;
goto try_return_handler_10;
// Exception handler code:
try_except_handler_11:;
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_DECREF(locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401);
locals_tornado$netutil$$$class__2_DefaultExecutorResolver_401 = NULL;
// Re-raise.
exception_type = exception_keeper_type_9;
exception_value = exception_keeper_value_9;
exception_tb = exception_keeper_tb_9;
exception_lineno = exception_keeper_lineno_9;
goto try_except_handler_10;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_10:;
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_10:;
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;
// 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 outline_exception_2;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_2:;
exception_lineno = 401;
goto try_except_handler_9;
outline_result_2:;
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[223], tmp_assign_source_55);
}
goto try_end_7;
// Exception handler code:
try_except_handler_9:;
exception_keeper_type_11 = exception_type;
exception_keeper_value_11 = exception_value;
exception_keeper_tb_11 = exception_tb;
exception_keeper_lineno_11 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_2__bases_orig);
tmp_class_creation_2__bases_orig = NULL;
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_11;
exception_value = exception_keeper_value_11;
exception_tb = exception_keeper_tb_11;
exception_lineno = exception_keeper_lineno_11;
goto frame_exception_exit_1;
// End of try:
try_end_7:;
CHECK_OBJECT(tmp_class_creation_2__bases_orig);
Py_DECREF(tmp_class_creation_2__bases_orig);
tmp_class_creation_2__bases_orig = NULL;
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;
// Tried code:
{
PyObject *tmp_assign_source_57;
PyObject *tmp_tuple_element_18;
tmp_tuple_element_18 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[90]);
if (unlikely(tmp_tuple_element_18 == NULL)) {
tmp_tuple_element_18 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[90]);
}
if (tmp_tuple_element_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
goto try_except_handler_12;
}
tmp_assign_source_57 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_57, 0, tmp_tuple_element_18);
assert(tmp_class_creation_3__bases_orig == NULL);
tmp_class_creation_3__bases_orig = tmp_assign_source_57;
}
{
PyObject *tmp_assign_source_58;
PyObject *tmp_dircall_arg1_3;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_dircall_arg1_3 = tmp_class_creation_3__bases_orig;
Py_INCREF(tmp_dircall_arg1_3);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_3};
tmp_assign_source_58 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_58 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
goto try_except_handler_12;
}
assert(tmp_class_creation_3__bases == NULL);
tmp_class_creation_3__bases = tmp_assign_source_58;
}
{
PyObject *tmp_assign_source_59;
tmp_assign_source_59 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__class_decl_dict == NULL);
tmp_class_creation_3__class_decl_dict = tmp_assign_source_59;
}
{
PyObject *tmp_assign_source_60;
PyObject *tmp_metaclass_value_3;
bool tmp_condition_result_17;
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_18;
int tmp_truth_name_3;
PyObject *tmp_type_arg_5;
PyObject *tmp_expression_value_51;
PyObject *tmp_subscript_value_19;
PyObject *tmp_bases_value_3;
tmp_key_value_7 = mod_consts[202];
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_17 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_17 != false) {
goto condexpr_true_7;
} else {
goto condexpr_false_7;
}
condexpr_true_7:;
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[202];
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_7;
condexpr_false_7:;
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 = 420;
goto try_except_handler_12;
}
tmp_condition_result_18 = tmp_truth_name_3 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_18 == NUITKA_BOOL_TRUE) {
goto condexpr_true_8;
} else {
goto condexpr_false_8;
}
condexpr_true_8:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_expression_value_51 = tmp_class_creation_3__bases;
tmp_subscript_value_19 = mod_consts[11];
tmp_type_arg_5 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_51, tmp_subscript_value_19, 0);
if (tmp_type_arg_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
goto try_except_handler_12;
}
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 = 420;
goto try_except_handler_12;
}
goto condexpr_end_8;
condexpr_false_8:;
tmp_metaclass_value_3 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_3);
condexpr_end_8:;
condexpr_end_7:;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_bases_value_3 = tmp_class_creation_3__bases;
tmp_assign_source_60 = SELECT_METACLASS(tmp_metaclass_value_3, tmp_bases_value_3);
Py_DECREF(tmp_metaclass_value_3);
if (tmp_assign_source_60 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
goto try_except_handler_12;
}
assert(tmp_class_creation_3__metaclass == NULL);
tmp_class_creation_3__metaclass = tmp_assign_source_60;
}
{
bool tmp_condition_result_19;
PyObject *tmp_key_value_9;
PyObject *tmp_dict_arg_value_9;
tmp_key_value_9 = mod_consts[202];
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_19 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_19 != false) {
goto branch_yes_11;
} else {
goto branch_no_11;
}
}
branch_yes_11:;
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_3__class_decl_dict;
tmp_dictdel_key = mod_consts[202];
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 = 420;
goto try_except_handler_12;
}
branch_no_11:;
{
nuitka_bool tmp_condition_result_20;
PyObject *tmp_expression_value_52;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_52 = tmp_class_creation_3__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_52, mod_consts[203]);
tmp_condition_result_20 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_20 == NUITKA_BOOL_TRUE) {
goto branch_yes_12;
} else {
goto branch_no_12;
}
}
branch_yes_12:;
{
PyObject *tmp_assign_source_61;
PyObject *tmp_called_value_9;
PyObject *tmp_expression_value_53;
PyObject *tmp_args_value_5;
PyObject *tmp_tuple_element_19;
PyObject *tmp_kwargs_value_5;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_expression_value_53 = tmp_class_creation_3__metaclass;
tmp_called_value_9 = LOOKUP_ATTRIBUTE(tmp_expression_value_53, mod_consts[203]);
if (tmp_called_value_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
goto try_except_handler_12;
}
tmp_tuple_element_19 = mod_consts[91];
tmp_args_value_5 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_5, 0, tmp_tuple_element_19);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_19 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_5, 1, tmp_tuple_element_19);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_5 = tmp_class_creation_3__class_decl_dict;
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 420;
tmp_assign_source_61 = 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_61 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
goto try_except_handler_12;
}
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_61;
}
{
bool tmp_condition_result_21;
PyObject *tmp_operand_value_3;
PyObject *tmp_expression_value_54;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_expression_value_54 = tmp_class_creation_3__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_54, mod_consts[204]);
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 = 420;
goto try_except_handler_12;
}
tmp_condition_result_21 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_21 != false) {
goto branch_yes_13;
} else {
goto branch_no_13;
}
}
branch_yes_13:;
{
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_20;
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[205];
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_getattr_target_3 = tmp_class_creation_3__metaclass;
tmp_getattr_attr_3 = mod_consts[206];
tmp_getattr_default_3 = mod_consts[207];
tmp_tuple_element_20 = BUILTIN_GETATTR(tmp_getattr_target_3, tmp_getattr_attr_3, tmp_getattr_default_3);
if (tmp_tuple_element_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
goto try_except_handler_12;
}
tmp_mod_expr_right_3 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_55;
PyObject *tmp_type_arg_6;
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 0, tmp_tuple_element_20);
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_type_arg_6 = tmp_class_creation_3__prepared;
tmp_expression_value_55 = BUILTIN_TYPE1(tmp_type_arg_6);
assert(!(tmp_expression_value_55 == NULL));
tmp_tuple_element_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_55, mod_consts[206]);
Py_DECREF(tmp_expression_value_55);
if (tmp_tuple_element_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
goto tuple_build_exception_8;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_3, 1, tmp_tuple_element_20);
}
goto tuple_build_noexception_8;
// Exception handling pass through code for tuple_build:
tuple_build_exception_8:;
Py_DECREF(tmp_mod_expr_right_3);
goto try_except_handler_12;
// Finished with no exception for tuple_build:
tuple_build_noexception_8:;
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 = 420;
goto try_except_handler_12;
}
exception_type = tmp_raise_type_3;
Py_INCREF(tmp_raise_type_3);
exception_value = tmp_raise_value_3;
exception_lineno = 420;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_12;
}
branch_no_13:;
goto branch_end_12;
branch_no_12:;
{
PyObject *tmp_assign_source_62;
tmp_assign_source_62 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_3__prepared == NULL);
tmp_class_creation_3__prepared = tmp_assign_source_62;
}
branch_end_12:;
{
PyObject *tmp_assign_source_63;
{
PyObject *tmp_set_locals_3;
CHECK_OBJECT(tmp_class_creation_3__prepared);
tmp_set_locals_3 = tmp_class_creation_3__prepared;
locals_tornado$netutil$$$class__3_DefaultLoopResolver_420 = tmp_set_locals_3;
Py_INCREF(tmp_set_locals_3);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[208];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420, mod_consts[209], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
goto try_except_handler_14;
}
tmp_dictset_value = mod_consts[225];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420, mod_consts[155], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
goto try_except_handler_14;
}
tmp_dictset_value = mod_consts[91];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420, mod_consts[211], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
goto try_except_handler_14;
}
if (isFrameUnusable(cache_frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4)) {
Py_XDECREF(cache_frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4);
#if _DEBUG_REFCOUNTS
if (cache_frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4 = MAKE_CLASS_FRAME(codeobj_03fa49e8cfcb4de7d7b38b1b0a8ef955, module_tornado$netutil, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4->m_type_description == NULL);
frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4 = cache_frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4;
// Push the new frame as the currently active one.
pushFrameStack(frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_6;
PyObject *tmp_tuple_element_21;
PyObject *tmp_expression_value_56;
PyObject *tmp_annotations_13;
PyObject *tmp_dict_key_11;
PyObject *tmp_dict_value_11;
tmp_expression_value_56 = PyObject_GetItem(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420, mod_consts[0]);
if (tmp_expression_value_56 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_56 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_56 == NULL)) {
tmp_expression_value_56 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_56 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_2 = "o";
goto frame_exception_exit_4;
}
Py_INCREF(tmp_expression_value_56);
} else {
goto frame_exception_exit_4;
}
}
tmp_tuple_element_21 = LOOKUP_ATTRIBUTE(tmp_expression_value_56, mod_consts[5]);
Py_DECREF(tmp_expression_value_56);
if (tmp_tuple_element_21 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_2 = "o";
goto frame_exception_exit_4;
}
tmp_defaults_6 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_defaults_6, 0, tmp_tuple_element_21);
tmp_dict_key_11 = mod_consts[96];
tmp_dict_value_11 = PyObject_GetItem(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420, mod_consts[217]);
if (tmp_dict_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_11 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_11);
} else {
goto frame_exception_exit_4;
}
}
tmp_annotations_13 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_57;
PyObject *tmp_expression_value_58;
PyObject *tmp_subscript_value_20;
PyObject *tmp_expression_value_59;
PyObject *tmp_subscript_value_21;
PyObject *tmp_tuple_element_22;
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[97];
tmp_dict_value_11 = PyObject_GetItem(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420, mod_consts[218]);
if (tmp_dict_value_11 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_11 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_11);
} else {
goto dict_build_exception_7;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[98];
tmp_expression_value_57 = PyObject_GetItem(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420, mod_consts[0]);
if (tmp_expression_value_57 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_57 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_57 == NULL)) {
tmp_expression_value_57 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_57 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_2 = "o";
goto dict_build_exception_7;
}
Py_INCREF(tmp_expression_value_57);
} else {
goto dict_build_exception_7;
}
}
tmp_dict_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_57, mod_consts[191]);
Py_DECREF(tmp_expression_value_57);
if (tmp_dict_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 424;
type_description_2 = "o";
goto dict_build_exception_7;
}
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
tmp_dict_key_11 = mod_consts[70];
tmp_expression_value_58 = PyObject_GetItem(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420, mod_consts[171]);
if (tmp_expression_value_58 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_58 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[171]);
if (unlikely(tmp_expression_value_58 == NULL)) {
tmp_expression_value_58 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[171]);
}
if (tmp_expression_value_58 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 425;
type_description_2 = "o";
goto dict_build_exception_7;
}
Py_INCREF(tmp_expression_value_58);
} else {
goto dict_build_exception_7;
}
}
tmp_expression_value_59 = PyObject_GetItem(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420, mod_consts[177]);
if (tmp_expression_value_59 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_59 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[177]);
if (unlikely(tmp_expression_value_59 == NULL)) {
tmp_expression_value_59 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[177]);
}
if (tmp_expression_value_59 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_58);
exception_lineno = 425;
type_description_2 = "o";
goto dict_build_exception_7;
}
Py_INCREF(tmp_expression_value_59);
} else {
goto dict_build_exception_7;
}
}
tmp_tuple_element_22 = PyObject_GetItem(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420, mod_consts[218]);
if (tmp_tuple_element_22 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_22 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_tuple_element_22);
} else {
goto dict_build_exception_7;
}
}
tmp_subscript_value_21 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_21, 0, tmp_tuple_element_22);
tmp_tuple_element_22 = PyObject_GetItem(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420, mod_consts[173]);
if (tmp_tuple_element_22 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_22 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[173]);
if (unlikely(tmp_tuple_element_22 == NULL)) {
tmp_tuple_element_22 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[173]);
}
if (tmp_tuple_element_22 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 425;
type_description_2 = "o";
goto tuple_build_exception_9;
}
Py_INCREF(tmp_tuple_element_22);
} else {
goto tuple_build_exception_9;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_21, 1, tmp_tuple_element_22);
goto tuple_build_noexception_9;
// Exception handling pass through code for tuple_build:
tuple_build_exception_9:;
Py_DECREF(tmp_expression_value_58);
Py_DECREF(tmp_expression_value_59);
Py_DECREF(tmp_subscript_value_21);
goto dict_build_exception_7;
// Finished with no exception for tuple_build:
tuple_build_noexception_9:;
tmp_subscript_value_20 = LOOKUP_SUBSCRIPT(tmp_expression_value_59, tmp_subscript_value_21);
Py_DECREF(tmp_expression_value_59);
Py_DECREF(tmp_subscript_value_21);
if (tmp_subscript_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_58);
exception_lineno = 425;
type_description_2 = "o";
goto dict_build_exception_7;
}
tmp_dict_value_11 = LOOKUP_SUBSCRIPT(tmp_expression_value_58, tmp_subscript_value_20);
Py_DECREF(tmp_expression_value_58);
Py_DECREF(tmp_subscript_value_20);
if (tmp_dict_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 425;
type_description_2 = "o";
goto dict_build_exception_7;
}
tmp_res = PyDict_SetItem(tmp_annotations_13, tmp_dict_key_11, tmp_dict_value_11);
Py_DECREF(tmp_dict_value_11);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_7;
// Exception handling pass through code for dict_build:
dict_build_exception_7:;
Py_DECREF(tmp_defaults_6);
Py_DECREF(tmp_annotations_13);
goto frame_exception_exit_4;
// Finished with no exception for dict_build:
dict_build_noexception_7:;
tmp_dictset_value = MAKE_FUNCTION_tornado$netutil$$$function__11_resolve(tmp_defaults_6, tmp_annotations_13);
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420, mod_consts[99], 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 = 423;
type_description_2 = "o";
goto frame_exception_exit_4;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_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_03fa49e8cfcb4de7d7b38b1b0a8ef955_4);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4, exception_lineno);
} else if (exception_tb->tb_frame != &frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4,
type_description_2,
outline_2_var___class__
);
// Release cached frame if used for exception.
if (frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4 == cache_frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4);
cache_frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_4 = NULL;
}
assertFrameObject(frame_03fa49e8cfcb4de7d7b38b1b0a8ef955_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_14;
skip_nested_handling_3:;
{
nuitka_bool tmp_condition_result_22;
PyObject *tmp_cmp_expr_left_3;
PyObject *tmp_cmp_expr_right_3;
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_cmp_expr_left_3 = tmp_class_creation_3__bases;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_cmp_expr_right_3 = tmp_class_creation_3__bases_orig;
tmp_condition_result_22 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_3, tmp_cmp_expr_right_3);
if (tmp_condition_result_22 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
goto try_except_handler_14;
}
if (tmp_condition_result_22 == NUITKA_BOOL_TRUE) {
goto branch_yes_14;
} else {
goto branch_no_14;
}
}
branch_yes_14:;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
tmp_dictset_value = tmp_class_creation_3__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420, mod_consts[222], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
goto try_except_handler_14;
}
branch_no_14:;
{
PyObject *tmp_assign_source_64;
PyObject *tmp_called_value_10;
PyObject *tmp_args_value_6;
PyObject *tmp_tuple_element_23;
PyObject *tmp_kwargs_value_6;
CHECK_OBJECT(tmp_class_creation_3__metaclass);
tmp_called_value_10 = tmp_class_creation_3__metaclass;
tmp_tuple_element_23 = mod_consts[91];
tmp_args_value_6 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_6, 0, tmp_tuple_element_23);
CHECK_OBJECT(tmp_class_creation_3__bases);
tmp_tuple_element_23 = tmp_class_creation_3__bases;
PyTuple_SET_ITEM0(tmp_args_value_6, 1, tmp_tuple_element_23);
tmp_tuple_element_23 = locals_tornado$netutil$$$class__3_DefaultLoopResolver_420;
PyTuple_SET_ITEM0(tmp_args_value_6, 2, tmp_tuple_element_23);
CHECK_OBJECT(tmp_class_creation_3__class_decl_dict);
tmp_kwargs_value_6 = tmp_class_creation_3__class_decl_dict;
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 420;
tmp_assign_source_64 = CALL_FUNCTION(tmp_called_value_10, tmp_args_value_6, tmp_kwargs_value_6);
Py_DECREF(tmp_args_value_6);
if (tmp_assign_source_64 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 420;
goto try_except_handler_14;
}
assert(outline_2_var___class__ == NULL);
outline_2_var___class__ = tmp_assign_source_64;
}
CHECK_OBJECT(outline_2_var___class__);
tmp_assign_source_63 = outline_2_var___class__;
Py_INCREF(tmp_assign_source_63);
goto try_return_handler_14;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_14:;
Py_DECREF(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420);
locals_tornado$netutil$$$class__3_DefaultLoopResolver_420 = NULL;
goto try_return_handler_13;
// Exception handler code:
try_except_handler_14:;
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_DECREF(locals_tornado$netutil$$$class__3_DefaultLoopResolver_420);
locals_tornado$netutil$$$class__3_DefaultLoopResolver_420 = NULL;
// Re-raise.
exception_type = exception_keeper_type_12;
exception_value = exception_keeper_value_12;
exception_tb = exception_keeper_tb_12;
exception_lineno = exception_keeper_lineno_12;
goto try_except_handler_13;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_13:;
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_13:;
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;
// 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 outline_exception_3;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_3:;
exception_lineno = 420;
goto try_except_handler_12;
outline_result_3:;
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[91], tmp_assign_source_63);
}
goto try_end_8;
// Exception handler code:
try_except_handler_12:;
exception_keeper_type_14 = exception_type;
exception_keeper_value_14 = exception_value;
exception_keeper_tb_14 = exception_tb;
exception_keeper_lineno_14 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_3__bases_orig);
tmp_class_creation_3__bases_orig = NULL;
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_14;
exception_value = exception_keeper_value_14;
exception_tb = exception_keeper_tb_14;
exception_lineno = exception_keeper_lineno_14;
goto frame_exception_exit_1;
// End of try:
try_end_8:;
CHECK_OBJECT(tmp_class_creation_3__bases_orig);
Py_DECREF(tmp_class_creation_3__bases_orig);
tmp_class_creation_3__bases_orig = NULL;
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_65;
PyObject *tmp_tuple_element_24;
tmp_tuple_element_24 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[90]);
if (unlikely(tmp_tuple_element_24 == NULL)) {
tmp_tuple_element_24 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[90]);
}
if (tmp_tuple_element_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto try_except_handler_15;
}
tmp_assign_source_65 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_65, 0, tmp_tuple_element_24);
assert(tmp_class_creation_4__bases_orig == NULL);
tmp_class_creation_4__bases_orig = tmp_assign_source_65;
}
{
PyObject *tmp_assign_source_66;
PyObject *tmp_dircall_arg1_4;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_dircall_arg1_4 = tmp_class_creation_4__bases_orig;
Py_INCREF(tmp_dircall_arg1_4);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_4};
tmp_assign_source_66 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_66 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto try_except_handler_15;
}
assert(tmp_class_creation_4__bases == NULL);
tmp_class_creation_4__bases = tmp_assign_source_66;
}
{
PyObject *tmp_assign_source_67;
tmp_assign_source_67 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__class_decl_dict == NULL);
tmp_class_creation_4__class_decl_dict = tmp_assign_source_67;
}
{
PyObject *tmp_assign_source_68;
PyObject *tmp_metaclass_value_4;
bool tmp_condition_result_23;
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_24;
int tmp_truth_name_4;
PyObject *tmp_type_arg_7;
PyObject *tmp_expression_value_60;
PyObject *tmp_subscript_value_22;
PyObject *tmp_bases_value_4;
tmp_key_value_10 = mod_consts[202];
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_23 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_23 != false) {
goto condexpr_true_9;
} else {
goto condexpr_false_9;
}
condexpr_true_9:;
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[202];
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_9;
condexpr_false_9:;
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 = 439;
goto try_except_handler_15;
}
tmp_condition_result_24 = tmp_truth_name_4 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_24 == NUITKA_BOOL_TRUE) {
goto condexpr_true_10;
} else {
goto condexpr_false_10;
}
condexpr_true_10:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_expression_value_60 = tmp_class_creation_4__bases;
tmp_subscript_value_22 = mod_consts[11];
tmp_type_arg_7 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_60, tmp_subscript_value_22, 0);
if (tmp_type_arg_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto try_except_handler_15;
}
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 = 439;
goto try_except_handler_15;
}
goto condexpr_end_10;
condexpr_false_10:;
tmp_metaclass_value_4 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_4);
condexpr_end_10:;
condexpr_end_9:;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_bases_value_4 = tmp_class_creation_4__bases;
tmp_assign_source_68 = SELECT_METACLASS(tmp_metaclass_value_4, tmp_bases_value_4);
Py_DECREF(tmp_metaclass_value_4);
if (tmp_assign_source_68 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto try_except_handler_15;
}
assert(tmp_class_creation_4__metaclass == NULL);
tmp_class_creation_4__metaclass = tmp_assign_source_68;
}
{
bool tmp_condition_result_25;
PyObject *tmp_key_value_12;
PyObject *tmp_dict_arg_value_12;
tmp_key_value_12 = mod_consts[202];
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_25 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_25 != false) {
goto branch_yes_15;
} else {
goto branch_no_15;
}
}
branch_yes_15:;
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_4__class_decl_dict;
tmp_dictdel_key = mod_consts[202];
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 = 439;
goto try_except_handler_15;
}
branch_no_15:;
{
nuitka_bool tmp_condition_result_26;
PyObject *tmp_expression_value_61;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_61 = tmp_class_creation_4__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_61, mod_consts[203]);
tmp_condition_result_26 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_26 == NUITKA_BOOL_TRUE) {
goto branch_yes_16;
} else {
goto branch_no_16;
}
}
branch_yes_16:;
{
PyObject *tmp_assign_source_69;
PyObject *tmp_called_value_11;
PyObject *tmp_expression_value_62;
PyObject *tmp_args_value_7;
PyObject *tmp_tuple_element_25;
PyObject *tmp_kwargs_value_7;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_expression_value_62 = tmp_class_creation_4__metaclass;
tmp_called_value_11 = LOOKUP_ATTRIBUTE(tmp_expression_value_62, mod_consts[203]);
if (tmp_called_value_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto try_except_handler_15;
}
tmp_tuple_element_25 = mod_consts[226];
tmp_args_value_7 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_7, 0, tmp_tuple_element_25);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_25 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_7, 1, tmp_tuple_element_25);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_7 = tmp_class_creation_4__class_decl_dict;
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 439;
tmp_assign_source_69 = CALL_FUNCTION(tmp_called_value_11, tmp_args_value_7, tmp_kwargs_value_7);
Py_DECREF(tmp_called_value_11);
Py_DECREF(tmp_args_value_7);
if (tmp_assign_source_69 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto try_except_handler_15;
}
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_69;
}
{
bool tmp_condition_result_27;
PyObject *tmp_operand_value_4;
PyObject *tmp_expression_value_63;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_expression_value_63 = tmp_class_creation_4__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_63, mod_consts[204]);
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 = 439;
goto try_except_handler_15;
}
tmp_condition_result_27 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_27 != false) {
goto branch_yes_17;
} else {
goto branch_no_17;
}
}
branch_yes_17:;
{
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_26;
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[205];
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_getattr_target_4 = tmp_class_creation_4__metaclass;
tmp_getattr_attr_4 = mod_consts[206];
tmp_getattr_default_4 = mod_consts[207];
tmp_tuple_element_26 = BUILTIN_GETATTR(tmp_getattr_target_4, tmp_getattr_attr_4, tmp_getattr_default_4);
if (tmp_tuple_element_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto try_except_handler_15;
}
tmp_mod_expr_right_4 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_64;
PyObject *tmp_type_arg_8;
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 0, tmp_tuple_element_26);
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_type_arg_8 = tmp_class_creation_4__prepared;
tmp_expression_value_64 = BUILTIN_TYPE1(tmp_type_arg_8);
assert(!(tmp_expression_value_64 == NULL));
tmp_tuple_element_26 = LOOKUP_ATTRIBUTE(tmp_expression_value_64, mod_consts[206]);
Py_DECREF(tmp_expression_value_64);
if (tmp_tuple_element_26 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto tuple_build_exception_10;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_4, 1, tmp_tuple_element_26);
}
goto tuple_build_noexception_10;
// Exception handling pass through code for tuple_build:
tuple_build_exception_10:;
Py_DECREF(tmp_mod_expr_right_4);
goto try_except_handler_15;
// Finished with no exception for tuple_build:
tuple_build_noexception_10:;
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 = 439;
goto try_except_handler_15;
}
exception_type = tmp_raise_type_4;
Py_INCREF(tmp_raise_type_4);
exception_value = tmp_raise_value_4;
exception_lineno = 439;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_15;
}
branch_no_17:;
goto branch_end_16;
branch_no_16:;
{
PyObject *tmp_assign_source_70;
tmp_assign_source_70 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_4__prepared == NULL);
tmp_class_creation_4__prepared = tmp_assign_source_70;
}
branch_end_16:;
{
PyObject *tmp_assign_source_71;
{
PyObject *tmp_set_locals_4;
CHECK_OBJECT(tmp_class_creation_4__prepared);
tmp_set_locals_4 = tmp_class_creation_4__prepared;
locals_tornado$netutil$$$class__4_ExecutorResolver_439 = tmp_set_locals_4;
Py_INCREF(tmp_set_locals_4);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[208];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[209], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto try_except_handler_17;
}
tmp_dictset_value = mod_consts[227];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[155], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto try_except_handler_17;
}
tmp_dictset_value = mod_consts[226];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[211], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto try_except_handler_17;
}
if (isFrameUnusable(cache_frame_e7b7a215bc903988804ded8f724442cb_5)) {
Py_XDECREF(cache_frame_e7b7a215bc903988804ded8f724442cb_5);
#if _DEBUG_REFCOUNTS
if (cache_frame_e7b7a215bc903988804ded8f724442cb_5 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_e7b7a215bc903988804ded8f724442cb_5 = MAKE_CLASS_FRAME(codeobj_e7b7a215bc903988804ded8f724442cb, module_tornado$netutil, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_e7b7a215bc903988804ded8f724442cb_5->m_type_description == NULL);
frame_e7b7a215bc903988804ded8f724442cb_5 = cache_frame_e7b7a215bc903988804ded8f724442cb_5;
// Push the new frame as the currently active one.
pushFrameStack(frame_e7b7a215bc903988804ded8f724442cb_5);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_e7b7a215bc903988804ded8f724442cb_5) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_defaults_7;
PyObject *tmp_annotations_14;
PyObject *tmp_dict_key_12;
PyObject *tmp_dict_value_12;
PyObject *tmp_expression_value_65;
PyObject *tmp_subscript_value_23;
PyObject *tmp_expression_value_66;
PyObject *tmp_expression_value_67;
tmp_defaults_7 = mod_consts[228];
tmp_dict_key_12 = mod_consts[105];
tmp_expression_value_65 = PyObject_GetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[179]);
if (tmp_expression_value_65 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_65 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[179]);
if (unlikely(tmp_expression_value_65 == NULL)) {
tmp_expression_value_65 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[179]);
}
if (tmp_expression_value_65 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 459;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_65);
} else {
goto frame_exception_exit_5;
}
}
tmp_expression_value_67 = PyObject_GetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[117]);
if (tmp_expression_value_67 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_67 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[117]);
if (unlikely(tmp_expression_value_67 == NULL)) {
tmp_expression_value_67 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[117]);
}
if (tmp_expression_value_67 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_65);
exception_lineno = 459;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_67);
} else {
goto frame_exception_exit_5;
}
}
tmp_expression_value_66 = LOOKUP_ATTRIBUTE(tmp_expression_value_67, mod_consts[118]);
Py_DECREF(tmp_expression_value_67);
if (tmp_expression_value_66 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_65);
exception_lineno = 459;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_subscript_value_23 = LOOKUP_ATTRIBUTE(tmp_expression_value_66, mod_consts[229]);
Py_DECREF(tmp_expression_value_66);
if (tmp_subscript_value_23 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_65);
exception_lineno = 459;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_dict_value_12 = LOOKUP_SUBSCRIPT(tmp_expression_value_65, tmp_subscript_value_23);
Py_DECREF(tmp_expression_value_65);
Py_DECREF(tmp_subscript_value_23);
if (tmp_dict_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 459;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_annotations_14 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_12, tmp_dict_value_12);
Py_DECREF(tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dict_key_12 = mod_consts[106];
tmp_dict_value_12 = PyObject_GetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[230]);
if (tmp_dict_value_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_12 = (PyObject *)&PyBool_Type;
Py_INCREF(tmp_dict_value_12);
} else {
goto frame_exception_exit_5;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_12, tmp_dict_value_12);
Py_DECREF(tmp_dict_value_12);
assert(!(tmp_res != 0));
tmp_dict_key_12 = mod_consts[70];
tmp_dict_value_12 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_14, tmp_dict_key_12, tmp_dict_value_12);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_7);
tmp_dictset_value = MAKE_FUNCTION_tornado$netutil$$$function__12_initialize(tmp_defaults_7, tmp_annotations_14);
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[110], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 457;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_annotations_15;
tmp_annotations_15 = DICT_COPY(mod_consts[73]);
tmp_dictset_value = MAKE_FUNCTION_tornado$netutil$$$function__13_close(tmp_annotations_15);
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[48], 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 = 469;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
{
PyObject *tmp_called_value_12;
PyObject *tmp_args_element_value_5;
PyObject *tmp_defaults_8;
PyObject *tmp_tuple_element_27;
PyObject *tmp_expression_value_68;
PyObject *tmp_annotations_16;
PyObject *tmp_dict_key_13;
PyObject *tmp_dict_value_13;
tmp_called_value_12 = PyObject_GetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[165]);
if (tmp_called_value_12 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_called_value_12 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[165]);
if (unlikely(tmp_called_value_12 == NULL)) {
tmp_called_value_12 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[165]);
}
if (tmp_called_value_12 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 474;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_called_value_12);
} else {
goto frame_exception_exit_5;
}
}
tmp_expression_value_68 = PyObject_GetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[0]);
if (tmp_expression_value_68 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_68 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_68 == NULL)) {
tmp_expression_value_68 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_68 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_12);
exception_lineno = 476;
type_description_2 = "o";
goto frame_exception_exit_5;
}
Py_INCREF(tmp_expression_value_68);
} else {
goto frame_exception_exit_5;
}
}
tmp_tuple_element_27 = LOOKUP_ATTRIBUTE(tmp_expression_value_68, mod_consts[5]);
Py_DECREF(tmp_expression_value_68);
if (tmp_tuple_element_27 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_called_value_12);
exception_lineno = 476;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_defaults_8 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_defaults_8, 0, tmp_tuple_element_27);
tmp_dict_key_13 = mod_consts[96];
tmp_dict_value_13 = PyObject_GetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[217]);
if (tmp_dict_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_13 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_13);
} else {
goto frame_exception_exit_5;
}
}
tmp_annotations_16 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_69;
PyObject *tmp_expression_value_70;
PyObject *tmp_subscript_value_24;
PyObject *tmp_expression_value_71;
PyObject *tmp_subscript_value_25;
PyObject *tmp_tuple_element_28;
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dict_key_13 = mod_consts[97];
tmp_dict_value_13 = PyObject_GetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[218]);
if (tmp_dict_value_13 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_13 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_13);
} else {
goto dict_build_exception_8;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dict_key_13 = mod_consts[98];
tmp_expression_value_69 = PyObject_GetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[0]);
if (tmp_expression_value_69 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_69 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_69 == NULL)) {
tmp_expression_value_69 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_69 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 476;
type_description_2 = "o";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_69);
} else {
goto dict_build_exception_8;
}
}
tmp_dict_value_13 = LOOKUP_ATTRIBUTE(tmp_expression_value_69, mod_consts[191]);
Py_DECREF(tmp_expression_value_69);
if (tmp_dict_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 476;
type_description_2 = "o";
goto dict_build_exception_8;
}
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
tmp_dict_key_13 = mod_consts[70];
tmp_expression_value_70 = PyObject_GetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[171]);
if (tmp_expression_value_70 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_70 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[171]);
if (unlikely(tmp_expression_value_70 == NULL)) {
tmp_expression_value_70 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[171]);
}
if (tmp_expression_value_70 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 477;
type_description_2 = "o";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_70);
} else {
goto dict_build_exception_8;
}
}
tmp_expression_value_71 = PyObject_GetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[177]);
if (tmp_expression_value_71 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_71 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[177]);
if (unlikely(tmp_expression_value_71 == NULL)) {
tmp_expression_value_71 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[177]);
}
if (tmp_expression_value_71 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_70);
exception_lineno = 477;
type_description_2 = "o";
goto dict_build_exception_8;
}
Py_INCREF(tmp_expression_value_71);
} else {
goto dict_build_exception_8;
}
}
tmp_tuple_element_28 = PyObject_GetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[218]);
if (tmp_tuple_element_28 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_28 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_tuple_element_28);
} else {
goto dict_build_exception_8;
}
}
tmp_subscript_value_25 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_25, 0, tmp_tuple_element_28);
tmp_tuple_element_28 = PyObject_GetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[173]);
if (tmp_tuple_element_28 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_28 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[173]);
if (unlikely(tmp_tuple_element_28 == NULL)) {
tmp_tuple_element_28 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[173]);
}
if (tmp_tuple_element_28 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 477;
type_description_2 = "o";
goto tuple_build_exception_11;
}
Py_INCREF(tmp_tuple_element_28);
} else {
goto tuple_build_exception_11;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_25, 1, tmp_tuple_element_28);
goto tuple_build_noexception_11;
// Exception handling pass through code for tuple_build:
tuple_build_exception_11:;
Py_DECREF(tmp_expression_value_70);
Py_DECREF(tmp_expression_value_71);
Py_DECREF(tmp_subscript_value_25);
goto dict_build_exception_8;
// Finished with no exception for tuple_build:
tuple_build_noexception_11:;
tmp_subscript_value_24 = LOOKUP_SUBSCRIPT(tmp_expression_value_71, tmp_subscript_value_25);
Py_DECREF(tmp_expression_value_71);
Py_DECREF(tmp_subscript_value_25);
if (tmp_subscript_value_24 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_70);
exception_lineno = 477;
type_description_2 = "o";
goto dict_build_exception_8;
}
tmp_dict_value_13 = LOOKUP_SUBSCRIPT(tmp_expression_value_70, tmp_subscript_value_24);
Py_DECREF(tmp_expression_value_70);
Py_DECREF(tmp_subscript_value_24);
if (tmp_dict_value_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 477;
type_description_2 = "o";
goto dict_build_exception_8;
}
tmp_res = PyDict_SetItem(tmp_annotations_16, tmp_dict_key_13, tmp_dict_value_13);
Py_DECREF(tmp_dict_value_13);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_8;
// Exception handling pass through code for dict_build:
dict_build_exception_8:;
Py_DECREF(tmp_called_value_12);
Py_DECREF(tmp_defaults_8);
Py_DECREF(tmp_annotations_16);
goto frame_exception_exit_5;
// Finished with no exception for dict_build:
dict_build_noexception_8:;
tmp_args_element_value_5 = MAKE_FUNCTION_tornado$netutil$$$function__14_resolve(tmp_defaults_8, tmp_annotations_16);
frame_e7b7a215bc903988804ded8f724442cb_5->m_frame.f_lineno = 474;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_12, tmp_args_element_value_5);
Py_DECREF(tmp_called_value_12);
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 = 474;
type_description_2 = "o";
goto frame_exception_exit_5;
}
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[99], 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 = 475;
type_description_2 = "o";
goto frame_exception_exit_5;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_e7b7a215bc903988804ded8f724442cb_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_e7b7a215bc903988804ded8f724442cb_5);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_e7b7a215bc903988804ded8f724442cb_5, exception_lineno);
} else if (exception_tb->tb_frame != &frame_e7b7a215bc903988804ded8f724442cb_5->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_e7b7a215bc903988804ded8f724442cb_5, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_e7b7a215bc903988804ded8f724442cb_5,
type_description_2,
outline_3_var___class__
);
// Release cached frame if used for exception.
if (frame_e7b7a215bc903988804ded8f724442cb_5 == cache_frame_e7b7a215bc903988804ded8f724442cb_5) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_e7b7a215bc903988804ded8f724442cb_5);
cache_frame_e7b7a215bc903988804ded8f724442cb_5 = NULL;
}
assertFrameObject(frame_e7b7a215bc903988804ded8f724442cb_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_17;
skip_nested_handling_4:;
{
nuitka_bool tmp_condition_result_28;
PyObject *tmp_cmp_expr_left_4;
PyObject *tmp_cmp_expr_right_4;
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_cmp_expr_left_4 = tmp_class_creation_4__bases;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_cmp_expr_right_4 = tmp_class_creation_4__bases_orig;
tmp_condition_result_28 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_4, tmp_cmp_expr_right_4);
if (tmp_condition_result_28 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto try_except_handler_17;
}
if (tmp_condition_result_28 == NUITKA_BOOL_TRUE) {
goto branch_yes_18;
} else {
goto branch_no_18;
}
}
branch_yes_18:;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
tmp_dictset_value = tmp_class_creation_4__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__4_ExecutorResolver_439, mod_consts[222], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto try_except_handler_17;
}
branch_no_18:;
{
PyObject *tmp_assign_source_72;
PyObject *tmp_called_value_13;
PyObject *tmp_args_value_8;
PyObject *tmp_tuple_element_29;
PyObject *tmp_kwargs_value_8;
CHECK_OBJECT(tmp_class_creation_4__metaclass);
tmp_called_value_13 = tmp_class_creation_4__metaclass;
tmp_tuple_element_29 = mod_consts[226];
tmp_args_value_8 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_8, 0, tmp_tuple_element_29);
CHECK_OBJECT(tmp_class_creation_4__bases);
tmp_tuple_element_29 = tmp_class_creation_4__bases;
PyTuple_SET_ITEM0(tmp_args_value_8, 1, tmp_tuple_element_29);
tmp_tuple_element_29 = locals_tornado$netutil$$$class__4_ExecutorResolver_439;
PyTuple_SET_ITEM0(tmp_args_value_8, 2, tmp_tuple_element_29);
CHECK_OBJECT(tmp_class_creation_4__class_decl_dict);
tmp_kwargs_value_8 = tmp_class_creation_4__class_decl_dict;
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 439;
tmp_assign_source_72 = CALL_FUNCTION(tmp_called_value_13, tmp_args_value_8, tmp_kwargs_value_8);
Py_DECREF(tmp_args_value_8);
if (tmp_assign_source_72 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 439;
goto try_except_handler_17;
}
assert(outline_3_var___class__ == NULL);
outline_3_var___class__ = tmp_assign_source_72;
}
CHECK_OBJECT(outline_3_var___class__);
tmp_assign_source_71 = outline_3_var___class__;
Py_INCREF(tmp_assign_source_71);
goto try_return_handler_17;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_17:;
Py_DECREF(locals_tornado$netutil$$$class__4_ExecutorResolver_439);
locals_tornado$netutil$$$class__4_ExecutorResolver_439 = NULL;
goto try_return_handler_16;
// Exception handler code:
try_except_handler_17:;
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_DECREF(locals_tornado$netutil$$$class__4_ExecutorResolver_439);
locals_tornado$netutil$$$class__4_ExecutorResolver_439 = 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 try_except_handler_16;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_16:;
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_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;
// Re-raise.
exception_type = exception_keeper_type_16;
exception_value = exception_keeper_value_16;
exception_tb = exception_keeper_tb_16;
exception_lineno = exception_keeper_lineno_16;
goto outline_exception_4;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_4:;
exception_lineno = 439;
goto try_except_handler_15;
outline_result_4:;
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[226], tmp_assign_source_71);
}
goto try_end_9;
// Exception handler code:
try_except_handler_15:;
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;
Py_XDECREF(tmp_class_creation_4__bases_orig);
tmp_class_creation_4__bases_orig = NULL;
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_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:;
CHECK_OBJECT(tmp_class_creation_4__bases_orig);
Py_DECREF(tmp_class_creation_4__bases_orig);
tmp_class_creation_4__bases_orig = NULL;
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;
// Tried code:
{
PyObject *tmp_assign_source_73;
PyObject *tmp_tuple_element_30;
tmp_tuple_element_30 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[226]);
if (unlikely(tmp_tuple_element_30 == NULL)) {
tmp_tuple_element_30 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[226]);
}
if (tmp_tuple_element_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_18;
}
tmp_assign_source_73 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_73, 0, tmp_tuple_element_30);
assert(tmp_class_creation_5__bases_orig == NULL);
tmp_class_creation_5__bases_orig = tmp_assign_source_73;
}
{
PyObject *tmp_assign_source_74;
PyObject *tmp_dircall_arg1_5;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_dircall_arg1_5 = tmp_class_creation_5__bases_orig;
Py_INCREF(tmp_dircall_arg1_5);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_5};
tmp_assign_source_74 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_74 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_18;
}
assert(tmp_class_creation_5__bases == NULL);
tmp_class_creation_5__bases = tmp_assign_source_74;
}
{
PyObject *tmp_assign_source_75;
tmp_assign_source_75 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__class_decl_dict == NULL);
tmp_class_creation_5__class_decl_dict = tmp_assign_source_75;
}
{
PyObject *tmp_assign_source_76;
PyObject *tmp_metaclass_value_5;
bool tmp_condition_result_29;
PyObject *tmp_key_value_13;
PyObject *tmp_dict_arg_value_13;
PyObject *tmp_dict_arg_value_14;
PyObject *tmp_key_value_14;
nuitka_bool tmp_condition_result_30;
int tmp_truth_name_5;
PyObject *tmp_type_arg_9;
PyObject *tmp_expression_value_72;
PyObject *tmp_subscript_value_26;
PyObject *tmp_bases_value_5;
tmp_key_value_13 = mod_consts[202];
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dict_arg_value_13 = tmp_class_creation_5__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_13, tmp_key_value_13);
assert(!(tmp_res == -1));
tmp_condition_result_29 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_29 != false) {
goto condexpr_true_11;
} else {
goto condexpr_false_11;
}
condexpr_true_11:;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dict_arg_value_14 = tmp_class_creation_5__class_decl_dict;
tmp_key_value_14 = mod_consts[202];
tmp_metaclass_value_5 = DICT_GET_ITEM0(tmp_dict_arg_value_14, tmp_key_value_14);
if (tmp_metaclass_value_5 == NULL) {
tmp_metaclass_value_5 = Py_None;
}
assert(!(tmp_metaclass_value_5 == NULL));
Py_INCREF(tmp_metaclass_value_5);
goto condexpr_end_11;
condexpr_false_11:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_truth_name_5 = CHECK_IF_TRUE(tmp_class_creation_5__bases);
if (tmp_truth_name_5 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_18;
}
tmp_condition_result_30 = tmp_truth_name_5 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_30 == NUITKA_BOOL_TRUE) {
goto condexpr_true_12;
} else {
goto condexpr_false_12;
}
condexpr_true_12:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_expression_value_72 = tmp_class_creation_5__bases;
tmp_subscript_value_26 = mod_consts[11];
tmp_type_arg_9 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_72, tmp_subscript_value_26, 0);
if (tmp_type_arg_9 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_18;
}
tmp_metaclass_value_5 = BUILTIN_TYPE1(tmp_type_arg_9);
Py_DECREF(tmp_type_arg_9);
if (tmp_metaclass_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_18;
}
goto condexpr_end_12;
condexpr_false_12:;
tmp_metaclass_value_5 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_5);
condexpr_end_12:;
condexpr_end_11:;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_bases_value_5 = tmp_class_creation_5__bases;
tmp_assign_source_76 = SELECT_METACLASS(tmp_metaclass_value_5, tmp_bases_value_5);
Py_DECREF(tmp_metaclass_value_5);
if (tmp_assign_source_76 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_18;
}
assert(tmp_class_creation_5__metaclass == NULL);
tmp_class_creation_5__metaclass = tmp_assign_source_76;
}
{
bool tmp_condition_result_31;
PyObject *tmp_key_value_15;
PyObject *tmp_dict_arg_value_15;
tmp_key_value_15 = mod_consts[202];
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dict_arg_value_15 = tmp_class_creation_5__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_15, tmp_key_value_15);
assert(!(tmp_res == -1));
tmp_condition_result_31 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_31 != false) {
goto branch_yes_19;
} else {
goto branch_no_19;
}
}
branch_yes_19:;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_5__class_decl_dict;
tmp_dictdel_key = mod_consts[202];
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 = 481;
goto try_except_handler_18;
}
branch_no_19:;
{
nuitka_bool tmp_condition_result_32;
PyObject *tmp_expression_value_73;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_73 = tmp_class_creation_5__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_73, mod_consts[203]);
tmp_condition_result_32 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_32 == NUITKA_BOOL_TRUE) {
goto branch_yes_20;
} else {
goto branch_no_20;
}
}
branch_yes_20:;
{
PyObject *tmp_assign_source_77;
PyObject *tmp_called_value_14;
PyObject *tmp_expression_value_74;
PyObject *tmp_args_value_9;
PyObject *tmp_tuple_element_31;
PyObject *tmp_kwargs_value_9;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_expression_value_74 = tmp_class_creation_5__metaclass;
tmp_called_value_14 = LOOKUP_ATTRIBUTE(tmp_expression_value_74, mod_consts[203]);
if (tmp_called_value_14 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_18;
}
tmp_tuple_element_31 = mod_consts[234];
tmp_args_value_9 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_9, 0, tmp_tuple_element_31);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_31 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_9, 1, tmp_tuple_element_31);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_9 = tmp_class_creation_5__class_decl_dict;
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 481;
tmp_assign_source_77 = CALL_FUNCTION(tmp_called_value_14, tmp_args_value_9, tmp_kwargs_value_9);
Py_DECREF(tmp_called_value_14);
Py_DECREF(tmp_args_value_9);
if (tmp_assign_source_77 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_18;
}
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_77;
}
{
bool tmp_condition_result_33;
PyObject *tmp_operand_value_5;
PyObject *tmp_expression_value_75;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_expression_value_75 = tmp_class_creation_5__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_75, mod_consts[204]);
tmp_operand_value_5 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_5);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_18;
}
tmp_condition_result_33 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_33 != false) {
goto branch_yes_21;
} else {
goto branch_no_21;
}
}
branch_yes_21:;
{
PyObject *tmp_raise_type_5;
PyObject *tmp_raise_value_5;
PyObject *tmp_mod_expr_left_5;
PyObject *tmp_mod_expr_right_5;
PyObject *tmp_tuple_element_32;
PyObject *tmp_getattr_target_5;
PyObject *tmp_getattr_attr_5;
PyObject *tmp_getattr_default_5;
tmp_raise_type_5 = PyExc_TypeError;
tmp_mod_expr_left_5 = mod_consts[205];
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_getattr_target_5 = tmp_class_creation_5__metaclass;
tmp_getattr_attr_5 = mod_consts[206];
tmp_getattr_default_5 = mod_consts[207];
tmp_tuple_element_32 = BUILTIN_GETATTR(tmp_getattr_target_5, tmp_getattr_attr_5, tmp_getattr_default_5);
if (tmp_tuple_element_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_18;
}
tmp_mod_expr_right_5 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_76;
PyObject *tmp_type_arg_10;
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 0, tmp_tuple_element_32);
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_type_arg_10 = tmp_class_creation_5__prepared;
tmp_expression_value_76 = BUILTIN_TYPE1(tmp_type_arg_10);
assert(!(tmp_expression_value_76 == NULL));
tmp_tuple_element_32 = LOOKUP_ATTRIBUTE(tmp_expression_value_76, mod_consts[206]);
Py_DECREF(tmp_expression_value_76);
if (tmp_tuple_element_32 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto tuple_build_exception_12;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_5, 1, tmp_tuple_element_32);
}
goto tuple_build_noexception_12;
// Exception handling pass through code for tuple_build:
tuple_build_exception_12:;
Py_DECREF(tmp_mod_expr_right_5);
goto try_except_handler_18;
// Finished with no exception for tuple_build:
tuple_build_noexception_12:;
tmp_raise_value_5 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_5, tmp_mod_expr_right_5);
Py_DECREF(tmp_mod_expr_right_5);
if (tmp_raise_value_5 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_18;
}
exception_type = tmp_raise_type_5;
Py_INCREF(tmp_raise_type_5);
exception_value = tmp_raise_value_5;
exception_lineno = 481;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_18;
}
branch_no_21:;
goto branch_end_20;
branch_no_20:;
{
PyObject *tmp_assign_source_78;
tmp_assign_source_78 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_5__prepared == NULL);
tmp_class_creation_5__prepared = tmp_assign_source_78;
}
branch_end_20:;
{
PyObject *tmp_assign_source_79;
{
PyObject *tmp_set_locals_5;
CHECK_OBJECT(tmp_class_creation_5__prepared);
tmp_set_locals_5 = tmp_class_creation_5__prepared;
locals_tornado$netutil$$$class__5_BlockingResolver_481 = tmp_set_locals_5;
Py_INCREF(tmp_set_locals_5);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[208];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__5_BlockingResolver_481, mod_consts[209], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_20;
}
tmp_dictset_value = mod_consts[235];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__5_BlockingResolver_481, mod_consts[155], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_20;
}
tmp_dictset_value = mod_consts[234];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__5_BlockingResolver_481, mod_consts[211], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_20;
}
if (isFrameUnusable(cache_frame_2bc406de1b699eece85499d0248709cc_6)) {
Py_XDECREF(cache_frame_2bc406de1b699eece85499d0248709cc_6);
#if _DEBUG_REFCOUNTS
if (cache_frame_2bc406de1b699eece85499d0248709cc_6 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_2bc406de1b699eece85499d0248709cc_6 = MAKE_CLASS_FRAME(codeobj_2bc406de1b699eece85499d0248709cc, module_tornado$netutil, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_2bc406de1b699eece85499d0248709cc_6->m_type_description == NULL);
frame_2bc406de1b699eece85499d0248709cc_6 = cache_frame_2bc406de1b699eece85499d0248709cc_6;
// Push the new frame as the currently active one.
pushFrameStack(frame_2bc406de1b699eece85499d0248709cc_6);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_2bc406de1b699eece85499d0248709cc_6) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_17;
struct Nuitka_CellObject *tmp_closure_1[1];
tmp_annotations_17 = DICT_COPY(mod_consts[73]);
tmp_closure_1[0] = outline_4_var___class__;
Py_INCREF(tmp_closure_1[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$netutil$$$function__15_initialize(tmp_annotations_17, tmp_closure_1);
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__5_BlockingResolver_481, mod_consts[110], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 492;
type_description_2 = "c";
goto frame_exception_exit_6;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_2bc406de1b699eece85499d0248709cc_6);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_5;
frame_exception_exit_6:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_2bc406de1b699eece85499d0248709cc_6);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_2bc406de1b699eece85499d0248709cc_6, exception_lineno);
} else if (exception_tb->tb_frame != &frame_2bc406de1b699eece85499d0248709cc_6->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_2bc406de1b699eece85499d0248709cc_6, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_2bc406de1b699eece85499d0248709cc_6,
type_description_2,
outline_4_var___class__
);
// Release cached frame if used for exception.
if (frame_2bc406de1b699eece85499d0248709cc_6 == cache_frame_2bc406de1b699eece85499d0248709cc_6) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_2bc406de1b699eece85499d0248709cc_6);
cache_frame_2bc406de1b699eece85499d0248709cc_6 = NULL;
}
assertFrameObject(frame_2bc406de1b699eece85499d0248709cc_6);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_5;
frame_no_exception_5:;
goto skip_nested_handling_5;
nested_frame_exit_5:;
goto try_except_handler_20;
skip_nested_handling_5:;
{
nuitka_bool tmp_condition_result_34;
PyObject *tmp_cmp_expr_left_5;
PyObject *tmp_cmp_expr_right_5;
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_cmp_expr_left_5 = tmp_class_creation_5__bases;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_cmp_expr_right_5 = tmp_class_creation_5__bases_orig;
tmp_condition_result_34 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_5, tmp_cmp_expr_right_5);
if (tmp_condition_result_34 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_20;
}
if (tmp_condition_result_34 == NUITKA_BOOL_TRUE) {
goto branch_yes_22;
} else {
goto branch_no_22;
}
}
branch_yes_22:;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
tmp_dictset_value = tmp_class_creation_5__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__5_BlockingResolver_481, mod_consts[222], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_20;
}
branch_no_22:;
{
PyObject *tmp_assign_source_80;
PyObject *tmp_called_value_15;
PyObject *tmp_args_value_10;
PyObject *tmp_tuple_element_33;
PyObject *tmp_kwargs_value_10;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
tmp_called_value_15 = tmp_class_creation_5__metaclass;
tmp_tuple_element_33 = mod_consts[234];
tmp_args_value_10 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_10, 0, tmp_tuple_element_33);
CHECK_OBJECT(tmp_class_creation_5__bases);
tmp_tuple_element_33 = tmp_class_creation_5__bases;
PyTuple_SET_ITEM0(tmp_args_value_10, 1, tmp_tuple_element_33);
tmp_tuple_element_33 = locals_tornado$netutil$$$class__5_BlockingResolver_481;
PyTuple_SET_ITEM0(tmp_args_value_10, 2, tmp_tuple_element_33);
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
tmp_kwargs_value_10 = tmp_class_creation_5__class_decl_dict;
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 481;
tmp_assign_source_80 = CALL_FUNCTION(tmp_called_value_15, tmp_args_value_10, tmp_kwargs_value_10);
Py_DECREF(tmp_args_value_10);
if (tmp_assign_source_80 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 481;
goto try_except_handler_20;
}
assert(Nuitka_Cell_GET(outline_4_var___class__) == NULL);
PyCell_SET(outline_4_var___class__, tmp_assign_source_80);
}
CHECK_OBJECT(Nuitka_Cell_GET(outline_4_var___class__));
tmp_assign_source_79 = Nuitka_Cell_GET(outline_4_var___class__);
Py_INCREF(tmp_assign_source_79);
goto try_return_handler_20;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_20:;
Py_DECREF(locals_tornado$netutil$$$class__5_BlockingResolver_481);
locals_tornado$netutil$$$class__5_BlockingResolver_481 = NULL;
goto try_return_handler_19;
// Exception handler code:
try_except_handler_20:;
exception_keeper_type_18 = exception_type;
exception_keeper_value_18 = exception_value;
exception_keeper_tb_18 = exception_tb;
exception_keeper_lineno_18 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$netutil$$$class__5_BlockingResolver_481);
locals_tornado$netutil$$$class__5_BlockingResolver_481 = NULL;
// Re-raise.
exception_type = exception_keeper_type_18;
exception_value = exception_keeper_value_18;
exception_tb = exception_keeper_tb_18;
exception_lineno = exception_keeper_lineno_18;
goto try_except_handler_19;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_19:;
CHECK_OBJECT(outline_4_var___class__);
Py_DECREF(outline_4_var___class__);
outline_4_var___class__ = NULL;
goto outline_result_5;
// Exception handler code:
try_except_handler_19:;
exception_keeper_type_19 = exception_type;
exception_keeper_value_19 = exception_value;
exception_keeper_tb_19 = exception_tb;
exception_keeper_lineno_19 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_19;
exception_value = exception_keeper_value_19;
exception_tb = exception_keeper_tb_19;
exception_lineno = exception_keeper_lineno_19;
goto outline_exception_5;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_5:;
exception_lineno = 481;
goto try_except_handler_18;
outline_result_5:;
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[234], tmp_assign_source_79);
}
goto try_end_10;
// Exception handler code:
try_except_handler_18:;
exception_keeper_type_20 = exception_type;
exception_keeper_value_20 = exception_value;
exception_keeper_tb_20 = exception_tb;
exception_keeper_lineno_20 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_5__bases_orig);
tmp_class_creation_5__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_5__bases);
tmp_class_creation_5__bases = NULL;
Py_XDECREF(tmp_class_creation_5__class_decl_dict);
tmp_class_creation_5__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_5__metaclass);
tmp_class_creation_5__metaclass = NULL;
Py_XDECREF(tmp_class_creation_5__prepared);
tmp_class_creation_5__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_20;
exception_value = exception_keeper_value_20;
exception_tb = exception_keeper_tb_20;
exception_lineno = exception_keeper_lineno_20;
goto frame_exception_exit_1;
// End of try:
try_end_10:;
CHECK_OBJECT(tmp_class_creation_5__bases_orig);
Py_DECREF(tmp_class_creation_5__bases_orig);
tmp_class_creation_5__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_5__bases);
Py_DECREF(tmp_class_creation_5__bases);
tmp_class_creation_5__bases = NULL;
CHECK_OBJECT(tmp_class_creation_5__class_decl_dict);
Py_DECREF(tmp_class_creation_5__class_decl_dict);
tmp_class_creation_5__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_5__metaclass);
Py_DECREF(tmp_class_creation_5__metaclass);
tmp_class_creation_5__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_5__prepared);
Py_DECREF(tmp_class_creation_5__prepared);
tmp_class_creation_5__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_81;
PyObject *tmp_tuple_element_34;
tmp_tuple_element_34 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[226]);
if (unlikely(tmp_tuple_element_34 == NULL)) {
tmp_tuple_element_34 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[226]);
}
if (tmp_tuple_element_34 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_21;
}
tmp_assign_source_81 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_81, 0, tmp_tuple_element_34);
assert(tmp_class_creation_6__bases_orig == NULL);
tmp_class_creation_6__bases_orig = tmp_assign_source_81;
}
{
PyObject *tmp_assign_source_82;
PyObject *tmp_dircall_arg1_6;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_dircall_arg1_6 = tmp_class_creation_6__bases_orig;
Py_INCREF(tmp_dircall_arg1_6);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_6};
tmp_assign_source_82 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_82 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_21;
}
assert(tmp_class_creation_6__bases == NULL);
tmp_class_creation_6__bases = tmp_assign_source_82;
}
{
PyObject *tmp_assign_source_83;
tmp_assign_source_83 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_6__class_decl_dict == NULL);
tmp_class_creation_6__class_decl_dict = tmp_assign_source_83;
}
{
PyObject *tmp_assign_source_84;
PyObject *tmp_metaclass_value_6;
bool tmp_condition_result_35;
PyObject *tmp_key_value_16;
PyObject *tmp_dict_arg_value_16;
PyObject *tmp_dict_arg_value_17;
PyObject *tmp_key_value_17;
nuitka_bool tmp_condition_result_36;
int tmp_truth_name_6;
PyObject *tmp_type_arg_11;
PyObject *tmp_expression_value_77;
PyObject *tmp_subscript_value_27;
PyObject *tmp_bases_value_6;
tmp_key_value_16 = mod_consts[202];
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dict_arg_value_16 = tmp_class_creation_6__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_16, tmp_key_value_16);
assert(!(tmp_res == -1));
tmp_condition_result_35 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_35 != false) {
goto condexpr_true_13;
} else {
goto condexpr_false_13;
}
condexpr_true_13:;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dict_arg_value_17 = tmp_class_creation_6__class_decl_dict;
tmp_key_value_17 = mod_consts[202];
tmp_metaclass_value_6 = DICT_GET_ITEM0(tmp_dict_arg_value_17, tmp_key_value_17);
if (tmp_metaclass_value_6 == NULL) {
tmp_metaclass_value_6 = Py_None;
}
assert(!(tmp_metaclass_value_6 == NULL));
Py_INCREF(tmp_metaclass_value_6);
goto condexpr_end_13;
condexpr_false_13:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_truth_name_6 = CHECK_IF_TRUE(tmp_class_creation_6__bases);
if (tmp_truth_name_6 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_21;
}
tmp_condition_result_36 = tmp_truth_name_6 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_36 == NUITKA_BOOL_TRUE) {
goto condexpr_true_14;
} else {
goto condexpr_false_14;
}
condexpr_true_14:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_expression_value_77 = tmp_class_creation_6__bases;
tmp_subscript_value_27 = mod_consts[11];
tmp_type_arg_11 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_77, tmp_subscript_value_27, 0);
if (tmp_type_arg_11 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_21;
}
tmp_metaclass_value_6 = BUILTIN_TYPE1(tmp_type_arg_11);
Py_DECREF(tmp_type_arg_11);
if (tmp_metaclass_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_21;
}
goto condexpr_end_14;
condexpr_false_14:;
tmp_metaclass_value_6 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_6);
condexpr_end_14:;
condexpr_end_13:;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_bases_value_6 = tmp_class_creation_6__bases;
tmp_assign_source_84 = SELECT_METACLASS(tmp_metaclass_value_6, tmp_bases_value_6);
Py_DECREF(tmp_metaclass_value_6);
if (tmp_assign_source_84 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_21;
}
assert(tmp_class_creation_6__metaclass == NULL);
tmp_class_creation_6__metaclass = tmp_assign_source_84;
}
{
bool tmp_condition_result_37;
PyObject *tmp_key_value_18;
PyObject *tmp_dict_arg_value_18;
tmp_key_value_18 = mod_consts[202];
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dict_arg_value_18 = tmp_class_creation_6__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_18, tmp_key_value_18);
assert(!(tmp_res == -1));
tmp_condition_result_37 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_37 != false) {
goto branch_yes_23;
} else {
goto branch_no_23;
}
}
branch_yes_23:;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_6__class_decl_dict;
tmp_dictdel_key = mod_consts[202];
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 = 496;
goto try_except_handler_21;
}
branch_no_23:;
{
nuitka_bool tmp_condition_result_38;
PyObject *tmp_expression_value_78;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_78 = tmp_class_creation_6__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_78, mod_consts[203]);
tmp_condition_result_38 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_38 == NUITKA_BOOL_TRUE) {
goto branch_yes_24;
} else {
goto branch_no_24;
}
}
branch_yes_24:;
{
PyObject *tmp_assign_source_85;
PyObject *tmp_called_value_16;
PyObject *tmp_expression_value_79;
PyObject *tmp_args_value_11;
PyObject *tmp_tuple_element_35;
PyObject *tmp_kwargs_value_11;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_expression_value_79 = tmp_class_creation_6__metaclass;
tmp_called_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_79, mod_consts[203]);
if (tmp_called_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_21;
}
tmp_tuple_element_35 = mod_consts[111];
tmp_args_value_11 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_11, 0, tmp_tuple_element_35);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_35 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_11, 1, tmp_tuple_element_35);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_11 = tmp_class_creation_6__class_decl_dict;
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 496;
tmp_assign_source_85 = CALL_FUNCTION(tmp_called_value_16, tmp_args_value_11, tmp_kwargs_value_11);
Py_DECREF(tmp_called_value_16);
Py_DECREF(tmp_args_value_11);
if (tmp_assign_source_85 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_21;
}
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_85;
}
{
bool tmp_condition_result_39;
PyObject *tmp_operand_value_6;
PyObject *tmp_expression_value_80;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_expression_value_80 = tmp_class_creation_6__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_80, mod_consts[204]);
tmp_operand_value_6 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_6);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_21;
}
tmp_condition_result_39 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_39 != false) {
goto branch_yes_25;
} else {
goto branch_no_25;
}
}
branch_yes_25:;
{
PyObject *tmp_raise_type_6;
PyObject *tmp_raise_value_6;
PyObject *tmp_mod_expr_left_6;
PyObject *tmp_mod_expr_right_6;
PyObject *tmp_tuple_element_36;
PyObject *tmp_getattr_target_6;
PyObject *tmp_getattr_attr_6;
PyObject *tmp_getattr_default_6;
tmp_raise_type_6 = PyExc_TypeError;
tmp_mod_expr_left_6 = mod_consts[205];
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_getattr_target_6 = tmp_class_creation_6__metaclass;
tmp_getattr_attr_6 = mod_consts[206];
tmp_getattr_default_6 = mod_consts[207];
tmp_tuple_element_36 = BUILTIN_GETATTR(tmp_getattr_target_6, tmp_getattr_attr_6, tmp_getattr_default_6);
if (tmp_tuple_element_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_21;
}
tmp_mod_expr_right_6 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_81;
PyObject *tmp_type_arg_12;
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 0, tmp_tuple_element_36);
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_type_arg_12 = tmp_class_creation_6__prepared;
tmp_expression_value_81 = BUILTIN_TYPE1(tmp_type_arg_12);
assert(!(tmp_expression_value_81 == NULL));
tmp_tuple_element_36 = LOOKUP_ATTRIBUTE(tmp_expression_value_81, mod_consts[206]);
Py_DECREF(tmp_expression_value_81);
if (tmp_tuple_element_36 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto tuple_build_exception_13;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_6, 1, tmp_tuple_element_36);
}
goto tuple_build_noexception_13;
// Exception handling pass through code for tuple_build:
tuple_build_exception_13:;
Py_DECREF(tmp_mod_expr_right_6);
goto try_except_handler_21;
// Finished with no exception for tuple_build:
tuple_build_noexception_13:;
tmp_raise_value_6 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_6, tmp_mod_expr_right_6);
Py_DECREF(tmp_mod_expr_right_6);
if (tmp_raise_value_6 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_21;
}
exception_type = tmp_raise_type_6;
Py_INCREF(tmp_raise_type_6);
exception_value = tmp_raise_value_6;
exception_lineno = 496;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_21;
}
branch_no_25:;
goto branch_end_24;
branch_no_24:;
{
PyObject *tmp_assign_source_86;
tmp_assign_source_86 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_6__prepared == NULL);
tmp_class_creation_6__prepared = tmp_assign_source_86;
}
branch_end_24:;
{
PyObject *tmp_assign_source_87;
{
PyObject *tmp_set_locals_6;
CHECK_OBJECT(tmp_class_creation_6__prepared);
tmp_set_locals_6 = tmp_class_creation_6__prepared;
locals_tornado$netutil$$$class__6_ThreadedResolver_496 = tmp_set_locals_6;
Py_INCREF(tmp_set_locals_6);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[208];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[209], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_23;
}
tmp_dictset_value = mod_consts[237];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[155], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_23;
}
tmp_dictset_value = mod_consts[111];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[211], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_23;
}
if (isFrameUnusable(cache_frame_1bc1d254f7b99494bc4b72fe86e75e5e_7)) {
Py_XDECREF(cache_frame_1bc1d254f7b99494bc4b72fe86e75e5e_7);
#if _DEBUG_REFCOUNTS
if (cache_frame_1bc1d254f7b99494bc4b72fe86e75e5e_7 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_1bc1d254f7b99494bc4b72fe86e75e5e_7 = MAKE_CLASS_FRAME(codeobj_1bc1d254f7b99494bc4b72fe86e75e5e, module_tornado$netutil, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_1bc1d254f7b99494bc4b72fe86e75e5e_7->m_type_description == NULL);
frame_1bc1d254f7b99494bc4b72fe86e75e5e_7 = cache_frame_1bc1d254f7b99494bc4b72fe86e75e5e_7;
// Push the new frame as the currently active one.
pushFrameStack(frame_1bc1d254f7b99494bc4b72fe86e75e5e_7);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_1bc1d254f7b99494bc4b72fe86e75e5e_7) == 2); // Frame stack
// Framed code:
tmp_dictset_value = Py_None;
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[116], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 517;
type_description_2 = "c";
goto frame_exception_exit_7;
}
tmp_dictset_value = Py_None;
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[115], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 518;
type_description_2 = "c";
goto frame_exception_exit_7;
}
{
PyObject *tmp_defaults_9;
PyObject *tmp_annotations_18;
PyObject *tmp_dict_key_14;
PyObject *tmp_dict_value_14;
struct Nuitka_CellObject *tmp_closure_2[1];
tmp_defaults_9 = mod_consts[238];
tmp_dict_key_14 = mod_consts[239];
tmp_dict_value_14 = PyObject_GetItem(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[218]);
if (tmp_dict_value_14 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_14 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_14);
} else {
goto frame_exception_exit_7;
}
}
tmp_annotations_18 = _PyDict_NewPresized( 2 );
tmp_res = PyDict_SetItem(tmp_annotations_18, tmp_dict_key_14, tmp_dict_value_14);
Py_DECREF(tmp_dict_value_14);
assert(!(tmp_res != 0));
tmp_dict_key_14 = mod_consts[70];
tmp_dict_value_14 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_18, tmp_dict_key_14, tmp_dict_value_14);
assert(!(tmp_res != 0));
Py_INCREF(tmp_defaults_9);
tmp_closure_2[0] = outline_5_var___class__;
Py_INCREF(tmp_closure_2[0]);
tmp_dictset_value = MAKE_FUNCTION_tornado$netutil$$$function__16_initialize(tmp_defaults_9, tmp_annotations_18, tmp_closure_2);
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[110], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 520;
type_description_2 = "c";
goto frame_exception_exit_7;
}
}
{
nuitka_bool tmp_condition_result_40;
PyObject *tmp_called_value_17;
PyObject *tmp_args_element_value_6;
PyObject *tmp_annotations_19;
PyObject *tmp_dict_key_15;
PyObject *tmp_dict_value_15;
PyObject *tmp_classmethod_arg_3;
PyObject *tmp_annotations_20;
PyObject *tmp_dict_key_16;
PyObject *tmp_dict_value_16;
tmp_res = MAPPING_HAS_ITEM(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[212]);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 524;
type_description_2 = "c";
goto frame_exception_exit_7;
}
tmp_condition_result_40 = (tmp_res == 1) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_40 == NUITKA_BOOL_TRUE) {
goto condexpr_true_15;
} else {
goto condexpr_false_15;
}
condexpr_true_15:;
tmp_called_value_17 = PyObject_GetItem(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[212]);
if (unlikely(tmp_called_value_17 == NULL && CHECK_AND_CLEAR_KEY_ERROR_OCCURRED())) {
FORMAT_NAME_ERROR(&exception_type, &exception_value, mod_consts[212]);
NORMALIZE_EXCEPTION(&exception_type, &exception_value, &exception_tb);
CHAIN_EXCEPTION(exception_value);
exception_lineno = 524;
type_description_2 = "c";
goto frame_exception_exit_7;
}
if (tmp_called_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 524;
type_description_2 = "c";
goto frame_exception_exit_7;
}
tmp_dict_key_15 = mod_consts[239];
tmp_dict_value_15 = PyObject_GetItem(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[218]);
if (tmp_dict_value_15 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_15 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_15);
} else {
goto frame_exception_exit_7;
}
}
tmp_annotations_19 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_82;
PyObject *tmp_expression_value_83;
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
assert(!(tmp_res != 0));
tmp_dict_key_15 = mod_consts[70];
tmp_expression_value_83 = PyObject_GetItem(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[117]);
if (tmp_expression_value_83 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_83 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[117]);
if (unlikely(tmp_expression_value_83 == NULL)) {
tmp_expression_value_83 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[117]);
}
if (tmp_expression_value_83 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 527;
type_description_2 = "c";
goto dict_build_exception_9;
}
Py_INCREF(tmp_expression_value_83);
} else {
goto dict_build_exception_9;
}
}
tmp_expression_value_82 = LOOKUP_ATTRIBUTE(tmp_expression_value_83, mod_consts[118]);
Py_DECREF(tmp_expression_value_83);
if (tmp_expression_value_82 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 527;
type_description_2 = "c";
goto dict_build_exception_9;
}
tmp_dict_value_15 = LOOKUP_ATTRIBUTE(tmp_expression_value_82, mod_consts[119]);
Py_DECREF(tmp_expression_value_82);
if (tmp_dict_value_15 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 527;
type_description_2 = "c";
goto dict_build_exception_9;
}
tmp_res = PyDict_SetItem(tmp_annotations_19, tmp_dict_key_15, tmp_dict_value_15);
Py_DECREF(tmp_dict_value_15);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_9;
// Exception handling pass through code for dict_build:
dict_build_exception_9:;
Py_DECREF(tmp_called_value_17);
Py_DECREF(tmp_annotations_19);
goto frame_exception_exit_7;
// Finished with no exception for dict_build:
dict_build_noexception_9:;
tmp_args_element_value_6 = MAKE_FUNCTION_tornado$netutil$$$function__17__create_threadpool(tmp_annotations_19);
frame_1bc1d254f7b99494bc4b72fe86e75e5e_7->m_frame.f_lineno = 524;
tmp_dictset_value = CALL_FUNCTION_WITH_SINGLE_ARG(tmp_called_value_17, tmp_args_element_value_6);
Py_DECREF(tmp_called_value_17);
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 = 524;
type_description_2 = "c";
goto frame_exception_exit_7;
}
goto condexpr_end_15;
condexpr_false_15:;
tmp_dict_key_16 = mod_consts[239];
tmp_dict_value_16 = PyObject_GetItem(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[218]);
if (tmp_dict_value_16 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_16 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_16);
} else {
goto frame_exception_exit_7;
}
}
tmp_annotations_20 = _PyDict_NewPresized( 2 );
{
PyObject *tmp_expression_value_84;
PyObject *tmp_expression_value_85;
tmp_res = PyDict_SetItem(tmp_annotations_20, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
assert(!(tmp_res != 0));
tmp_dict_key_16 = mod_consts[70];
tmp_expression_value_85 = PyObject_GetItem(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[117]);
if (tmp_expression_value_85 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_85 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[117]);
if (unlikely(tmp_expression_value_85 == NULL)) {
tmp_expression_value_85 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[117]);
}
if (tmp_expression_value_85 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 527;
type_description_2 = "c";
goto dict_build_exception_10;
}
Py_INCREF(tmp_expression_value_85);
} else {
goto dict_build_exception_10;
}
}
tmp_expression_value_84 = LOOKUP_ATTRIBUTE(tmp_expression_value_85, mod_consts[118]);
Py_DECREF(tmp_expression_value_85);
if (tmp_expression_value_84 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 527;
type_description_2 = "c";
goto dict_build_exception_10;
}
tmp_dict_value_16 = LOOKUP_ATTRIBUTE(tmp_expression_value_84, mod_consts[119]);
Py_DECREF(tmp_expression_value_84);
if (tmp_dict_value_16 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 527;
type_description_2 = "c";
goto dict_build_exception_10;
}
tmp_res = PyDict_SetItem(tmp_annotations_20, tmp_dict_key_16, tmp_dict_value_16);
Py_DECREF(tmp_dict_value_16);
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_7;
// Finished with no exception for dict_build:
dict_build_noexception_10:;
tmp_classmethod_arg_3 = MAKE_FUNCTION_tornado$netutil$$$function__17__create_threadpool(tmp_annotations_20);
tmp_dictset_value = BUILTIN_CLASSMETHOD(tmp_classmethod_arg_3);
Py_DECREF(tmp_classmethod_arg_3);
if (tmp_dictset_value == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 524;
type_description_2 = "c";
goto frame_exception_exit_7;
}
condexpr_end_15:;
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[112], 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 = 525;
type_description_2 = "c";
goto frame_exception_exit_7;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_1bc1d254f7b99494bc4b72fe86e75e5e_7);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_6;
frame_exception_exit_7:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_1bc1d254f7b99494bc4b72fe86e75e5e_7);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_1bc1d254f7b99494bc4b72fe86e75e5e_7, exception_lineno);
} else if (exception_tb->tb_frame != &frame_1bc1d254f7b99494bc4b72fe86e75e5e_7->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_1bc1d254f7b99494bc4b72fe86e75e5e_7, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_1bc1d254f7b99494bc4b72fe86e75e5e_7,
type_description_2,
outline_5_var___class__
);
// Release cached frame if used for exception.
if (frame_1bc1d254f7b99494bc4b72fe86e75e5e_7 == cache_frame_1bc1d254f7b99494bc4b72fe86e75e5e_7) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_1bc1d254f7b99494bc4b72fe86e75e5e_7);
cache_frame_1bc1d254f7b99494bc4b72fe86e75e5e_7 = NULL;
}
assertFrameObject(frame_1bc1d254f7b99494bc4b72fe86e75e5e_7);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_6;
frame_no_exception_6:;
goto skip_nested_handling_6;
nested_frame_exit_6:;
goto try_except_handler_23;
skip_nested_handling_6:;
{
nuitka_bool tmp_condition_result_41;
PyObject *tmp_cmp_expr_left_6;
PyObject *tmp_cmp_expr_right_6;
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_cmp_expr_left_6 = tmp_class_creation_6__bases;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_cmp_expr_right_6 = tmp_class_creation_6__bases_orig;
tmp_condition_result_41 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_6, tmp_cmp_expr_right_6);
if (tmp_condition_result_41 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_23;
}
if (tmp_condition_result_41 == NUITKA_BOOL_TRUE) {
goto branch_yes_26;
} else {
goto branch_no_26;
}
}
branch_yes_26:;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
tmp_dictset_value = tmp_class_creation_6__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__6_ThreadedResolver_496, mod_consts[222], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_23;
}
branch_no_26:;
{
PyObject *tmp_assign_source_88;
PyObject *tmp_called_value_18;
PyObject *tmp_args_value_12;
PyObject *tmp_tuple_element_37;
PyObject *tmp_kwargs_value_12;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
tmp_called_value_18 = tmp_class_creation_6__metaclass;
tmp_tuple_element_37 = mod_consts[111];
tmp_args_value_12 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_12, 0, tmp_tuple_element_37);
CHECK_OBJECT(tmp_class_creation_6__bases);
tmp_tuple_element_37 = tmp_class_creation_6__bases;
PyTuple_SET_ITEM0(tmp_args_value_12, 1, tmp_tuple_element_37);
tmp_tuple_element_37 = locals_tornado$netutil$$$class__6_ThreadedResolver_496;
PyTuple_SET_ITEM0(tmp_args_value_12, 2, tmp_tuple_element_37);
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
tmp_kwargs_value_12 = tmp_class_creation_6__class_decl_dict;
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 496;
tmp_assign_source_88 = CALL_FUNCTION(tmp_called_value_18, tmp_args_value_12, tmp_kwargs_value_12);
Py_DECREF(tmp_args_value_12);
if (tmp_assign_source_88 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 496;
goto try_except_handler_23;
}
assert(Nuitka_Cell_GET(outline_5_var___class__) == NULL);
PyCell_SET(outline_5_var___class__, tmp_assign_source_88);
}
CHECK_OBJECT(Nuitka_Cell_GET(outline_5_var___class__));
tmp_assign_source_87 = Nuitka_Cell_GET(outline_5_var___class__);
Py_INCREF(tmp_assign_source_87);
goto try_return_handler_23;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_23:;
Py_DECREF(locals_tornado$netutil$$$class__6_ThreadedResolver_496);
locals_tornado$netutil$$$class__6_ThreadedResolver_496 = NULL;
goto try_return_handler_22;
// Exception handler code:
try_except_handler_23:;
exception_keeper_type_21 = exception_type;
exception_keeper_value_21 = exception_value;
exception_keeper_tb_21 = exception_tb;
exception_keeper_lineno_21 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$netutil$$$class__6_ThreadedResolver_496);
locals_tornado$netutil$$$class__6_ThreadedResolver_496 = NULL;
// Re-raise.
exception_type = exception_keeper_type_21;
exception_value = exception_keeper_value_21;
exception_tb = exception_keeper_tb_21;
exception_lineno = exception_keeper_lineno_21;
goto try_except_handler_22;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_22:;
CHECK_OBJECT(outline_5_var___class__);
Py_DECREF(outline_5_var___class__);
outline_5_var___class__ = NULL;
goto outline_result_6;
// Exception handler code:
try_except_handler_22:;
exception_keeper_type_22 = exception_type;
exception_keeper_value_22 = exception_value;
exception_keeper_tb_22 = exception_tb;
exception_keeper_lineno_22 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_22;
exception_value = exception_keeper_value_22;
exception_tb = exception_keeper_tb_22;
exception_lineno = exception_keeper_lineno_22;
goto outline_exception_6;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_6:;
exception_lineno = 496;
goto try_except_handler_21;
outline_result_6:;
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[111], tmp_assign_source_87);
}
goto try_end_11;
// Exception handler code:
try_except_handler_21:;
exception_keeper_type_23 = exception_type;
exception_keeper_value_23 = exception_value;
exception_keeper_tb_23 = exception_tb;
exception_keeper_lineno_23 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_6__bases_orig);
tmp_class_creation_6__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_6__bases);
tmp_class_creation_6__bases = NULL;
Py_XDECREF(tmp_class_creation_6__class_decl_dict);
tmp_class_creation_6__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_6__metaclass);
tmp_class_creation_6__metaclass = NULL;
Py_XDECREF(tmp_class_creation_6__prepared);
tmp_class_creation_6__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_23;
exception_value = exception_keeper_value_23;
exception_tb = exception_keeper_tb_23;
exception_lineno = exception_keeper_lineno_23;
goto frame_exception_exit_1;
// End of try:
try_end_11:;
CHECK_OBJECT(tmp_class_creation_6__bases_orig);
Py_DECREF(tmp_class_creation_6__bases_orig);
tmp_class_creation_6__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_6__bases);
Py_DECREF(tmp_class_creation_6__bases);
tmp_class_creation_6__bases = NULL;
CHECK_OBJECT(tmp_class_creation_6__class_decl_dict);
Py_DECREF(tmp_class_creation_6__class_decl_dict);
tmp_class_creation_6__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_6__metaclass);
Py_DECREF(tmp_class_creation_6__metaclass);
tmp_class_creation_6__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_6__prepared);
Py_DECREF(tmp_class_creation_6__prepared);
tmp_class_creation_6__prepared = NULL;
// Tried code:
{
PyObject *tmp_assign_source_89;
PyObject *tmp_tuple_element_38;
tmp_tuple_element_38 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[90]);
if (unlikely(tmp_tuple_element_38 == NULL)) {
tmp_tuple_element_38 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[90]);
}
if (tmp_tuple_element_38 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_24;
}
tmp_assign_source_89 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM0(tmp_assign_source_89, 0, tmp_tuple_element_38);
assert(tmp_class_creation_7__bases_orig == NULL);
tmp_class_creation_7__bases_orig = tmp_assign_source_89;
}
{
PyObject *tmp_assign_source_90;
PyObject *tmp_dircall_arg1_7;
CHECK_OBJECT(tmp_class_creation_7__bases_orig);
tmp_dircall_arg1_7 = tmp_class_creation_7__bases_orig;
Py_INCREF(tmp_dircall_arg1_7);
{
PyObject *dir_call_args[] = {tmp_dircall_arg1_7};
tmp_assign_source_90 = impl___main__$$$function__1__mro_entries_conversion(dir_call_args);
}
if (tmp_assign_source_90 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_24;
}
assert(tmp_class_creation_7__bases == NULL);
tmp_class_creation_7__bases = tmp_assign_source_90;
}
{
PyObject *tmp_assign_source_91;
tmp_assign_source_91 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_7__class_decl_dict == NULL);
tmp_class_creation_7__class_decl_dict = tmp_assign_source_91;
}
{
PyObject *tmp_assign_source_92;
PyObject *tmp_metaclass_value_7;
bool tmp_condition_result_42;
PyObject *tmp_key_value_19;
PyObject *tmp_dict_arg_value_19;
PyObject *tmp_dict_arg_value_20;
PyObject *tmp_key_value_20;
nuitka_bool tmp_condition_result_43;
int tmp_truth_name_7;
PyObject *tmp_type_arg_13;
PyObject *tmp_expression_value_86;
PyObject *tmp_subscript_value_28;
PyObject *tmp_bases_value_7;
tmp_key_value_19 = mod_consts[202];
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dict_arg_value_19 = tmp_class_creation_7__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_19, tmp_key_value_19);
assert(!(tmp_res == -1));
tmp_condition_result_42 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_42 != false) {
goto condexpr_true_16;
} else {
goto condexpr_false_16;
}
condexpr_true_16:;
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dict_arg_value_20 = tmp_class_creation_7__class_decl_dict;
tmp_key_value_20 = mod_consts[202];
tmp_metaclass_value_7 = DICT_GET_ITEM0(tmp_dict_arg_value_20, tmp_key_value_20);
if (tmp_metaclass_value_7 == NULL) {
tmp_metaclass_value_7 = Py_None;
}
assert(!(tmp_metaclass_value_7 == NULL));
Py_INCREF(tmp_metaclass_value_7);
goto condexpr_end_16;
condexpr_false_16:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_truth_name_7 = CHECK_IF_TRUE(tmp_class_creation_7__bases);
if (tmp_truth_name_7 == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_24;
}
tmp_condition_result_43 = tmp_truth_name_7 == 0 ? NUITKA_BOOL_FALSE : NUITKA_BOOL_TRUE;
if (tmp_condition_result_43 == NUITKA_BOOL_TRUE) {
goto condexpr_true_17;
} else {
goto condexpr_false_17;
}
condexpr_true_17:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_expression_value_86 = tmp_class_creation_7__bases;
tmp_subscript_value_28 = mod_consts[11];
tmp_type_arg_13 = LOOKUP_SUBSCRIPT_CONST(tmp_expression_value_86, tmp_subscript_value_28, 0);
if (tmp_type_arg_13 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_24;
}
tmp_metaclass_value_7 = BUILTIN_TYPE1(tmp_type_arg_13);
Py_DECREF(tmp_type_arg_13);
if (tmp_metaclass_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_24;
}
goto condexpr_end_17;
condexpr_false_17:;
tmp_metaclass_value_7 = (PyObject *)&PyType_Type;
Py_INCREF(tmp_metaclass_value_7);
condexpr_end_17:;
condexpr_end_16:;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_bases_value_7 = tmp_class_creation_7__bases;
tmp_assign_source_92 = SELECT_METACLASS(tmp_metaclass_value_7, tmp_bases_value_7);
Py_DECREF(tmp_metaclass_value_7);
if (tmp_assign_source_92 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_24;
}
assert(tmp_class_creation_7__metaclass == NULL);
tmp_class_creation_7__metaclass = tmp_assign_source_92;
}
{
bool tmp_condition_result_44;
PyObject *tmp_key_value_21;
PyObject *tmp_dict_arg_value_21;
tmp_key_value_21 = mod_consts[202];
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dict_arg_value_21 = tmp_class_creation_7__class_decl_dict;
tmp_res = DICT_HAS_ITEM(tmp_dict_arg_value_21, tmp_key_value_21);
assert(!(tmp_res == -1));
tmp_condition_result_44 = (tmp_res != 0) ? true : false;
if (tmp_condition_result_44 != false) {
goto branch_yes_27;
} else {
goto branch_no_27;
}
}
branch_yes_27:;
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_dictdel_dict = tmp_class_creation_7__class_decl_dict;
tmp_dictdel_key = mod_consts[202];
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 = 539;
goto try_except_handler_24;
}
branch_no_27:;
{
nuitka_bool tmp_condition_result_45;
PyObject *tmp_expression_value_87;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_expression_value_87 = tmp_class_creation_7__metaclass;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_87, mod_consts[203]);
tmp_condition_result_45 = (tmp_result) ? NUITKA_BOOL_TRUE : NUITKA_BOOL_FALSE;
if (tmp_condition_result_45 == NUITKA_BOOL_TRUE) {
goto branch_yes_28;
} else {
goto branch_no_28;
}
}
branch_yes_28:;
{
PyObject *tmp_assign_source_93;
PyObject *tmp_called_value_19;
PyObject *tmp_expression_value_88;
PyObject *tmp_args_value_13;
PyObject *tmp_tuple_element_39;
PyObject *tmp_kwargs_value_13;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_expression_value_88 = tmp_class_creation_7__metaclass;
tmp_called_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_88, mod_consts[203]);
if (tmp_called_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_24;
}
tmp_tuple_element_39 = mod_consts[242];
tmp_args_value_13 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_args_value_13, 0, tmp_tuple_element_39);
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_tuple_element_39 = tmp_class_creation_7__bases;
PyTuple_SET_ITEM0(tmp_args_value_13, 1, tmp_tuple_element_39);
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_kwargs_value_13 = tmp_class_creation_7__class_decl_dict;
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 539;
tmp_assign_source_93 = CALL_FUNCTION(tmp_called_value_19, tmp_args_value_13, tmp_kwargs_value_13);
Py_DECREF(tmp_called_value_19);
Py_DECREF(tmp_args_value_13);
if (tmp_assign_source_93 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_24;
}
assert(tmp_class_creation_7__prepared == NULL);
tmp_class_creation_7__prepared = tmp_assign_source_93;
}
{
bool tmp_condition_result_46;
PyObject *tmp_operand_value_7;
PyObject *tmp_expression_value_89;
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_expression_value_89 = tmp_class_creation_7__prepared;
tmp_result = HAS_ATTR_BOOL(tmp_expression_value_89, mod_consts[204]);
tmp_operand_value_7 = (tmp_result) ? Py_True : Py_False;
tmp_res = CHECK_IF_TRUE(tmp_operand_value_7);
if (tmp_res == -1) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_24;
}
tmp_condition_result_46 = (tmp_res == 0) ? true : false;
if (tmp_condition_result_46 != false) {
goto branch_yes_29;
} else {
goto branch_no_29;
}
}
branch_yes_29:;
{
PyObject *tmp_raise_type_7;
PyObject *tmp_raise_value_7;
PyObject *tmp_mod_expr_left_7;
PyObject *tmp_mod_expr_right_7;
PyObject *tmp_tuple_element_40;
PyObject *tmp_getattr_target_7;
PyObject *tmp_getattr_attr_7;
PyObject *tmp_getattr_default_7;
tmp_raise_type_7 = PyExc_TypeError;
tmp_mod_expr_left_7 = mod_consts[205];
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_getattr_target_7 = tmp_class_creation_7__metaclass;
tmp_getattr_attr_7 = mod_consts[206];
tmp_getattr_default_7 = mod_consts[207];
tmp_tuple_element_40 = BUILTIN_GETATTR(tmp_getattr_target_7, tmp_getattr_attr_7, tmp_getattr_default_7);
if (tmp_tuple_element_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_24;
}
tmp_mod_expr_right_7 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_90;
PyObject *tmp_type_arg_14;
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 0, tmp_tuple_element_40);
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_type_arg_14 = tmp_class_creation_7__prepared;
tmp_expression_value_90 = BUILTIN_TYPE1(tmp_type_arg_14);
assert(!(tmp_expression_value_90 == NULL));
tmp_tuple_element_40 = LOOKUP_ATTRIBUTE(tmp_expression_value_90, mod_consts[206]);
Py_DECREF(tmp_expression_value_90);
if (tmp_tuple_element_40 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto tuple_build_exception_14;
}
PyTuple_SET_ITEM(tmp_mod_expr_right_7, 1, tmp_tuple_element_40);
}
goto tuple_build_noexception_14;
// Exception handling pass through code for tuple_build:
tuple_build_exception_14:;
Py_DECREF(tmp_mod_expr_right_7);
goto try_except_handler_24;
// Finished with no exception for tuple_build:
tuple_build_noexception_14:;
tmp_raise_value_7 = BINARY_OPERATION_MOD_OBJECT_UNICODE_TUPLE(tmp_mod_expr_left_7, tmp_mod_expr_right_7);
Py_DECREF(tmp_mod_expr_right_7);
if (tmp_raise_value_7 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_24;
}
exception_type = tmp_raise_type_7;
Py_INCREF(tmp_raise_type_7);
exception_value = tmp_raise_value_7;
exception_lineno = 539;
RAISE_EXCEPTION_IMPLICIT(&exception_type, &exception_value, &exception_tb);
goto try_except_handler_24;
}
branch_no_29:;
goto branch_end_28;
branch_no_28:;
{
PyObject *tmp_assign_source_94;
tmp_assign_source_94 = MAKE_DICT_EMPTY();
assert(tmp_class_creation_7__prepared == NULL);
tmp_class_creation_7__prepared = tmp_assign_source_94;
}
branch_end_28:;
{
PyObject *tmp_assign_source_95;
{
PyObject *tmp_set_locals_7;
CHECK_OBJECT(tmp_class_creation_7__prepared);
tmp_set_locals_7 = tmp_class_creation_7__prepared;
locals_tornado$netutil$$$class__7_OverrideResolver_539 = tmp_set_locals_7;
Py_INCREF(tmp_set_locals_7);
}
// Tried code:
// Tried code:
tmp_dictset_value = mod_consts[208];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[209], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_26;
}
tmp_dictset_value = mod_consts[243];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[155], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_26;
}
tmp_dictset_value = mod_consts[242];
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[211], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_26;
}
if (isFrameUnusable(cache_frame_34e0df0ec9a5ff15429354001f3fa2d8_8)) {
Py_XDECREF(cache_frame_34e0df0ec9a5ff15429354001f3fa2d8_8);
#if _DEBUG_REFCOUNTS
if (cache_frame_34e0df0ec9a5ff15429354001f3fa2d8_8 == NULL) {
count_active_frame_cache_instances += 1;
} else {
count_released_frame_cache_instances += 1;
}
count_allocated_frame_cache_instances += 1;
#endif
cache_frame_34e0df0ec9a5ff15429354001f3fa2d8_8 = MAKE_CLASS_FRAME(codeobj_34e0df0ec9a5ff15429354001f3fa2d8, module_tornado$netutil, NULL, sizeof(void *));
#if _DEBUG_REFCOUNTS
} else {
count_hit_frame_cache_instances += 1;
#endif
}
assert(cache_frame_34e0df0ec9a5ff15429354001f3fa2d8_8->m_type_description == NULL);
frame_34e0df0ec9a5ff15429354001f3fa2d8_8 = cache_frame_34e0df0ec9a5ff15429354001f3fa2d8_8;
// Push the new frame as the currently active one.
pushFrameStack(frame_34e0df0ec9a5ff15429354001f3fa2d8_8);
// Mark the frame object as in use, ref count 1 will be up for reuse.
assert(Py_REFCNT(frame_34e0df0ec9a5ff15429354001f3fa2d8_8) == 2); // Frame stack
// Framed code:
{
PyObject *tmp_annotations_21;
PyObject *tmp_dict_key_17;
PyObject *tmp_dict_value_17;
tmp_dict_key_17 = mod_consts[120];
tmp_dict_value_17 = PyObject_GetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[90]);
if (tmp_dict_value_17 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_17 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[90]);
if (unlikely(tmp_dict_value_17 == NULL)) {
tmp_dict_value_17 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[90]);
}
if (tmp_dict_value_17 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 562;
type_description_2 = "o";
goto frame_exception_exit_8;
}
Py_INCREF(tmp_dict_value_17);
} else {
goto frame_exception_exit_8;
}
}
tmp_annotations_21 = _PyDict_NewPresized( 3 );
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[121];
tmp_dict_value_17 = PyObject_GetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[244]);
if (tmp_dict_value_17 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_17 = (PyObject *)&PyDict_Type;
Py_INCREF(tmp_dict_value_17);
} else {
goto frame_exception_exit_8;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_17, tmp_dict_value_17);
Py_DECREF(tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dict_key_17 = mod_consts[70];
tmp_dict_value_17 = Py_None;
tmp_res = PyDict_SetItem(tmp_annotations_21, tmp_dict_key_17, tmp_dict_value_17);
assert(!(tmp_res != 0));
tmp_dictset_value = MAKE_FUNCTION_tornado$netutil$$$function__18_initialize(tmp_annotations_21);
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[110], tmp_dictset_value);
Py_DECREF(tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 562;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
{
PyObject *tmp_annotations_22;
tmp_annotations_22 = DICT_COPY(mod_consts[73]);
tmp_dictset_value = MAKE_FUNCTION_tornado$netutil$$$function__19_close(tmp_annotations_22);
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[48], 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 = 566;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
{
PyObject *tmp_defaults_10;
PyObject *tmp_tuple_element_41;
PyObject *tmp_expression_value_91;
PyObject *tmp_annotations_23;
PyObject *tmp_dict_key_18;
PyObject *tmp_dict_value_18;
tmp_expression_value_91 = PyObject_GetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[0]);
if (tmp_expression_value_91 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_91 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_91 == NULL)) {
tmp_expression_value_91 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_91 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_2 = "o";
goto frame_exception_exit_8;
}
Py_INCREF(tmp_expression_value_91);
} else {
goto frame_exception_exit_8;
}
}
tmp_tuple_element_41 = LOOKUP_ATTRIBUTE(tmp_expression_value_91, mod_consts[5]);
Py_DECREF(tmp_expression_value_91);
if (tmp_tuple_element_41 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_2 = "o";
goto frame_exception_exit_8;
}
tmp_defaults_10 = MAKE_TUPLE_EMPTY(1);
PyTuple_SET_ITEM(tmp_defaults_10, 0, tmp_tuple_element_41);
tmp_dict_key_18 = mod_consts[96];
tmp_dict_value_18 = PyObject_GetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[217]);
if (tmp_dict_value_18 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_18 = (PyObject *)&PyUnicode_Type;
Py_INCREF(tmp_dict_value_18);
} else {
goto frame_exception_exit_8;
}
}
tmp_annotations_23 = _PyDict_NewPresized( 4 );
{
PyObject *tmp_expression_value_92;
PyObject *tmp_expression_value_93;
PyObject *tmp_subscript_value_29;
PyObject *tmp_expression_value_94;
PyObject *tmp_subscript_value_30;
PyObject *tmp_expression_value_95;
PyObject *tmp_subscript_value_31;
PyObject *tmp_tuple_element_42;
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_18, tmp_dict_value_18);
Py_DECREF(tmp_dict_value_18);
assert(!(tmp_res != 0));
tmp_dict_key_18 = mod_consts[97];
tmp_dict_value_18 = PyObject_GetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[218]);
if (tmp_dict_value_18 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_dict_value_18 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_dict_value_18);
} else {
goto dict_build_exception_11;
}
}
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_18, tmp_dict_value_18);
Py_DECREF(tmp_dict_value_18);
assert(!(tmp_res != 0));
tmp_dict_key_18 = mod_consts[98];
tmp_expression_value_92 = PyObject_GetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[0]);
if (tmp_expression_value_92 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_92 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_92 == NULL)) {
tmp_expression_value_92 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_92 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_2 = "o";
goto dict_build_exception_11;
}
Py_INCREF(tmp_expression_value_92);
} else {
goto dict_build_exception_11;
}
}
tmp_dict_value_18 = LOOKUP_ATTRIBUTE(tmp_expression_value_92, mod_consts[191]);
Py_DECREF(tmp_expression_value_92);
if (tmp_dict_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 570;
type_description_2 = "o";
goto dict_build_exception_11;
}
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_18, tmp_dict_value_18);
Py_DECREF(tmp_dict_value_18);
assert(!(tmp_res != 0));
tmp_dict_key_18 = mod_consts[70];
tmp_expression_value_93 = PyObject_GetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[178]);
if (tmp_expression_value_93 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_93 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[178]);
if (unlikely(tmp_expression_value_93 == NULL)) {
tmp_expression_value_93 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[178]);
}
if (tmp_expression_value_93 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 571;
type_description_2 = "o";
goto dict_build_exception_11;
}
Py_INCREF(tmp_expression_value_93);
} else {
goto dict_build_exception_11;
}
}
tmp_expression_value_94 = PyObject_GetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[171]);
if (tmp_expression_value_94 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_94 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[171]);
if (unlikely(tmp_expression_value_94 == NULL)) {
tmp_expression_value_94 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[171]);
}
if (tmp_expression_value_94 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_93);
exception_lineno = 571;
type_description_2 = "o";
goto dict_build_exception_11;
}
Py_INCREF(tmp_expression_value_94);
} else {
goto dict_build_exception_11;
}
}
tmp_expression_value_95 = PyObject_GetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[177]);
if (tmp_expression_value_95 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_expression_value_95 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[177]);
if (unlikely(tmp_expression_value_95 == NULL)) {
tmp_expression_value_95 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[177]);
}
if (tmp_expression_value_95 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_93);
Py_DECREF(tmp_expression_value_94);
exception_lineno = 571;
type_description_2 = "o";
goto dict_build_exception_11;
}
Py_INCREF(tmp_expression_value_95);
} else {
goto dict_build_exception_11;
}
}
tmp_tuple_element_42 = PyObject_GetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[218]);
if (tmp_tuple_element_42 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_42 = (PyObject *)&PyLong_Type;
Py_INCREF(tmp_tuple_element_42);
} else {
goto dict_build_exception_11;
}
}
tmp_subscript_value_31 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM(tmp_subscript_value_31, 0, tmp_tuple_element_42);
tmp_tuple_element_42 = PyObject_GetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[173]);
if (tmp_tuple_element_42 == NULL) {
if (CHECK_AND_CLEAR_KEY_ERROR_OCCURRED()) {
tmp_tuple_element_42 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[173]);
if (unlikely(tmp_tuple_element_42 == NULL)) {
tmp_tuple_element_42 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[173]);
}
if (tmp_tuple_element_42 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 571;
type_description_2 = "o";
goto tuple_build_exception_15;
}
Py_INCREF(tmp_tuple_element_42);
} else {
goto tuple_build_exception_15;
}
}
PyTuple_SET_ITEM(tmp_subscript_value_31, 1, tmp_tuple_element_42);
goto tuple_build_noexception_15;
// Exception handling pass through code for tuple_build:
tuple_build_exception_15:;
Py_DECREF(tmp_expression_value_93);
Py_DECREF(tmp_expression_value_94);
Py_DECREF(tmp_expression_value_95);
Py_DECREF(tmp_subscript_value_31);
goto dict_build_exception_11;
// Finished with no exception for tuple_build:
tuple_build_noexception_15:;
tmp_subscript_value_30 = LOOKUP_SUBSCRIPT(tmp_expression_value_95, tmp_subscript_value_31);
Py_DECREF(tmp_expression_value_95);
Py_DECREF(tmp_subscript_value_31);
if (tmp_subscript_value_30 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_93);
Py_DECREF(tmp_expression_value_94);
exception_lineno = 571;
type_description_2 = "o";
goto dict_build_exception_11;
}
tmp_subscript_value_29 = LOOKUP_SUBSCRIPT(tmp_expression_value_94, tmp_subscript_value_30);
Py_DECREF(tmp_expression_value_94);
Py_DECREF(tmp_subscript_value_30);
if (tmp_subscript_value_29 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
Py_DECREF(tmp_expression_value_93);
exception_lineno = 571;
type_description_2 = "o";
goto dict_build_exception_11;
}
tmp_dict_value_18 = LOOKUP_SUBSCRIPT(tmp_expression_value_93, tmp_subscript_value_29);
Py_DECREF(tmp_expression_value_93);
Py_DECREF(tmp_subscript_value_29);
if (tmp_dict_value_18 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 571;
type_description_2 = "o";
goto dict_build_exception_11;
}
tmp_res = PyDict_SetItem(tmp_annotations_23, tmp_dict_key_18, tmp_dict_value_18);
Py_DECREF(tmp_dict_value_18);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_11;
// Exception handling pass through code for dict_build:
dict_build_exception_11:;
Py_DECREF(tmp_defaults_10);
Py_DECREF(tmp_annotations_23);
goto frame_exception_exit_8;
// Finished with no exception for dict_build:
dict_build_noexception_11:;
tmp_dictset_value = MAKE_FUNCTION_tornado$netutil$$$function__20_resolve(tmp_defaults_10, tmp_annotations_23);
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[99], 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 = 569;
type_description_2 = "o";
goto frame_exception_exit_8;
}
}
#if 0
RESTORE_FRAME_EXCEPTION(frame_34e0df0ec9a5ff15429354001f3fa2d8_8);
#endif
// Put the previous frame back on top.
popFrameStack();
goto frame_no_exception_7;
frame_exception_exit_8:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_34e0df0ec9a5ff15429354001f3fa2d8_8);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_34e0df0ec9a5ff15429354001f3fa2d8_8, exception_lineno);
} else if (exception_tb->tb_frame != &frame_34e0df0ec9a5ff15429354001f3fa2d8_8->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_34e0df0ec9a5ff15429354001f3fa2d8_8, exception_lineno);
}
// Attaches locals to frame if any.
Nuitka_Frame_AttachLocals(
frame_34e0df0ec9a5ff15429354001f3fa2d8_8,
type_description_2,
outline_6_var___class__
);
// Release cached frame if used for exception.
if (frame_34e0df0ec9a5ff15429354001f3fa2d8_8 == cache_frame_34e0df0ec9a5ff15429354001f3fa2d8_8) {
#if _DEBUG_REFCOUNTS
count_active_frame_cache_instances -= 1;
count_released_frame_cache_instances += 1;
#endif
Py_DECREF(cache_frame_34e0df0ec9a5ff15429354001f3fa2d8_8);
cache_frame_34e0df0ec9a5ff15429354001f3fa2d8_8 = NULL;
}
assertFrameObject(frame_34e0df0ec9a5ff15429354001f3fa2d8_8);
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto nested_frame_exit_7;
frame_no_exception_7:;
goto skip_nested_handling_7;
nested_frame_exit_7:;
goto try_except_handler_26;
skip_nested_handling_7:;
{
nuitka_bool tmp_condition_result_47;
PyObject *tmp_cmp_expr_left_7;
PyObject *tmp_cmp_expr_right_7;
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_cmp_expr_left_7 = tmp_class_creation_7__bases;
CHECK_OBJECT(tmp_class_creation_7__bases_orig);
tmp_cmp_expr_right_7 = tmp_class_creation_7__bases_orig;
tmp_condition_result_47 = RICH_COMPARE_NE_NBOOL_OBJECT_TUPLE(tmp_cmp_expr_left_7, tmp_cmp_expr_right_7);
if (tmp_condition_result_47 == NUITKA_BOOL_EXCEPTION) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_26;
}
if (tmp_condition_result_47 == NUITKA_BOOL_TRUE) {
goto branch_yes_30;
} else {
goto branch_no_30;
}
}
branch_yes_30:;
CHECK_OBJECT(tmp_class_creation_7__bases_orig);
tmp_dictset_value = tmp_class_creation_7__bases_orig;
tmp_res = PyObject_SetItem(locals_tornado$netutil$$$class__7_OverrideResolver_539, mod_consts[222], tmp_dictset_value);
if (tmp_res != 0) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_26;
}
branch_no_30:;
{
PyObject *tmp_assign_source_96;
PyObject *tmp_called_value_20;
PyObject *tmp_args_value_14;
PyObject *tmp_tuple_element_43;
PyObject *tmp_kwargs_value_14;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
tmp_called_value_20 = tmp_class_creation_7__metaclass;
tmp_tuple_element_43 = mod_consts[242];
tmp_args_value_14 = MAKE_TUPLE_EMPTY(3);
PyTuple_SET_ITEM0(tmp_args_value_14, 0, tmp_tuple_element_43);
CHECK_OBJECT(tmp_class_creation_7__bases);
tmp_tuple_element_43 = tmp_class_creation_7__bases;
PyTuple_SET_ITEM0(tmp_args_value_14, 1, tmp_tuple_element_43);
tmp_tuple_element_43 = locals_tornado$netutil$$$class__7_OverrideResolver_539;
PyTuple_SET_ITEM0(tmp_args_value_14, 2, tmp_tuple_element_43);
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
tmp_kwargs_value_14 = tmp_class_creation_7__class_decl_dict;
frame_bc3fb5253e72b8601432a771bfa86454->m_frame.f_lineno = 539;
tmp_assign_source_96 = CALL_FUNCTION(tmp_called_value_20, tmp_args_value_14, tmp_kwargs_value_14);
Py_DECREF(tmp_args_value_14);
if (tmp_assign_source_96 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 539;
goto try_except_handler_26;
}
assert(outline_6_var___class__ == NULL);
outline_6_var___class__ = tmp_assign_source_96;
}
CHECK_OBJECT(outline_6_var___class__);
tmp_assign_source_95 = outline_6_var___class__;
Py_INCREF(tmp_assign_source_95);
goto try_return_handler_26;
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_26:;
Py_DECREF(locals_tornado$netutil$$$class__7_OverrideResolver_539);
locals_tornado$netutil$$$class__7_OverrideResolver_539 = NULL;
goto try_return_handler_25;
// Exception handler code:
try_except_handler_26:;
exception_keeper_type_24 = exception_type;
exception_keeper_value_24 = exception_value;
exception_keeper_tb_24 = exception_tb;
exception_keeper_lineno_24 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_DECREF(locals_tornado$netutil$$$class__7_OverrideResolver_539);
locals_tornado$netutil$$$class__7_OverrideResolver_539 = NULL;
// Re-raise.
exception_type = exception_keeper_type_24;
exception_value = exception_keeper_value_24;
exception_tb = exception_keeper_tb_24;
exception_lineno = exception_keeper_lineno_24;
goto try_except_handler_25;
// End of try:
NUITKA_CANNOT_GET_HERE("tried codes exits in all cases");
return NULL;
// Return handler code:
try_return_handler_25:;
CHECK_OBJECT(outline_6_var___class__);
Py_DECREF(outline_6_var___class__);
outline_6_var___class__ = NULL;
goto outline_result_7;
// Exception handler code:
try_except_handler_25:;
exception_keeper_type_25 = exception_type;
exception_keeper_value_25 = exception_value;
exception_keeper_tb_25 = exception_tb;
exception_keeper_lineno_25 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
// Re-raise.
exception_type = exception_keeper_type_25;
exception_value = exception_keeper_value_25;
exception_tb = exception_keeper_tb_25;
exception_lineno = exception_keeper_lineno_25;
goto outline_exception_7;
// End of try:
NUITKA_CANNOT_GET_HERE("Return statement must have exited already.");
return NULL;
outline_exception_7:;
exception_lineno = 539;
goto try_except_handler_24;
outline_result_7:;
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[242], tmp_assign_source_95);
}
goto try_end_12;
// Exception handler code:
try_except_handler_24:;
exception_keeper_type_26 = exception_type;
exception_keeper_value_26 = exception_value;
exception_keeper_tb_26 = exception_tb;
exception_keeper_lineno_26 = exception_lineno;
exception_type = NULL;
exception_value = NULL;
exception_tb = NULL;
exception_lineno = 0;
Py_XDECREF(tmp_class_creation_7__bases_orig);
tmp_class_creation_7__bases_orig = NULL;
Py_XDECREF(tmp_class_creation_7__bases);
tmp_class_creation_7__bases = NULL;
Py_XDECREF(tmp_class_creation_7__class_decl_dict);
tmp_class_creation_7__class_decl_dict = NULL;
Py_XDECREF(tmp_class_creation_7__metaclass);
tmp_class_creation_7__metaclass = NULL;
Py_XDECREF(tmp_class_creation_7__prepared);
tmp_class_creation_7__prepared = NULL;
// Re-raise.
exception_type = exception_keeper_type_26;
exception_value = exception_keeper_value_26;
exception_tb = exception_keeper_tb_26;
exception_lineno = exception_keeper_lineno_26;
goto frame_exception_exit_1;
// End of try:
try_end_12:;
CHECK_OBJECT(tmp_class_creation_7__bases_orig);
Py_DECREF(tmp_class_creation_7__bases_orig);
tmp_class_creation_7__bases_orig = NULL;
CHECK_OBJECT(tmp_class_creation_7__bases);
Py_DECREF(tmp_class_creation_7__bases);
tmp_class_creation_7__bases = NULL;
CHECK_OBJECT(tmp_class_creation_7__class_decl_dict);
Py_DECREF(tmp_class_creation_7__class_decl_dict);
tmp_class_creation_7__class_decl_dict = NULL;
CHECK_OBJECT(tmp_class_creation_7__metaclass);
Py_DECREF(tmp_class_creation_7__metaclass);
tmp_class_creation_7__metaclass = NULL;
CHECK_OBJECT(tmp_class_creation_7__prepared);
Py_DECREF(tmp_class_creation_7__prepared);
tmp_class_creation_7__prepared = NULL;
{
PyObject *tmp_assign_source_97;
tmp_assign_source_97 = mod_consts[248];
UPDATE_STRING_DICT0(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[144], tmp_assign_source_97);
}
{
PyObject *tmp_assign_source_98;
PyObject *tmp_defaults_11;
PyObject *tmp_annotations_24;
PyObject *tmp_dict_key_19;
PyObject *tmp_dict_value_19;
PyObject *tmp_expression_value_96;
PyObject *tmp_subscript_value_32;
PyObject *tmp_tuple_element_44;
PyObject *tmp_expression_value_97;
PyObject *tmp_subscript_value_33;
PyObject *tmp_tuple_element_45;
tmp_defaults_11 = mod_consts[249];
tmp_dict_key_19 = mod_consts[250];
tmp_expression_value_96 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[176]);
if (unlikely(tmp_expression_value_96 == NULL)) {
tmp_expression_value_96 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[176]);
}
if (tmp_expression_value_96 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
goto frame_exception_exit_1;
}
tmp_expression_value_97 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[175]);
if (unlikely(tmp_expression_value_97 == NULL)) {
tmp_expression_value_97 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[175]);
}
if (tmp_expression_value_97 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
goto frame_exception_exit_1;
}
tmp_tuple_element_45 = (PyObject *)&PyUnicode_Type;
tmp_subscript_value_33 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_33, 0, tmp_tuple_element_45);
tmp_tuple_element_45 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[173]);
if (unlikely(tmp_tuple_element_45 == NULL)) {
tmp_tuple_element_45 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[173]);
}
if (tmp_tuple_element_45 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
goto tuple_build_exception_16;
}
PyTuple_SET_ITEM0(tmp_subscript_value_33, 1, tmp_tuple_element_45);
goto tuple_build_noexception_16;
// Exception handling pass through code for tuple_build:
tuple_build_exception_16:;
Py_DECREF(tmp_subscript_value_33);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_16:;
tmp_tuple_element_44 = LOOKUP_SUBSCRIPT(tmp_expression_value_97, tmp_subscript_value_33);
Py_DECREF(tmp_subscript_value_33);
if (tmp_tuple_element_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
goto frame_exception_exit_1;
}
tmp_subscript_value_32 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_98;
PyTuple_SET_ITEM(tmp_subscript_value_32, 0, tmp_tuple_element_44);
tmp_expression_value_98 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_98 == NULL)) {
tmp_expression_value_98 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_98 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
goto tuple_build_exception_17;
}
tmp_tuple_element_44 = LOOKUP_ATTRIBUTE(tmp_expression_value_98, mod_consts[123]);
if (tmp_tuple_element_44 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
goto tuple_build_exception_17;
}
PyTuple_SET_ITEM(tmp_subscript_value_32, 1, tmp_tuple_element_44);
}
goto tuple_build_noexception_17;
// Exception handling pass through code for tuple_build:
tuple_build_exception_17:;
Py_DECREF(tmp_subscript_value_32);
goto frame_exception_exit_1;
// Finished with no exception for tuple_build:
tuple_build_noexception_17:;
tmp_dict_value_19 = LOOKUP_SUBSCRIPT(tmp_expression_value_96, tmp_subscript_value_32);
Py_DECREF(tmp_subscript_value_32);
if (tmp_dict_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 590;
goto frame_exception_exit_1;
}
tmp_annotations_24 = _PyDict_NewPresized( 3 );
{
PyObject *tmp_expression_value_99;
PyObject *tmp_subscript_value_34;
PyObject *tmp_expression_value_100;
tmp_res = PyDict_SetItem(tmp_annotations_24, tmp_dict_key_19, tmp_dict_value_19);
Py_DECREF(tmp_dict_value_19);
assert(!(tmp_res != 0));
tmp_dict_key_19 = mod_consts[152];
tmp_expression_value_99 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[179]);
if (unlikely(tmp_expression_value_99 == NULL)) {
tmp_expression_value_99 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[179]);
}
if (tmp_expression_value_99 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 591;
goto dict_build_exception_12;
}
tmp_subscript_value_34 = (PyObject *)&PyBool_Type;
tmp_dict_value_19 = LOOKUP_SUBSCRIPT(tmp_expression_value_99, tmp_subscript_value_34);
if (tmp_dict_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 591;
goto dict_build_exception_12;
}
tmp_res = PyDict_SetItem(tmp_annotations_24, tmp_dict_key_19, tmp_dict_value_19);
Py_DECREF(tmp_dict_value_19);
assert(!(tmp_res != 0));
tmp_dict_key_19 = mod_consts[70];
tmp_expression_value_100 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_100 == NULL)) {
tmp_expression_value_100 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_100 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 592;
goto dict_build_exception_12;
}
tmp_dict_value_19 = LOOKUP_ATTRIBUTE(tmp_expression_value_100, mod_consts[123]);
if (tmp_dict_value_19 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 592;
goto dict_build_exception_12;
}
tmp_res = PyDict_SetItem(tmp_annotations_24, tmp_dict_key_19, tmp_dict_value_19);
Py_DECREF(tmp_dict_value_19);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_12;
// Exception handling pass through code for dict_build:
dict_build_exception_12:;
Py_DECREF(tmp_annotations_24);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_12:;
Py_INCREF(tmp_defaults_11);
tmp_assign_source_98 = MAKE_FUNCTION_tornado$netutil$$$function__21_ssl_options_to_context(tmp_defaults_11, tmp_annotations_24);
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[147], tmp_assign_source_98);
}
{
PyObject *tmp_assign_source_99;
PyObject *tmp_defaults_12;
PyObject *tmp_annotations_25;
PyObject *tmp_dict_key_20;
PyObject *tmp_dict_value_20;
PyObject *tmp_expression_value_101;
tmp_defaults_12 = mod_consts[251];
tmp_dict_key_20 = mod_consts[0];
tmp_expression_value_101 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[0]);
if (unlikely(tmp_expression_value_101 == NULL)) {
tmp_expression_value_101 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[0]);
}
if (tmp_expression_value_101 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto frame_exception_exit_1;
}
tmp_dict_value_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_101, mod_consts[0]);
if (tmp_dict_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 645;
goto frame_exception_exit_1;
}
tmp_annotations_25 = _PyDict_NewPresized( 6 );
{
PyObject *tmp_expression_value_102;
PyObject *tmp_subscript_value_35;
PyObject *tmp_tuple_element_46;
PyObject *tmp_expression_value_103;
PyObject *tmp_subscript_value_36;
PyObject *tmp_tuple_element_47;
PyObject *tmp_expression_value_105;
PyObject *tmp_subscript_value_37;
PyObject *tmp_expression_value_106;
PyObject *tmp_subscript_value_38;
PyObject *tmp_expression_value_107;
tmp_res = PyDict_SetItem(tmp_annotations_25, tmp_dict_key_20, tmp_dict_value_20);
Py_DECREF(tmp_dict_value_20);
assert(!(tmp_res != 0));
tmp_dict_key_20 = mod_consts[250];
tmp_expression_value_102 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[176]);
if (unlikely(tmp_expression_value_102 == NULL)) {
tmp_expression_value_102 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[176]);
}
if (tmp_expression_value_102 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
goto dict_build_exception_13;
}
tmp_expression_value_103 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[175]);
if (unlikely(tmp_expression_value_103 == NULL)) {
tmp_expression_value_103 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[175]);
}
if (tmp_expression_value_103 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
goto dict_build_exception_13;
}
tmp_tuple_element_47 = (PyObject *)&PyUnicode_Type;
tmp_subscript_value_36 = MAKE_TUPLE_EMPTY(2);
PyTuple_SET_ITEM0(tmp_subscript_value_36, 0, tmp_tuple_element_47);
tmp_tuple_element_47 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[173]);
if (unlikely(tmp_tuple_element_47 == NULL)) {
tmp_tuple_element_47 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[173]);
}
if (tmp_tuple_element_47 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
goto tuple_build_exception_18;
}
PyTuple_SET_ITEM0(tmp_subscript_value_36, 1, tmp_tuple_element_47);
goto tuple_build_noexception_18;
// Exception handling pass through code for tuple_build:
tuple_build_exception_18:;
Py_DECREF(tmp_subscript_value_36);
goto dict_build_exception_13;
// Finished with no exception for tuple_build:
tuple_build_noexception_18:;
tmp_tuple_element_46 = LOOKUP_SUBSCRIPT(tmp_expression_value_103, tmp_subscript_value_36);
Py_DECREF(tmp_subscript_value_36);
if (tmp_tuple_element_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
goto dict_build_exception_13;
}
tmp_subscript_value_35 = MAKE_TUPLE_EMPTY(2);
{
PyObject *tmp_expression_value_104;
PyTuple_SET_ITEM(tmp_subscript_value_35, 0, tmp_tuple_element_46);
tmp_expression_value_104 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_104 == NULL)) {
tmp_expression_value_104 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_104 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
goto tuple_build_exception_19;
}
tmp_tuple_element_46 = LOOKUP_ATTRIBUTE(tmp_expression_value_104, mod_consts[123]);
if (tmp_tuple_element_46 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
goto tuple_build_exception_19;
}
PyTuple_SET_ITEM(tmp_subscript_value_35, 1, tmp_tuple_element_46);
}
goto tuple_build_noexception_19;
// Exception handling pass through code for tuple_build:
tuple_build_exception_19:;
Py_DECREF(tmp_subscript_value_35);
goto dict_build_exception_13;
// Finished with no exception for tuple_build:
tuple_build_noexception_19:;
tmp_dict_value_20 = LOOKUP_SUBSCRIPT(tmp_expression_value_102, tmp_subscript_value_35);
Py_DECREF(tmp_subscript_value_35);
if (tmp_dict_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 646;
goto dict_build_exception_13;
}
tmp_res = PyDict_SetItem(tmp_annotations_25, tmp_dict_key_20, tmp_dict_value_20);
Py_DECREF(tmp_dict_value_20);
assert(!(tmp_res != 0));
tmp_dict_key_20 = mod_consts[151];
tmp_expression_value_105 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[179]);
if (unlikely(tmp_expression_value_105 == NULL)) {
tmp_expression_value_105 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[179]);
}
if (tmp_expression_value_105 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 647;
goto dict_build_exception_13;
}
tmp_subscript_value_37 = (PyObject *)&PyUnicode_Type;
tmp_dict_value_20 = LOOKUP_SUBSCRIPT(tmp_expression_value_105, tmp_subscript_value_37);
if (tmp_dict_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 647;
goto dict_build_exception_13;
}
tmp_res = PyDict_SetItem(tmp_annotations_25, tmp_dict_key_20, tmp_dict_value_20);
Py_DECREF(tmp_dict_value_20);
assert(!(tmp_res != 0));
tmp_dict_key_20 = mod_consts[152];
tmp_expression_value_106 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[179]);
if (unlikely(tmp_expression_value_106 == NULL)) {
tmp_expression_value_106 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[179]);
}
if (tmp_expression_value_106 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 648;
goto dict_build_exception_13;
}
tmp_subscript_value_38 = (PyObject *)&PyBool_Type;
tmp_dict_value_20 = LOOKUP_SUBSCRIPT(tmp_expression_value_106, tmp_subscript_value_38);
if (tmp_dict_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 648;
goto dict_build_exception_13;
}
tmp_res = PyDict_SetItem(tmp_annotations_25, tmp_dict_key_20, tmp_dict_value_20);
Py_DECREF(tmp_dict_value_20);
assert(!(tmp_res != 0));
tmp_dict_key_20 = mod_consts[252];
tmp_dict_value_20 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[173]);
if (unlikely(tmp_dict_value_20 == NULL)) {
tmp_dict_value_20 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[173]);
}
if (tmp_dict_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 649;
goto dict_build_exception_13;
}
tmp_res = PyDict_SetItem(tmp_annotations_25, tmp_dict_key_20, tmp_dict_value_20);
assert(!(tmp_res != 0));
tmp_dict_key_20 = mod_consts[70];
tmp_expression_value_107 = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[122]);
if (unlikely(tmp_expression_value_107 == NULL)) {
tmp_expression_value_107 = GET_MODULE_VARIABLE_VALUE_FALLBACK(mod_consts[122]);
}
if (tmp_expression_value_107 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 650;
goto dict_build_exception_13;
}
tmp_dict_value_20 = LOOKUP_ATTRIBUTE(tmp_expression_value_107, mod_consts[253]);
if (tmp_dict_value_20 == NULL) {
assert(ERROR_OCCURRED());
FETCH_ERROR_OCCURRED(&exception_type, &exception_value, &exception_tb);
exception_lineno = 650;
goto dict_build_exception_13;
}
tmp_res = PyDict_SetItem(tmp_annotations_25, tmp_dict_key_20, tmp_dict_value_20);
Py_DECREF(tmp_dict_value_20);
assert(!(tmp_res != 0));
}
goto dict_build_noexception_13;
// Exception handling pass through code for dict_build:
dict_build_exception_13:;
Py_DECREF(tmp_annotations_25);
goto frame_exception_exit_1;
// Finished with no exception for dict_build:
dict_build_noexception_13:;
Py_INCREF(tmp_defaults_12);
tmp_assign_source_99 = MAKE_FUNCTION_tornado$netutil$$$function__22_ssl_wrap_socket(tmp_defaults_12, tmp_annotations_25);
UPDATE_STRING_DICT1(moduledict_tornado$netutil, (Nuitka_StringObject *)mod_consts[254], tmp_assign_source_99);
}
// Restore frame exception if necessary.
#if 0
RESTORE_FRAME_EXCEPTION(frame_bc3fb5253e72b8601432a771bfa86454);
#endif
popFrameStack();
goto frame_no_exception_8;
frame_exception_exit_1:;
#if 0
RESTORE_FRAME_EXCEPTION(frame_bc3fb5253e72b8601432a771bfa86454);
#endif
if (exception_tb == NULL) {
exception_tb = MAKE_TRACEBACK(frame_bc3fb5253e72b8601432a771bfa86454, exception_lineno);
} else if (exception_tb->tb_frame != &frame_bc3fb5253e72b8601432a771bfa86454->m_frame) {
exception_tb = ADD_TRACEBACK(exception_tb, frame_bc3fb5253e72b8601432a771bfa86454, exception_lineno);
}
// Put the previous frame back on top.
popFrameStack();
// Return the error.
goto module_exception_exit;
frame_no_exception_8:;
// Report to PGO about leaving the module without error.
PGO_onModuleExit("tornado.netutil", false);
Py_INCREF(module_tornado$netutil);
return module_tornado$netutil;
module_exception_exit:
#if defined(_NUITKA_MODULE) && 0
{
PyObject *module_name = GET_STRING_DICT_VALUE(moduledict_tornado$netutil, (Nuitka_StringObject *)const_str_plain___name__);
if (module_name != NULL) {
Nuitka_DelModule(module_name);
}
}
#endif
PGO_onModuleExit("tornado$netutil", false);
RESTORE_ERROR_OCCURRED(exception_type, exception_value, exception_tb);
return NULL;
}